/* ========================================================================== */
/*  MyPaniwala — "Hydration Core" design system                               */
/* ========================================================================== */

:root {
  /* Core brand */
  --primary: #2563EB;
  --primary-strong: #004AC6;
  --primary-container: #2563EB;
  --secondary: #38BDF8;
  --accent: #0EA5E9;
  --light-blue: #7DD3FC;
  --mist-blue: #E0F2FE;
  --deep-ocean: #1E40AF;

  /* Surfaces */
  --pure-white: #FFFFFF;
  --surface: #F7F9FB;
  --surface-low: #F2F4F6;
  --surface-soft: #F1F5F9;

  /* Text */
  --slate-text: #1E293B;
  --on-surface: #191C1E;
  --on-surface-variant: #434655;
  --outline: #E2E8F0;

  /* Brand-tinted shadows (blue, never grey) */
  --shadow-soft: 0 4px 12px rgba(37, 99, 235, 0.08);
  --shadow-overlay: 0 10px 25px rgba(37, 99, 235, 0.12);
  --shadow-lift: 0 18px 40px rgba(37, 99, 235, 0.16);

  /* Radii */
  --radius-input: 12px;
  --radius-card: 20px;
  --radius-pill: 9999px;

  /* Gradients */
  --grad-water: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%);
  --grad-deep: linear-gradient(150deg, var(--deep-ocean) 0%, var(--primary) 55%, var(--accent) 100%);

  /* Layout */
  --container: 1200px;
  --nav-h: 74px;
}

/* --------------------------------- Reset --------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-text);
  background: var(--pure-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-pill); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* --------------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
.container-narrow { max-width: 800px; }

.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head--left { text-align: left; margin-inline: 0; }

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-top: 14px;
}
.section-lead {
  margin-top: 16px;
  color: var(--on-surface-variant);
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.eyebrow--light { color: rgba(255,255,255,0.9); }

.text-gradient {
  background: var(--grad-water);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  transition: transform .25s ease, box-shadow .25s ease, background .35s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
  background-size: 180% 180%;
  background-image: linear-gradient(120deg, var(--primary) 0%, var(--primary) 55%, var(--secondary) 100%);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.42), 0 0 0 4px rgba(56, 189, 248, 0.18);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); background-color: var(--primary-strong); }

.btn-outline {
  background: rgba(255,255,255,0.6);
  color: var(--primary);
  border-color: var(--outline);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--mist-blue);
  transform: translateY(-2px);
}

/* ============================ NAVIGATION ================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--outline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo-drop { filter: drop-shadow(0 4px 8px rgba(37,99,235,0.25)); }
.brand-text {
  font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--on-surface);
}
.brand-accent { color: var(--primary); }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500;
  color: var(--on-surface-variant);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--mist-blue); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { box-shadow: 0 6px 18px rgba(37,99,235,0.3), 0 0 0 0 rgba(56,189,248,0.4); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--outline);
  border-radius: 12px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--on-surface);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  top: var(--nav-h); right: 16px; left: 16px;
  z-index: 99;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  padding: 14px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.drawer.is-open { transform: translateY(0); opacity: 1; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--slate-text);
}
.drawer-links a:hover { background: var(--mist-blue); color: var(--primary); }
.drawer-cta { margin-top: 8px; justify-content: center; }
.drawer-scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-scrim.is-open { opacity: 1; }

/* ============================ FLASH MESSAGES ============================= */
.flash-region {
  position: fixed; top: calc(var(--nav-h) + 10px); left: 50%;
  transform: translateX(-50%); z-index: 95;
  width: min(92%, 520px); display: flex; flex-direction: column; gap: 8px;
}
.flash {
  padding: 13px 18px; border-radius: 12px; font-weight: 500;
  box-shadow: var(--shadow-overlay); font-size: 15px;
}
.flash--success { background: var(--mist-blue); color: var(--deep-ocean); border: 1px solid var(--light-blue); }
.flash--error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ================================ HERO =================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 120px;
  background:
    radial-gradient(1100px 520px at 75% -5%, rgba(125, 211, 252, 0.30), transparent 60%),
    radial-gradient(900px 480px at 10% 20%, rgba(224, 242, 254, 0.55), transparent 55%),
    var(--pure-white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(38px, 6.2vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--on-surface);
  margin: 16px 0 0;
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--on-surface-variant);
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--mist-blue); color: var(--deep-ocean);
  font-size: 13px; font-weight: 600;
}
.trust-pill svg { color: var(--primary); }
.trust-play {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: #94a3b8;
  padding-left: 4px;
}

/* Hero visual / phone */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-glow {
  position: absolute; width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.35), rgba(37,99,235,0.12) 55%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero-glow--wide { width: 620px; height: 360px; }

.float-drop {
  position: absolute; border-radius: 50% 50% 50% 0;
  background: var(--grad-water);
  box-shadow: var(--shadow-soft);
  z-index: 3; opacity: 0.9;
}
.float-drop--1 { width: 26px; height: 26px; top: 8%; left: 14%; transform: rotate(45deg); animation: bob 5s ease-in-out infinite; }
.float-drop--2 { width: 18px; height: 18px; bottom: 16%; left: 8%; transform: rotate(45deg); animation: bob 6.5s ease-in-out .6s infinite; }
.float-drop--3 { width: 22px; height: 22px; top: 18%; right: 10%; transform: rotate(45deg); animation: bob 5.8s ease-in-out 1.1s infinite; }

/* Hero bubbles bg */
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(125,211,252,0.35));
  border: 1px solid rgba(56,189,248,0.25);
  opacity: 0.5;
}
.bubble--1 { width: 90px; height: 90px; left: 6%; top: 28%; animation: drift 14s ease-in-out infinite; }
.bubble--2 { width: 46px; height: 46px; left: 42%; top: 12%; animation: drift 11s ease-in-out 1s infinite; }
.bubble--3 { width: 130px; height: 130px; right: 4%; top: 55%; animation: drift 17s ease-in-out 2s infinite; }
.bubble--4 { width: 30px; height: 30px; left: 22%; bottom: 22%; animation: drift 9s ease-in-out infinite; }
.bubble--5 { width: 64px; height: 64px; right: 28%; top: 18%; animation: drift 13s ease-in-out 1.5s infinite; }

/* Hero waves */
.hero-waves { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-waves svg { width: 100%; height: 120px; }
.wave--back { fill: rgba(125, 211, 252, 0.35); animation: waveShift 18s ease-in-out infinite alternate; }
.wave--front { fill: var(--surface); animation: waveShift 12s ease-in-out infinite alternate-reverse; }

/* ============================ PHONE MOCKUP ============================== */
.phone { position: relative; z-index: 2; }
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 280 / 580;
  background: #0b1220;
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    var(--shadow-lift),
    0 0 0 2px rgba(255,255,255,0.6) inset,
    0 30px 60px rgba(30, 64, 175, 0.22);
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #0b1220;
  border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
  display: flex; flex-direction: column;
  position: relative;
  font-size: 11px;
}
.phone--float { animation: bob 6s ease-in-out infinite; }
.phone--hero { transform: rotate(-3deg); }

/* phone status bar */
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 18px 4px; color: #fff; font-weight: 600; font-size: 11px;
}
.screen-wallet .ph-status, .screen-track .ph-status { color: #fff; }
.ph-icons { display: inline-flex; gap: 5px; align-items: center; }

/* HOME screen */
.screen-home { background: var(--surface); }
.screen-home .ph-status { background: var(--grad-deep); }
.ph-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 6px 18px 16px; background: var(--grad-deep); color: #fff;
  border-radius: 0 0 22px 22px;
}
.ph-greeting { display: flex; flex-direction: column; gap: 2px; }
.ph-hi { opacity: 0.85; font-size: 10px; }
.ph-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ph-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.25); border: 1.5px solid rgba(255,255,255,0.5); }

.ph-searchbar {
  margin: -12px 16px 0; background: #fff; border-radius: 12px;
  padding: 10px 12px; display: flex; align-items: center; gap: 8px;
  color: #94a3b8; box-shadow: var(--shadow-soft); position: relative; z-index: 2;
}
.ph-banner {
  margin: 14px 16px 0; background: var(--grad-water); border-radius: 16px;
  padding: 14px; color: #fff; display: flex; justify-content: space-between; align-items: center;
  overflow: hidden; position: relative;
}
.ph-banner-text { display: flex; flex-direction: column; }
.ph-banner-text span { font-size: 10px; opacity: 0.9; }
.ph-banner-text strong { font-size: 20px; font-weight: 800; line-height: 1; }
.ph-banner-text small { font-size: 9px; opacity: 0.9; margin-top: 2px; }
.ph-banner-drop {
  width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(45deg);
  background: rgba(255,255,255,0.25); border: 2px solid rgba(255,255,255,0.4);
}
.ph-sectiontitle {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 16px 8px; font-weight: 700; color: var(--on-surface); font-size: 12px;
}
.ph-sectiontitle small { color: var(--primary); font-weight: 600; font-size: 10px; }
.ph-products { display: flex; gap: 8px; padding: 0 16px; }
.ph-prod {
  flex: 1; background: #fff; border-radius: 14px; padding: 12px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--outline);
}
.ph-prod span { font-size: 9px; color: var(--on-surface-variant); }
.ph-prod strong { font-size: 11px; color: var(--primary); }
.ph-bottle { border-radius: 5px 5px 7px 7px; background: var(--grad-water); position: relative; }
.ph-bottle::before { content:""; position:absolute; top:-4px; left:50%; transform:translateX(-50%); width:8px; height:5px; background: var(--primary-strong); border-radius:2px; }
.ph-bottle--s { width: 16px; height: 30px; }
.ph-bottle--m { width: 22px; height: 34px; }
.ph-bottle--l { width: 26px; height: 38px; }
.ph-tabbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: 12px 18px; background: #fff; border-top: 1px solid var(--outline);
}
.ph-tab { width: 18px; height: 18px; border-radius: 6px; background: #cbd5e1; }
.ph-tab.is-active { background: var(--primary); }
.ph-tab--fab { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-water); box-shadow: 0 6px 14px rgba(37,99,235,0.4); margin-top: -16px; }

/* TRACKING screen */
.screen-track { background: var(--surface); }
.screen-track .ph-status { background: var(--grad-deep); }
.ph-track-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 18px 16px; background: var(--grad-deep); color: #fff; font-size: 14px;
  border-radius: 0 0 22px 22px;
}
.ph-pill-live { font-size: 9px; background: rgba(255,255,255,0.22); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.ph-map {
  margin: 14px 16px; height: 200px; border-radius: 16px; position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(224,242,254,0.6), rgba(224,242,254,0.6)),
    repeating-linear-gradient(0deg, #eaf2fb 0 22px, #e2ecf8 22px 23px),
    repeating-linear-gradient(90deg, #eaf2fb 0 22px, #e2ecf8 22px 23px);
  border: 1px solid var(--outline);
}
.ph-route { position: absolute; inset: 0; }
.ph-route::before {
  content:""; position:absolute; left:22%; top:78%; width:58%; height:48%;
  border: 3px dashed var(--primary); border-radius: 50%;
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(-18deg);
}
.ph-pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.ph-pin--a { left: 20%; top: 72%; background: var(--mist-blue); border: 3px solid var(--primary); }
.ph-pin--b { right: 18%; top: 24%; background: var(--primary); box-shadow: 0 0 0 6px rgba(37,99,235,0.18); animation: ping 2s ease-in-out infinite; }
.ph-track-card { margin: 0 16px 14px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-soft); }
.ph-track-row { display: flex; align-items: center; gap: 10px; }
.ph-rider { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-water); flex: none; }
.ph-rider-info { flex: 1; display: flex; flex-direction: column; }
.ph-rider-info strong { font-size: 12px; color: var(--on-surface); }
.ph-rider-info span { font-size: 10px; color: var(--on-surface-variant); }
.ph-eta { text-align: center; color: var(--primary); }
.ph-eta strong { font-size: 18px; display: block; line-height: 1; }
.ph-eta small { font-size: 9px; }
.ph-progress { height: 6px; background: var(--surface-soft); border-radius: 999px; margin: 14px 0 10px; overflow: hidden; }
.ph-progress span { display: block; height: 100%; background: var(--grad-water); border-radius: 999px; }
.ph-steps { display: flex; justify-content: space-between; font-size: 8.5px; color: #94a3b8; }
.ph-steps .done { color: var(--primary); font-weight: 600; }
.ph-steps .active { color: var(--accent); font-weight: 700; }

/* WALLET screen */
.screen-wallet { background: var(--surface); }
.screen-wallet .ph-status { background: var(--grad-deep); }
.screen-wallet .ph-track-head { background: var(--grad-deep); }
.ph-wallet-card {
  margin: 14px 16px; background: var(--grad-water); color: #fff;
  border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 12px 26px rgba(37,99,235,0.32); position: relative; overflow: hidden;
}
.ph-wallet-card::after {
  content:""; position:absolute; right:-20px; bottom:-30px; width:90px; height:90px;
  border-radius:50%; background: rgba(255,255,255,0.14);
}
.ph-wallet-label { font-size: 10px; opacity: 0.9; }
.ph-wallet-amt { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.ph-wallet-actions { display: flex; gap: 8px; margin-top: 10px; }
.ph-wallet-actions span { background: rgba(255,255,255,0.22); padding: 6px 12px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.ph-tx-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.ph-tx { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid var(--outline); }
.ph-tx-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--surface-soft); flex: none; }
.ph-tx-ic--in { background: var(--mist-blue); }
.ph-tx-main { flex: 1; display: flex; flex-direction: column; }
.ph-tx-main strong { font-size: 11px; color: var(--on-surface); }
.ph-tx-main small { font-size: 9px; color: #94a3b8; }
.ph-tx-amt { font-size: 12px; font-weight: 700; color: var(--slate-text); }
.ph-tx-amt--in { color: #059669; }

/* ============================== CARDS =================================== */
.card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 30px;
  border: 1px solid var(--outline);
}
.card-glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,249,251,0.85));
  backdrop-filter: blur(8px);
}
.card-hover {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.card-hover::after {
  /* water ripple on hover */
  content: ""; position: absolute; top: var(--ry, 50%); left: var(--rx, 50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0; pointer-events: none;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--light-blue);
}
.card-hover:hover::after { animation: ripple .7s ease-out; }

.icon-chip {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--mist-blue);
  color: var(--primary);
  margin-bottom: 18px;
  transition: transform .35s ease, background .35s ease;
}
.card-hover:hover .icon-chip { background: var(--grad-water); color: #fff; transform: scale(1.06) rotate(-4deg); }
.card h3 { font-size: 19px; font-weight: 700; color: var(--on-surface); letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--on-surface-variant); font-size: 15px; }

.card-feature { padding: 26px 24px; }
.card-feature .icon-chip { width: 50px; height: 50px; border-radius: 14px; }
.card-feature h3 { font-size: 17px; }
.card-feature p { font-size: 14px; }

/* ============================ HOW IT WORKS ============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 3px;
  background: var(--grad-water); border-radius: 999px; z-index: 0; opacity: 0.4;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-node {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--light-blue);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step-node::after {
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border: 2px solid var(--primary); opacity:0; animation: pulse 2.6s ease-out infinite;
}
.step:nth-child(2) .step-node::after { animation-delay: .6s; }
.step:nth-child(3) .step-node::after { animation-delay: 1.2s; }
.step:nth-child(4) .step-node::after { animation-delay: 1.8s; }
.step-num { font-size: 24px; font-weight: 800; color: var(--primary); }
.step h3 { font-size: 18px; font-weight: 700; color: var(--on-surface); }
.step p { margin-top: 6px; color: var(--on-surface-variant); font-size: 14px; }

/* ============================ WHY SECTION =============================== */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-visual { position: relative; display: flex; justify-content: center; }
.benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 28px;
}
.benefits li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--slate-text); font-size: 15px;
}
.check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-water); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
}

/* ============================ APP PREVIEW ============================== */
.preview-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 600px;
  margin-top: 10px;
}
.phone--stack { position: absolute; }
.phone--stack .phone-frame { width: 250px; }
.phone--stack-center { z-index: 3; }
.phone--stack-left { z-index: 2; transform: translateX(-58%) translateY(28px) rotate(-9deg) scale(0.9); opacity: 0.96; }
.phone--stack-right { z-index: 2; transform: translateX(58%) translateY(28px) rotate(9deg) scale(0.9); opacity: 0.96; }

/* ============================ STATISTICS ============================== */
.stats-grid { gap: 24px; }
.stat-card {
  text-align: center;
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 34px 22px;
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.28);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content:""; position:absolute; top:-30px; right:-30px; width:110px; height:110px;
  border-radius:50%; background: rgba(255,255,255,0.10);
}
.stat-value { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-weight: 600; font-size: 15px; }
.stat-sub { display: block; margin-top: 6px; font-size: 12px; opacity: 0.82; }

/* ============================ DOWNLOAD ================================= */
.download { padding-top: 40px; }
.download-card {
  position: relative;
  text-align: center;
  background: var(--grad-deep);
  border-radius: 32px;
  padding: 64px 32px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(30, 64, 175, 0.35);
}
.download-bg { position: absolute; inset: 0; pointer-events: none; }
.bubble--6 { width: 160px; height: 160px; left: -40px; top: -40px; opacity: 0.18; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 70%); border-color: rgba(255,255,255,0.2); animation: drift 16s ease-in-out infinite; }
.bubble--7 { width: 220px; height: 220px; right: -60px; bottom: -80px; opacity: 0.16; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 70%); border-color: rgba(255,255,255,0.2); animation: drift 20s ease-in-out 1s infinite; }
.download-card > * { position: relative; z-index: 1; }
.download-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-top: 14px; }
.download-sub { margin: 16px auto 0; max-width: 540px; color: rgba(255,255,255,0.88); font-size: 17px; }

.notify-form { margin: 32px auto 0; max-width: 560px; }
.notify-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; text-align: left;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.notify-form label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.92); }
.field .opt { font-weight: 400; opacity: 0.7; }
.notify-form input {
  width: 100%; border: 1.5px solid rgba(255,255,255,0.25); outline: none;
  background: #fff; color: var(--slate-text);
  border-radius: var(--radius-input); padding: 13px 16px; font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.notify-form input::placeholder { color: #94a3b8; }
.notify-form input:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(56,189,248,0.3); }
.notify-form input:disabled { background: rgba(255,255,255,0.6); }
.notify-submit {
  margin-top: 20px; width: 100%; max-width: 280px;
  background-image: linear-gradient(120deg, #fff, #e0f2fe);
  color: var(--primary-strong); box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.notify-submit:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.24); transform: translateY(-2px); }
.notify-msg { min-height: 22px; margin-top: 14px; font-weight: 600; font-size: 14px; }
.notify-msg.is-success { color: #ccfbf1; }
.notify-msg.is-error { color: #fecaca; }
.notify-form.is-done { opacity: 0.85; }

/* store badges */
.store-badges { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.store-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 22px; border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff; cursor: not-allowed; user-select: none;
  filter: grayscale(0.2);
}
.store-badge--secondary { opacity: 0.78; }
.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.store-text small { font-size: 9px; letter-spacing: 0.06em; opacity: 0.8; text-transform: uppercase; }
.store-text strong { font-size: 17px; font-weight: 700; }
.store-ribbon {
  position: absolute; top: -10px; right: -8px;
  background: #fbbf24; color: #7c2d12;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  rotate: 4deg;
}
.store-ribbon--alt { background: #e2e8f0; color: #475569; }

/* ============================== FAQ =================================== */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: var(--pure-white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.acc-item.is-open { border-color: var(--light-blue); box-shadow: var(--shadow-soft); }
.acc-h { margin: 0; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 20px 24px; text-align: left;
  font-size: 17px; font-weight: 600; color: var(--on-surface);
}
.acc-chevron { color: var(--primary); transition: transform .3s ease; flex: none; }
.acc-trigger[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
.acc-panel { padding: 0 24px; }
.acc-panel p { padding-bottom: 22px; color: var(--on-surface-variant); font-size: 15.5px; }

/* ============================== FOOTER =============================== */
.footer { position: relative; background: var(--grad-deep); color: rgba(255,255,255,0.85); padding-top: 80px; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; line-height: 0; color: var(--surface); }
.footer .section-tint + & { color: var(--pure-white); }
.footer-wave svg { width: 100%; height: 70px; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 40px;
}
.footer .brand-text { color: #fff; }
.footer .brand-accent { color: var(--light-blue); }
.footer-tagline { margin-top: 14px; max-width: 300px; color: rgba(255,255,255,0.78); }
.footer-links h3, .footer-contact h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6); margin-bottom: 14px; font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.82); width: fit-content; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 11px; align-items: flex-start; color: rgba(255,255,255,0.82); font-size: 15px; }
.contact-list svg { flex: none; margin-top: 3px; color: var(--light-blue); }
.contact-list a { color: rgba(255,255,255,0.82); transition: color .2s ease; word-break: break-word; }
.contact-list a:hover { color: #fff; }
.contact-list strong { color: #fff; font-weight: 600; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; transition: background .25s ease, transform .25s ease;
}
.social-btn:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 22px 0; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.7); text-align: center; }

/* ============================ ANIMATIONS ============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--rot, 0deg)); }
}
.phone--hero.phone--float { --rot: -3deg; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, -22px); }
  66% { transform: translate(-14px, 14px); }
}
@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}
@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(34); opacity: 0; }
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 6px rgba(37,99,235,0.18); }
  50% { box-shadow: 0 0 0 12px rgba(37,99,235,0.05); }
}

/* ============================ RESPONSIVE ============================== */
@media (max-width: 980px) {
  .container { padding-inline: 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { order: -1; }
  .section-head--left { text-align: center; margin-inline: auto; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
  .hero-cta .btn { flex: 1; }

  .preview-stage { min-height: 520px; transform: scale(0.86); }
  .download-card { padding: 48px 20px; }
  .notify-grid { grid-template-columns: 1fr; }
  .notify-submit { max-width: none; }

  .store-badges { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

/* ====================== REDUCED MOTION ====================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .phone--hero { transform: rotate(-3deg); }
}

/* ============================ ADMIN PAGE ============================== */
.admin-body { background: var(--surface); padding: 40px 16px; min-height: 100vh; }
.admin-wrap { max-width: 1100px; margin: 0 auto; }
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.admin-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--on-surface); }
.admin-meta { color: var(--on-surface-variant); margin-top: 4px; }
.admin-tablewrap {
  background: #fff; border: 1px solid var(--outline);
  border-radius: var(--radius-card); overflow: auto; box-shadow: var(--shadow-soft);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--outline); white-space: nowrap;
}
.admin-table th {
  background: var(--mist-blue); color: var(--deep-ocean);
  font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  position: sticky; top: 0;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--surface-soft); }
.admin-table td { color: var(--slate-text); }
.admin-table td a { color: var(--primary); }
.admin-table td.addr { white-space: normal; max-width: 280px; min-width: 180px; color: var(--on-surface-variant); }
.admin-empty {
  color: var(--on-surface-variant); background: #fff;
  border: 1px dashed var(--outline); border-radius: var(--radius-card);
  padding: 48px; text-align: center; font-size: 16px;
}
