@property --ring-progress {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --purple: #af62e7;
  --purple-strong: #7d1df2;
  --purple-soft: #f4e6ff;
  --green: #36d92f;
  --ink: #080808;
  --muted: #5e5a65;
  --line: #ead9f5;
  --phone-opacity: 0;
  --phone-y: 18vh;
  --phone-scale: 0.9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Mulish", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: clamp(16px, 4vw, 54px);
  left: 50%;
  z-index: 20;
  width: min(78vw, 1120px);
  min-height: 72px;
  display: grid;
  grid-template-columns: 180px 1fr 56px 210px;
  align-items: center;
  padding: 8px clamp(20px, 3.5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(87, 26, 146, 0.06);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 64px;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand-logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 78px);
  font-size: clamp(0.9rem, 1.05vw, 1.18rem);
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--purple-strong);
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: 230px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(87, 26, 146, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown a {
  padding: 11px 14px;
  border-radius: 12px;
  color: #17131c;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  color: var(--purple-strong);
  background: #f8efff;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.contact-button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, var(--purple-strong), var(--purple));
  box-shadow: 0 14px 30px rgba(125, 29, 242, 0.18);
}

.contact-button {
  justify-self: end;
  min-height: 46px;
  width: 150px;
  border-radius: 999px;
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  transform: translateX(-24px);
}

.intro-scroll {
  height: 330vh;
  position: relative;
}

.intro-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: clamp(4.4rem, 14.2vw, 15.8rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
  animation: titleFlipZoom 1180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-hero {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 50%;
  width: clamp(250px, 20vw, 430px);
  height: auto;
  opacity: var(--phone-opacity);
  transform: translate(-50%, calc(-50% + var(--phone-y))) scale(var(--phone-scale));
  will-change: transform, opacity;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.screen-three {
  position: relative;
  z-index: 4;
  background: #fff;
  padding: clamp(90px, 12vw, 170px) 0 0;
}

.content-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.copy-hero {
  text-align: center;
  padding-top: clamp(20px, 5vw, 80px);
}

.copy-hero h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
}

.copy-hero p,
.section-heading p,
.result-row p,
.network-band p,
.data-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.copy-hero p {
  max-width: 790px;
  margin: 28px auto;
}

.primary-action {
  min-height: 44px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(38px, 5vw, 64px) auto;
  max-width: 770px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.stats-grid article {
  display: grid;
  gap: 10px;
}

.stats-grid strong {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: 0;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-block {
  padding: clamp(26px, 5vw, 56px) 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.section-heading h2,
.result-row h2,
.data-card h2,
.network-band h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: clamp(0.82rem, 1.2vw, 1.1rem);
  color: #fff;
  font-weight: 500;
  background: var(--purple);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tech-pill.is-active {
  color: var(--purple);
  background: #fff;
  border: 1px solid var(--purple);
}

.feature-panel,
.saving-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #eee6f5;
  border-radius: 8px;
}

.feature-panel {
  max-width: 1040px;
  min-height: 500px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
}

.feature-copy {
  display: grid;
  gap: clamp(30px, 4vw, 58px);
  align-content: center;
  height: 100%;
}

.feature-panel h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.feature-copy p {
  margin: 0;
  max-width: 520px;
  color: #080808;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
}

.feature-arrows {
  display: flex;
  gap: 54px;
  align-items: center;
}

.feature-arrow {
  width: clamp(42px, 4.2vw, 60px);
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--purple);
  color: #070707;
  background: #fff;
  font: inherit;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.feature-next {
  color: #fff;
  background: var(--purple);
}

.feature-arrow:hover {
  transform: translateY(-2px);
}

.feature-visual {
  min-height: 460px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff 0 28%, #efdfff 66%, #dab4f3 100%);
}

.feature-visual img {
  width: min(74%, 430px);
  max-width: none;
  margin-bottom: -120px;
  opacity: 1;
  transform: translateY(0);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.16));
  transition: opacity 260ms ease, transform 260ms ease;
}

.feature-visual img.is-changing {
  opacity: 0;
  transform: translateY(18px);
}

.result-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  max-width: 840px;
  margin: 16px auto clamp(22px, 5vw, 56px);
}

.goal-row {
  margin-top: -12px;
}

.ring {
  --ring-progress: 0deg;
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
  background:
    radial-gradient(circle at center, #fff 0 48%, transparent 49%),
    conic-gradient(var(--purple) 0 var(--ring-progress), #ede6f2 var(--ring-progress) 360deg);
  transform: scale(0.86);
}

.result-row.is-visible .ring {
  animation:
    ringPop 780ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both,
    ringFill 1200ms cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

.saving-panel {
  max-width: 1040px;
  min-height: 500px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
}

.level-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.saving-level {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  color: #090909;
  background: var(--purple-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: min-height 260ms ease, background 260ms ease, color 260ms ease;
}

.saving-level.is-active {
  min-height: 138px;
  color: #fff;
  background: var(--purple);
}

.level-number {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: #070707;
  font-size: 1.35rem;
  font-weight: 900;
}

.saving-level:not(.is-active) .level-number {
  background: var(--purple);
  color: #fff;
}

.level-content {
  display: grid;
  gap: 8px;
}

.level-content strong {
  font-size: clamp(0.95rem, 1.45vw, 1.25rem);
  line-height: 1.2;
  font-weight: 800;
}

.level-content small {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: currentColor;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  line-height: 1.45;
  font-weight: 400;
  transition: max-height 260ms ease, opacity 220ms ease;
}

.saving-level.is-active .level-content small {
  max-height: 80px;
  opacity: 1;
}

.saving-visual {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff 0 15%, #f8f3fb 24%, #e8ccf7 100%);
}

.saving-visual img {
  width: min(68%, 340px);
  margin-bottom: -100px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.16));
  transition: opacity 260ms ease, transform 260ms ease;
}

.saving-visual img.is-changing {
  opacity: 0;
  transform: translateY(18px);
}

.goal-icon {
  width: min(190px, 34vw);
  justify-self: center;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 5vw, 68px);
}

.before-after article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.before-after article span {
  font-size: 16px;
  font-weight: 600;
  color: #fff; /* Change if using a light background */
}

.crop-card {
  position: relative;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.crop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimony-carousel {
  position: relative;
  overflow: hidden;
  width: min(720px, calc(100vw - 40px));
  max-width: none;
  margin: clamp(44px, 7vw, 82px) auto 0;
  padding-bottom: 116px;
  transition: width 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.testimony-carousel.is-expanded {
  width: min(100vw, 1320px);
  padding-left: clamp(22px, 4vw, 58px);
  padding-right: clamp(22px, 4vw, 58px);
}

.testimony-track {
  display: flex;
  align-items: flex-start;
  gap: 78px;
  padding-left: 50%;
  transform: translateX(var(--testimony-x, 0px));
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.testimony-carousel.is-expanded .testimony-track {
  gap: clamp(42px, 5vw, 100px);
}

.testimony-card {
  flex: 0 0 min(430px, 72vw);
  transition: flex-basis 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.testimony-carousel.is-expanded .testimony-card {
  flex-basis: clamp(300px, 24vw, 360px);
}

.testimony-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.testimony-card h3 {
  margin: 38px 0 22px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.testimony-card p {
  margin: 0;
  max-width: 340px;
  color: #29262f;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.testimony-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimony-carousel.is-expanded .testimony-controls {
  right: clamp(22px, 4vw, 58px);
  left: clamp(22px, 4vw, 58px);
}

.testimony-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimony-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dedede;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.testimony-dots button.is-active {
  width: 72px;
  background: var(--purple);
}

.testimony-arrows {
  display: flex;
  gap: 34px;
}

.testimony-arrow {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--purple);
  color: #080808;
  background: #fff;
  font: inherit;
  font-size: 2rem;
  cursor: pointer;
}

.testimony-next {
  color: #fff;
  background: var(--purple);
}

.before-after span {
  display: block;
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--purple);
}

.before-after article:first-child span {
  color: var(--ink);
}

.dry {
  background-image: linear-gradient(135deg, #6b6b6b, #e1b04b 65%, #5c341f);
}

.green {
  background-image: linear-gradient(135deg, #5cba62, #e2eb9c 58%, #594330);
}

.data-card {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 40px;
  align-items: center;
  margin: 44px 0 clamp(70px, 10vw, 130px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: #f7ecff;
}

.data-visual {
  display: grid;
  grid-template-columns: auto minmax(380px, 1.35fr);
  gap: clamp(2px, 0.6vw, 8px);
  align-items: center;
}

.data-figure {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--purple);
  margin-left: 0;
}

.trend-arrow {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 700;
}

.data-figure strong {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.chart-wrap {
  position: relative;
  min-height: 330px;
}

.chart-wrap svg {
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: visible;
}

.area-main {
  fill: url(#chartFill);
}

.area-soft {
  fill: #d9b6f6;
  opacity: 0.17;
}

.line-main,
.line-soft {
  fill: none;
  stroke: #b568ed;
  stroke-width: 3;
}

.line-soft {
  opacity: 0.22;
}

.tooltip-line {
  stroke: #b568ed;
  stroke-dasharray: 4 5;
  stroke-width: 2;
  opacity: 0.72;
}

.tooltip-dot {
  fill: #fff;
  stroke: #b568ed;
  stroke-width: 3;
}

.chart-tooltip {
  position: absolute;
  top: 25%;
  left: 52%;
  z-index: 1;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 10px 18px rgba(125, 29, 242, 0.18);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 800;
}

.network-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  margin: -28px 0 clamp(42px, 6vw, 76px);
  border-radius: 8px;
  min-height: 540px;
  background: linear-gradient(105deg, #fff 0 43%, #f4eaff 58%, #c782ec 100%);
}

.network-phones {
  position: relative;
  min-height: 360px;
  align-self: stretch;
}

.network-phone {
  position: absolute;
  width: min(300px, 40vw);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.24));
}

.network-phone-left {
  left: 10%;
  z-index: 1;
  bottom: -75px;
  transform: rotate(-14deg);
}

.network-phone-right {
  right: 5%;
  z-index: 4;
  bottom: -75px;
  transform: rotate(9deg);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(34px, 6vw, 92px);
  margin-top: 0;
  padding: clamp(58px, 7vw, 86px) max(52px, calc((100vw - 1280px) / 2));
  color: #fff;
  background: #000;
}

.site-footer h2 {
  margin: 0 0 34px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
}

.site-footer p {
  margin: 0 0 22px;
  color: #c9c9c9;
  font-size: 1.05rem;
  line-height: 1.55;
}

.footer-column {
  min-width: 0;
}

.social-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.social-links a {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #d7a4ff;
  border-radius: 50%;
  color: #f4dcff;
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
  color: #fff;
}

.footer-row a,
.footer-links a {
  color: #fff;
}

.footer-icon {
  color: #d8d8d8;
  font-size: 1.7rem;
  line-height: 1;
}

.footer-links {
  display: grid;
  gap: 22px;
  font-size: 1.08rem;
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes titleFlipZoom {
  0% {
    opacity: 0;
    transform: scale(0.18) rotateX(78deg) rotateY(-34deg);
  }
  55% {
    opacity: 1;
    transform: scale(1.08) rotateX(-8deg) rotateY(6deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0) rotateY(0);
  }
}

@keyframes ringPop {
  0% {
    transform: scale(0.86);
  }
  62% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ringFill {
  to {
    --ring-progress: 324deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    --ring-progress: 324deg;
    transform: none;
  }

  .result-row.is-visible .ring {
    animation: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    min-height: 58px;
    width: calc(100% - 28px);
    padding: 7px 14px;
  }

  .brand {
    width: 46px;
  }

  .nav-links {
    display: none;
  }

  .contact-button {
    width: auto;
    min-height: 40px;
    padding: 0 22px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 19vw, 8rem);
  }

  .phone-hero {
    width: min(72vw, 340px);
  }

  .screen-three {
    padding-top: 70px;
  }

  .stats-grid,
  .feature-panel,
  .saving-panel,
  .result-row,
  .before-after,
  .data-card,
  .network-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .result-row {
    text-align: center;
  }

  .ring,
  .goal-icon {
    justify-self: center;
  }

  .pill-row {
    gap: 10px;
  }

  .network-band {
    min-height: 720px;
  }

  .network-phones {
    min-height: 340px;
  }

  .network-phone {
    width: min(230px, 58vw);
  }

  .network-phone-left {
    left: 16%;
    bottom: 8px;
  }

  .network-phone-right {
    right: 10%;
    bottom: 12px;
  }

  .data-visual {
    grid-template-columns: 1fr;
  }

  .chart-tooltip {
    left: 46%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 32px;
  }
}
