/* CamScan — Shared Design System (clean slate + vivid brand blue) */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-600: #0A6CF2;
  --purple-500: #278AF1;
  --purple-100: #D6E8FD;
  --purple-50:  #EBF4FE;

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-tertiary:  #94A3B8;

  --bg-app:  #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  --brown-900: #0F172A;
  --brown-800: #1E293B;
  --brown-700: #334155;
  --orange: #0A6CF2;
  --cream: #F8FAFC;

  --green:  #10B981;
  --red:    #EF4444;
  --blue:   #0A6CF2;
  --pink:   #EC4899;

  --border: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(10,108,242,0.04);
  --shadow-md: 0 8px 24px rgba(10,108,242,0.08);
  --shadow-lg: 0 20px 60px rgba(15,23,42,0.08);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --nav-height: 72px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: var(--nav-height);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(10,108,242,0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--purple-50);
}
.nav-link.active { color: var(--purple-600); font-weight: 600; }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta { margin-left: 0; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.lang-current:hover { border-color: var(--purple-500); color: var(--purple-600); }
.lang-globe { display: block; flex-shrink: 0; }
.lang-code { letter-spacing: 0.02em; }
.lang-caret { font-size: 10px; color: var(--text-tertiary); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 184px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 120;
}
.lang-menu.open { display: block; animation: dropIn 0.18s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--text-primary);
  transition: background 0.15s ease;
}
.lang-option:hover { background: var(--purple-50); color: var(--purple-600); }
.lang-option.active { background: var(--purple-50); color: var(--purple-600); font-weight: 700; }
.lang-opt-code { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-tertiary); padding: 2px 6px; background: var(--bg-app); border-radius: 6px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A6CF2, #0362DD);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(10,108,242,0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10,108,242,0.40);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--purple-500);
  color: var(--purple-600);
  transform: translateY(-1px);
}

/* ── MOBILE NAV ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; animation: slideDown 0.25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.nav-mobile-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.nav-mobile-link:hover, .nav-mobile-link.active {
  background: var(--purple-50);
  color: var(--purple-600);
}
.nav-mobile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.nav-mobile-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 600;
}
.nav-mobile-lang.active {
  background: var(--purple-50);
  border-color: var(--purple-600);
  color: var(--purple-600);
}

/* ── FOOTER ── */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 64px 24px 36px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-tagline {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 4px;
}
.footer-link {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.footer-link:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}
@media(max-width: 480px) {
  .footer-links { flex-wrap: wrap; gap: 28px; }
}

/* ══════════════ HOME (landing) ══════════════ */
:root { --script: 'Caveat', 'Segoe Script', cursive; }
.accent { color: var(--purple-600); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-600); margin-bottom: 14px; }
.eyebrow.center, h2.center { text-align: center; }
.sec { padding: 84px 24px; }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 26px; max-width: 520px; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.two-col.rev .duo { order: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0,1fr); gap: 40px; } .sec { padding: 60px 20px; } }

/* hero */
.hero { padding: 40px 24px 20px; background: radial-gradient(1100px 520px at 78% 30%, #E1EEFC 0%, rgba(225,238,252,0) 70%); overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 24px; align-items: center; min-height: 600px; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); line-height: 1.04; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 22px; }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 470px; margin-bottom: 28px; }
.trust-row { list-style: none; display: flex; gap: 14px 22px; flex-wrap: wrap; margin-top: 30px; }
.trust-row li { display: flex; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.35; color: var(--text-secondary); }
.trust-row strong { color: var(--text-primary); font-size: 13px; }
.trust-ico { color: var(--purple-600); display: grid; place-items: center; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 600px; padding-top: 48px; }
.hero-script { position: absolute; right: -6px; top: -4px; z-index: 3; font-family: var(--script); font-size: 30px; line-height: 1.05; color: var(--purple-600); text-align: right; transform: rotate(-5deg); }
.hero-cup { position: absolute; right: -44px; bottom: 10px; z-index: 3; filter: drop-shadow(0 14px 24px rgba(10,108,242,.20)); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .hero-visual { min-height: 540px; }
  .hero-cup { right: 0; transform: scale(.8); transform-origin: right bottom; }
  .hero-script { display: none; }
}

/* store badges */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #0F172A; color: #fff; text-decoration: none; padding: 9px 18px 9px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); min-width: 156px; transition: transform .2s, box-shadow .2s; }
a.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.25); }
.store-btn.is-soon { opacity: .85; cursor: default; }
.store-txt { display: flex; flex-direction: column; line-height: 1.1; }
.store-txt small { font-size: 10.5px; opacity: .8; }
.store-txt strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* phone mockup */
.phone { width: 276px; flex-shrink: 0; background: #0F172A; border-radius: 42px; padding: 9px; box-shadow: 0 30px 60px rgba(10,108,242,.16), inset 0 0 0 2px #1E293B; position: relative; z-index: 2; }
.phone-screen { background: #FFFFFF; border-radius: 34px; padding: 18px 16px 14px; min-height: 520px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.phone-screen::before { content: ''; position: absolute; top: 8px; left: 50%; width: 74px; height: 20px; background: #0F172A; border-radius: 12px; transform: translateX(-50%); }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.ph-hello { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.ph-date { font-size: 11px; color: var(--text-tertiary); }
.ph-bell { width: 30px; height: 30px; border-radius: 50%; background: #E1EEFC; color: var(--purple-600); display: grid; place-items: center; }

/* scanner card view in hero */
.ph-scan-box { position: relative; background: #F8FAFC; border: 1.5px dashed #0A6CF2; border-radius: 18px; padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ph-scan-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: #0A6CF2; background: #E1EEFC; padding: 3px 8px; border-radius: 99px; }
.ph-scan-doc { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; box-shadow: 0 4px 12px rgba(10,108,242,0.06); }
.ph-scan-doc-icon { width: 36px; height: 36px; border-radius: 10px; background: #E1EEFC; color: #0A6CF2; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.ph-scan-doc-txt { text-align: left; line-height: 1.25; flex: 1; }
.ph-scan-doc-txt b { font-size: 12px; display: block; color: var(--text-primary); }
.ph-scan-doc-txt small { font-size: 10px; color: var(--text-tertiary); }

.ph-sleep { display: flex; gap: 10px; align-items: center; background: linear-gradient(135deg, #E1EEFC, #F0F7FF); border-radius: 16px; padding: 10px 12px; font-size: 11.5px; line-height: 1.3; color: #034EBA; border: 1px solid #D6E8FD; }
.ph-sleep small { color: #278AF1; font-size: 10.5px; }
.ph-sleep-ico { width: 32px; height: 32px; border-radius: 50%; background: #0A6CF2; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ph-qa-head { display: flex; justify-content: space-between; font-size: 12.5px; }
.ph-qa-head span { color: var(--purple-600); font-weight: 600; font-size: 11px; }
.ph-qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-drink { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 8px 2px; text-align: center; box-shadow: 0 2px 8px rgba(10,108,242,.05); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ph-drink i { font-style: normal; font-size: 20px; }
.ph-drink b { font-size: 9.5px; font-weight: 700; }
.ph-drink small { font-size: 9px; color: var(--text-tertiary); }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 8px 6px; box-shadow: 0 6px 18px rgba(10,108,242,.08); }
.ph-nav span { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--text-tertiary); }
.ph-nav span.on { color: var(--purple-600); font-weight: 700; }
.ph-nav small { font-size: 8.5px; }
.ph-nav .ph-fab { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #278AF1, #0A6CF2); color: #fff; justify-content: center; margin-top: -22px; box-shadow: 0 6px 14px rgba(10,108,242,.45); }

/* dark phones (stats/history) */
.phone.dark .phone-screen { background: #0F172A; color: #F8FAFC; min-height: 440px; }
.phone.dark .phone-screen::before { background: #020617; }
.ph-title { font-weight: 800; font-size: 17px; margin-top: 22px; }
.ph-tabs { display: flex; background: #1E293B; border-radius: 10px; padding: 3px; font-size: 11px; }
.ph-tabs span { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; color: #94A3B8; }
.ph-tabs span.on { background: var(--purple-600); color: #fff; font-weight: 700; }
.ph-avg small { display: block; font-size: 10.5px; color: #94A3B8; }
.ph-avg b { font-size: 22px; letter-spacing: -0.02em; }
.ph-bars { display: flex; align-items: flex-end; gap: 7px; height: 190px; margin-top: 4px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.bar i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; }
.bar small { font-size: 8.5px; color: #94A3B8; }
.ph-day { font-size: 11px; color: #94A3B8; }
.ph-row { display: flex; align-items: center; gap: 10px; background: #1E293B; border-radius: 14px; padding: 10px; }
.ph-row i { font-style: normal; font-size: 20px; width: 34px; height: 34px; border-radius: 10px; background: #334155; display: grid; place-items: center; }
.ph-row span { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.ph-row b { font-size: 12.5px; }
.ph-row small { font-size: 10px; color: #94A3B8; }
.ph-row em { font-style: normal; font-size: 12px; font-weight: 700; color: #38BDF8; }
.duo { display: flex; justify-content: center; gap: 0; }
.duo .p-stats { z-index: 2; transform: translateY(-14px); }
.duo .p-hist { margin-left: -34px; transform: translateY(26px) scale(.92); width: 250px; }
@media (max-width: 520px) { .duo .p-hist { display: none; } }

/* perks */
.perks { background: #F1F5F9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 38px 24px; }
.perks-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; text-align: center; }
.perk-ico { width: 56px; height: 56px; border-radius: 18px; display: inline-grid; place-items: center; margin-bottom: 12px; background: #E1EEFC; color: var(--purple-600); }
.perk-moon { background: #E1EEFC; color: #0A6CF2; }
.perk-chart { background: #E0F2FE; color: #0284C7; }
.perk h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.perk p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; max-width: 200px; margin: 0 auto; }
@media (max-width: 760px) { .perks-inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* documents grid */
.drink-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.drink-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; align-items: center; transition: transform .2s, box-shadow .2s; }
.drink-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #BFDBFE; }
.drink-emoji { font-size: 38px; line-height: 1; margin-bottom: 8px; }
.drink-card b { font-size: 15px; }
.drink-card small { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
@media (max-width: 520px) { .drink-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ticks list */
.ticks { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-secondary); line-height: 1.5; }
.ticks li > span { width: 22px; height: 22px; border-radius: 50%; background: var(--purple-600); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.ticks b { color: var(--text-primary); }
.ticks .tick-txt { display: block; width: auto; height: auto; background: none; color: inherit; border-radius: 0; margin: 0; place-items: initial; }

/* insights bg */
.sec-insights { background: linear-gradient(180deg, #F8FAFC, #EDF4FE); overflow: hidden; }
.sec-insights .two-col { gap: 40px; }

/* security / sleep (dark) */
.sec-sleep { background: radial-gradient(900px 400px at 20% 20%, #1E293B, #0F172A 70%); color: #fff; }
.sec-sleep .lead, .ticks.on-dark li { color: #CBD5E1; }
.sec-sleep h2 { color: #fff; }
.sleep-card { position: relative; border-radius: 40px; min-height: 340px; background: linear-gradient(160deg, #1E293B 0%, #0F172A 55%, #020617 100%); border: 1px solid rgba(255,255,255,.08); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; }
.sleep-moon { position: absolute; right: 44px; top: 36px; color: #38BDF8; filter: drop-shadow(0 0 28px rgba(56,189,248,.4)); }
.sleep-stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #38BDF8; opacity: .7; }
.sleep-stars i:nth-child(1) { left: 14%; top: 18%; } .sleep-stars i:nth-child(2) { left: 32%; top: 34%; width: 3px; height: 3px; }
.sleep-stars i:nth-child(3) { left: 50%; top: 14%; } .sleep-stars i:nth-child(4) { left: 24%; top: 56%; width: 3px; height: 3px; }
.sleep-stars i:nth-child(5) { left: 70%; top: 48%; }
.sleep-pill { position: relative; display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.10); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 16px 18px; width: 100%; }
.sleep-pill b { display: block; font-size: 17px; margin-bottom: 2px; }
.sleep-pill small { display: block; font-size: 12.5px; color: #94A3B8; line-height: 1.4; }
.sleep-pill-ico { width: 44px; height: 44px; border-radius: 14px; background: #0A6CF2; color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* premium */
.sec-premium { background: var(--cream); }
.premium-card { background: linear-gradient(160deg, #0F172A, #1E293B); color: #fff; border-radius: 36px; padding: 40px 34px; text-align: center; box-shadow: 0 30px 60px rgba(10,108,242,.15); max-width: 420px; margin: 0 auto; width: 100%; border: 1px solid rgba(255,255,255,.1); }
.pc-crown { color: #38BDF8; margin-bottom: 10px; display: grid; place-items: center; }
.pc-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: #F8FAFC; }
.premium-card p { color: #94A3B8; font-size: 14.5px; margin-bottom: 18px; }
.premium-card ul { list-style: none; display: grid; gap: 10px; text-align: left; }
.premium-card li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.premium-card li svg { color: #38BDF8; flex-shrink: 0; }

/* why */
.sec-why { background: #F1F5F9; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); }
.why-card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.why-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0,1fr); } }

/* faq (home) */
.sec-faq .faq-list { display: grid; gap: 10px; }
.sec-faq .faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.faq-question { width: 100%; background: none; border: none; padding: 18px 22px; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.4; font-family: inherit; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question[aria-expanded="true"] { color: var(--purple-600); }
.faq-arrow { font-size: 22px; color: var(--purple-600); flex-shrink: 0; line-height: 1; }
.faq-answer { display: none; padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); }
.faq-answer.open { display: block; }
.btn-secondary svg, .btn-primary svg { vertical-align: -3px; margin-left: 4px; }

/* final CTA */
.cta { background: radial-gradient(800px 360px at 80% 40%, #0362DD, #0A6CF2 70%); color: #fff; padding: 76px 24px; }
.cta-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta p { color: #E1EEFC; font-size: 17px; margin-bottom: 26px; }
.cta .store-btn { background: #fff; color: #0F172A; }
.cta-script { font-family: var(--script); font-size: 38px !important; line-height: 1.05; color: #BAE6FD !important; transform: rotate(-4deg); margin: 0 !important; }
@media (max-width: 600px) { .cta-script { display: none; } .hero-cup { display: none; } }

/* ══════════════ INNER PAGES ══════════════ */
.ph { padding: 56px 24px 36px; background: radial-gradient(900px 420px at 85% 10%, #E1EEFC 0%, rgba(225,238,252,0) 70%); }
.ph-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; align-items: center; }
.ph-inner.has-art { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.ph h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 18px; }
.ph-sub { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 540px; }
.ph-meta { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text-tertiary); letter-spacing: .02em; }
@media (max-width: 860px) { .ph-inner.has-art { grid-template-columns: minmax(0,1fr); } .ph { padding: 40px 20px 24px; } }

.art-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: 0 20px 50px rgba(10,108,242,.08); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.art-card b { font-size: 19px; letter-spacing: -0.01em; }
.art-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.art-ico { width: 60px; height: 60px; border-radius: 20px; background: #E1EEFC; color: var(--purple-600); display: grid; place-items: center; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.art-tags span { display: inline-flex; gap: 6px; align-items: center; background: #E1EEFC; color: var(--purple-600); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.big404 { align-items: center; text-align: center; padding: 36px; }
.big404 b { font-size: 92px; line-height: 1; font-weight: 900; letter-spacing: -0.05em; color: var(--purple-600); }

.page-main { max-width: 1100px; margin: 0 auto; padding: 24px 24px 80px; }
.page-main.narrow { max-width: 820px; }
@media (max-width: 860px) { .page-main { padding: 12px 20px 60px; } }
.page-main.notfound { max-width: 1100px; display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 100px; }

/* legal layout */
.legal { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 36px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-height) + 20px); background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.legal-toc-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-600); margin-bottom: 12px; }
.legal-toc ol { list-style: none; display: grid; gap: 2px; }
.legal-toc a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); padding: 7px 8px; border-radius: 10px; transition: background .2s, color .2s; }
.legal-toc a:hover { background: #E1EEFC; color: var(--text-primary); }
.legal-toc a span { width: 22px; height: 22px; border-radius: 7px; background: #E1EEFC; color: var(--purple-600); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.legal-body { display: grid; gap: 16px; }
.lsec { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 32px 36px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-height) + 16px); }
.lsec h2 { display: flex; gap: 14px; align-items: center; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.lico { width: 42px; height: 42px; border-radius: 14px; background: #E1EEFC; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.lsec h3 { font-size: 15px; font-weight: 700; margin: 18px 0 6px; }
.lsec p { font-size: 15.5px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 12px; }
.lsec p:last-child, .lsec ul:last-child { margin-bottom: 0; }
.lsec ul { margin: 0 0 12px 0; padding-left: 20px; display: grid; gap: 8px; }
.lsec li { font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }
.lsec li::marker { color: var(--purple-600); }
.lsec a { color: var(--purple-600); font-weight: 600; text-decoration: none; }
.lsec a:hover { text-decoration: underline; }
.callout { background: #EBF4FE; border: 1px solid #BFDBFE; border-radius: 16px; padding: 16px 18px; margin: 14px 0; font-size: 15px; line-height: 1.65; color: #1E3A8A; }
.callout.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0,1fr); } .legal-toc { position: static; } .lsec { padding: 24px 22px; } }

/* dark band */
.band { background: radial-gradient(800px 300px at 85% 40%, #1E293B, #0F172A 70%); color: #fff; padding: 56px 24px; }
.band-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.band p { color: #CBD5E1; font-size: 16px; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 15px; color: #fff; padding: 12px 22px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
.contact-info { display: grid; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.info-card-icon { width: 52px; height: 52px; border-radius: 16px; background: #E1EEFC; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.info-card-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.info-card-desc { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.info-card-link { font-size: 14.5px; font-weight: 700; color: var(--purple-600); text-decoration: none; }
.info-card-link:hover { text-decoration: underline; }
.response-card { background: #0F172A; color: #fff; border-radius: 24px; padding: 24px 26px; }
.rc-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #38BDF8; margin-bottom: 8px; }
.rc-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.rc-item:last-child { border-bottom: none; }
.rc-label { color: #94A3B8; }
.rc-value { font-weight: 700; text-align: right; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 38px 40px; box-shadow: var(--shadow-md); }
@media (max-width: 480px) { .form-card { padding: 26px 22px; } }
.form-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.form-sub { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: minmax(0,1fr); } }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.form-label .req { color: var(--purple-600); }
.form-input, .form-textarea, .form-select { width: 100%; background: var(--bg-app); border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 16px; font-size: 15px; font-family: inherit; color: var(--text-primary); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--purple-600); background: #fff; box-shadow: 0 0 0 4px rgba(10,108,242,.12); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-tertiary); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.char-count { font-size: 12px; color: var(--text-tertiary); text-align: right; margin-top: 5px; }
.form-submit { width: 100%; background: linear-gradient(135deg, #0A6CF2, #0362DD); color: #fff; border: none; border-radius: 16px; padding: 16px 28px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; justify-content: center; gap: 10px; box-shadow: 0 10px 24px rgba(10,108,242,.3); transition: transform .2s, box-shadow .2s; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,108,242,.4); }
.form-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.form-success { display: none; text-align: center; padding: 36px 12px; }
.form-success.show { display: block; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #10B981, #059669); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 10px 24px rgba(16,185,129,.3); }
.success-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.success-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.success-desc a { color: var(--purple-600); font-weight: 600; }

/* ── RTL ── */
html[dir="rtl"] .phone, html[dir="rtl"] .hero-visual, html[dir="rtl"] .hero-cup { direction: ltr; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .section-head { text-align: right; }
html[dir="rtl"] .lang-menu { left: 0; right: auto; }

/* ══════════════ TRANG TĨNH BỔ SUNG ══════════════ */
.sec-tight { padding-top: 36px; padding-bottom: 64px; }
.narrow-inner { max-width: 860px; }
.lead.wide { max-width: none; }
.art-tags.center-tags { justify-content: center; }
.art-tags.center-tags span { background: rgba(255,255,255,.12); color: #BAE6FD; }

/* features / principles */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.feat-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.sec-tight .feat-grid { margin-top: 0; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #BFDBFE; }
.feat-card .perk-ico { margin-bottom: 14px; }
.feat-card h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.feat-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
.perk-plus, .perk-cup, .perk-gear, .perk-clock, .perk-check, .perk-arrow, .perk-home, .perk-scan, .perk-card, .perk-doc { background: #E1EEFC; color: var(--purple-600); }
.perk-bell { background: #E0F2FE; color: #0284C7; }
.perk-heart { background: #FCE7F3; color: #DB2777; }
.perk-shield { background: #D1FAE5; color: #059669; }
@media (max-width: 980px) { .feat-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .feat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .feat-grid, .feat-grid.four { grid-template-columns: minmax(0,1fr); } }

.step-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); }
.step-n { width: 38px; height: 38px; border-radius: 12px; background: var(--purple-600); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 760px) { .step-grid { grid-template-columns: minmax(0,1fr); } }
.why-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .why-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .why-grid.four { grid-template-columns: minmax(0,1fr); } }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px 28px; justify-items: center; }
.shot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 340px; }
.shot-phone { text-align: left; }
.shot-phone .phone { margin: 0 auto; }
.shot figcaption b { display: block; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.shot figcaption span { display: block; font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.shots-note { text-align: center; margin-top: 44px; font-size: 13px; color: var(--text-tertiary); }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .shots { grid-template-columns: minmax(0,1fr); } }
.ph-title.l { margin-top: 22px; }
.ph-title.c { text-align: center; margin-top: 4px; }
.ph-search { background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; padding: 9px 12px; font-size: 12px; color: var(--text-tertiary); }
.ph-chips { display: flex; gap: 6px; }
.ph-chips span { flex: 1; text-align: center; white-space: nowrap; font-size: 10.5px; font-weight: 700; padding: 5px 4px; border-radius: 99px; background: #fff; color: var(--text-secondary); border: 1px solid #CBD5E1; }
.ph-chips span.on { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.ph-list { display: grid; gap: 8px; }
.ph-lrow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid transparent; border-radius: 14px; padding: 9px 10px; box-shadow: 0 2px 8px rgba(10,108,242,.06); }
.ph-lrow.sel { border-color: var(--purple-600); }
.ph-lrow i { font-style: normal; font-size: 20px; width: 34px; height: 34px; border-radius: 10px; background: #E1EEFC; display: grid; place-items: center; }
.ph-lrow span { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.ph-lrow b { font-size: 12.5px; }
.ph-lrow small { font-size: 10px; color: var(--text-tertiary); }
.ph-lrow em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--purple-600); }
.ph-btn { margin-top: auto; background: var(--purple-600); color: #fff; text-align: center; font-weight: 700; font-size: 13px; padding: 12px; border-radius: 14px; box-shadow: 0 6px 14px rgba(10,108,242,.35); }
.ph-set { display: grid; gap: 6px; }
.ph-set div { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 11px 12px; font-size: 12px; box-shadow: 0 2px 8px rgba(10,108,242,.05); border: 1px solid var(--border); }
.ph-set b { color: var(--purple-600); font-size: 12px; }
.phone.prem .phone-screen { background: linear-gradient(170deg, #0F172A, #1E293B); }
.pc-crown.sm { margin: 26px auto 0; width: 60px; height: 60px; border-radius: 20px; background: rgba(56,189,248,.16); color: #38BDF8; display: grid; place-items: center; }
.ph-prem { display: grid; gap: 8px; }
.ph-prem div { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.08); border-radius: 12px; padding: 11px 12px; font-size: 12px; color: #F8FAFC; }
.ph-prem svg { color: #38BDF8; flex-shrink: 0; }
.ph-note { text-align: center; font-size: 10.5px; color: #94A3B8; }

/* premium compare */
.cmp { margin-top: 30px; background: #fff; border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp-row { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr); align-items: stretch; border-top: 1px solid var(--border); font-size: 15px; }
.cmp-row > span { padding: 16px 12px; display: flex; align-items: center; justify-content: center; }
.cmp-row > .cmp-label { justify-content: flex-start; padding-left: 22px; }
.cmp-row:first-child { border-top: none; }
.cmp-row > span:not(.cmp-label) { text-align: center; }
.cmp-head { background: #E1EEFC; font-weight: 800; font-size: 14px; }
.cmp-head .is-prem { color: var(--purple-600); display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.cmp-row .is-prem { background: rgba(10,108,242,.04); }
.cmp-yes { width: 26px; height: 26px; border-radius: 50%; background: #D1FAE5; color: #059669; display: inline-grid; place-items: center; }
.cmp-no { color: var(--text-tertiary); font-weight: 700; }
.cmp-txt { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.cmp-row .is-prem .cmp-txt { color: var(--purple-600); font-weight: 700; }
@media (max-width: 520px) { .cmp-row { font-size: 13.5px; } .cmp-row > span { padding: 14px 6px; } .cmp-row > .cmp-label { padding-left: 14px; } }

/* faq groups */
.faq-group { margin-bottom: 34px; }
.faq-group-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.sec-faq .faq-item, .faq-group .faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; }

/* about */
.facts { background: #F1F5F9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 38px 24px; }
.facts-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; text-align: center; }
.fact b { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 900; letter-spacing: -0.04em; color: var(--purple-600); }
.fact span { font-size: 14px; color: var(--text-secondary); }
@media (max-width: 700px) { .facts-inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.about-note { font-size: 15px; line-height: 1.7; }
.about-note a { display: inline-block; margin-top: 6px; color: var(--purple-600); font-weight: 700; text-decoration: none; }

/* download */
.dl-badges .sec-inner { display: flex; justify-content: center; }
.dl-badges .store-row { justify-content: center; }
.store-row.big .store-btn { transform: scale(1.12); margin: 0 8px; }

/* screenshots mockup elements for CamScan */
.ph-scanner-frame {
  position: relative;
  width: 100%;
  height: 280px;
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ph-scanner-grid {
  position: absolute;
  inset: 20px;
  border: 2px solid #10B981;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(16,185,129,0.35);
}
.ph-scanner-tag {
  position: absolute;
  top: 30px;
  background: rgba(16,185,129,0.85);
  color: #fff;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ph-scanner-btn {
  position: absolute;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #0A6CF2;
  box-shadow: 0 4px 14px rgba(10,108,242,0.5);
}

/* ── PRO PLANS ── */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 34px; align-items: stretch; }
.plan-card { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-card.is-featured { border-color: var(--purple-600); box-shadow: var(--shadow-md); }
.plan-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--purple-600); background: var(--purple-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan-card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.plan-card > p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.plan-card ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.plan-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-primary); }
.plan-card li svg { color: var(--purple-600); flex-shrink: 0; }
.plan-note { text-align: center; color: var(--text-tertiary); font-size: 13px; margin-top: 18px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0,1fr); } }

/* ── PRICING SECTION (home) ── */
.plan-free { text-align: center; color: var(--text-secondary); font-size: 15px; margin: 14px auto 0; max-width: 640px; }
.plan-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 6px; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; }
.plan-trial { color: var(--purple-600); font-size: 14px; font-weight: 600; }
.plan-feats { list-style: none; margin: 26px auto 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.plan-feats li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-primary); }
.plan-feats li svg { color: var(--purple-600); flex-shrink: 0; }
.plan-note a { color: var(--purple-600); font-weight: 600; }
