/* TAAX Tax Software Banner — $34
   Desktop + mobile coded HTML/CSS from Figma (device mockups only as images). */

.taax-sw-banner {
  padding: 2rem 0 1rem;
  font-family: 'Inter', sans-serif;
}

.taax-sw-banner > .container {
  max-width: 1440px;
  padding-left: 15px;
  padding-right: 15px;
}

.taax-sw-banner__shell {
  position: relative;
  overflow: hidden;
  background: #071b3d;
  border-radius: 24px;
  color: #fff;
}

.taax-sw-banner__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

/* ========== Desktop stage (Figma 1440×620) ========== */
.taax-sw-banner__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 620;
  container-type: inline-size;
  container-name: taax-stage;
  overflow: hidden;
}

.taax-sw-banner__stage .taax-sw-banner__glow--teal {
  left: calc(820 / 1440 * 100%);
  top: calc(-170 / 620 * 100%);
  width: calc(760 / 1440 * 100%);
  height: calc(760 / 620 * 100%);
  background: rgba(16, 214, 176, 0.18);
}

.taax-sw-banner__stage .taax-sw-banner__glow--blue {
  left: calc(-180 / 1440 * 100%);
  top: calc(360 / 620 * 100%);
  width: calc(600 / 1440 * 100%);
  height: calc(420 / 620 * 100%);
  background: rgba(22, 119, 255, 0.16);
}

.taax-sw-banner__stage .taax-sw-banner__panel {
  position: absolute;
  left: calc(73 / 1440 * 100%);
  top: calc(169 / 620 * 100%);
  width: calc(752 / 1440 * 100%);
  height: calc(496 / 620 * 100%);
  background: rgba(12, 43, 88, 0.82);
  border-radius: calc(28 * 100cqw / 1440);
  z-index: 1;
}

.taax-sw-banner__stage .taax-sw-banner__badge {
  position: absolute;
  left: calc(45 / 1440 * 100%);
  top: calc(31 / 620 * 100%);
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: calc(34 / 620 * 100%);
  padding: 0 calc(22 * 100cqw / 1440);
  background: rgba(48, 247, 200, 0.13);
  border: 1px solid rgba(48, 247, 200, 0.45);
  border-radius: calc(17 * 100cqw / 1440);
  font-weight: 700;
  font-size: calc(16 * 100cqw / 1440);
  line-height: 1;
  letter-spacing: 0.1em;
  color: #8cffc7;
  white-space: nowrap;
  z-index: 3;
}

.taax-sw-banner__badge .is-white,
.taax-sw-banner__eyebrow .is-white {
  color: #fff;
}

.taax-sw-banner__stage .taax-sw-banner__title {
  position: absolute;
  left: calc(45 / 1440 * 100%);
  top: calc(93 / 620 * 100%);
  margin: 0;
  width: calc(630 / 1440 * 100%);
  font-weight: 700;
  font-size: calc(48 * 100cqw / 1440);
  line-height: calc(60 * 100cqw / 1440);
  color: #fff;
  z-index: 3;
}

.taax-sw-banner__stage .taax-sw-banner__trial {
  position: absolute;
  left: calc(32 / 1440 * 100%);
  top: calc(207 / 620 * 100%);
  width: calc(365 / 1440 * 100%);
  height: calc(271 / 620 * 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(8 * 100cqw / 1440);
  padding: calc(18 * 100cqw / 1440);
  box-sizing: border-box;
  background: #fff;
  border-radius: calc(11 * 100cqw / 1440);
  color: #0b1f3a;
  z-index: 4;
  overflow: hidden;
}

.taax-sw-banner__stage .taax-sw-banner__price-row {
  display: flex;
  align-items: center;
  gap: calc(8 * 100cqw / 1440);
  line-height: 1;
  min-height: calc(74 * 100cqw / 1440);
}

.taax-sw-banner__stage .taax-sw-banner__price {
  font-weight: 700;
  font-size: calc(74 * 100cqw / 1440);
  line-height: 0.95;
  color: #0a2e61;
}

.taax-sw-banner__stage .taax-sw-banner__period {
  font-weight: 600;
  font-size: calc(24 * 100cqw / 1440);
  color: #b8cfeb;
}

.taax-sw-banner__stage .taax-sw-banner__trial-body {
  display: flex;
  align-items: flex-start;
  gap: calc(14 * 100cqw / 1440);
  width: 100%;
}

.taax-sw-banner__stage .taax-sw-banner__shield {
  flex: 0 0 calc(52 * 100cqw / 1440);
  width: calc(52 * 100cqw / 1440);
  height: calc(52 * 100cqw / 1440);
  object-fit: contain;
}

.taax-sw-banner__stage .taax-sw-banner__trial-copy {
  min-width: 0;
  padding-top: calc(4 * 100cqw / 1440);
}

.taax-sw-banner__stage .taax-sw-banner__trial-title {
  margin: 0 0 calc(6 * 100cqw / 1440);
  font-weight: 700;
  font-size: calc(15 * 100cqw / 1440);
  line-height: calc(18 * 100cqw / 1440);
  color: #0b1f3a;
}

.taax-sw-banner__stage .taax-sw-banner__trial-text {
  margin: 0;
  font-weight: 400;
  font-size: calc(11 * 100cqw / 1440);
  line-height: calc(13 * 100cqw / 1440);
  color: #607388;
}

.taax-sw-banner__stage .taax-sw-banner__guarantees {
  margin: calc(4 * 100cqw / 1440) 0 0;
  padding: 0 0 0 calc(8 * 100cqw / 1440);
  list-style: none;
  font-weight: 500;
  font-size: calc(11 * 100cqw / 1440);
  line-height: calc(13 * 100cqw / 1440);
  color: #14796f;
}

.taax-sw-banner__guarantees li + li {
  margin-top: 0;
}

.taax-sw-banner__stage .taax-sw-banner__features {
  position: absolute;
  left: calc(441 / 1440 * 100%);
  top: calc(192 / 620 * 100%);
  width: calc(360 / 1440 * 100%);
  display: flex;
  flex-direction: column;
  gap: calc(27 * 100cqw / 1440);
  z-index: 3;
}

.taax-sw-banner__stage .taax-sw-banner__feature-heading {
  margin: 0 0 calc(13 * 100cqw / 1440);
  font-weight: 700;
  font-size: calc(14 * 100cqw / 1440);
  line-height: calc(17 * 100cqw / 1440);
  color: #8cffc7;
}

.taax-sw-banner__stage .taax-sw-banner__feature-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.taax-sw-banner__stage .taax-sw-banner__feature-group li {
  display: flex;
  align-items: flex-start;
  gap: calc(9 * 100cqw / 1440);
  margin: 0 0 calc(15 * 100cqw / 1440);
  font-weight: 600;
  font-size: calc(13 * 100cqw / 1440);
  line-height: calc(16 * 100cqw / 1440);
  color: #fff;
}

.taax-sw-banner__stage .taax-sw-banner__feature-group li:last-child {
  margin-bottom: 0;
}

.taax-sw-banner__stage .taax-sw-banner__check {
  flex: 0 0 calc(16 * 100cqw / 1440);
  width: calc(16 * 100cqw / 1440);
  height: calc(16 * 100cqw / 1440);
  display: block;
}

.taax-sw-banner__stage .taax-sw-banner__cta {
  position: absolute;
  left: calc(71 / 1440 * 100%);
  top: calc(505 / 620 * 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(214 / 1440 * 100%);
  height: calc(52 / 620 * 100%);
  padding: 0;
  background: #30f7c8;
  border: 0;
  border-radius: calc(12 * 100cqw / 1440);
  font-weight: 700;
  font-size: calc(15 * 100cqw / 1440);
  line-height: 1;
  color: #051c38;
  text-decoration: none;
  z-index: 5;
  transition: filter 0.2s ease;
}

.taax-sw-banner__stage .taax-sw-banner__cta:hover,
.taax-sw-banner__stage .taax-sw-banner__cta:focus {
  color: #051c38;
  filter: brightness(0.96);
  text-decoration: none;
}

.taax-sw-banner__stage .taax-sw-banner__fineprint {
  position: absolute;
  left: calc(73 / 1440 * 100%);
  top: calc(567 / 620 * 100%);
  margin: 0;
  font-weight: 600;
  font-size: calc(12 * 100cqw / 1440);
  line-height: calc(15 * 100cqw / 1440);
  color: #61788f;
  white-space: nowrap;
  z-index: 5;
}

.taax-sw-banner__stage .taax-sw-banner__devices-img {
  position: absolute;
  left: calc(790 / 1440 * 100%);
  top: calc(70 / 620 * 100%);
  width: calc(605 / 1440 * 100%);
  height: auto;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

/* ========== Mobile (Figma 390×844) ========== */
.taax-sw-banner__mobile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 20px 28px;
  overflow: hidden;
  z-index: 0;
}

.taax-sw-banner__mobile .taax-sw-banner__glow--teal {
  width: 360px;
  height: 360px;
  right: -40px;
  top: -188px;
  background: rgba(16, 214, 176, 0.22);
}

.taax-sw-banner__mobile .taax-sw-banner__glow--blue {
  width: 390px;
  height: 390px;
  left: -135px;
  bottom: -40px;
  background: rgba(22, 119, 255, 0.16);
}

.taax-sw-banner__mobile-panel {
  position: absolute;
  inset: 20px 21px;
  background: rgba(12, 43, 88, 0.82);
  border-radius: 28px;
  z-index: 0;
  pointer-events: none;
}

.taax-sw-banner__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  color: #8cffc7;
}

.taax-sw-banner__mobile .taax-sw-banner__title {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  color: #fff;
}

.taax-sw-banner__devices {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 14px;
}

.taax-sw-banner__devices img {
  display: block;
  width: 100%;
  height: auto;
}

.taax-sw-banner__mobile .taax-sw-banner__trial {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  color: #0b1f3a;
}

.taax-sw-banner__mobile .taax-sw-banner__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  line-height: 1;
}

.taax-sw-banner__mobile .taax-sw-banner__price {
  font-weight: 700;
  font-size: 64px;
  line-height: 0.95;
  color: #0a2e61;
}

.taax-sw-banner__mobile .taax-sw-banner__period {
  font-weight: 600;
  font-size: 22px;
  color: #b8cfeb;
}

.taax-sw-banner__mobile .taax-sw-banner__trial-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.taax-sw-banner__mobile .taax-sw-banner__shield {
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.taax-sw-banner__mobile .taax-sw-banner__trial-copy {
  min-width: 0;
  padding-top: 2px;
}

.taax-sw-banner__mobile .taax-sw-banner__trial-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  color: #0b1f3a;
}

.taax-sw-banner__mobile .taax-sw-banner__trial-text {
  margin: 0;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: #607388;
}

.taax-sw-banner__mobile .taax-sw-banner__guarantees {
  margin: 4px 0 0;
  padding: 0 0 0 6px;
  list-style: none;
  font-weight: 500;
  font-size: 10px;
  line-height: 13px;
  color: #14796f;
}

.taax-sw-banner__mobile .taax-sw-banner__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin: 0 0 12px;
  background: #30f7c8;
  border-radius: 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: #051c38;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.taax-sw-banner__mobile .taax-sw-banner__cta:hover,
.taax-sw-banner__mobile .taax-sw-banner__cta:focus {
  color: #051c38;
  text-decoration: none;
  filter: brightness(0.96);
}

.taax-sw-banner__mobile .taax-sw-banner__fineprint {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #61788f;
}

@media (max-width: 575.98px) {
  .taax-sw-banner {
    padding: 0 0 0.5rem;
  }

  .taax-sw-banner .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .taax-sw-banner__mobile {
    padding: 44px 27px 28px;
  }

  .taax-sw-banner__mobile-panel {
    inset: 20px;
    border-radius: 24px;
  }

  .taax-sw-banner__mobile .taax-sw-banner__cta {
    width: calc(100% - 24px);
    margin-right: 12px;
    margin-left: 12px;
  }
}
