/* Drishti Eye Hospital: night violet, iris purple, amber and rose. Red Hat Display for headings, Red Hat Text for
   text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #120E1C;
  --surface: #1B1529;
  --soft: #231C36;
  --ink: #EDE9FF;
  --muted: #ABA3C9;
  --line: #2E2645;
  --line-strong: #41375F;
  --brand: #FFC15E;
  --brand-hover: #FFD08A;
  --brand-ink: #120E1C;
  --brand-text: #FFC15E;
  --vio: #8B7BFF;
  --eyebrow: #A99CFF;
  --announce-bg: #8B7BFF;
  --announce-ink: #120E1C;
  --head: "Red Hat Display", system-ui, sans-serif;
  --body: "Red Hat Text", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --gap: 22px;
  --menu-bg: #120E1C;
  --input-bg: #120E1C;
  color-scheme: dark;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
h1 { font-weight: 900; }
h1 em { font-style: normal; color: var(--vio); }
.btn { font-weight: 700; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* header */
.header { background: rgba(18,14,28,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 900 1.45rem var(--head); color: var(--ink); }
.logo small { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* hero: an eye chart that sharpens into focus */
.hero { padding-block: clamp(32px, 5vw, 72px); background: radial-gradient(50% 60% at 80% 40%, rgba(139,123,255,.18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chart { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border-radius: var(--radius-lg); background: #F6F3FF; color: #120E1C; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.chart p { font: 700 1em/1.1 var(--head); letter-spacing: .25em; animation: focus 1.4s var(--d) ease-out both; }
@keyframes focus { from { filter: blur(6px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .chart p { animation: none; } }
.chart-line { position: absolute; left: 12%; right: 12%; bottom: 52px; height: 2px; background: #FF7A9A; }
.eye-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .eye-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eye-stats li { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.eye-stats b { font: 900 clamp(1.6rem, 3.4vw, 2.2rem) var(--head); color: var(--brand); }
.eye-stats span { color: var(--muted); }

/* glasses-free check */
.gf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .gf { grid-template-columns: minmax(0, 1fr); } }
.gf-in { display: grid; gap: 16px; }
.gf-out { position: sticky; top: 96px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .gf-out { position: static; } }
.gf-verdict { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.gf-verdict.good { color: #7EE2B8; }
.gf-verdict.wait { color: var(--brand); }
.gf-verdict.no { color: #FF8FA8; }
.gf-opts { list-style: none; display: grid; gap: 8px; }
.gf-opts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); }
.gf-opts b { font-weight: 700; }
.gf-opts .ok { color: #7EE2B8; font-weight: 700; }
.gf-opts .nope { color: var(--muted); }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: linear-gradient(120deg, #8B7BFF, #B17BFF); color: #120E1C; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #120E1C; color: var(--brand); }
.cta-band .btn-ghost { color: #120E1C; border-color: #120E1C; }
.footer { background: #0C0914; color: var(--muted); --footer-line: var(--line); border-top: 1px solid var(--line); }
.footer h2 { color: var(--ink); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--ink); }
