:root {
  --ink: #071838;
  --muted: #607088;
  --soft: #eef4ff;
  --paper: rgba(255, 255, 255, 0.74);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(30, 52, 84, 0.12);
  --cobalt: #2f64f5;
  --violet: #7d4df4;
  --mint: #19b990;
  --mint-soft: #dff9ee;
  --sunrise: #ff8b21;
  --rose: #ff6f8f;
  --shadow: 0 28px 90px rgba(42, 67, 112, 0.18);
  --shadow-tight: 0 18px 48px rgba(42, 67, 112, 0.14);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 100, 245, 0.17), transparent 26rem),
    radial-gradient(circle at 86% 4%, rgba(25, 185, 144, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 64%, rgba(255, 139, 33, 0.14), transparent 25rem),
    linear-gradient(135deg, #f8fbff 0%, #eef7f4 46%, #f5f2ff 100%);
  font-family: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(7, 24, 56, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 56, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  z-index: -3;
}

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

img {
  display: block;
  max-width: 100%;
}

.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.72;
  pointer-events: none;
  z-index: -2;
}

.page-glow-one {
  width: 22rem;
  height: 22rem;
  left: -7rem;
  top: 18rem;
  background: rgba(47, 100, 245, 0.13);
}

.page-glow-two {
  width: 20rem;
  height: 20rem;
  right: -6rem;
  top: 36rem;
  background: rgba(25, 185, 144, 0.13);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: var(--container);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(36, 52, 87, 0.09);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.08em;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--cobalt), var(--violet));
  box-shadow: 0 12px 26px rgba(74, 91, 231, 0.26);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.66);
}

.site-nav a,
.header-pill,
.lang-pill {
  padding: 12px 16px;
  border-radius: 999px;
  color: #34435f;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.header-pill:hover,
.lang-pill:hover {
  background: #fff;
}

.header-pill {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #223f7d);
  box-shadow: 0 14px 30px rgba(7, 24, 56, 0.18);
}

.lang-pill {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(36, 52, 87, 0.08);
}

.hero {
  width: var(--container);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(25, 185, 144, 0.2);
  border-radius: 999px;
  color: #0e8f72;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(25, 185, 144, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(25, 185, 144, 0.13);
}

.eyebrow.light {
  color: #e7fff7;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.hero h1,
.section-heading h2,
.ai-panel h2,
.appstore-card h2 {
  margin: 18px 0 0;
  font-family: "Gill Sans", "Trebuchet MS", "Aptos Display", sans-serif;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 9.2vw, 8.8rem);
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #42516c;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(135deg, var(--cobalt), var(--violet));
  box-shadow: 0 20px 46px rgba(76, 90, 236, 0.28);
}

.button.ghost {
  color: #18294d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 670px;
  margin: 44px 0 0;
}

.hero-metrics div {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-tight);
}

.hero-metrics strong {
  display: block;
  color: var(--cobalt);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 6% -7% 2% -9%;
  border-radius: 52px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(132, 229, 208, 0.24));
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}

.phone-stack {
  position: relative;
  z-index: 2;
  min-height: 735px;
}

.phone-card {
  position: absolute;
  margin: 0;
  width: min(58vw, 328px);
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 42px;
  overflow: hidden;
  background: #f7f8ff;
  box-shadow: 0 34px 110px rgba(28, 50, 92, 0.24);
}

.phone-card img {
  width: 100%;
  height: auto;
  border-radius: 31px;
}

.phone-primary {
  left: 50%;
  top: 0;
  z-index: 3;
  transform: translateX(-50%) rotate(2.2deg);
}

.phone-secondary {
  left: -8px;
  top: 88px;
  z-index: 2;
  opacity: 0.92;
  transform: rotate(-9deg) scale(0.82);
}

.phone-tertiary {
  right: -18px;
  top: 118px;
  z-index: 1;
  opacity: 0.9;
  transform: rotate(9deg) scale(0.79);
}

.signal-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(28, 50, 92, 0.18);
  backdrop-filter: blur(18px);
  animation: floaty 6s ease-in-out infinite;
}

.signal-card span {
  color: #0c9475;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.signal-card strong {
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.signal-card small {
  color: var(--muted);
  font-weight: 700;
}

.signal-one {
  left: -26px;
  bottom: 116px;
}

.signal-two {
  right: -20px;
  top: 86px;
  animation-delay: -2s;
}

.section {
  width: var(--container);
  margin: 128px auto 0;
}

.intro-strip {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(223, 249, 238, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(47, 100, 245, 0.16), transparent 24rem);
  box-shadow: var(--shadow-tight);
}

.intro-strip p {
  max-width: 970px;
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-heading {
  max-width: 820px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.ai-panel h2,
.appstore-card h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-tight);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.feature-card.cobalt {
  color: #fff;
  background: linear-gradient(140deg, #102a68, #3769fa);
}

.feature-card.mint {
  background: linear-gradient(145deg, #e8fff6, #f8fffd);
}

.feature-card.sunrise {
  background: linear-gradient(145deg, #fff2e6, #fffefd);
}

.feature-card.ice {
  background: linear-gradient(145deg, #eef6ff, #fff);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.feature-card.cobalt .feature-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.feature-card h3 {
  margin: 78px 0 0;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.feature-card.cobalt p {
  color: rgba(255, 255, 255, 0.8);
}

.gallery-wrap {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(16px, 2.6vw, 30px);
}

.shot-card {
  margin: 0;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(36, 52, 87, 0.12);
}

.shot-card img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  object-fit: contain;
  background: #f5f7ff;
}

.shot-card figcaption {
  padding: 14px 10px 8px;
  color: #243654;
  font-size: 1rem;
  font-weight: 900;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.flow-line article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: var(--shadow-tight);
}

.flow-line span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--cobalt), var(--mint));
  font-weight: 900;
}

.flow-line h3 {
  margin: 70px 0 0;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.flow-line p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 14%, rgba(25, 185, 144, 0.54), transparent 20rem),
    radial-gradient(circle at 12% 96%, rgba(125, 77, 244, 0.38), transparent 24rem),
    linear-gradient(145deg, #071838, #123064 58%, #0b7060);
  box-shadow: 0 34px 120px rgba(7, 24, 56, 0.28);
}

.ai-panel p {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  font-weight: 700;
}

.wave-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px);
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 96px;
}

.wave-bars span {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--mint), #8fffe0);
  animation: pulse 1.1s ease-in-out infinite;
}

.wave-bars span:nth-child(1) { height: 30px; }
.wave-bars span:nth-child(2) { height: 58px; animation-delay: 0.04s; }
.wave-bars span:nth-child(3) { height: 76px; animation-delay: 0.08s; }
.wave-bars span:nth-child(4) { height: 46px; animation-delay: 0.12s; }
.wave-bars span:nth-child(5) { height: 66px; animation-delay: 0.16s; }
.wave-bars span:nth-child(6) { height: 34px; animation-delay: 0.2s; }
.wave-bars span:nth-child(7) { height: 50px; animation-delay: 0.24s; }
.wave-bars span:nth-child(8) { height: 82px; animation-delay: 0.28s; }
.wave-bars span:nth-child(9) { height: 62px; animation-delay: 0.32s; }
.wave-bars span:nth-child(10) { height: 44px; animation-delay: 0.36s; }
.wave-bars span:nth-child(11) { height: 72px; animation-delay: 0.4s; }
.wave-bars span:nth-child(12) { height: 40px; animation-delay: 0.44s; }
.wave-bars span:nth-child(13) { height: 52px; animation-delay: 0.48s; }
.wave-bars span:nth-child(14) { height: 86px; animation-delay: 0.52s; }
.wave-bars span:nth-child(15) { height: 48px; animation-delay: 0.56s; }

.wave-card strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.wave-card small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.appstore-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 44px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 139, 33, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.appstore-card p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.store-links {
  display: grid;
  align-content: center;
  gap: 12px;
}

.store-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: #1a2f57;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(36, 52, 87, 0.08);
}

.store-links a::after {
  content: "->";
  color: var(--mint);
}

.site-footer {
  width: var(--container);
  margin: 110px auto 34px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
}

.site-footer img {
  width: 118px;
  height: 118px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

.site-footer strong {
  display: block;
  font-size: 1.2rem;
}

.site-footer p,
.site-footer small {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

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

@keyframes floaty {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scaleY(0.72);
    opacity: 0.66;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .phone-stack {
    min-height: 720px;
  }

  .feature-grid,
  .flow-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-panel,
  .appstore-card {
    grid-template-columns: 1fr;
  }

  .wave-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  body {
    background:
      radial-gradient(circle at 20% 10%, rgba(47, 100, 245, 0.16), transparent 20rem),
      radial-gradient(circle at 90% 8%, rgba(25, 185, 144, 0.15), transparent 18rem),
      linear-gradient(135deg, #f8fbff 0%, #eef7f4 54%, #f7f1ff 100%);
  }

  .site-header {
    top: 10px;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow: hidden;
    justify-content: space-between;
    gap: 4px;
  }

  .site-nav a {
    flex: 1;
    min-width: 0;
    padding: 10px 6px;
    text-align: center;
    font-size: 0.82rem;
  }

  .header-pill {
    display: none;
  }

  .lang-pill {
    margin-left: auto;
    padding: 10px 13px;
  }

  .hero {
    margin-top: 52px;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.4rem);
  }

  .lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-stage::before {
    inset: 8% -2%;
  }

  .phone-stack {
    min-height: 610px;
  }

  .phone-card {
    width: min(68vw, 274px);
    border-width: 8px;
    border-radius: 34px;
  }

  .phone-card img {
    border-radius: 25px;
  }

  .phone-secondary {
    left: -24px;
    top: 84px;
  }

  .phone-tertiary {
    right: -25px;
    top: 112px;
  }

  .signal-card {
    display: none;
  }

  .section {
    margin-top: 86px;
  }

  .section-heading h2,
  .ai-panel h2,
  .appstore-card h2 {
    font-size: clamp(2.65rem, 14vw, 4.6rem);
  }

  .feature-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 275px;
  }

  .feature-card h3,
  .flow-line h3 {
    margin-top: 50px;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .ai-panel,
  .appstore-card {
    border-radius: 34px;
  }

  .wave-bars {
    gap: 4px;
  }

  .wave-bars span {
    width: 8px;
  }

  .store-links {
    gap: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
