/* The public home page (nazarapp.online): shows off the brand and the tool. No sign-in here; the app is at /app.
   Builds on the extension's look in ext/ui/style.css. */
html { scroll-behavior: smooth; }
.landing { min-height: 100vh; overflow-x: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.landing main > section { margin-top: 112px; scroll-margin-top: 24px; }
.landing h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.landing h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.landing p { color: var(--ink-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }

/* Links that look like buttons */
.cta { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.cta.light { background: #fff; color: var(--accent); box-shadow: 0 6px 20px -8px rgba(8, 18, 70, .6); }
.cta.light:hover { background: #eef1fc; color: var(--accent-hover); }
.cta.onblue { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.cta.onblue:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); }

/* ---------- hero: full-width cobalt with the jaali lattice (from .masthead) ---------- */
.landing .hero { border-radius: 0; padding: 0 0 190px; box-shadow: none; }
.hero .top { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.hero .brand { text-decoration: none; }
.hero .wordmark { font-size: 28px; }
.hero nav { margin-left: auto; display: flex; gap: 4px; }
.hero nav a { color: #dfe5ff; text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 14px; border-radius: 9px; }
.hero nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.hero-body { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; padding-top: 64px; }
.hero .eyebrow { color: var(--glass) !important; }
.hero h1 { font-size: clamp(52px, 8.6vw, 112px); line-height: .94; font-weight: 800; letter-spacing: -0.05em; color: #fff; }
.hero .lede { color: #dfe5ff; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; max-width: 50ch; margin: 26px 0 32px; }
.amulet { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 30px 50px rgba(5, 12, 60, .55)); }
.amulet svg { display: block; width: 100%; height: auto; }
#iris { transition: transform .25s ease-out; }

/* ---------- the Prices page, lifted over the hero ---------- */
.landing main > .shot { margin-top: -140px; position: relative; z-index: 2; }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(10, 20, 80, .55), var(--shadow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.sample-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sample-bar b { font-family: var(--display); font-size: 19px; }
.shot .table-scroll { overflow-x: auto; }
.shot table { width: 100%; border-collapse: collapse; font-size: 15px; }
.shot th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 11px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.shot td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 136px; white-space: nowrap; }
.shot tr:last-child td { border-bottom: none; }
.shot td.product { min-width: 240px; white-space: normal; position: sticky; left: 0; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.shot td.product .name { font-weight: 600; line-height: 1.35; }
.shot td.product .bench { display: inline-flex; margin-top: 5px; padding: 2px 8px; border-radius: 6px; font-size: 12px; color: var(--accent-hover); background: var(--accent-soft); }
.shot td s { color: var(--muted); font-size: 13px; margin-left: 4px; }
.shot td > div { margin-top: 6px; }
.shot td.changed { background: var(--glass-soft); box-shadow: inset 3px 0 0 var(--accent); }
.shot td.oos { background: #fff8f7; }
.landing .chg { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.shot .caption { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- facts ---------- */
.landing main > .facts { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.facts > div { padding: 26px 22px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: none; padding-left: 0; }
.facts b { display: block; font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.facts span { font-size: 14px; color: var(--ink-2); }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature .copy p:last-child { font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 46ch; }
.feature .art { padding: 10px; }

.feed { padding: 6px 4px !important; }
.feed .ev { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.feed .ev:last-child { border-bottom: none; }
.feed .when { width: 44px; flex: none; font-size: 12px; color: var(--muted); padding-top: 2px; }
.feed .pf { width: 78px; flex: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.feed .detail { margin-top: 5px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.bench-art { position: relative; padding: 26px 26px 54px !important; }
.bench-row { display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; }
.bench-row span { color: var(--ink-2); font-weight: 550; }
.bench-row i { height: 14px; border-radius: 4px; width: var(--w); background: var(--accent); }
.bench-row b { text-align: right; }
.bench-row.under i { background: var(--amber); }
.bench-row.under b { color: var(--amber); }
/* The benchmark sits at 80% of the bar track (₹240 on a ₹0–₹300 scale). */
.bench-line { position: absolute; top: 18px; bottom: 40px; left: calc(26px + 84px + 12px); right: calc(26px + 52px + 12px); pointer-events: none; }
.bench-line::before { content: ''; position: absolute; left: 80%; top: 0; bottom: 0; border-left: 2px dashed var(--amber); }
.bench-line em { position: absolute; left: 80%; bottom: -26px; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: var(--amber); white-space: nowrap; }

.chart { padding: 22px !important; }
.chart svg { display: block; width: 100%; height: auto; }
.legend { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend .k::before { content: ''; display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 7px; vertical-align: middle; background: var(--accent); }
.legend .k.b::before { background: var(--glass-ink); }
.legend .k.c::before { background: none; border-top: 2px dashed var(--amber); height: 0; }

/* ---------- apps ---------- */
.app-groups { margin-top: 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.app-groups > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.app-groups h3 { font-size: 14px; font-family: inherit; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.app-groups ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-groups li { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; padding: 8px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-hover); }

/* ---------- how it works ---------- */
.how ol { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how li { counter-increment: step; color: var(--ink-2); padding-top: 16px; border-top: 2px solid var(--accent); }
.how li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 14px; }
.how li b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* ---------- pricing ---------- */
.pricing .sub { font-size: 17px; margin-top: 14px; max-width: 60ch; }
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plans article { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.plans h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.plans .for { margin-top: 6px; min-height: 3em; }
.plans ul { list-style: none; margin: 18px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plans li { padding-left: 26px; position: relative; font-weight: 550; }
.plans li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.plans .price { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink) !important; padding-top: 18px; border-top: 1px solid var(--line); }
.plans .pick { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 30px 60px -30px rgba(20, 42, 134, .7); }
.plans .pick .for { color: #dfe5ff; }
.plans .pick ul, .plans .pick .price { border-color: rgba(255, 255, 255, .22); }
.plans .pick .price { color: #fff !important; }
.plans .pick li::before { border-color: var(--glass); }

/* ---------- brand story ---------- */
.landing main > .story { background: var(--ink); padding: 96px 0; text-align: center; }
.story svg { width: 96px; height: 96px; }
.story .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; color: #fff; max-width: 16ch; margin: 18px auto 20px; text-wrap: balance; }
.story p { color: #b9bfcc; font-size: 18px; line-height: 1.6; max-width: 52ch; margin: 0 auto; }

/* ---------- faq ---------- */
.faq dl { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.faq dl > div { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.faq dt { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.faq dd { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 96px; padding-top: 28px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.foot .brand { text-decoration: none; }

@media (max-width: 860px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .landing main > section { margin-top: 72px; }
  .hero nav { display: none; }
  .landing .hero { padding-bottom: 150px; }
  .hero-body { grid-template-columns: 1fr; padding-top: 36px; gap: 8px; }
  .amulet { order: -1; justify-self: start; width: 132px; margin-bottom: 20px; }
  .landing main > .shot { margin-top: -110px; }
  .shot td.product { min-width: 150px; }
  .landing main > .facts { margin-top: 48px; grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 20px 16px; }
  .facts > div:nth-child(odd) { border-left: none; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .app-groups, .plans, .faq dl { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .plans .for { min-height: 0; }
  .landing main > .story { padding: 72px 0; }
  .bench-row { grid-template-columns: 70px 1fr 48px; }
  .bench-line { left: calc(26px + 70px + 12px); right: calc(26px + 48px + 12px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #iris { transition: none; } }
