/* Styles for the static SEO pages (generated by scripts/generate-seo-pages.mjs).
   Mirrors the main site's dark theme without loading the React bundle. */
:root {
  --bg: #00040f;
  --card: #11101d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --dim: rgba(255, 255, 255, 0.72);
  --accent: #5ce1e6;
  --accent-2: #33bbcf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #def9fa; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--dim); font-size: 0.92rem; }
.grad {
  background: radial-gradient(64% 64% at 71% 36%, #def9fa 1%, #9dedf0 42%, #5ce1e6 72%, #33bbcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(0, 4, 15, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.header-cta { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; white-space: nowrap; font-size: 0.98rem; }
.nav-desktop { display: flex; gap: 16px; margin-left: auto; white-space: nowrap; }
.nav-desktop a, .nav-mobile nav a { color: var(--dim); text-decoration: none; font-size: 0.92rem; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: #fff; }
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; gap: 12px; padding: 18px 22px; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; background: linear-gradient(135deg, #5ce1e6, #33bbcf); color: #00040f; font-weight: 600; text-decoration: none; }
.btn:hover { color: #00040f; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* content */
main { padding-bottom: 48px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 0.85rem; color: var(--dim); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--dim); }
.hero { padding: 36px 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 1.08rem; margin: 0 0 8px; }
.lead { font-size: 1.12rem; color: var(--dim); max-width: 760px; margin: 0; }
main section { margin-top: 44px; }
main p, main li { color: var(--dim); }
main strong { color: #fff; }
.tamil { border-left: 3px solid var(--accent-2); padding-left: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card ul { padding-left: 18px; margin: 0; }
.grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: #fff; transition: border-color 0.2s, transform 0.2s; }
.link-card:hover { border-color: var(--accent-2); transform: translateY(-2px); color: #fff; }
.link-card span { font-size: 0.84rem; color: var(--dim); }
.facts { list-style: none; padding: 0; display: grid; gap: 8px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent) !important; }
.prose { max-width: 820px; }
.prose section, .prose h2 { margin-top: 34px; }
.answer-box { background: rgba(92, 225, 230, 0.08); border: 1px solid rgba(92, 225, 230, 0.35); border-radius: 14px; padding: 18px 20px; color: #fff !important; }
.byline { margin-top: 30px; font-size: 0.88rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: top; }
th { color: #fff; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: #fff; }
.faq .answer { padding: 0 18px 4px; }

/* cta */
.cta-box { background: linear-gradient(144deg, #1b1a2e, #11101d 90%); border: 1px solid var(--line); border-radius: 22px; padding: 32px; text-align: center; }
.cta-box p { max-width: 640px; margin: 0 auto; }
.cta-box .cta-row { justify-content: center; }

/* news */
.news-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.news-card h3 a { color: #fff; text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p { font-size: 0.92rem; margin: 0 0 10px; }
.news-meta { margin-top: auto !important; font-size: 0.8rem !important; }
.live-dot { color: #ff5a5f; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 24px; background: #02050f; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--dim); text-decoration: none; font-size: 0.88rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand, .footer-title { color: #fff; font-weight: 600; margin: 0 0 10px; }
.site-footer address, .site-footer p { font-style: normal; color: var(--dim); font-size: 0.88rem; margin: 0 0 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }

/* responsive header (kept last so it overrides .btn) */
@media (max-width: 1180px) {
  .site-header .nav-desktop, .site-header .header-cta { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 420px) {
  .brand { font-size: 0.86rem; }
  .brand span b { display: block; }
}
