:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --ink: #0e1a3a;
  --ink-2: #53607e;
  --line: #e2e8f4;
  --brand: #2456f0;
  --brand-2: #6a4cf5;
  --brand-dark: #1a3fc0;
  --brand-soft: #eaf0ff;
  --accent: #ff8a1f;
  --accent-soft: #fff3e4;
  --good: #0f9d58;
  --good-soft: #e5f6ed;
  --bad: #de4630;
  --bad-soft: #fdeceb;
  --warn: #a35f00;
  --warn-soft: #fff6dd;
  --navy: #0b1536;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 58, .05), 0 10px 30px rgba(36, 86, 240, .08);
  --shadow-lg: 0 20px 50px rgba(36, 86, 240, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans Telugu", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65; font-size: 16px; -webkit-text-size-adjust: 100%;
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.num { font-variant-numeric: tabular-nums; }
.hl { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { font-weight: 800; text-decoration: none; color: var(--ink); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.logo b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; font-size: 1.15rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 14px rgba(36, 86, 240, .35); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-size: .96rem; font-weight: 600; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav a.cta { background: var(--brand); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--brand-dark); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; background: linear-gradient(180deg, #e8efff 0%, var(--bg) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero::before { width: 420px; height: 420px; background: #bcd0ff; top: -140px; right: -80px; }
.hero::after { width: 300px; height: 300px; background: #d9ccff; bottom: -120px; left: -60px; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 54ch; }
.kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--brand); border: 1px solid #cdd9fb; border-radius: 999px; padding: 4px 14px; font-size: .84rem; font-weight: 700; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(36, 86, 240, .08); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 22px; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stats div b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stats div span { font-size: .85rem; color: var(--ink-2); }

.page-hero { padding: 34px 0 40px; }
.page-hero .hero-grid { grid-template-columns: 1.3fr .7fr; }
.crumbs { font-size: .85rem; color: var(--ink-2); margin-bottom: 8px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.hero-art { display: flex; justify-content: center; align-items: center; min-height: 200px; position: relative; }
.hero-art svg { width: 100%; max-width: 330px; height: auto; filter: drop-shadow(0 18px 30px rgba(36, 86, 240, .22)); }

/* floating cards in home hero */
.stack { position: relative; width: 100%; max-width: 440px; height: 330px; margin: 0 auto; }
.stack .cc { position: absolute; width: 270px; box-shadow: var(--shadow-lg); }
.stack .cc.a { left: 0; top: 40px; transform: rotate(-8deg); }
.stack .cc.b { right: 0; top: 100px; transform: rotate(6deg); z-index: 2; }
.float { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(14, 26, 58, .15); display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; z-index: 3; }
.float small { display: block; font-weight: 500; color: var(--ink-2); font-size: .75rem; }
.float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float.f1 { left: -6px; top: 0; }
.float.f2 { right: -4px; bottom: 6px; }
.float.f3 { left: 20px; bottom: 0; }

/* ---------- buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 12px 22px; border-radius: 14px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; min-height: 46px; box-shadow: 0 8px 20px rgba(36, 86, 240, .28); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(36, 86, 240, .34); }
.btn.orange { background: linear-gradient(135deg, #ff9d2e, #ff6b1a); box-shadow: 0 8px 20px rgba(255, 122, 26, .32); }
.btn.green { background: linear-gradient(135deg, #14b369, #0b8f52); box-shadow: 0 8px 20px rgba(15, 157, 88, .3); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid #cdd9fb; box-shadow: none; }
.btn.sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; border-radius: 11px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
input[type="number"], input[type="text"], input[type="tel"], select, textarea {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); min-height: 46px;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #ffd49a; outline-offset: 2px; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); vertical-align: -3px; margin-right: 6px; }
.field { margin-bottom: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: 1 1 170px; margin-bottom: 0; }

/* ---------- layout ---------- */
section.block { padding: 26px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.section-head p { color: var(--ink-2); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.sticky { position: sticky; top: 84px; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 2px 11px; font-size: .78rem; font-weight: 700; }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.gray { background: #eef1f7; color: var(--ink-2); }
.chip-btn { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 15px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.pending { background: var(--warn-soft); color: var(--warn); border-radius: 999px; padding: 2px 10px; font-size: .76rem; font-weight: 700; }

/* ---------- notices ---------- */
.notice { display: flex; gap: 10px; border: 1px solid #ffe2a8; background: var(--warn-soft); color: #6b4300; border-radius: 14px; padding: 12px 16px; font-size: .92rem; margin: 14px 0; }
.notice.info { border-color: #cfdcff; background: var(--brand-soft); color: #20327a; }

/* ---------- home tiles ---------- */
.tool { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.tool .ic svg { width: 30px; height: 30px; }
.tool .go { margin-top: auto; color: var(--brand); font-weight: 800; }
.tool::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--tint, var(--brand-soft)); opacity: .7; z-index: 0; }
.tool > * { position: relative; z-index: 1; }
.g-blue { background: linear-gradient(135deg, #2456f0, #5b8cff); }
.g-violet { background: linear-gradient(135deg, #6a4cf5, #a58bff); }
.g-orange { background: linear-gradient(135deg, #ff9d2e, #ff6b1a); }
.g-green { background: linear-gradient(135deg, #14b369, #0b8f52); }

.steps { counter-reset: s; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat .tick { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--good-soft); color: var(--good); display: grid; place-items: center; font-weight: 800; }

/* ---------- credit card art ---------- */
.cc { --a: #2456f0; --b: #6a4cf5; aspect-ratio: 1.586; border-radius: 14px; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; padding: 14px 16px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 24px rgba(14, 26, 58, .22); }
.cc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cc::before { content: ""; position: absolute; left: -50px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cc .top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em; z-index: 1; }
.cc .chipic { width: 34px; height: 25px; border-radius: 6px; background: linear-gradient(135deg, #f5d989, #d9a93d); z-index: 1; }
.cc .dots { font-size: .8rem; letter-spacing: .14em; opacity: .9; z-index: 1; }
.cc .nm { font-size: .78rem; font-weight: 700; z-index: 1; line-height: 1.3; }
.cc .net { position: absolute; right: 14px; bottom: 12px; font-weight: 800; font-style: italic; font-size: .95rem; z-index: 1; opacity: .95; }

/* ---------- product cards ---------- */
.pcard { display: grid; gap: 14px; position: relative; }
.pcard.top1 { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.pcard .badge-top { position: absolute; top: -12px; left: 20px; background: linear-gradient(135deg, #ff9d2e, #ff6b1a); color: #fff; font-size: .78rem; font-weight: 800; padding: 3px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(255, 122, 26, .35); }
.pcard-head { display: grid; grid-template-columns: 190px 1fr auto; gap: 18px; align-items: center; }
.pcard .name { font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.pcard .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pcard .scorebox { text-align: right; }
.score { font-weight: 800; font-size: 1.7rem; color: var(--good); line-height: 1.1; }
.score.neg { color: var(--bad); }
.rank { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; margin-right: 8px; vertical-align: 2px; }
.bar { height: 9px; border-radius: 99px; background: #e8edf8; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.kv div { background: #f3f6fc; border-radius: 12px; padding: 10px 12px; }
.kv span { display: block; font-size: .74rem; color: var(--ink-2); font-weight: 600; }
.kv b { font-size: .98rem; }
ul.tight { margin: 0; padding-left: 1.15em; }
ul.tight li { margin-bottom: 3px; }
.pros li::marker { color: var(--good); }
.cons li::marker { color: var(--bad); }
.pcard footer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }
.pcard footer .spacer { flex: 1; }
.ring { position: relative; width: 74px; height: 74px; flex: none; }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.05rem; font-weight: 800; color: var(--brand); }
.mono { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.6rem; flex: none; box-shadow: 0 8px 18px rgba(14, 26, 58, .2); }
.facts { display: flex; gap: 8px; flex-wrap: wrap; }
.fact { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: #f3f6fc; }
.fact.yes { background: var(--good-soft); color: var(--good); }
.fact.no { background: var(--bad-soft); color: var(--bad); }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }

/* ---------- details ---------- */
details { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fafbff; }
summary { cursor: pointer; font-weight: 700; color: var(--brand); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
tbody th { background: #f6f8fd; font-weight: 700; position: sticky; left: 0; min-width: 130px; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.best { background: var(--good-soft); font-weight: 800; color: var(--good); }
td.flag-bad, .flag-bad { color: var(--bad); font-weight: 700; }
td.flag-ok, .flag-ok { color: var(--good); font-weight: 700; }

/* ---------- compare tray ---------- */
.tray { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(14, 26, 58, .14); padding: 12px 16px; z-index: 60; display: none; }
.tray.on { display: block; }
.tray .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tray .chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }

/* ---------- sliders ---------- */
.spend-grid { display: grid; gap: 12px; }
.spend-item .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.spend-item label { margin: 0; font-size: .86rem; }
.spend-item output { font-weight: 800; color: var(--brand); font-size: .95rem; }

/* ---------- solar ---------- */
.result-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.big { border-radius: 16px; padding: 16px 18px; color: #fff; }
.big span { display: block; font-size: .78rem; opacity: .9; font-weight: 600; }
.big b { font-size: 1.7rem; font-weight: 800; line-height: 1.2; display: block; }
.cta-band { background: linear-gradient(135deg, #0b8f52, #14b369 55%, #5fd29a); color: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 20px 50px rgba(15, 157, 88, .3); }
.cta-band label, .cta-band .small, .cta-band h2 { color: #fff; }
.cta-band a { color: #fff; }
.cta-band input, .cta-band select { border-color: transparent; }

/* ---------- footer ---------- */
.site-footer { margin-top: 50px; background: var(--navy); color: #b6c0dc; padding: 40px 0 100px; font-size: .9rem; }
.site-footer a { color: #d9e2ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 22px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .legal { border-top: 1px solid #25325c; padding-top: 18px; font-size: .82rem; }
.site-footer .logo { color: #fff; }

.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .stack { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; max-height: none !important; overflow: visible !important; }
  .pcard-head { grid-template-columns: 150px 1fr; }
  .pcard .scorebox { grid-column: 1 / -1; text-align: left; display: flex; gap: 12px; align-items: baseline; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(14, 26, 58, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
  .hero { padding: 30px 0 36px; }
}
@media (max-width: 520px) {
  .pcard-head { grid-template-columns: 1fr; }
  .pcard-head .cc { max-width: 260px; }
}
@media print { .site-header, .tray, .site-footer { display: none; } }
