@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces — from ParichayColors */
  --bg:              #121212;
  --surface:         #1A1A1A;
  --surface-elevated:#242424;
  /* Text — from ParichayColors */
  --text:            #F2EDE3;
  --text-2:          #C9C1B5;
  --text-3:          #A59D92;
  /* Brand — from ParichayColors */
  --saffron:         #D98C1A;
  --saffron-hover:   #E49A2E;
  --turmeric:        #C9A227;
  --teal:            #3A8987;
  --maroon:          #7A1E2C;
  --maroon-light:    #D06878;
  --indigo:          #2E2A68;
  --error:           #C6596D;
  /* Borders — from ParichayColors */
  --border:          #3A3A3A;
  --border-2:        #5A5A5A;
  /* Typography — from ParichayTextStyles */
  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-ui:         'Plus Jakarta Sans', system-ui, sans-serif;
  /* Radii — from CardTheme (16px) & InputDecoration (12px) */
  --radius:          16px;
  --radius-sm:       12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--saffron); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18,18,18,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--saffron);
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.5px;
}
.logo-mark { flex-shrink: 0; vertical-align: middle; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-3); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: var(--bg); }
.nav-links a.btn:hover { color: var(--bg); }

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  background: var(--saffron); color: var(--bg);
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: 0.1px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--saffron-hover); color: var(--bg); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--saffron);
  border: 1.5px solid rgba(217,140,26,0.35);
}
.btn-ghost:hover { border-color: var(--saffron); color: var(--saffron); background: rgba(217,140,26,0.08); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: clip;
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(217,140,26,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.hero-content {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hero-text { position: relative; z-index: 2; max-width: 540px; flex-shrink: 0; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(217,140,26,0.08);
  color: var(--saffron);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(217,140,26,0.15);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 76px); font-weight: 700;
  line-height: 1.02; letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px; font-weight: 400; color: var(--text-2);
  line-height: 1.7; margin-bottom: 40px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  flex-shrink: 1;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,140,26,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Device mockup: vendored devices.css frame, scaled + tilted to fit the hero */
.hero-visual .device {
  position: relative; z-index: 1;
  zoom: 0.62;
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.4s ease;
  animation: phone-float 5s ease-in-out infinite;
}
.hero-visual .device:hover { transform: rotateY(-2deg) rotateX(0deg); animation-play-state: paused; }
@keyframes phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(2deg) translateY(-14px); }
}

/* ════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; height: 88px;
}
.stat {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700; color: var(--saffron);
}
.stat-label { font-size: 0.78rem; color: var(--text-3); font-weight: 500; letter-spacing: 0.3px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-2); flex-shrink: 0; }

/* ════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════ */
.section { padding: 112px 0; }
.section-dark { background: var(--surface); }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px); font-weight: 700;
  letter-spacing: -1.2px; line-height: 1.12;
  max-width: 560px;
}

/* ════════════════════════════════════════════
   BENTO GRID
   ════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.bento-card:hover { border-color: var(--border-2); }
.bento-large { grid-row: 1 / -1; }
.bento-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(217,140,26,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.bento-icon .material-symbols-outlined { font-size: 24px; color: var(--saffron); }
.bento-art { display: block; width: 150px; height: 150px; margin-bottom: 20px; }
.provider-art { display: block; width: 128px; height: 128px; margin-bottom: 24px; }
.bento-card:not(.bento-large) .bento-art { width: 88px; height: 88px; margin-bottom: 16px; }

/* Partnership illustration anchoring the "gap" section */
.gap-art { display: block; width: 128px; height: 128px; margin: 0 auto 32px; }

/* Real app screenshot gallery */
.shots-track {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 32px 28px; -webkit-overflow-scrolling: touch;
  max-width: 1180px; margin: 0 auto;
}
.shots-track::-webkit-scrollbar { height: 6px; }
.shots-track::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.shot {
  flex: 0 0 auto; width: 236px; scroll-snap-align: center;
  border-radius: 30px; border: 1px solid var(--border);
  overflow: hidden; background: var(--surface);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.shot img { display: block; width: 100%; height: auto; }
.bento-num {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 700;
  color: rgba(255,255,255,0.03);
  position: absolute; top: 16px; right: 24px;
  line-height: 1;
}
.bento-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.bento-card p { color: var(--text-2); font-size: 14px; font-weight: 400; line-height: 1.5; }

/* ════════════════════════════════════════════
   SERVICES (PILL GRID)
   ════════════════════════════════════════════ */
.service-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.service-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2); font-size: 14px; font-weight: 600;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: default;
}
.service-pill .material-symbols-outlined {
  font-size: 22px; color: var(--saffron);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.service-pill:hover {
  border-color: var(--saffron); color: var(--text);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   TRUST
   ════════════════════════════════════════════ */
.trust-row { display: flex; flex-direction: column; gap: 0; }
.trust-item {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.trust-item:last-child { border-bottom: none; }
.trust-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon .material-symbols-outlined {
  font-size: 26px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.trust-icon.verified { background: rgba(74,158,156,0.1); color: var(--teal); }
.trust-icon.payment  { background: rgba(217,140,26,0.08); color: var(--saffron); }
.trust-icon.shield   { background: rgba(154,46,66,0.1); color: var(--maroon-light); }
.trust-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.trust-item p { color: var(--text-2); font-size: 14px; font-weight: 400; line-height: 1.5; }

/* ════════════════════════════════════════════
   PROVIDER CTA
   ════════════════════════════════════════════ */
.section-provider {
  background:
    linear-gradient(135deg, rgba(154,46,66,0.04) 0%, rgba(62,58,136,0.04) 100%);
  border-top: 1px solid var(--border);
}
.provider-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.provider-text h2 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 20px;
}
.provider-text > p { color: var(--text-2); font-size: 16px; font-weight: 400; line-height: 1.6; margin-bottom: 32px; }
.provider-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pf {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.pf .material-symbols-outlined {
  font-size: 22px; color: var(--saffron);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════ */
.cta-final {
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-bird {
  width: 72px; height: 72px; margin-bottom: 28px;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-final > .container > p {
  color: var(--text-2); font-size: 16px;
  max-width: 440px; margin: 0 auto; line-height: 1.6;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { color: var(--text-3); font-size: 0.88rem; max-width: 300px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 20px;
}
.footer-col a { color: var(--text-2); font-size: 0.88rem; display: block; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1120px; margin: 48px auto 0; padding: 20px 32px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--text-3); font-size: 0.78rem; text-align: center; }

/* ════════════════════════════════════════════
   LEGAL PAGES
   ════════════════════════════════════════════ */
.legal-page { padding: 112px 32px 96px; max-width: 720px; margin: 0 auto; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-3); margin-bottom: 40px; font-size: 0.88rem; }
.legal-page h2 { font-size: 1.15rem; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.legal-page p { color: var(--text-2); font-size: 0.93rem; margin-bottom: 14px; white-space: pre-line; line-height: 1.8; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; }
.legal-page li { color: var(--text-2); font-size: 0.93rem; line-height: 1.7; margin-bottom: 8px; }
.legal-page li::marker { color: var(--saffron); }
.legal-page ul ul { margin: 8px 0 0; }
.legal-page a { color: var(--saffron); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero-content { text-align: center; flex-direction: column; }
  /* Reorder on mobile: headline -> phone -> subtext -> CTAs.
     display:contents lifts hero-text's children into the flex column so the
     phone (a sibling) can be ordered between the headline and the subtext. */
  .hero-text { display: contents; }
  .hero-badge  { order: 1; }
  .hero h1     { order: 2; }
  .hero-visual { order: 3; margin: 8px 0 4px; }
  .hero-sub    { order: 4; max-width: 100%; }
  .hero-cta    { order: 5; }
  .hero-visual { perspective: none; }
  .hero-visual .device { zoom: 0.5; transform: none; animation: none; }
  .hero-visual .device:hover { transform: none; }
  .hero h1 { font-size: 3rem; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-row: auto; }
  .provider-split { grid-template-columns: 1fr; gap: 48px; }
  .section-header h2 { font-size: 2.2rem; }
  .stats-inner { flex-wrap: wrap; height: auto; padding: 24px 32px; gap: 20px; }
  .stat-divider { display: none; }
  .stat { min-width: 40%; }
}
/* ════════════════════════════════════════════
   STORE BADGES
   ════════════════════════════════════════════ */
.store-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-top: 36px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-2);
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.store-badge:hover {
  border-color: var(--saffron);
  background: var(--surface-elevated);
  transform: translateY(-2px);
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .txt small { font-size: 10px; color: var(--text-3); font-weight: 500; letter-spacing: 0.3px; }
.store-badge .txt b { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }

/* ════════════════════════════════════════════
   ACCESSIBILITY & INTERACTION
   ════════════════════════════════════════════ */

/* Designed keyboard focus — brand saffron, only for keyboard users */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* Services as a semantic list */
.service-grid { list-style: none; }

/* Touch targets ≥ 44px (WCAG 2.5.8) */
.btn-sm,
.service-pill { min-height: 44px; }

/* Respect reduced-motion: kill the ambient loops, keep everything visible */
@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;
    scroll-behavior: auto !important;
  }
  .hero-glow { animation: none; opacity: 0.7; }
  .hero-visual .device,
  .hero-visual .device:hover { animation: none; transform: rotateY(-8deg) rotateX(2deg); }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 96px 16px 40px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .section { padding: 72px 0; }
  .section-header h2 { font-size: 28px; }
  .trust-item { flex-direction: column; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links a:not(.btn) { display: none; }
  .provider-features { grid-template-columns: 1fr; }
  .service-grid { gap: 8px; }
  .service-pill { padding: 10px 16px; font-size: 13px; flex: 0 0 calc(50% - 4px); justify-content: center; }
  .cta-final .hero-cta { align-items: center; }
  .hero-visual .device { zoom: 0.46; }
}
