/* =====================================================================
   The Conclusion Matters: Homepage design (7 themes)
   ફાઇલ ક્યાં મૂકવી: public_html/assets/css/tcm-home.css
   ફક્ત મુખ્ય homepage (public_html/index.php) આ file વાપરે છે.
   Theme: <html data-th="terminal|royal|midnight|aurora|saffron|emerald|day">
   ===================================================================== */

/* ---------- Themes ---------- */
html[data-th] {
  --bg:#060C18; --bg2:#08101F; --panel:#0C1628; --panel2:#0A1222; --panel3:#11203A;
  --line:#182844; --line2:#24395E; --text:#E2E8F0; --head:#FFFFFF; --muted:#94A3B8; --faint:#64748B;
  --acc:#00E5FF; --acc2:#00FF88; --gold:#FBBF24; --up:#16C784; --dn:#F23645;
  --accbg:rgba(0,229,255,.10); --acc2bg:rgba(0,255,136,.10); --upbg:rgba(22,199,132,.12); --dnbg:rgba(242,54,69,.12);
  --grid:rgba(148,163,184,.07); --shadow:0 18px 50px rgba(0,0,0,.45); --onacc:#04121A;
  --hdr:69px;
  --accl:rgba(0,229,255,.42); --upl:rgba(22,199,132,.45); --dnl:rgba(242,54,69,.45); --goldl:rgba(251,191,36,.42); --goldbg:rgba(251,191,36,.12); --barbg:rgba(10,18,34,.92);
  --ui:"Inter","Noto Sans Gujarati",system-ui,sans-serif;
  --gu:"Noto Sans Gujarati","Inter",system-ui,sans-serif;
  --disp:"Rajdhani","Noto Sans Gujarati","Inter",sans-serif;
  --num:"JetBrains Mono","Share Tech Mono",ui-monospace,monospace;
}
html[data-th="royal"]    { --accl:rgba(233,180,76,.45); --barbg:rgba(11,17,41,.92); --bg:#070B1F; --bg2:#0A0F28; --panel:#0E1533; --panel2:#0B1129; --panel3:#141D44; --line:#1E2A55; --line2:#2C3B72; --acc:#E9B44C; --acc2:#8EA8FF; --accbg:rgba(233,180,76,.12); --acc2bg:rgba(142,168,255,.12); --onacc:#1A1203; }
html[data-th="midnight"] { --accl:rgba(34,197,94,.45); --barbg:rgba(7,9,13,.92); --bg:#000000; --bg2:#05070A; --panel:#0A0D12; --panel2:#07090D; --panel3:#11161E; --line:#161C26; --line2:#222B38; --acc:#22C55E; --acc2:#A3E635; --accbg:rgba(34,197,94,.12); --acc2bg:rgba(163,230,53,.10); --onacc:#03130A; }
html[data-th="aurora"]   { --accl:rgba(167,139,250,.45); --barbg:rgba(16,12,37,.92); --bg:#0A0718; --bg2:#0D0A20; --panel:#130F2C; --panel2:#100C25; --panel3:#1B1640; --line:#251F4D; --line2:#352C6B; --acc:#A78BFA; --acc2:#2DD4BF; --accbg:rgba(167,139,250,.13); --acc2bg:rgba(45,212,191,.12); --onacc:#140A2E; }
html[data-th="saffron"]  { --accl:rgba(255,153,51,.45); --barbg:rgba(23,15,7,.92); --bg:#0F0904; --bg2:#140C06; --panel:#1C1209; --panel2:#170F07; --panel3:#26190C; --line:#33220F; --line2:#4A3216; --acc:#FF9933; --acc2:#FBBF24; --accbg:rgba(255,153,51,.13); --acc2bg:rgba(251,191,36,.12); --onacc:#1F1003; }
html[data-th="emerald"]  { --accl:rgba(16,185,129,.45); --barbg:rgba(6,26,20,.92); --bg:#03110D; --bg2:#051611; --panel:#081F18; --panel2:#061A14; --panel3:#0C2A21; --line:#103629; --line2:#185040; --acc:#10B981; --acc2:#5EEAD4; --accbg:rgba(16,185,129,.13); --acc2bg:rgba(94,234,212,.11); --onacc:#02130D; }
html[data-th="day"]      { --accl:rgba(14,116,144,.40); --upl:rgba(5,150,105,.40); --dnl:rgba(220,38,38,.40); --goldl:rgba(180,83,9,.40); --goldbg:rgba(180,83,9,.10); --barbg:rgba(255,255,255,.92); --bg:#F3F6FB; --bg2:#EAF0F8; --panel:#FFFFFF; --panel2:#F7F9FC; --panel3:#EEF3FA; --line:#DCE4EF; --line2:#C7D3E3; --text:#0F172A; --head:#0B1220; --muted:#475569; --faint:#7C8BA1;
  --acc:#0E7490; --acc2:#047857; --gold:#B45309; --up:#059669; --dn:#DC2626; --accbg:rgba(14,116,144,.10); --acc2bg:rgba(4,120,87,.10); --upbg:rgba(5,150,105,.10); --dnbg:rgba(220,38,38,.09);
  --grid:rgba(15,23,42,.06); --shadow:0 14px 36px rgba(15,23,42,.10); --onacc:#FFFFFF; }

/* ---------- Base ---------- */
html[data-th] body { margin:0; background:var(--bg); color:var(--text); font:15px/1.65 var(--ui); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
html[lang="gu"] body { font-family:var(--gu); }
.th-root, .th-root * { box-sizing:border-box; }
.th-root { position:relative; padding-top:var(--hdr); }
.th-root a { color:var(--acc); text-decoration:none; }
.th-root a:hover { text-decoration:none; }
.th-root h1, .th-root h2, .th-root h3, .th-root h4, .th-root p { margin:0; }
.th-root img { max-width:100%; }
.th-wrap { width:100%; max-width:1240px; margin:0 auto; padding:0 20px; }
[hidden] { display:none !important; }
.th-num { font-family:var(--num); font-variant-numeric:tabular-nums; }
.th-up { color:var(--up) !important; } .th-dn { color:var(--dn) !important; } .th-flat { color:var(--muted) !important; }

/* background grid */
.th-root::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:44px 44px; mask-image:radial-gradient(1200px 700px at 70% 0%,#000,transparent 75%); -webkit-mask-image:radial-gradient(1200px 700px at 70% 0%,#000,transparent 75%); }

/* ---------- Status bar (ticker + switches) ---------- */
.th-bar { position:sticky; top:var(--hdr); z-index:90; display:flex; align-items:center; gap:10px; height:44px; padding:0 12px; background:var(--barbg); border-bottom:1px solid var(--line); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.th-mkt { flex:none; display:inline-flex; align-items:center; gap:7px; padding:4px 10px; border-radius:999px; border:1px solid var(--line2); font:700 11.5px var(--ui); color:var(--muted); white-space:nowrap; }
.th-mkt i { width:8px; height:8px; border-radius:50%; background:var(--faint); }
.th-mkt.open i { background:var(--up); box-shadow:0 0 0 0 var(--up); animation:thPing 2s infinite; }
.th-mkt.open { color:var(--up); border-color:var(--upl); }
@keyframes thPing { 0% { box-shadow:0 0 0 0 var(--upl); } 70% { box-shadow:0 0 0 7px transparent; } 100% { box-shadow:0 0 0 0 transparent; } }
.th-tick { flex:1; min-width:0; overflow:hidden; mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.th-track { display:inline-flex; gap:26px; white-space:nowrap; animation:thTick 60s linear infinite; padding-left:10px; }
.th-tick:hover .th-track { animation-play-state:paused; }
@keyframes thTick { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.th-ti { display:inline-flex; align-items:baseline; gap:7px; font-size:12.5px; }
.th-ti b { font:700 11.5px var(--ui); color:var(--muted); letter-spacing:.04em; }
.th-ti span { font-family:var(--num); color:var(--text); }
.th-ti em { font:600 12px var(--num); font-style:normal; }
.th-sw { flex:none; display:flex; align-items:center; gap:6px; }
.th-seg { display:inline-flex; border:1px solid var(--line2); border-radius:9px; overflow:hidden; }
.th-seg button { border:0; background:transparent; color:var(--muted); font:700 12px var(--ui); padding:5px 10px; cursor:pointer; min-height:30px; }
.th-seg button[aria-pressed="true"] { background:var(--acc); color:var(--onacc); }
.th-thb { width:32px; height:32px; border-radius:9px; border:1px solid var(--line2); background:transparent; color:var(--acc); cursor:pointer; display:grid; place-items:center; }
.th-pal { position:absolute; right:10px; top:48px; z-index:95; width:250px; padding:12px; border-radius:14px; background:var(--panel); border:1px solid var(--line2); box-shadow:var(--shadow); }
.th-pal b { display:block; font-size:12.5px; color:var(--muted); margin-bottom:8px; }
.th-pal .g { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.th-pal button { display:flex; align-items:center; gap:8px; padding:7px 8px; border-radius:9px; border:1px solid var(--line); background:var(--panel2); color:var(--text); font:600 12.5px var(--ui); cursor:pointer; text-align:left; }
.th-pal button[aria-pressed="true"] { border-color:var(--acc); background:var(--accbg); }
.th-pal i.sw { width:18px; height:18px; border-radius:50%; flex:none; border:2px solid rgba(255,255,255,.25); }

/* ---------- Section frame ---------- */
.th-sec { position:relative; padding:76px 0; }
.th-sec.alt { background:linear-gradient(180deg,transparent,var(--bg2) 12%,var(--bg2) 88%,transparent); }
.th-kick { display:inline-flex; align-items:center; gap:8px; padding:5px 12px; border-radius:999px; border:1px solid var(--accl); background:var(--accbg); color:var(--acc); font:700 12px/1.2 var(--disp); letter-spacing:.12em; text-transform:uppercase; }
html[lang="gu"] .th-kick { letter-spacing:.03em; font-family:var(--gu); }
.th-h2 { margin:14px 0 10px !important; font:800 clamp(26px,3.3vw,40px)/1.2 var(--disp); color:var(--head); letter-spacing:.01em; }
html[lang="gu"] .th-h2 { font-family:var(--gu); font-weight:800; }
.th-h2 em { font-style:normal; color:var(--acc); }
.th-lead { max-width:760px; color:var(--muted); font-size:16.5px; }
.th-sh { margin-bottom:34px; }
.th-sh.c { text-align:center; } .th-sh.c .th-lead { margin:0 auto; }
.th-card { background:var(--panel); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); min-width:0; }
.th-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 22px; border-radius:12px; border:1px solid var(--line2); background:var(--panel); color:var(--text) !important; font:700 15px var(--ui); cursor:pointer; transition:transform .2s, border-color .2s, box-shadow .2s; }
.th-btn:hover { transform:translateY(-2px); border-color:var(--acc); }
.th-btn.pri { background:linear-gradient(135deg,var(--acc),var(--acc2)); border-color:var(--acc); color:var(--onacc) !important; box-shadow:0 12px 30px var(--accl); }
.th-note { color:var(--faint); font-size:12.5px; }

/* reveal on scroll */
.th-rv { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.th-rv.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce) { .th-rv { opacity:1; transform:none; transition:none; } .th-track { animation:none; } }

/* ---------- Hero ---------- */
.th-hero { padding:56px 0 40px; overflow:hidden; }
.th-hero .th-wrap { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:40px; align-items:center; }
.th-bless { display:flex; align-items:center; gap:9px; color:var(--gold); font-size:14px; font-weight:600; margin-bottom:16px; }
.th-bless i { font-size:15px; }
.th-h1 { font:800 clamp(34px,4.6vw,60px)/1.12 var(--disp); color:var(--head); letter-spacing:.005em; }
html[lang="gu"] .th-h1 { font-family:var(--gu); font-size:clamp(30px,4.1vw,52px); line-height:1.25; }
.th-h1 em { font-style:normal; background:linear-gradient(100deg,var(--acc),var(--acc2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.th-sub { margin:18px 0 26px !important; color:var(--muted); font-size:17.5px; max-width:600px; }
.th-flow { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 26px; padding:0; list-style:none; }
.th-flow li { display:inline-flex; align-items:center; gap:8px; padding:8px 13px; border-radius:11px; background:var(--panel); border:1px solid var(--line); font-weight:700; font-size:14px; }
.th-flow li i { color:var(--acc); }
.th-flow .ar { padding:0; border:0; background:none; color:var(--faint); }
.th-cta { display:flex; flex-wrap:wrap; gap:12px; }
.th-proof { display:flex; flex-wrap:wrap; gap:18px; margin-top:26px; color:var(--muted); font-size:13px; }
.th-proof span { display:inline-flex; align-items:center; gap:7px; }
.th-proof i { color:var(--acc2); }
/* terminal window around the hero chart */
.th-term { position:relative; border-radius:18px; overflow:hidden; background:var(--panel); border:1px solid var(--line2); box-shadow:var(--shadow), 0 0 0 1px var(--accbg); }
.th-term-h { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid var(--line); background:var(--panel2); font:600 12px var(--num); color:var(--muted); }
.th-term-h .dots { display:flex; gap:6px; } .th-term-h .dots i { width:10px; height:10px; border-radius:50%; background:var(--line2); }
.th-term-h .dots i:nth-child(1) { background:#F23645; } .th-term-h .dots i:nth-child(2) { background:#FBBF24; } .th-term-h .dots i:nth-child(3) { background:#16C784; }
.th-term-h .sym { color:var(--text); font-weight:700; }
.th-term-h .tf { margin-left:auto; display:flex; gap:4px; }
.th-term-h .tf b { padding:2px 7px; border-radius:6px; font-weight:600; }
.th-term-h .tf b.on { background:var(--accbg); color:var(--acc); }
.th-ohlc { display:flex; flex-wrap:wrap; gap:12px; padding:8px 14px 0; font:500 11.5px var(--num); color:var(--muted); }
.th-ohlc b { color:var(--up); font-weight:600; }
.th-chart { display:block; width:100%; height:auto; }
.th-chart .gl { stroke:var(--grid); stroke-width:1; }
.th-chart .ax { fill:var(--faint); font:500 10px var(--num); }
.th-chart .cu { fill:var(--up); stroke:var(--up); } .th-chart .cd { fill:var(--dn); stroke:var(--dn); }
.th-chart .wk { stroke-width:1.3; }
.th-chart .cdl { opacity:0; transform-box:fill-box; transform-origin:center bottom; animation:thCandle .5s ease forwards; animation-delay:calc(var(--i) * 55ms + .2s); }
@keyframes thCandle { from { opacity:0; transform:scaleY(.2); } to { opacity:1; transform:none; } }
.th-chart .ma { fill:none; stroke:var(--acc); stroke-width:2.2; stroke-linecap:round; stroke-dasharray:1400; stroke-dashoffset:1400; animation:thDraw 2.6s ease .9s forwards; filter:drop-shadow(0 0 6px var(--accl)); }
@keyframes thDraw { to { stroke-dashoffset:0; } }
.th-chart .zone { fill:var(--accbg); stroke:var(--accl); stroke-dasharray:4 4; }
.th-chart .zone2 { fill:var(--dnbg); }
.th-chart .res { stroke:var(--gold); stroke-dasharray:6 5; stroke-width:1.4; }
.th-chart .lbl { font:700 12px var(--ui); fill:var(--head); }
html[lang="gu"] .th-chart .lbl { font-family:var(--gu); }
.th-chart .lbl.s { font-size:10.5px; font-weight:600; fill:var(--muted); }
.th-chart .tag { fill:var(--up); } .th-chart .tagt { fill:#04121A; font:800 12px var(--ui); }
html[lang="gu"] .th-chart .tagt { font-family:var(--gu); }
.th-chart .pin { fill:var(--panel); stroke:var(--acc); stroke-width:2; }
.th-chart .ann { opacity:0; animation:thFade .6s ease forwards; }
@keyframes thFade { to { opacity:1; } }
.th-chart .pulse { fill:var(--up); animation:thBlink 1.6s ease-in-out infinite; }
@keyframes thBlink { 50% { opacity:.25; } }
.th-term-f { display:flex; justify-content:space-between; gap:10px; padding:9px 14px; border-top:1px solid var(--line); font:500 11.5px var(--ui); color:var(--faint); }

/* ---------- Trust (SEBI) ---------- */
.th-trust { padding:0 0 30px; }
.th-trust .th-card { padding:22px; display:grid; grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr); gap:22px; align-items:center; border-top:3px solid var(--acc2); }
.th-tcol { display:grid; gap:12px; }
.th-tbox { padding:13px 15px; border-radius:13px; background:var(--panel2); border:1px solid var(--line); }
.th-tbox h4 { display:flex; align-items:center; gap:8px; font:800 13px var(--ui); color:var(--acc2); text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px !important; }
html[lang="gu"] .th-tbox h4 { text-transform:none; letter-spacing:0; font-family:var(--gu); }
.th-tbox p { font-size:13.5px; color:var(--muted); }
.th-tbox p b { color:var(--text); }
.th-tlinks { display:flex; flex-wrap:wrap; gap:7px; }
.th-tlinks a { display:inline-flex; align-items:center; gap:7px; padding:6px 11px; border-radius:9px; border:1px solid var(--line2); color:var(--text) !important; font:600 12.5px var(--ui); }
.th-tlinks a:hover { border-color:var(--gold); }
.th-tlinks a i { color:var(--gold); }
.th-cert { text-align:center; }
.th-cert img { width:100%; max-width:190px; border-radius:10px; border:2px solid var(--gold); box-shadow:0 12px 28px rgba(0,0,0,.35); cursor:zoom-in; animation:thFloat 5s ease-in-out infinite; }
@keyframes thFloat { 50% { transform:translateY(-7px); } }
.th-reg { display:inline-block; margin-top:12px; padding:5px 14px; border-radius:999px; background:linear-gradient(90deg,#FBBF24,#F59E0B); color:#1E293B; font:800 12.5px var(--num); }
.th-disc { grid-column:1/-1; display:flex; gap:10px; padding:11px 14px; border-radius:11px; background:var(--dnbg); border-left:4px solid var(--dn); font-size:12.5px; color:var(--muted); }
.th-disc i { color:var(--dn); margin-top:3px; }
.th-disc b { color:var(--dn); }

/* ---------- Persona (4 roles) ---------- */
.th-roles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.th-role { position:relative; padding:22px 20px 18px; border-radius:18px; background:var(--panel); border:1px solid var(--line); overflow:hidden; transition:transform .25s, border-color .25s; }
.th-role:hover { transform:translateY(-4px); border-color:var(--acc); }
.th-role svg { display:block; width:100%; height:96px; margin-bottom:14px; }
.th-role .rn { font:700 12px var(--disp); letter-spacing:.14em; text-transform:uppercase; color:var(--acc); }
html[lang="gu"] .th-role .rn { letter-spacing:.02em; font-family:var(--gu); }
.th-role h3 { margin:4px 0 8px !important; font:800 21px/1.25 var(--ui); color:var(--head); }
.th-role p { color:var(--muted); font-size:14.5px; }
.th-role .rq { display:inline-flex; margin-top:14px; padding:4px 10px; border-radius:8px; background:var(--panel3); color:var(--text); font:600 11.5px var(--num); }
.th-role svg .a { stroke:var(--acc); fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.th-role svg .b { stroke:var(--acc2); fill:none; stroke-width:2; stroke-linecap:round; }
.th-role svg .f { fill:var(--accbg); }
.th-role svg .g { stroke:var(--grid); }
.th-role svg .u { fill:var(--up); } .th-role svg .d { fill:var(--dn); }
.th-role svg .t { fill:var(--muted); font:600 10px var(--num); }
.th-role svg .a.dr { stroke-dasharray:420; stroke-dashoffset:420; transition:stroke-dashoffset 1.8s ease; }
.th-rv.in .th-role svg .a.dr, .th-role.in svg .a.dr { stroke-dashoffset:0; }

/* ---------- Problems ---------- */
.th-probs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.th-prob { display:flex; gap:16px; align-items:center; padding:18px; border-radius:16px; background:var(--panel); border:1px solid var(--line); }
.th-prob img { width:74px; height:74px; object-fit:contain; flex:none; filter:drop-shadow(0 6px 14px rgba(0,0,0,.3)); }
.th-prob h3 { font:800 17px/1.3 var(--ui); color:var(--head); }
.th-prob p { color:var(--muted); font-size:14px; margin-top:4px !important; }
.th-prob .x { display:block; font:700 11px var(--ui); color:var(--dn); text-transform:uppercase; letter-spacing:.06em; margin-bottom:3px; }
.th-prob .ok { color:var(--up); font-weight:700; }

/* ---------- Method (journey chart) ---------- */
.th-journey { padding:20px 18px 10px; }
.th-jsvg { display:block; width:100%; height:auto; }
.th-jsvg .gl { stroke:var(--grid); }
.th-jsvg .area { fill:url(#thJArea); }
.th-jsvg .path { fill:none; stroke:var(--acc); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1600; stroke-dashoffset:1600; transition:stroke-dashoffset 2.4s ease; }
.th-rv.in .th-jsvg .path { stroke-dashoffset:0; }
.th-jsvg .pt circle.o { fill:var(--panel); stroke:var(--acc); stroke-width:3; }
.th-jsvg .pt text { fill:var(--head); font:800 13px var(--num); text-anchor:middle; dominant-baseline:central; }
.th-jsvg .pt .lb { fill:var(--muted); font:700 12px var(--ui); }
html[lang="gu"] .th-jsvg .pt .lb { font-family:var(--gu); }
.th-jsvg .dip { fill:var(--dnbg); }
.th-jsvg .dipt { fill:var(--dn); font:700 11.5px var(--ui); }
html[lang="gu"] .th-jsvg .dipt { font-family:var(--gu); }
.th-steps { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-top:18px; }
.th-step { padding:16px 14px; border-radius:14px; background:var(--panel2); border:1px solid var(--line); }
.th-step .n { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:9px; background:var(--accbg); color:var(--acc); font:800 14px var(--num); margin-bottom:10px; }
.th-step h3 { font:800 16px/1.3 var(--ui); color:var(--head); margin-bottom:6px !important; }
.th-step p { color:var(--muted); font-size:13.5px; }
.th-step a { display:inline-flex; align-items:center; gap:6px; margin-top:10px; font:700 12.5px var(--ui); }

/* ---------- Market pulse ---------- */
.th-delay { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border-radius:10px; background:var(--goldbg); border:1px solid var(--goldl); color:var(--gold); font:700 12.5px var(--ui); }
.th-mhead { display:flex; justify-content:space-between; align-items:flex-end; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.th-upd { color:var(--faint); font:500 12px var(--num); }
.th-idx { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.th-ix { position:relative; padding:14px 14px 12px; border-radius:15px; background:var(--panel); border:1px solid var(--line); overflow:hidden; min-width:0; }
.th-ix::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--line2); }
.th-ix.u::after { background:var(--up); } .th-ix.d::after { background:var(--dn); }
.th-ix .nm { font:700 12px var(--ui); color:var(--muted); letter-spacing:.04em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.th-ix .px { font:700 21px var(--num); color:var(--head); margin:4px 0 2px; white-space:nowrap; }
.th-ix .ch { font:600 12.5px var(--num); }
.th-ix svg { position:absolute; right:8px; top:10px; width:54px; height:24px; opacity:.85; }
.th-mgrid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:16px; }
.th-pane { padding:18px; }
.th-pane h3 { display:flex; align-items:center; gap:9px; font:800 15.5px var(--ui); color:var(--head); margin-bottom:4px !important; }
.th-pane h3 i { color:var(--acc); }
.th-pane .ps { color:var(--faint); font-size:12.5px; margin-bottom:14px !important; }
.th-sect { display:grid; gap:7px; }
.th-sr { display:grid; grid-template-columns:92px minmax(0,1fr) 62px; align-items:center; gap:10px; font-size:12.5px; }
.th-sr .sn { font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.th-sr .bar { position:relative; height:16px; border-radius:5px; background:var(--panel3); }
.th-sr .bar::before { content:""; position:absolute; left:50%; top:-3px; bottom:-3px; width:1px; background:var(--line2); }
.th-sr .bar i { position:absolute; top:2px; bottom:2px; border-radius:4px; transition:width .6s ease, left .6s ease; }
.th-sr .bar i.u { left:50%; background:linear-gradient(90deg,var(--upl),var(--up)); }
.th-sr .bar i.d { right:50%; background:linear-gradient(270deg,var(--dnl),var(--dn)); }
.th-sr .sv { text-align:right; font:600 12.5px var(--num); }
.th-breadth { margin-bottom:12px; }
.th-breadth .bb { display:flex; height:10px; border-radius:6px; overflow:hidden; background:var(--panel3); }
.th-breadth .bb i { display:block; height:100%; transition:width .6s ease; }
.th-breadth .bl { display:flex; justify-content:space-between; font:600 12px var(--ui); margin-top:6px; }
.th-heat { display:grid; grid-template-columns:repeat(auto-fill,minmax(98px,1fr)); gap:6px; }
.th-hc { padding:8px 9px; border-radius:9px; min-width:0; border:1px solid transparent; transition:transform .2s; cursor:default; }
.th-hc:hover { transform:scale(1.04); border-color:var(--line2); }
.th-hc b { display:block; font:700 11.5px var(--ui); color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.th-hc span { display:block; font:700 12.5px var(--num); color:#fff; }
.th-hc small { display:block; font:500 10.5px var(--num); color:rgba(255,255,255,.75); }
html[data-th="day"] .th-hc b, html[data-th="day"] .th-hc span { color:#0B1220; } html[data-th="day"] .th-hc small { color:#334155; }
.th-movers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:12px; }
.th-mv { padding:10px 12px; border-radius:12px; background:var(--panel2); border:1px solid var(--line); }
.th-mv b { display:block; font:700 11.5px var(--ui); color:var(--muted); margin-bottom:5px; text-transform:uppercase; letter-spacing:.04em; }
.th-mv .r { display:flex; justify-content:space-between; gap:8px; font-size:12.5px; padding:3px 0; }
.th-mv .r span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.th-mv .r span:last-child { font-family:var(--num); flex:none; }
.th-world { margin-top:16px; }
.th-more { display:none; width:100%; margin-top:10px; min-height:40px; border-radius:10px; border:1px dashed var(--line2); background:transparent; color:var(--acc); font:700 13px var(--ui); cursor:pointer; }
.th-wg { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.th-wr h4 { display:flex; align-items:center; justify-content:space-between; font:700 12px var(--ui); color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px !important; }
.th-wr h4 small { font:600 10.5px var(--ui); padding:2px 7px; border-radius:6px; border:1px solid var(--line2); text-transform:none; letter-spacing:0; }
.th-wr h4 small.op { color:var(--up); border-color:var(--upl); }
.th-wi { display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:9px; padding:8px 10px; border-radius:10px; background:var(--panel2); border:1px solid var(--line); margin-bottom:6px; }
.th-wi img { width:22px; height:15px; border-radius:3px; object-fit:cover; }
.th-wi .wn { font:700 12.5px var(--ui); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.th-wi .wp { text-align:right; font:600 12px var(--num); line-height:1.3; }
.th-wi .wp small { display:block; font-size:11.5px; }
.th-empty { padding:24px; text-align:center; color:var(--faint); font-size:13.5px; }

/* ---------- News ---------- */
.th-news { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; }
.th-nl a { display:grid; grid-template-columns:52px minmax(0,1fr) auto; gap:12px; align-items:start; padding:12px 16px; border-bottom:1px solid var(--line); color:var(--text) !important; }
.th-nl a:last-child { border-bottom:0; }
.th-nl a:hover { background:var(--panel2); }
.th-nl .tm { font:600 12px var(--num); color:var(--faint); padding-top:2px; }
.th-nl .hd { font-weight:600; font-size:14.5px; line-height:1.45; }
.th-nl .mt { color:var(--faint); font-size:12px; margin-top:3px; }
.th-nl .sg { font:700 11px var(--ui); padding:3px 8px; border-radius:7px; white-space:nowrap; }
.th-nl .sg.u { color:var(--up); background:var(--upbg); } .th-nl .sg.d { color:var(--dn); background:var(--dnbg); } .th-nl .sg.n { color:var(--muted); background:var(--panel3); }
.th-mood { padding:20px; display:flex; flex-direction:column; gap:14px; }
.th-gauge { position:relative; width:100%; max-width:240px; margin:0 auto; }
.th-gauge svg { display:block; width:100%; height:auto; }
.th-gauge .tr { stroke:var(--panel3); }
.th-gauge .nd { stroke:var(--head); stroke-width:3; stroke-linecap:round; transition:transform .8s ease; transform-origin:120px 120px; }
.th-gauge .gv { fill:var(--head); font:800 22px var(--num); text-anchor:middle; }
.th-gauge .gt { fill:var(--muted); font:600 11px var(--ui); text-anchor:middle; }
.th-mood .ml { display:flex; justify-content:space-between; font:700 12.5px var(--ui); }

/* ---------- Tools ---------- */
.th-tools { display:grid; grid-template-columns:1.25fr repeat(3,minmax(0,1fr)); gap:16px; }
.th-tool { position:relative; display:flex; flex-direction:column; padding:22px; border-radius:18px; background:var(--panel); border:1px solid var(--line); color:var(--text) !important; transition:transform .25s, border-color .25s; overflow:hidden; min-width:0; }
.th-tool:hover { transform:translateY(-4px); border-color:var(--acc); }
.th-tool .ic { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:var(--accbg); color:var(--acc); font-size:20px; margin-bottom:14px; }
.th-tool h3 { font:800 20px var(--ui); color:var(--head); margin-bottom:6px !important; }
.th-tool p { color:var(--muted); font-size:14px; }
.th-tool .ft { margin-top:auto; padding-top:16px; display:flex; justify-content:space-between; align-items:center; gap:8px; font:700 13px var(--ui); color:var(--acc); }
.th-tool .pr { font:600 12px var(--num); color:var(--muted); }
.th-tool .nw { position:absolute; top:16px; right:16px; padding:3px 9px; border-radius:7px; background:var(--gold); color:#1A1203; font:800 11px var(--ui); letter-spacing:.06em; }
.th-tool.feat { background:radial-gradient(500px 220px at 100% 0%,var(--goldbg),transparent 60%),var(--panel); border-color:var(--goldl); }
.th-tool.feat .ic { background:var(--goldbg); color:var(--gold); }
.th-tool.feat .ft { color:var(--gold); }
.th-tool.feat h3 { font-size:24px; }
.th-tool ul { list-style:none; padding:0; margin:12px 0 0; display:grid; gap:6px; }
.th-tool ul li { display:flex; gap:8px; font-size:13.5px; color:var(--text); }
.th-tool ul li i { color:var(--up); margin-top:4px; font-size:11px; }

/* ---------- Results slider ---------- */
.th-slider { display:flex; gap:14px; overflow-x:auto; scroll-behavior:auto; padding:6px 2px 14px; scrollbar-width:thin; }
.th-slide { flex:none; width:300px; border-radius:16px; overflow:hidden; background:var(--panel); border:1px solid var(--line); cursor:zoom-in; }
.th-slide img { display:block; width:100%; height:200px; object-fit:cover; }
.th-slide div { padding:10px 14px; display:flex; justify-content:space-between; gap:10px; }
.th-slide b { font:700 13.5px var(--ui); color:var(--head); }
.th-slide span { font:600 12px var(--num); color:var(--muted); white-space:nowrap; }
.th-lb { position:fixed; inset:0; z-index:2000; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; padding:20px; cursor:zoom-out; }
.th-lb.on { display:flex; }
.th-lb img { max-width:96vw; max-height:90vh; border-radius:10px; }

/* ---------- Ratings ---------- */
.th-rates { display:flex; gap:14px; overflow-x:auto; padding:6px 2px 14px; scrollbar-width:none; }
.th-rates::-webkit-scrollbar { display:none; }
.th-rates .rating-card { flex:none; width:270px; padding:18px; border-radius:16px; background:var(--panel); border:1px solid var(--line); display:flex; flex-direction:column; gap:8px; }
.th-rates .rating-card::before { content:"\201C"; font:800 44px/0.6 Georgia,serif; color:var(--acc); opacity:.6; }
.th-rates .user-name { font:800 15px var(--ui); color:var(--head); margin:0; }
.th-rates .course-name { font-size:13.5px; color:var(--muted); margin:0; }
.th-rates .stars { color:var(--gold); font-size:13px; margin-top:auto; display:flex; gap:3px; }

/* ---------- Stats ---------- */
.th-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.th-stat { padding:26px 20px; border-radius:18px; text-align:center; background:var(--panel); border:1px solid var(--line); }
.th-stat .v { font:800 42px var(--num); color:var(--acc); line-height:1.1; }
.th-stat .v.live { display:inline-flex; align-items:center; gap:10px; color:var(--dn); font-family:var(--disp); }
.th-stat .v.live i { width:14px; height:14px; border-radius:50%; background:var(--dn); animation:thBlink 1.2s infinite; }
.th-stat p { color:var(--muted); font-weight:600; margin-top:6px !important; }

/* ---------- Story (Edge) ---------- */
.th-story { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:36px; align-items:center; }
.th-story .ph { position:relative; }
.th-story .ph img { width:100%; border-radius:20px; border:1px solid var(--line2); box-shadow:var(--shadow); }
.th-story .ph .bd { position:absolute; left:16px; bottom:16px; padding:8px 14px; border-radius:11px; background:var(--barbg); border:1px solid var(--line2); font:700 13px var(--ui); color:var(--head); backdrop-filter:blur(6px); }
.th-letter { padding:28px; }
.th-letter p { font-size:16px; color:var(--text); margin-bottom:14px !important; }
.th-letter p strong { color:var(--head); }
.th-letter .hl { color:var(--acc); } .th-letter .hl2 { color:var(--acc2); } .th-letter .hlr { color:var(--dn); } .th-letter .hlg { color:var(--gold); }
.th-letter .sig { margin-top:18px !important; font:800 20px var(--disp); color:var(--acc); }
html[lang="gu"] .th-letter .sig { font-family:var(--gu); }

/* ---------- Advantages ---------- */
.th-adv { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.th-av { padding:20px 18px; border-radius:16px; background:var(--panel); border:1px solid var(--line); transition:border-color .25s, transform .25s; }
.th-av:hover { border-color:var(--acc); transform:translateY(-3px); }
.th-av .im { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:var(--accbg); margin-bottom:12px; }
.th-av .im img { width:30px; height:30px; object-fit:contain; }
html[data-th="day"] .th-av .im img { filter:invert(1) hue-rotate(180deg); }
.th-av h3 { font:800 16px/1.3 var(--ui); color:var(--head); margin-bottom:6px !important; }
.th-av p { color:var(--muted); font-size:13.5px; }

/* ---------- Certificates ---------- */
.th-certs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.th-ce { padding:12px; border-radius:16px; background:var(--panel); border:1px solid var(--line); text-align:center; }
.th-ce img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; cursor:zoom-in; }
.th-ce p { margin-top:10px !important; font:700 14px var(--ui); color:var(--head); }

/* ---------- Floating: VIP + Telegram/YouTube ---------- */
.th-vip { position:fixed; right:0; top:42%; z-index:900; display:flex; align-items:stretch; transform:translateX(calc(100% - 44px)); transition:transform .35s ease; }
.th-vip.on { transform:none; }
.th-vip .pk { width:44px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:12px 0; border-radius:12px 0 0 12px; background:linear-gradient(180deg,#FBBF24,#F59E0B); color:#1A1203; cursor:pointer; border:0; font:800 11px var(--ui); }
.th-vip .pk i { font-size:18px; }
.th-vip .pk span { writing-mode:vertical-rl; letter-spacing:.2em; }
.th-vip .ex { width:250px; padding:16px; background:var(--panel); border:1px solid var(--goldl); border-right:0; }
.th-vip .ex .pb { font:800 11px var(--ui); color:var(--gold); }
.th-vip .ex h4 { font:800 17px var(--ui); color:var(--head); margin:6px 0 4px !important; }
.th-vip .ex p { font-size:13px; color:var(--muted); }
.th-vip .ex a { display:inline-flex; align-items:center; gap:7px; margin-top:12px; padding:9px 14px; border-radius:10px; background:linear-gradient(90deg,#FBBF24,#F59E0B); color:#1A1203 !important; font:800 13px var(--ui); }
.th-float { position:fixed; left:14px; bottom:16px; z-index:900; display:flex; flex-direction:column; gap:8px; }
.th-float a { display:inline-flex; align-items:center; gap:9px; padding:9px 14px 9px 10px; border-radius:999px; color:#fff !important; font:700 13px var(--ui); box-shadow:0 10px 24px rgba(0,0,0,.35); }
.th-float a i { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); font-size:15px; }
.th-float .tg { background:#229ED9; } .th-float .yt { background:#E62117; }

/* ---------- Modals ---------- */
.th-modal { position:fixed; inset:0; z-index:3000; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(2,6,16,.82); backdrop-filter:blur(6px); transition:opacity .4s; }
.th-mbox { width:100%; max-width:540px; border-radius:20px; background:var(--panel); border:1px solid var(--line2); box-shadow:var(--shadow); overflow:hidden; }
.th-mbox .mh { padding:18px 22px; font:800 19px var(--ui); color:var(--head); border-bottom:1px solid var(--line); display:flex; align-items:center; gap:10px; }
.th-mbox .mh i { color:var(--acc2); }
.th-mbox .mb { padding:18px 22px; display:grid; gap:12px; font-size:14px; color:var(--muted); max-height:55vh; overflow:auto; }
.th-mbox .mb .bg { justify-self:start; display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:999px; background:var(--acc2bg); color:var(--acc2); font:700 12.5px var(--ui); }
.th-mbox .mb strong { color:var(--text); }
.th-mbox .mf { padding:16px 22px 20px; border-top:1px solid var(--line); display:grid; gap:12px; }
.th-mbox label { display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--text); cursor:pointer; }
.th-mbox input[type=checkbox] { width:18px; height:18px; margin-top:2px; accent-color:var(--acc); flex:none; }
.th-mbox .th-btn[disabled] { opacity:.45; cursor:not-allowed; transform:none; }
body.th-lock { overflow:hidden; }
.th-imgm { position:fixed; inset:0; z-index:2500; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.88); padding:20px; cursor:zoom-out; }
.th-imgm.on { display:flex; }
.th-imgm img { max-width:94vw; max-height:90vh; border-radius:10px; }

/* ---------- Responsive ---------- */
@media (max-width:1100px) {
  .th-idx { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .th-roles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .th-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .th-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .th-wg { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .th-adv { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .th-hero .th-wrap { grid-template-columns:minmax(0,1fr); gap:28px; }
  .th-trust .th-card { grid-template-columns:minmax(0,1fr); }
  .th-cert { order:-1; }
  .th-mgrid, .th-news, .th-story { grid-template-columns:minmax(0,1fr); }
  .th-probs { grid-template-columns:minmax(0,1fr); }
  .th-certs { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .th-wrap { padding:0 14px; }
  .th-sec { padding:54px 0; }
  .th-hero { padding:32px 0 26px; }
  .th-sub { font-size:16px; }
  .th-bar { height:auto; flex-wrap:wrap; padding:6px 10px; gap:6px; }
  .th-tick { order:3; flex:1 0 100%; }
  .th-sw { margin-left:auto; }
  .th-idx { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .th-ix .px { font-size:17px; } .th-ix svg { display:none; }
  .th-roles, .th-tools, .th-stats, .th-wg { grid-template-columns:minmax(0,1fr); }
  .th-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .th-adv { grid-template-columns:minmax(0,1fr); }
  .th-sr { grid-template-columns:78px minmax(0,1fr) 54px; }
  .th-heat { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .th-heat.cut .th-hc:nth-child(n+19) { display:none; }
  .th-heat.cut + .th-more { display:block; }
  .th-nl a { grid-template-columns:44px minmax(0,1fr); }
  .th-nl .sg { display:none; }
  .th-slide { width:250px; } .th-slide img { height:170px; }
  .th-cta .th-btn { flex:1 1 100%; }
  .th-float a span { display:none; }
  .th-vip { top:auto; bottom:120px; transform:translateX(calc(100% - 30px)); }
  .th-vip .pk { width:30px; padding:8px 0; gap:4px; font-size:9.5px; }
  .th-vip .pk i { font-size:14px; }
  .th-vip .ex { width:230px; }
  .th-float a { padding:6px; }
  .th-movers { grid-template-columns:minmax(0,1fr); }
  .th-letter { padding:20px; }
}