:root {
  --bg: #f4f6f8;
  --bg-accent: #eef3ff;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #ff9800;
  --primary-strong: #f57c00;
  --primary-soft: #fff3e0;
  --success: #2e7d32;
  --shadow-1: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-2: 0 18px 42px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-ui: "Segoe UI", "Aptos", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(1000px 450px at -5% -10%, rgba(255, 152, 0, 0.12), transparent 50%),
    radial-gradient(900px 420px at 105% 0, rgba(59, 130, 246, 0.08), transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, #eef2f7 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 248, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.brand-label {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #1f1400;
  background: linear-gradient(180deg, #ffb13f, var(--primary));
  box-shadow: 0 10px 24px rgba(245, 124, 0, 0.26);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.hero {
  padding: 26px 0 18px;
}

.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
  box-shadow: var(--shadow-2);
  padding: 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1rem;
}

.hero-stats {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.stat strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

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

.hero-visual {
  position: relative;
  min-height: 670px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.6;
}

.orb-one {
  width: 120px;
  height: 120px;
  top: 24px;
  left: 36px;
  background: rgba(255, 152, 0, 0.28);
}

.orb-two {
  width: 120px;
  height: 120px;
  right: 18px;
  bottom: 142px;
  background: rgba(59, 130, 246, 0.2);
}

.promo-banner {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 224px;
  aspect-ratio: 2.05 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.phones {
  position: absolute;
  inset: 70px 0 0;
}

.phone {
  position: absolute;
  width: 256px;
  height: 530px;
  border-radius: 28px;
  border: 9px solid #111827;
  background: #ffffff;
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.26);
  overflow: hidden;
  transition: transform 280ms ease, opacity 280ms ease, box-shadow 280ms ease;
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 94px;
  height: 18px;
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
  background: #111827;
  z-index: 3;
}

.phone.active {
  box-shadow: 0 34px 56px rgba(15, 23, 42, 0.33);
}

.phone-a {
  transform: translate3d(30px, 74px, 0) rotate(-10deg);
  z-index: 1;
  opacity: 0.94;
}

.phone-b {
  transform: translate3d(196px, 162px, 0) rotate(10deg);
  z-index: 2;
  opacity: 0.94;
}

.phone-c {
  transform: translate3d(62px, 300px, 0) rotate(-3deg);
  z-index: 3;
  opacity: 0.94;
}

.phone-d {
  width: 286px;
  height: 586px;
  transform: translate3d(148px, 90px, 0);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.phones.mode-0 .phone-a {
  transform: translate3d(14px, 86px, 40px) rotate(-8deg) scale(1.01);
  z-index: 4;
  opacity: 1;
}

.phones.mode-1 .phone-b {
  transform: translate3d(196px, 146px, 40px) rotate(6deg) scale(1.01);
  z-index: 4;
  opacity: 1;
}

.phones.mode-2 .phone-c {
  transform: translate3d(44px, 296px, 40px) rotate(-1deg) scale(1.01);
  z-index: 4;
  opacity: 1;
}

.phones.mode-3 .phone-d {
  transform: translate3d(148px, 90px, 60px) scale(1.02);
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
}

.phone-top {
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 0;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.screen {
  height: calc(100% - 32px);
  background: #f8fafc;
}

.screen-shot {
  padding: 0;
  overflow: hidden;
}

.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.rotator-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.rotator-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
}

.rotator-dots button.active {
  background: var(--primary);
  transform: scale(1.2);
}

.subsection {
  padding: 62px 0 12px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: start;
}

.section-kicker {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-copy h2,
.bottom-cta h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.section-copy p,
.feature-copy,
.detail-copy,
.bottom-cta p {
  color: var(--muted);
  margin: 0;
}

.feature-grid,
.detail-grid {
  display: grid;
  gap: 12px;
}

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

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-card,
.detail-card,
.bottom-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.feature-card {
  padding: 18px;
  min-height: 180px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-title,
.detail-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.detail-card {
  padding: 18px;
}

.bottom-cta {
  margin: 40px 0 72px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 20px;
  align-items: center;
}

.store-badges {
  margin-top: 14px;
}

.badge {
  min-width: 164px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  width: fit-content;
}

.badge-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.badge small {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
}

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

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

/* ── CARD HOVER EFFECTS ── */
.feature-card,
.detail-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.13);
}

.stat {
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.stat:hover {
  border-color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary), var(--shadow-1);
}

/* ── NAV LINK HOVER UNDERLINE ── */
.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 200ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* ── BOTTOM CTA GRADIENT ── */
.bottom-cta {
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.06) 0%, rgba(59, 130, 246, 0.04) 100%),
    var(--surface);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(10px);
  padding: 36px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.footer-brand-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  margin-left: 8px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--primary-strong);
}

.footer-dot {
  color: var(--line);
  font-size: 0.8rem;
  user-select: none;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-inner .brand {
    flex: 1 1 auto;
  }

  .nav-inner .button-row {
    margin-left: auto;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .hero-grid,
  .section-grid,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 760px;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 20px;
  }

  .hero-card {
    padding: 28px 22px;
  }

  .hero-copy,
  .section-copy p,
  .feature-copy,
  .detail-copy,
  .bottom-cta p {
    max-width: none;
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 720px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero-stats,
  .feature-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 1020px;
  }

  .hero-card,
  .feature-card,
  .detail-card,
  .bottom-cta {
    border-radius: 18px;
  }

  .promo-banner {
    right: 50%;
    top: 8px;
    width: min(224px, 72vw);
    transform: translateX(50%);
  }

  .phones {
    inset: 120px 0 0;
  }

  .phone {
    left: 50% !important;
    transform-origin: center;
  }

  .phone-a {
    transform: translateX(-50%) translateY(0) rotate(-6deg) !important;
  }

  .phone-b {
    transform: translateX(-50%) translateY(264px) rotate(4deg) !important;
  }

  .phone-c {
    transform: translateX(-50%) translateY(528px) rotate(-2deg) !important;
  }

  .phone-d {
    width: 292px;
    height: 582px;
    transform: translateX(-50%) !important;
  }

  .bottom-cta .button-row {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-inner .button-row {
    width: 100%;
    margin-left: 0;
  }

  .nav-inner .button,
  .hero .button,
  .bottom-cta .button {
    flex: 1 1 100%;
  }

  .hero-stats,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 980px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 18px), var(--max));
  }

  .nav-inner {
    min-height: 70px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .button {
    padding: 11px 17px;
    font-size: 0.92rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .hero-card {
    padding: 24px 16px;
  }

  .hero-visual {
    min-height: 900px;
  }

  .phone,
  .phone-d {
    width: 268px;
    height: 548px;
  }

  .phones {
    inset: 108px 0 0;
  }

  .promo-banner {
    width: min(210px, 78vw);
  }

  .bottom-cta {
    margin-bottom: 44px;
    padding: 20px;
  }

  .badge {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.95rem;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .hero-visual {
    min-height: 820px;
  }

  .phone,
  .phone-d {
    width: 244px;
    height: 500px;
    border-width: 8px;
  }

  .phone-top {
    font-size: 0.68rem;
    padding: 14px 14px 0;
  }

  .rotator-dots {
    bottom: 6px;
  }
}
