/*
Theme Name: Tradivaa
Theme URI: https://tradivaa.com
Author: Tradivaa
Author URI: https://tradivaa.com
Description: قالب اختصاصی ترادیوا — نمایش خروجی مدل یادگیری ماشین پیش‌بینی انس جهانی طلا، قیمت لحظه‌ای بازار، اخبار و اشتراک. دوزبانه فارسی/انگلیسی با پشتیبانی کامل RTL.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradivaa
Tags: rtl-language-support, custom-colors, translation-ready, one-column, full-width-template
*/

/* ============================ tokens ============================ */
:root {
  --tv-obsidian: #05070d;
  --tv-panel: #0a1018;
  --tv-panel-2: #0e1622;
  --tv-hairline: rgba(255, 255, 255, 0.08);
  --tv-gold: #f4c752;
  --tv-gold-deep: #c08a2e;
  --tv-mint: #34d399;
  --tv-rose: #fb7185;
  --tv-ink: #e7ecf5;
  --tv-muted: #8b9ab1;
  --tv-radius: 18px;
}

/* ============================ base ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--tv-obsidian);
  color: var(--tv-ink);
  font-family: Vazirmatn, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tv-gold); }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(244, 199, 82, 0.28); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070b12; }
::-webkit-scrollbar-thumb { background: #1d2836; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #2b3a4d; }

.tv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.tv-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ============================ surfaces ============================ */
.tv-glass {
  background: linear-gradient(160deg, rgba(20, 28, 42, 0.85), rgba(9, 13, 20, 0.9));
  border: 1px solid var(--tv-hairline);
  border-radius: var(--tv-radius);
  backdrop-filter: blur(14px);
}
.tv-soft {
  background: rgba(14, 20, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--tv-radius);
}
.tv-ring { box-shadow: 0 0 0 1px rgba(244,199,82,.32), 0 0 44px -20px rgba(244,199,82,.85); }

.tv-gold-text {
  background: linear-gradient(96deg, #fde8a7 0%, #f4c752 38%, #c08a2e 78%, #f6d67e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tv-btn {
  display: inline-block; border: 0; border-radius: 12px;
  padding: 13px 24px; font-size: 14px; font-weight: 800;
  background: linear-gradient(96deg, #f6d67e, #f4c752 45%, #d29a32);
  color: #1a1204; box-shadow: 0 10px 34px -14px rgba(244,199,82,.85);
  transition: transform .16s ease, box-shadow .16s ease;
}
.tv-btn:hover { transform: translateY(-1px); color: #1a1204; box-shadow: 0 14px 40px -14px rgba(244,199,82,1); }
.tv-btn--ghost {
  background: transparent; color: var(--tv-ink);
  border: 1px solid rgba(255,255,255,.14); box-shadow: none;
}
.tv-btn--ghost:hover { border-color: rgba(244,199,82,.5); color: var(--tv-gold); }
.tv-btn--sm { padding: 9px 16px; font-size: 12.5px; border-radius: 10px; }
.tv-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.tv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 9px; font-size: 12px; font-weight: 800;
  background: rgba(255,255,255,.07); color: var(--tv-muted);
}
.tv-chip.up { background: rgba(52,211,153,.13); color: var(--tv-mint); }
.tv-chip.down { background: rgba(251,113,133,.13); color: var(--tv-rose); }
.tv-chip.gold { background: rgba(244,199,82,.14); color: var(--tv-gold); }
.tv-chip.ink { background: rgba(255,255,255,.08); color: var(--tv-ink); }

/* ============================ header ============================ */
.tv-header {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.tv-header.is-stuck {
  background: rgba(5,7,13,.88); backdrop-filter: blur(16px);
  border-bottom-color: var(--tv-hairline);
}
.tv-header__inner { display: flex; align-items: center; gap: 14px; height: 66px; }
.tv-logo { display: flex; align-items: center; gap: 10px; }
.tv-logo__mark {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f6d67e, #f4c752 45%, #c08a2e);
  color: #1a1204; font-weight: 900; font-size: 15px;
  box-shadow: 0 8px 26px -12px rgba(244,199,82,.9);
}
.tv-logo__name { font-size: 17px; font-weight: 800; line-height: 1.1; display: block; }
.tv-logo__sub { font-size: 9.5px; letter-spacing: .22em; color: var(--tv-muted); display: block; margin-top: 2px; }

.tv-nav { display: flex; gap: 2px; margin-inline: auto; }
.tv-nav a {
  padding: 9px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--tv-muted);
}
.tv-nav a:hover { background: rgba(255,255,255,.05); color: var(--tv-ink); }
.tv-nav .current-menu-item > a, .tv-nav a.is-active { background: rgba(255,255,255,.08); color: var(--tv-gold); }
.tv-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }

.tv-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.tv-burger { display: none; width: 38px; height: 38px; border-radius: 10px; background: transparent;
  border: 1px solid rgba(255,255,255,.12); color: var(--tv-ink); font-size: 16px; }
.tv-mobile-nav { display: none; padding: 10px 0 16px; border-top: 1px solid var(--tv-hairline); }
.tv-mobile-nav.is-open { display: block; }
.tv-mobile-nav a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 14px; color: var(--tv-muted); }
.tv-mobile-nav a:hover { background: rgba(255,255,255,.05); color: var(--tv-ink); }
.tv-mobile-nav ul { list-style: none; margin: 0; padding: 0; }

/* ============================ ticker ============================ */
.tv-ticker {
  position: relative; overflow: hidden; background: rgba(7,11,18,.92);
  border-top: 1px solid var(--tv-hairline); border-bottom: 1px solid var(--tv-hairline);
  display: flex; align-items: center;
}
.tv-ticker__badge {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px; z-index: 2;
  padding: 9px 14px; background: var(--tv-obsidian); border-inline-end: 1px solid var(--tv-hairline);
  font-size: 11px; font-weight: 800; color: var(--tv-mint);
}
.tv-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; position: relative; }
.tv-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; background: currentColor;
  animation: tv-ping 1.9s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes tv-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.tv-ticker__track { display: flex; gap: 26px; width: max-content; white-space: nowrap;
  padding: 9px 0; animation: tv-scroll 52s linear infinite; }
.tv-ticker:hover .tv-ticker__track { animation-play-state: paused; }
.tv-ticker__item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; }
.tv-ticker__item b { font-weight: 600; color: rgba(231,236,245,.9); }
.tv-ticker__item i { font-style: normal; font-weight: 800; font-size: 11.5px; }
.tv-ticker__item i.up { color: var(--tv-mint); }
.tv-ticker__item i.down { color: var(--tv-rose); }
@keyframes tv-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .tv-ticker__track { animation-name: tv-scroll-rtl; }
@keyframes tv-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ============================ hero ============================ */
.tv-hero { position: relative; overflow: hidden; padding: 70px 0 80px; }
.tv-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; }
.tv-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,176,219,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,176,219,.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.tv-hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 78% -8%, rgba(244,199,82,.16), transparent 62%),
              radial-gradient(760px 400px at 12% 6%, rgba(56,189,248,.1), transparent 60%);
}
.tv-hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.tv-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(244,199,82,.26); background: rgba(244,199,82,.08);
  color: var(--tv-gold); font-size: 12px; font-weight: 600;
}
.tv-hero h1 { font-size: 52px; line-height: 1.18; font-weight: 900; letter-spacing: -.5px; margin: 20px 0 0; }
.tv-hero__lead { font-size: 15px; line-height: 2; color: var(--tv-muted); margin: 18px 0 0; max-width: 560px; }
.tv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; max-width: 560px; }
.tv-stat { border-inline-start: 2px solid rgba(244,199,82,.4); padding-inline-start: 12px; }
.tv-stat__v { font-size: 21px; font-weight: 900; }
.tv-stat__l { font-size: 11.5px; color: var(--tv-muted); line-height: 1.5; margin-top: 2px; }

.tv-hero__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tv-qcard { padding: 16px; }
.tv-qcard__top { display: flex; align-items: center; gap: 8px; }
.tv-qcard__ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); font-size: 14px; }
.tv-qcard__name { font-size: 12.5px; font-weight: 600; }
.tv-qcard__price { font-size: 23px; font-weight: 900; margin-top: 12px; }
.tv-qcard__foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11px; color: var(--tv-muted); }

/* ============================ sections ============================ */
.tv-section { padding: 62px 0; }
.tv-section--alt { background: rgba(7,11,18,.6); border-top: 1px solid var(--tv-hairline); border-bottom: 1px solid var(--tv-hairline); }
.tv-shead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-bottom: 26px; }
.tv-shead h2 { font-size: 28px; font-weight: 900; letter-spacing: -.4px; margin: 0; }
.tv-shead p { font-size: 13.5px; color: var(--tv-muted); margin: 7px 0 0; max-width: 640px; line-height: 1.8; }
.tv-shead__side { margin-inline-start: auto; }

/* ============================ market table ============================ */
.tv-market { overflow: hidden; }
.tv-market__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid var(--tv-hairline); }
.tv-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tv-tab { border: 0; background: transparent; border-radius: 10px; padding: 7px 13px;
  font-size: 12.5px; font-weight: 700; color: var(--tv-muted); }
.tv-tab:hover { background: rgba(255,255,255,.05); color: var(--tv-ink); }
.tv-tab.is-active { background: rgba(244,199,82,.15); color: var(--tv-gold); }
.tv-market__meta { margin-inline-start: auto; display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--tv-muted); }

.tv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tv-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--tv-muted); font-weight: 500; padding: 10px 16px; text-align: start; }
.tv-table th.end, .tv-table td.end { text-align: end; }
.tv-table td { padding: 13px 16px; border-top: 1px solid rgba(255,255,255,.05); }
.tv-table tbody tr:hover { background: rgba(255,255,255,.035); }
.tv-table tr.tv-flash-up { background: rgba(52,211,153,.08); }
.tv-table tr.tv-flash-down { background: rgba(251,113,133,.08); }
.tv-asset { display: flex; align-items: center; gap: 10px; }
.tv-asset__ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); font-size: 14px; flex: 0 0 auto; }
.tv-asset__name { font-weight: 600; line-height: 1.3; }
.tv-asset__sym { font-size: 11px; color: var(--tv-muted); }
.tv-price { font-weight: 700; }
.tv-unit { font-size: 11px; color: var(--tv-muted); }
.tv-market__note { padding: 12px 16px; border-top: 1px solid var(--tv-hairline);
  font-size: 11.5px; color: var(--tv-muted); line-height: 1.8; }
.tv-scroll-x { overflow-x: auto; }

/* ============================ forecast ============================ */
.tv-forecast { position: relative; overflow: hidden; padding: 24px; }
.tv-forecast__glow { position: absolute; inset-inline-end: -90px; top: -90px; width: 250px; height: 250px;
  border-radius: 999px; background: rgba(244,199,82,.1); filter: blur(60px); pointer-events: none; }
.tv-forecast__head { position: relative; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.tv-forecast__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tv-tag { padding: 4px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.tv-tag--gold { background: rgba(244,199,82,.13); color: var(--tv-gold); }
.tv-tag--ghost { background: rgba(255,255,255,.06); color: var(--tv-muted); }
.tv-tag--mint { background: rgba(52,211,153,.1); color: var(--tv-mint); }
.tv-forecast__title { font-size: 18px; font-weight: 800; margin: 11px 0 0; }
.tv-forecast__hint { font-size: 12px; color: var(--tv-muted); margin: 4px 0 0; line-height: 1.7; }

.tv-horizons { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; margin-inline-start: auto;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); border-radius: 12px; }
.tv-horizon { border: 0; background: transparent; border-radius: 9px; padding: 7px 13px;
  font-size: 12px; font-weight: 700; color: var(--tv-muted); }
.tv-horizon:hover { color: var(--tv-ink); }
.tv-horizon.is-active { background: var(--tv-gold); color: #1a1204; }

.tv-forecast__body { position: relative; margin-top: 20px; }
.tv-forecast__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-fc-price { border-radius: 16px; padding: 20px; border: 1px solid rgba(52,211,153,.22); background: rgba(52,211,153,.05); }
.tv-fc-price.is-down { border-color: rgba(251,113,133,.22); background: rgba(251,113,133,.05); }
.tv-fc-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--tv-muted); }
.tv-fc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.tv-fc-label { font-size: 11px; color: var(--tv-muted); }
.tv-fc-base { font-size: 21px; font-weight: 700; margin-top: 4px; }
.tv-fc-target { font-size: 31px; font-weight: 900; margin-top: 4px; letter-spacing: -.6px; }
.tv-fc-band { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--tv-hairline); }
.tv-fc-band__vals { font-weight: 700; }
.tv-fc-band__low { color: var(--tv-rose); }
.tv-fc-band__high { color: var(--tv-mint); }
.tv-fc-band__hint { font-size: 11px; color: var(--tv-muted); margin: 6px 0 0; line-height: 1.7; }

.tv-fc-side { display: grid; gap: 12px; align-content: start; }
.tv-fc-box { border: 1px solid var(--tv-hairline); background: rgba(255,255,255,.03); border-radius: 16px; padding: 16px; }
.tv-fc-box__head { display: flex; align-items: center; gap: 8px; }
.tv-fc-box__title { font-size: 12.5px; font-weight: 700; }
.tv-risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tv-risk-cell { background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px; }
.tv-risk-cell__l { font-size: 10.5px; color: var(--tv-muted); line-height: 1.4; }
.tv-risk-cell__v { font-size: 14px; font-weight: 700; margin-top: 4px; }
.tv-risk-cell__v.rose { color: var(--tv-rose); }
.tv-risk-cell__v.mint { color: var(--tv-mint); }
.tv-risk-cell__v.gold { color: var(--tv-gold); }

.tv-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 9px; }
.tv-bar > span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #c08a2e, #f6d67e); }
.tv-driver { margin-top: 9px; }
.tv-driver__row { display: flex; justify-content: space-between; font-size: 11px; }
.tv-driver__bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 4px; }
.tv-driver__bar > span { display: block; height: 100%; border-radius: 999px; }
.tv-driver__bar > span.pos { background: rgba(52,211,153,.7); }
.tv-driver__bar > span.neg { background: rgba(251,113,133,.7); }

/* --- subscriber teaser: no real numbers are ever rendered here --- */
.tv-teaser { position: relative; }
.tv-teaser__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  filter: blur(3px); opacity: .5; user-select: none; pointer-events: none;
}
.tv-teaser__cell {
  border: 1px solid var(--tv-hairline); background: rgba(255,255,255,.03);
  border-radius: 14px; padding: 16px;
}
.tv-teaser__l { font-size: 11px; color: var(--tv-muted); }
.tv-teaser__v { font-size: 20px; font-weight: 900; margin-top: 6px; letter-spacing: 2px; color: rgba(231,236,245,.55); }
.tv-teaser__lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at center, rgba(5,7,13,.72), rgba(5,7,13,.5));
  border-radius: 16px;
}
.tv-lock__card { text-align: center; padding: 28px 30px; max-width: 420px; }
.tv-tag--lock { background: rgba(251,113,133,.13); color: var(--tv-rose); }
.tv-forecast__foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.tv-forecast__disclaimer { font-size: 11.5px; color: var(--tv-muted); line-height: 1.8; max-width: 640px; }

/* ============================ cards / grids ============================ */
.tv-grid { display: grid; gap: 16px; }
.tv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tv-grid--2 { grid-template-columns: repeat(2, 1fr); }

.tv-feature { padding: 20px; transition: border-color .18s ease, background .18s ease; }
.tv-feature:hover { border-color: rgba(244,199,82,.25); background: rgba(255,255,255,.05); }
.tv-feature__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-size: 20px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); }
.tv-feature h3 { font-size: 15px; font-weight: 700; margin: 15px 0 0; }
.tv-feature p { font-size: 13px; color: var(--tv-muted); margin: 8px 0 0; line-height: 1.85; }

.tv-road { display: flex; align-items: center; gap: 12px; padding: 16px; }
.tv-road__ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); font-size: 16px; flex: 0 0 auto; }
.tv-road__name { font-size: 13.5px; font-weight: 700; }
.tv-road__sym { font-size: 11px; color: var(--tv-muted); }
.tv-road__st { margin-inline-start: auto; }

/* news */
.tv-post { display: flex; flex-direction: column; padding: 20px; transition: border-color .18s, background .18s; }
.tv-post:hover { border-color: rgba(244,199,82,.28); background: rgba(255,255,255,.05); }
.tv-post__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tv-post__ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); font-size: 15px; }
.tv-post h3 { font-size: 15px; font-weight: 800; line-height: 1.6; margin: 13px 0 0; }
.tv-post:hover h3 { color: var(--tv-gold); }
.tv-post p { font-size: 13px; color: var(--tv-muted); margin: 8px 0 0; line-height: 1.85; }
.tv-post__foot { display: flex; align-items: center; gap: 8px; margin-top: 15px;
  font-size: 11.5px; color: var(--tv-muted); }
.tv-post__date { margin-inline-start: auto; }

/* pricing */
.tv-plan { display: flex; flex-direction: column; padding: 24px; position: relative; }
.tv-plan.is-top { transform: scale(1.015); }
.tv-plan__flag { position: absolute; top: -12px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(96deg, #f6d67e, #c08a2e); color: #1a1204; font-size: 11px; font-weight: 900; }
.tv-plan__name { font-size: 15px; font-weight: 800; }
.tv-plan__tag { font-size: 12.5px; color: var(--tv-muted); margin: 5px 0 0; min-height: 36px; line-height: 1.7; }
.tv-plan__price { display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; }
.tv-plan__amount { font-size: 30px; font-weight: 900; }
.tv-plan__per { font-size: 12px; color: var(--tv-muted); padding-bottom: 5px; }
.tv-plan__quota { font-size: 12px; color: var(--tv-muted); margin-top: 6px; }
.tv-plan__list { list-style: none; margin: 18px 0 0; padding: 0; flex: 1; }
.tv-plan__list li { display: flex; gap: 9px; font-size: 13px; line-height: 1.85; margin-bottom: 9px; color: rgba(231,236,245,.86); }
.tv-plan__list li::before { content: "✓"; color: var(--tv-mint); font-weight: 800; }
.tv-plan .tv-btn { margin-top: 20px; width: 100%; text-align: center; }

/* cta */
.tv-cta { position: relative; overflow: hidden; text-align: center; padding: 48px 28px; border-radius: 26px; }
.tv-cta__glow { position: absolute; top: -100px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 560px; height: 250px; border-radius: 999px; background: rgba(244,199,82,.12); filter: blur(70px); }
.tv-cta h2 { position: relative; font-size: 28px; font-weight: 900; margin: 0; }
.tv-cta p { position: relative; font-size: 14px; color: var(--tv-muted); margin: 12px auto 0; max-width: 560px; line-height: 1.9; }
.tv-cta__row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ============================ article ============================ */
.tv-article { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.tv-article h1 { font-size: 32px; font-weight: 900; line-height: 1.5; margin: 16px 0 0; }
.tv-article__lead { border-inline-start: 2px solid rgba(244,199,82,.4); padding-inline-start: 16px;
  font-size: 15px; line-height: 2; color: rgba(231,236,245,.86); margin: 18px 0 0; }
.tv-article__body { font-size: 14.5px; line-height: 2.1; color: rgba(231,236,245,.8); margin-top: 24px; }
.tv-article__body p { margin: 0 0 16px; }
.tv-article__body h2 { font-size: 20px; color: var(--tv-ink); margin: 28px 0 12px; }
.tv-article__body a { color: var(--tv-gold); text-decoration: underline; }
.tv-article__body ul, .tv-article__body ol { padding-inline-start: 22px; }
.tv-article__body blockquote { border-inline-start: 3px solid var(--tv-gold); margin: 20px 0;
  padding: 4px 18px; color: var(--tv-muted); }

/* ============================ footer ============================ */
.tv-footer { border-top: 1px solid var(--tv-hairline); background: #060910; padding: 48px 0 28px; margin-top: 40px; }
.tv-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; }
.tv-footer h4 { font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.tv-footer p { font-size: 13px; color: var(--tv-muted); line-height: 1.9; margin: 12px 0 0; max-width: 300px; }
.tv-footer ul { list-style: none; margin: 0; padding: 0; }
.tv-footer li { margin-bottom: 9px; }
.tv-footer li a { font-size: 13px; color: var(--tv-muted); }
.tv-footer li a:hover { color: var(--tv-gold); }
.tv-footer__bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--tv-hairline); }
.tv-footer__risk { font-size: 11.5px; color: rgba(139,154,177,.8); line-height: 1.9; margin: 0; }
.tv-footer__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--tv-muted); }

/* forms */
.tv-field {
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); padding: 12px 14px; color: var(--tv-ink);
  font-size: 14px; font-family: inherit; outline: none;
}
.tv-field:focus { border-color: rgba(244,199,82,.5); }
.tv-field::placeholder { color: rgba(139,154,177,.7); }
.tv-inline-form { display: flex; gap: 8px; margin-top: 12px; }
.tv-note { border-radius: 12px; padding: 11px 14px; font-size: 12.5px; }
.tv-note--ok { border: 1px solid rgba(52,211,153,.3); background: rgba(52,211,153,.08); color: var(--tv-mint); }
.tv-note--err { border: 1px solid rgba(251,113,133,.3); background: rgba(251,113,133,.08); color: var(--tv-rose); }

/* ============================ responsive ============================ */
@media (max-width: 1024px) {
  .tv-hero__inner { grid-template-columns: 1fr; }
  .tv-hero h1 { font-size: 40px; }
  .tv-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tv-footer__cols { grid-template-columns: 1fr 1fr; }
  .tv-nav { display: none; }
  .tv-burger { display: grid; place-items: center; }
}
@media (max-width: 780px) {
  .tv-forecast__grid { grid-template-columns: 1fr; }
  .tv-grid--3, .tv-grid--2 { grid-template-columns: 1fr; }
  .tv-hero h1 { font-size: 33px; }
  .tv-stats { grid-template-columns: 1fr 1fr; }
  .tv-hero__cards { grid-template-columns: 1fr 1fr; }
  .tv-section { padding: 44px 0; }
  .tv-shead h2 { font-size: 23px; }
  .tv-footer__cols { grid-template-columns: 1fr; }
  .tv-fc-target { font-size: 27px; }
}
@media (max-width: 780px) {
  .tv-teaser__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .tv-hero__cards { grid-template-columns: 1fr; }
  .tv-stats { grid-template-columns: 1fr 1fr; }
  .tv-risk-grid { grid-template-columns: 1fr 1fr; }
}
