/* karnataka-trader (aitradeinfo): DARK theme, built from "Home Dark (1440)" 36:279 and "Affiliate application, Dark" 71:1422.
   Every rule is scoped to html[data-theme="dark"] and only overrides what differs from style.css.
   Load AFTER style.css. Asset swaps use content:url() on <img> (see section 0 at the end of the swaps). */

/* ---------- 0. tokens ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1f1a;
  --ink: #f1fbf6;
  --body: #9dbfb0;
  --txt: #c5d8cf;
  --green-d: #8ed6b6;      /* accent text (was #1f8a3b) */
  --line: #1f4a38;
  --jak-ink: #f9fafb;
  --jak-green: #9fd8b0;    /* eyebrow pill text, headline accent (comparison overrides to #bbf7d0) */
  --dark: #eaf4ef;         /* .btn-dk (plan Subscribe button) becomes light */
}

/* gradient headline words */
html[data-theme="dark"] .hero h1 em,
html[data-theme="dark"] .sec h2 em.gt,
html[data-theme="dark"] h2.gt,
html[data-theme="dark"] .res-h em,
html[data-theme="dark"] .mkt h2 em,
html[data-theme="dark"] .price h2 em,
html[data-theme="dark"] .faq h2 em {
  background: linear-gradient(90deg, #8ed6b6, #32a548); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- header ---------- */
html[data-theme="dark"] .site-header { background: rgba(8, 26, 21, .92); border-bottom-color: rgba(31, 74, 56, .6); }
html[data-theme="dark"] .site-header.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .35); } /* not in frame: assumption */
html[data-theme="dark"] .brand-txt b { color: #f1fbf6; }
html[data-theme="dark"] .brand-txt small { color: #9dbfb0; }
html[data-theme="dark"] .nav-links a { color: #c5d8cf; }
html[data-theme="dark"] .nav-links a:hover, html[data-theme="dark"] .nav-links a.active { color: #8ed6b6; } /* hover not in frame: assumption */
html[data-theme="dark"] .login { color: #c5d8cf; }
/* .btn-nav gradient, shadow and small text are identical in dark */

/* ---------- buttons ---------- */
html[data-theme="dark"] .btn-o { border-color: #1f4a38; background: rgba(255, 255, 255, .02); color: #f1fbf6; }
html[data-theme="dark"] .btn-dk { background: #eaf4ef; color: #0a1f1a; }
/* .btn-g, .btn-d (#15803d, drop-shadow unchanged) and .btn-gr (#4ade80 / #0b1510) are identical in dark */

/* ---------- hero ---------- */
html[data-theme="dark"] .hero { background: #0a1f1a; }
html[data-theme="dark"] .pill-o { background: rgba(50, 165, 72, .08); border-color: rgba(50, 165, 72, .55); color: #8ed6b6; }
html[data-theme="dark"] .hero h1 { color: #f1fbf6; }
html[data-theme="dark"] .hero-p { color: #9dbfb0; }
html[data-theme="dark"] .trust li { color: #b9cfc5; }
/* hero-glow.svg / hero-grid.svg / check-green.svg are swapped in the asset section */

/* ---------- shared section intro ---------- */
html[data-theme="dark"] .intro h2 { color: #f9fafb; }
html[data-theme="dark"] .intro h2 em { color: #9fd8b0; }
html[data-theme="dark"] .pill-s { background: #123b2a; color: #9fd8b0; }
html[data-theme="dark"] .lead { color: #94a3b8; }

/* ---------- features ---------- */
html[data-theme="dark"] .feat { background: #0a1f1a; }
html[data-theme="dark"] .fcard { background: #111827; border-color: #1f2937; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); }
html[data-theme="dark"] .fcard .num { background: #123b2a; color: #9fd8b0; }
html[data-theme="dark"] .tile { background: #123b2a; }
html[data-theme="dark"] .tile.ist span { color: #9fd8b0; }
html[data-theme="dark"] .legend div { color: #e5e7eb; }
html[data-theme="dark"] .alerts { color: #e5e7eb; }
html[data-theme="dark"] .alerts div { background: #0f172a; border-color: #1f2937; }
html[data-theme="dark"] .alerts b[style*="15803d"] { color: #9fd8b0 !important; }   /* buy arrow: inline style in HTML */
html[data-theme="dark"] .alerts b[style*="1f2937"] { color: #e5e7eb !important; }   /* trap triangle: inline style in HTML */
html[data-theme="dark"] .fcard h3 { color: #f9fafb; }
html[data-theme="dark"] .fcard p { color: #94a3b8; }

/* ---------- showcase ---------- */
html[data-theme="dark"] .show { background: #0a1f1a; }
html[data-theme="dark"] .chart-frame { background: #0c2219; }   /* border 1.5px rgba(50,165,72,.85) and glow shadow unchanged */
html[data-theme="dark"] .show-copy > p { color: #9dbfb0; }
html[data-theme="dark"] .show-copy li { color: #c5d8cf; }

/* chart mockup (Indicator chart (dark)) */
html[data-theme="dark"] .ch { background: #0b1a15; border-color: #1f4a38; }
html[data-theme="dark"] .ch-bar { background: #0f241c; border-bottom-color: #1e3a2e; color: #cfede1; }
html[data-theme="dark"] .ch-bar .nav { color: #9ca3af; }
html[data-theme="dark"] .ch-bar .on { background: #0f241c; color: #15803d; }
html[data-theme="dark"] .ch-bar .tl { color: #cfede1; }
html[data-theme="dark"] .ch-axis { border-left-color: #1e3a2e; color: #cfede1; }
html[data-theme="dark"] .ch-axis .inr { color: #cfede1; }
html[data-theme="dark"] .ch-sym b { color: #cfede1; }
html[data-theme="dark"] .ch-trap { background: rgba(15, 36, 28, .7); }
html[data-theme="dark"] .ch-radar { background: #0f241c; border-color: #1e3a2e; }
html[data-theme="dark"] .ch-radar b { color: #cfede1; }
html[data-theme="dark"] .ch-radar i { color: #cfede1; }
html[data-theme="dark"] .ch-call { background: #0f241c; }
html[data-theme="dark"] .ch-call .bd { color: #cfede1; }
html[data-theme="dark"] .ch-tzl { color: #cfede1; }
html[data-theme="dark"] .ch-tvm { color: #cfede1; }
html[data-theme="dark"] .ch-time { color: #cfede1; }
/* .c-g/.c-r/.c-b/.c-m, .pb, .ch-entry, .ch-ctt, .ch-call .hd, level lines: identical in dark */

/* ---------- comparison ---------- */
html[data-theme="dark"] .cmp { background: #071814; }
html[data-theme="dark"] .cmp .intro h2 em { color: #bbf7d0; }
html[data-theme="dark"] .cmp .pill-s { background: #123b2a; color: #9fd8b0; }
html[data-theme="dark"] .lead.one { color: #cbd5e1; }
html[data-theme="dark"] .ctable { background: #0f172a; border-color: #1f2937; filter: drop-shadow(0 12px 15px rgba(0, 0, 0, .4)); }
html[data-theme="dark"] .chead .c1, html[data-theme="dark"] .chead .c2 { background: #111827; color: #e5e7eb; }
html[data-theme="dark"] .crow { border-top-color: #1f2937; }
html[data-theme="dark"] .crow .c2 { border-left-color: #1f2937; border-right-color: #1f2937; }
html[data-theme="dark"] .crow .c3 { background: #111827; }
html[data-theme="dark"] .cb { background: #0f2a1a; }
html[data-theme="dark"] .cb.x { background: #3f1d1d; }
html[data-theme="dark"] .cb.y { background: #0f2a1a; }
html[data-theme="dark"] .crow b { color: #e5e7eb; }
html[data-theme="dark"] .crow .c2 p { color: #cbd5e1; }
html[data-theme="dark"] .crow .c3 p { color: #e5e7eb; }
html[data-theme="dark"] .cban { background: #0f2a1a; border-color: #1f2937; }
html[data-theme="dark"] .cb-i { background: #0b2a1a; }
html[data-theme="dark"] .cban h3 { color: #f9fafb; }
html[data-theme="dark"] .cban h3 em { color: #bbf7d0; }
html[data-theme="dark"] .cban .vr { background: #334155; }
html[data-theme="dark"] .cban p { color: #cbd5e1; }

/* ---------- who it's for ---------- */
html[data-theme="dark"] .who { background: #0a201a; }
html[data-theme="dark"] .who .pill-s { background: #0f2a1b; color: #15803d; }
html[data-theme="dark"] .who .intro h2 { color: #f8fafc; }
html[data-theme="dark"] .pcard { background: #111827; border-color: #1f2937; }
html[data-theme="dark"] .photo { background: linear-gradient(90deg, #0f2a1b, #1a3a2e); }
html[data-theme="dark"] .ctile { background: #0f172a; }
html[data-theme="dark"] .note { color: #a7f3d0; }
html[data-theme="dark"] .pbody h3 { color: #f8fafc; }
html[data-theme="dark"] .pbody > p { color: #94a3b8; }
html[data-theme="dark"] .pbody li { color: #e5e7eb; }
html[data-theme="dark"] .gban { background: #0f2a1b; border-color: #1a3a2e; }
html[data-theme="dark"] .gb-i { background: #0f172a; }
html[data-theme="dark"] .gban p { color: #f8fafc; }
html[data-theme="dark"] .gban p em { color: #f8fafc; }

/* ---------- proven results ---------- */
html[data-theme="dark"] .res { background: #09201a; }   /* inferred from the edge-fade colour; section fill itself not read */
html[data-theme="dark"] .res-h { color: #f1fbf6; }
html[data-theme="dark"] .res-u { background: linear-gradient(90deg, #8ed6b6, #32a548); }
html[data-theme="dark"] .res-sub { color: #9dbfb0; }
html[data-theme="dark"] .rcard { background: #0f2a21; border-color: #1f4a38; }
html[data-theme="dark"] .rcap p { color: #f1fbf6; }
html[data-theme="dark"] .rcap a { color: #8ed6b6; }
html[data-theme="dark"] .fade.fl { background: linear-gradient(90deg, #09201a, rgba(9, 32, 26, 0)); }
html[data-theme="dark"] .fade.fr { background: linear-gradient(270deg, #09201a, rgba(9, 32, 26, 0)); }
html[data-theme="dark"] .btn-vall { border-color: #32a548; background: rgba(255, 255, 255, .02); color: #f1fbf6; }

/* ---------- markets ---------- */
html[data-theme="dark"] .mkt { background: #0a1f1a; }
html[data-theme="dark"] .mkt h2 { color: #f1fbf6; }
html[data-theme="dark"] .mk-sub { color: #9dbfb0; }
html[data-theme="dark"] .chip { background: #0f2a21; border-color: #1f4a38; }
html[data-theme="dark"] .ct b { color: #f1fbf6; }
html[data-theme="dark"] .ct small { color: #9dbfb0; }

/* ---------- banners ---------- */
html[data-theme="dark"] .banner { background: #0a1f1a; }
html[data-theme="dark"] .bcard { background: linear-gradient(90deg, #0f2a21, #113919); border-color: #1f4a38; }
html[data-theme="dark"] .bcard h3 { color: #f1fbf6; }
html[data-theme="dark"] .bcard p { color: #b9cfc5; }
html[data-theme="dark"] .bcard p b { color: #8ed6b6; }
html[data-theme="dark"] .bcard.b2 p { color: #fff; }
html[data-theme="dark"] .bcard.b2 p b { color: #4ade80; }

/* ---------- pricing ---------- */
html[data-theme="dark"] .price { background: #0a1f1a; }
html[data-theme="dark"] .price h2 { color: #f1fbf6; }
html[data-theme="dark"] .promo { background: rgba(50, 165, 72, .1); border-color: #32a548; color: #8ed6b6; box-shadow: 0 0 20px rgba(50, 165, 72, .4); }
html[data-theme="dark"] .plan { background: linear-gradient(180deg, #0f2a21, #0a1f1a); border-color: #1f4a38; }
html[data-theme="dark"] .plan.hi { background: linear-gradient(180deg, #113919, #0a1f1a); border-color: #32a548; box-shadow: 0 0 30px rgba(50, 165, 72, .3); }
html[data-theme="dark"] .offer { color: #8ed6b6; }
html[data-theme="dark"] .badge { color: #8ed6b6; }
html[data-theme="dark"] .plan h3 { color: #f1fbf6; }
html[data-theme="dark"] .plan .amt s { color: #6f8c80; }
html[data-theme="dark"] .plan .amt b { color: #f1fbf6; }
html[data-theme="dark"] .incl { color: #f1fbf6; }
html[data-theme="dark"] .plan li { color: #b9cfc5; }
html[data-theme="dark"] .plan hr { background: #1f4a38; }
html[data-theme="dark"] .req { color: #9dbfb0; }

/* ---------- request access ---------- */
html[data-theme="dark"] .acc { background: #0a1f1a; }
html[data-theme="dark"] .fcard2 { border-color: #1f4a38; background: linear-gradient(140.7deg, #0c1f19 0, #0f2a21 42.857%, #143d27 71.429%); }
html[data-theme="dark"] .fcard2 h2 { color: #f1fbf6; }
html[data-theme="dark"] .fsub { color: #9dbfb0; }
html[data-theme="dark"] .fcard2 label span { color: #b9cfc5; }
html[data-theme="dark"] .fcard2 input[type=text], html[data-theme="dark"] .fcard2 input[type=email], html[data-theme="dark"] .fcard2 input[type=tel] { background: #071712; border-color: #1f4a38; color: #f1fbf6; }
html[data-theme="dark"] .fcard2 input::placeholder { color: #5e7c70; }
html[data-theme="dark"] .consent i { border-color: rgba(142, 214, 182, .7); background-color: transparent; }
html[data-theme="dark"] .consent input:checked + i { background-color: #32a548; border-color: #32a548; }
html[data-theme="dark"] .consent span { color: #9dbfb0; }
/* .btn-sub gradient + shadow identical in dark */

/* ---------- FAQ ---------- */
html[data-theme="dark"] .faq { background: #0a1f1a; }
html[data-theme="dark"] .faq h2 { color: #f1fbf6; }
html[data-theme="dark"] .fq-sub { color: #9dbfb0; }
html[data-theme="dark"] .fq { background: #0f2a21; border-color: #1f4a38; }
html[data-theme="dark"] .fq.open { border-color: rgba(50, 165, 72, .6); }
html[data-theme="dark"] .fq-q { color: #f1fbf6; }
html[data-theme="dark"] .fq-a { color: #9dbfb0; }
html[data-theme="dark"] .show-more { color: #8ed6b6; }

/* ---------- risk ---------- */
html[data-theme="dark"] .risk { background: #0d2620; border-top: 0; border-bottom: 0; }
html[data-theme="dark"] .rb { color: #8fafa2; }

/* ---------- final CTA ---------- */
html[data-theme="dark"] .fcta { background: #0d2620; }
@media (min-width: 900px) {
  html[data-theme="dark"] .hills { top: 42.84px; height: 473px; }   /* dark hills artwork is 1440x473 */
}
/* .panel, .ey, h2, .pp, .perk, .btn-gr, laptop image: identical in dark */

/* ---------- footer ---------- */
/* identical in dark (#01070d, white/70% links, same store badges) */

/* ---------- affiliate page ---------- */
html[data-theme="dark"] .aff { background: #0a1f1a; }
html[data-theme="dark"] .aff-label { background: rgba(50, 165, 72, .08); color: #8ed6b6; }
html[data-theme="dark"] .aff-intro h1 { color: #f1fbf6; }
html[data-theme="dark"] .aff-p { color: #9dbfb0; }
html[data-theme="dark"] .aff-guide { border-top-color: #1f4a38; }
html[data-theme="dark"] .ag-t { color: #c5d8cf; }
html[data-theme="dark"] .ag-p { color: #9dbfb0; }
html[data-theme="dark"] .aff-form { background: #0f2a21; border-color: #1f4a38; }
html[data-theme="dark"] .af-head { background: linear-gradient(90deg, #0c1f19, #0f2a21 60%, #143d27); border-bottom-color: #1f4a38; }
html[data-theme="dark"] .af-head h2 { color: #f1fbf6; }
html[data-theme="dark"] .af-head p { color: #9dbfb0; }
html[data-theme="dark"] .af-head p span { color: #8ed6b6; }
html[data-theme="dark"] .af > span, html[data-theme="dark"] .af-roles legend { color: #c5d8cf; }
html[data-theme="dark"] .af em, html[data-theme="dark"] .af-roles em { color: #8ed6b6; }
html[data-theme="dark"] .aff-form input[type=text], html[data-theme="dark"] .aff-form input[type=email], html[data-theme="dark"] .aff-form input[type=tel], html[data-theme="dark"] .aff-form input[type=url], html[data-theme="dark"] .aff-form textarea { background: #071814; border-color: #1f4a38; color: #f1fbf6; }
html[data-theme="dark"] .aff-form input::placeholder, html[data-theme="dark"] .aff-form textarea::placeholder { color: #8fafa2; }
html[data-theme="dark"] .af-roles { border-top-color: #1f4a38; }
html[data-theme="dark"] .role { color: #c5d8cf; }
html[data-theme="dark"] .role i { border-color: #8fafa2; background: #071814; }
html[data-theme="dark"] .role input:checked + i { border-color: #32a548; box-shadow: inset 0 0 0 4px #071814, inset 0 0 0 9px #32a548; }
html[data-theme="dark"] .af-why { border-top-color: #1f4a38; }
html[data-theme="dark"] .af-btn { box-shadow: 0 6px 20px -4px rgba(50, 165, 72, .22); }

/* ---------- mobile (<900px): no dark mobile home frame; affiliate mobile dark 80:1585 only read as metadata ---------- */
@media (max-width: 899.98px) {
  html[data-theme="dark"] .nav-links { background: #0a1f1a; }                 /* assumption: menu panel = page bg */
  html[data-theme="dark"] .nav-links a { border-bottom-color: rgba(255, 255, 255, .08); }  /* assumption */
  html[data-theme="dark"] .crow { border-color: #1f2937; background: #0f172a; }            /* assumption: reuse table colours */
  html[data-theme="dark"] .crow .c1 { background: #111827; }
  html[data-theme="dark"] .crow .c3 { border-top-color: #1f2937 !important; }
}

/* ---------- asset swaps (<img> src ends with assets/icons/NAME) -> assets/dark/NAME ---------- */

html[data-theme="dark"] .plan .ph { background: linear-gradient(180deg, #123a2a, #0f2a21); border-color: #1f4a38; }
html[data-theme="dark"] .plan .ph p { color: #9dbfb0; }
html[data-theme="dark"] .pcrown { background: #0a1f1a; color: #8ed6b6; }
html[data-theme="dark"] .prow s { color: #6f8c80; }
html[data-theme="dark"] .perday { background: #0a1f1a; border-color: #1f4a38; color: #b9cfc5; }
html[data-theme="dark"] .pfeat { border-color: #1f4a38; }
html[data-theme="dark"] .pfeat .pft, html[data-theme="dark"] .pfeat h5 { color: #f1fbf6; }
html[data-theme="dark"] .pfeat li p { color: #9dbfb0; }
html[data-theme="dark"] .fring { color: #8ed6b6; background: rgba(50, 165, 72, .12); }
