/* TValgo v2 — Full Design System */
:root{
  --tv-bg:#050c14;--tv-bg-card:#0a1220;--tv-bg-section:#071018;
  --tv-border:rgba(31,184,166,.18);--tv-border-light:rgba(255,255,255,.07);
  --tv-primary:#1fb8a6;--tv-primary-2:#22d3ee;--tv-primary-sub:rgba(31,184,166,.1);
  --tv-text:#f0f4f8;--tv-text-muted:#8ea3b8;--tv-text-dim:#4d6070;
  --tv-grad-prem:linear-gradient(135deg,#1fb8a6,#22d3ee,#06b6d4);
  --tv-grad-cta:linear-gradient(135deg,#1fb8a6,#22d3ee);
  --tv-grad-hero:linear-gradient(135deg,#050c14 0%,#071422 50%,#050c14 100%);
  --tv-grad-card:linear-gradient(145deg,rgba(31,184,166,.08),rgba(34,211,238,.03));
  --tv-shadow-card:0 4px 24px rgba(0,0,0,.4),0 1px 4px rgba(0,0,0,.3);
  --tv-shadow-neon:0 0 20px rgba(31,184,166,.4),0 4px 16px rgba(0,0,0,.5);
  --tv-radius:16px;--tv-radius-sm:10px;--tv-radius-lg:24px;
  --tv-header-h:64px;
}

/* ── Reset ─────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--tv-bg);color:var(--tv-text);font-family:'Inter',-apple-system,sans-serif;line-height:1.6;overflow-x:hidden}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
input,select,textarea{font-family:inherit}

/* ── Hide WP admin bar ─────────────────────────────────── */
#wpadminbar{display:none!important}
html{margin-top:0!important}

/* ── Container ─────────────────────────────────────────── */
.tv-container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.5rem}

/* ── Header ────────────────────────────────────────────── */
.tv-header{position:fixed;top:0;left:0;right:0;z-index:9999;height:var(--tv-header-h);background:rgba(5,12,20,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--tv-border);transition:all .3s}
.tv-header.scrolled{background:rgba(5,12,20,.98);box-shadow:0 2px 20px rgba(0,0,0,.5)}
.tv-header-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;height:100%;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.tv-header-spacer{height:var(--tv-header-h)}
.tv-logo{display:flex;align-items:center;gap:.65rem;flex-shrink:0}
.tv-logo img{width:36px;height:36px;object-fit:contain}
.tv-logo-text{font-size:1.2rem;font-weight:800;background:var(--tv-grad-prem);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tv-nav{display:flex;align-items:center;gap:1.75rem;list-style:none}
.tv-nav a{color:var(--tv-text-muted);font-size:.9rem;font-weight:500;transition:color .2s;white-space:nowrap}
.tv-nav a:hover,.tv-nav a.active{color:var(--tv-primary)}
.tv-header-actions{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.tv-menu-toggle{display:none;background:none;border:none;color:var(--tv-text);padding:.4rem;flex-direction:column;gap:5px}
.tv-menu-toggle .bar{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .25s,opacity .25s}

/* ── Promo banner ──────────────────────────────────────── */
.tv-promo-banner{background:linear-gradient(90deg,rgba(31,184,166,.15),rgba(34,211,238,.1));border-bottom:1px solid var(--tv-border);text-align:center;padding:.55rem 1rem;font-size:.83rem;color:var(--tv-text-muted)}
.tv-promo-banner a{color:var(--tv-primary);font-weight:600}

/* ── Buttons — PROPER SIZES ────────────────────────────── */
.tv-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:var(--tv-radius-sm);font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:all .2s ease;white-space:nowrap;padding:.75rem 1.75rem;text-decoration:none;min-height:44px}
.tv-btn-sm{padding:.55rem 1.25rem;font-size:.85rem;min-height:38px}
.tv-btn-lg{padding:1rem 2.4rem;font-size:1.08rem;border-radius:var(--tv-radius);min-height:52px}
.tv-btn-block{width:100%;display:flex}
.tv-btn-primary{background:var(--tv-grad-cta);color:#050c14;box-shadow:var(--tv-shadow-neon)}
.tv-btn-primary:hover{transform:translateY(-1px) scale(1.02);box-shadow:0 0 32px rgba(31,184,166,.55),0 6px 20px rgba(0,0,0,.5);color:#050c14}
.tv-btn-outline{background:transparent;color:var(--tv-primary);border:2px solid rgba(31,184,166,.45)}
.tv-btn-outline:hover{background:var(--tv-primary-sub);border-color:var(--tv-primary)}
.tv-btn-ghost{background:transparent;color:var(--tv-text-muted);border:1.5px solid var(--tv-border-light)}
.tv-btn-ghost:hover{color:var(--tv-text);border-color:rgba(255,255,255,.2)}
.tv-btn-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:tvSpin .7s linear infinite;flex-shrink:0}
@keyframes tvSpin{to{transform:rotate(360deg)}}

/* ── Badges ────────────────────────────────────────────── */
.tv-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem 1rem;border-radius:9999px;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1px solid rgba(31,184,166,.3);background:rgba(31,184,166,.1);color:var(--tv-primary)}
.tv-badge-sm{padding:.2rem .6rem;font-size:.7rem;background:rgba(31,184,166,.1);border:1px solid rgba(31,184,166,.25);color:var(--tv-primary);border-radius:9999px;font-weight:600}
.tv-badge-red{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.12);color:#f87171;margin:.5rem auto 0;display:inline-flex;border-radius:9999px;padding:.35rem 1rem;font-size:.75rem;font-weight:700}

/* ── Alerts ────────────────────────────────────────────── */
.tv-alert{padding:.9rem 1.1rem;border-radius:var(--tv-radius-sm);font-size:.88rem;border:1px solid;margin-bottom:1rem}
.tv-alert--success{background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.3);color:#34d399}
.tv-alert--error{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:#f87171}
.tv-alert--warning{background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.3);color:#fbbf24}
.tv-alert--info{background:var(--tv-primary-sub);border-color:var(--tv-border);color:var(--tv-primary)}

/* ── Sections ──────────────────────────────────────────── */
.tv-section{padding:5rem 0;position:relative;overflow:hidden}
.tv-hero{background:var(--tv-grad-hero);padding-top:4rem}
.tv-features{background:var(--tv-bg-section)}
.tv-products{background:var(--tv-bg-card)}
.tv-pricing{background:var(--tv-grad-hero)}
.tv-testimonials{background:var(--tv-bg-section)}
.tv-faq{background:var(--tv-bg-card)}
.tv-cta-section{background:var(--tv-bg)}

/* ── Section Head ──────────────────────────────────────── */
.tv-section-head{text-align:center;margin-bottom:3.5rem;display:flex;flex-direction:column;align-items:center;gap:.85rem}
.tv-section-head--left{text-align:left;align-items:flex-start}
.tv-section-head h1,.tv-section-head h2{font-size:clamp(1.75rem,3.5vw,2.8rem);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:var(--tv-text)}
.tv-section-head p{font-size:1rem;color:var(--tv-text-muted);max-width:620px;line-height:1.75}
.tv-gradient-text{background:var(--tv-grad-prem);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* ── Blobs ─────────────────────────────────────────────── */
.tv-blob{position:absolute;border-radius:9999px;filter:blur(80px);pointer-events:none;opacity:.18;animation:tvDrift 14s ease-in-out infinite alternate}
.tv-blob-tl{width:380px;height:380px;background:rgba(31,184,166,.25);top:-80px;left:-60px}
.tv-blob-br{width:300px;height:300px;background:rgba(34,211,238,.15);bottom:-60px;right:-40px;animation-delay:-6s}
@keyframes tvDrift{0%{transform:translate(0,0) scale(1)}100%{transform:translate(30px,20px) scale(1.08)}}

/* ── Animations ────────────────────────────────────────── */
@keyframes tvFadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.tv-animate{animation:tvFadeUp .6s ease both}
.tv-delay-100{animation-delay:.1s}
.tv-delay-200{animation-delay:.2s}

/* ── HERO — larger image card ──────────────────────────── */
.tv-hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:3rem;align-items:center}
.tv-hero-copy h1{font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:var(--tv-text);margin:.8rem 0 1rem}
.tv-hero-copy p{font-size:1rem;color:var(--tv-text-muted);max-width:480px;line-height:1.75;margin-bottom:1.75rem}
.tv-hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.tv-hero-pills{display:flex;flex-wrap:wrap;gap:.55rem}
.tv-pill{padding:.4rem .9rem;border-radius:9999px;border:1px solid var(--tv-border-light);background:rgba(10,18,32,.5);font-size:.82rem;color:var(--tv-text-muted)}
.tv-pill strong{color:var(--tv-text);font-weight:600}
.tv-hero-card{border-radius:var(--tv-radius-lg);border:1px solid var(--tv-border);background:rgba(10,18,32,.8);box-shadow:var(--tv-shadow-card);overflow:hidden}
.tv-hero-card-head{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.25rem;border-bottom:1px solid var(--tv-border-light)}
.tv-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.2em;color:rgba(31,184,166,.8)}
.tv-sublabel{font-size:.8rem;color:var(--tv-text-muted);margin-top:.15rem}
.tv-hero-images{background:#040810;aspect-ratio:16/9;position:relative;overflow:hidden}
.tv-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .9s;opacity:0}
.tv-hero-img.active{opacity:1}
.tv-hero-card-foot{padding:.9rem 1.25rem;border-top:1px solid var(--tv-border-light);background:rgba(10,18,32,.9);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.tv-hero-tool-name{font-size:.95rem;font-weight:700;color:var(--tv-text)}
.tv-hero-tool-desc{font-size:.78rem;color:var(--tv-text-muted);margin-top:.2rem;line-height:1.4}
.tv-hero-dots{display:flex;gap:.35rem;flex-shrink:0}
.tv-dot{width:8px;height:8px;border-radius:9999px;border:none;background:var(--tv-text-dim);cursor:pointer;transition:all .3s}
.tv-dot.active{width:22px;background:var(--tv-primary)}

/* ── Feature cards 4-col ───────────────────────────────── */
.tv-feature-cards{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-top:1.5rem}
.tv-4col{grid-template-columns:repeat(4,1fr)}
.tv-feature-card{border-radius:var(--tv-radius);border:1px solid var(--tv-border-light);background:var(--tv-grad-card);padding:1.25rem;transition:all .3s}
.tv-feature-card:hover{border-color:rgba(31,184,166,.35);box-shadow:0 0 18px rgba(31,184,166,.1)}
.tv-feature-icon{display:inline-flex;padding:.6rem;border-radius:var(--tv-radius-sm);border:1px solid rgba(31,184,166,.2);background:rgba(31,184,166,.1);color:var(--tv-primary);margin-bottom:.85rem}
.tv-feature-card h3{font-size:.95rem;font-weight:700;color:var(--tv-text);margin-bottom:.45rem}
.tv-feature-card p{font-size:.82rem;color:var(--tv-text-muted);line-height:1.6}

/* ── Products grid ─────────────────────────────────────── */
.tv-products-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}
.tv-product-card{border-radius:var(--tv-radius-lg);border:1px solid var(--tv-border-light);background:rgba(5,12,20,.75);overflow:hidden;transition:all .3s}
.tv-product-card:hover{border-color:rgba(31,184,166,.3);box-shadow:0 0 22px rgba(31,184,166,.1)}
.tv-product-accent{height:3px;width:100%}
.tv-product-body{padding:1.25rem}
.tv-product-type{font-size:.7rem;text-transform:uppercase;letter-spacing:.2em;color:var(--tv-text-muted)}
.tv-product-name{font-size:1.1rem;font-weight:700;color:var(--tv-text);margin:.2rem 0 .6rem}
.tv-product-desc{font-size:.83rem;color:var(--tv-text-muted);line-height:1.6;margin-bottom:1rem}
.tv-product-imgs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.tv-product-imgs img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--tv-radius-sm);border:1px solid rgba(255,255,255,.05)}
.tv-tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem}
.tv-tool-chip{border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.5);padding:.9rem 1rem;transition:all .25s}
.tv-tool-chip:hover{border-color:rgba(31,184,166,.3);background:rgba(31,184,166,.05)}
.tv-tool-chip strong{display:block;font-size:.88rem;font-weight:700;color:var(--tv-text);margin-bottom:.3rem}
.tv-tool-chip span{font-size:.78rem;color:var(--tv-text-muted);line-height:1.5}

/* ── Pricing — 4 plans ─────────────────────────────────── */
.tv-pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;align-items:start}
.tv-plan-card{border-radius:var(--tv-radius-lg);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.8);padding:1.5rem;position:relative;display:flex;flex-direction:column;gap:.6rem;transition:all .3s}
.tv-plan-card--featured{border-color:rgba(31,184,166,.45);background:rgba(10,18,32,.95);box-shadow:0 0 40px rgba(31,184,166,.14),0 8px 32px rgba(0,0,0,.4);transform:scale(1.02)}
.tv-plan-badge-top{position:absolute;top:-1px;left:50%;transform:translateX(-50%);background:var(--tv-grad-cta);color:#050c14;font-size:.68rem;font-weight:800;padding:.25rem .9rem;border-radius:0 0 10px 10px;white-space:nowrap;letter-spacing:.04em}
.tv-plan-icon{width:44px;height:44px;border-radius:var(--tv-radius-sm);border:1px solid rgba(31,184,166,.2);background:rgba(31,184,166,.1);color:var(--tv-primary);display:flex;align-items:center;justify-content:center}
.tv-plan-name{font-size:1.1rem;font-weight:800;color:var(--tv-text)}
.tv-plan-headline{font-size:.8rem;color:var(--tv-text-muted);line-height:1.5}
.tv-plan-price{display:flex;align-items:baseline;gap:.25rem;flex-wrap:wrap;margin:.2rem 0}
.tv-plan-msrp{font-size:1rem;color:var(--tv-text-dim);text-decoration:line-through;margin-right:.15rem}
.tv-plan-amount{font-size:2rem;font-weight:800;color:var(--tv-text)}
.tv-plan-period{font-size:.82rem;color:var(--tv-text-muted)}
.tv-plan-charge-note{font-size:.74rem;color:var(--tv-primary);font-weight:500}
.tv-plan-tools{list-style:none;display:flex;flex-direction:column;gap:.4rem;flex:1}
.tv-plan-tools li{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--tv-text)}
.tv-plan-tools li.included .tv-check-icon{color:var(--tv-primary);font-weight:800}
.tv-check-icon{flex-shrink:0;width:16px}
.tv-referral-applied{font-size:.75rem;color:#34d399;background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.3);border-radius:6px;padding:.25rem .6rem;display:inline-block}
.tv-pricing-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;margin-top:2rem;font-size:.83rem;color:var(--tv-text-muted)}

/* ── Billing toggle ────────────────────────────────────── */
.tv-billing-toggle{display:flex;align-items:center;width:fit-content;margin:0 auto 1rem;border-radius:9999px;border:1px solid var(--tv-border-light);background:rgba(10,18,32,.5);padding:.25rem}
.tv-toggle-btn{border-radius:9999px;padding:.5rem 1.5rem;font-size:.88rem;font-weight:600;border:none;cursor:pointer;color:var(--tv-text-muted);background:transparent;transition:all .2s;display:flex;align-items:center;gap:.4rem}
.tv-toggle-btn.active{background:var(--tv-primary);color:#050c14}
.tv-save-tag{font-size:.7rem;font-weight:700;color:var(--tv-primary);background:rgba(31,184,166,.15);border-radius:4px;padding:.1rem .4rem}
.tv-toggle-btn.active .tv-save-tag{color:#050c14;background:rgba(0,0,0,.2)}

/* MT5 cards */
.tv-mt5-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;max-width:680px;margin:0 auto}
.tv-mt5-card{border-radius:var(--tv-radius-lg);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.8);padding:1.5rem;display:flex;flex-direction:column;gap:.7rem}
.tv-mt5-card--full{padding:1.75rem}
.tv-mt5-amount{font-size:2rem;font-weight:800;color:var(--tv-text)}
.tv-mt5-price{display:flex;align-items:baseline;gap:.3rem}

/* ── Testimonials ──────────────────────────────────────── */
.tv-testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.tv-testi-card{border-radius:var(--tv-radius-lg);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.7);padding:1.5rem;position:relative}
.tv-testi-quote{position:absolute;top:.9rem;right:1.25rem;font-size:2.5rem;line-height:1;color:var(--tv-primary);opacity:.3}
.tv-testi-stars{color:#f59e0b;font-size:.85rem;margin-bottom:.75rem}
.tv-testi-text{font-size:.86rem;color:var(--tv-text-muted);line-height:1.7;margin-bottom:1.1rem}
.tv-testi-author{display:flex;align-items:center;gap:.7rem}
.tv-testi-avatar{width:40px;height:40px;border-radius:9999px;background:var(--tv-grad-cta);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem;color:#050c14;flex-shrink:0}
.tv-testi-name{font-size:.88rem;font-weight:700;color:var(--tv-text)}
.tv-testi-role{font-size:.76rem;color:var(--tv-text-muted)}

/* Trustpilot wrapper */
.tv-trustpilot-wrap{max-width:600px;margin:0 auto;text-align:center}

/* ── FAQ ───────────────────────────────────────────────── */
.tv-faq-list{max-width:760px;margin:0 auto}
.tv-faq-item{border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.6);margin-bottom:.65rem;overflow:hidden;transition:border-color .2s}
.tv-faq-item.open{border-color:rgba(31,184,166,.3)}
.tv-faq-q{width:100%;background:none;border:none;padding:1.05rem 1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;text-align:left}
.tv-faq-q-text{font-size:.92rem;font-weight:600;color:var(--tv-text);line-height:1.4}
.tv-faq-chevron{flex-shrink:0;color:var(--tv-text-muted);transition:transform .25s}
.tv-faq-item.open .tv-faq-chevron{transform:rotate(180deg);color:var(--tv-primary)}
.tv-faq-a{max-height:0;overflow:hidden;transition:max-height .32s ease}
.tv-faq-item.open .tv-faq-a{max-height:300px}
.tv-faq-a-inner{padding:.2rem 1.4rem 1.25rem;font-size:.86rem;color:var(--tv-text-muted);line-height:1.7}

/* ── CTA ───────────────────────────────────────────────── */
.tv-cta-inner{text-align:center;max-width:680px;margin:0 auto}
.tv-cta-inner h2{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:800;color:var(--tv-text);margin-bottom:1rem;letter-spacing:-.02em}
.tv-cta-inner p{color:var(--tv-text-muted);font-size:1rem;line-height:1.75;margin-bottom:2rem}
.tv-cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem}

/* ── Header menu — MT5 colorful ───────────────────────── */
.tv-nav a[href*="mt5-bot"]{color:var(--tv-primary);font-weight:600}
.tv-nav a[href*="mt5-bot"]:hover{color:var(--tv-primary-2)}

/* ── Footer ────────────────────────────────────────────── */
.tv-footer{background:var(--tv-bg);border-top:1px solid var(--tv-border-light);padding:4rem 0 2.5rem}
.tv-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid var(--tv-border-light)}
.tv-footer-tagline{font-size:.83rem;color:var(--tv-text-muted);line-height:1.65;margin-bottom:1rem}
.tv-footer-socials{display:flex;gap:.45rem;flex-wrap:wrap}
.tv-social-btn{width:38px;height:38px;border-radius:9px;border:1px solid var(--tv-border-light);background:rgba(10,18,32,.5);color:var(--tv-text-muted);display:flex;align-items:center;justify-content:center;transition:all .2s}
.tv-social-btn:hover{color:var(--tv-primary);border-color:rgba(31,184,166,.4);background:var(--tv-primary-sub)}
.tv-footer-col h4{font-size:.88rem;font-weight:700;color:var(--tv-text);margin-bottom:.85rem}
.tv-footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.tv-footer-col ul li a{font-size:.82rem;color:var(--tv-text-muted);transition:color .2s}
.tv-footer-col ul li a:hover{color:var(--tv-primary)}
.tv-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.tv-footer-copy{font-size:.8rem;color:var(--tv-text-dim)}
.tv-footer-links{display:flex;gap:1.5rem}
.tv-footer-links a{font-size:.8rem;color:var(--tv-text-dim)}
.tv-footer-links a:hover{color:var(--tv-text-muted)}

/* ── Auth ──────────────────────────────────────────────── */
.tv-auth-page{min-height:calc(100vh - var(--tv-header-h));display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem;background:var(--tv-grad-hero)}
.tv-auth-card{background:rgba(10,18,32,.9);border:1px solid var(--tv-border);border-radius:var(--tv-radius-lg);padding:2.25rem;width:100%;max-width:460px;box-shadow:var(--tv-shadow-card)}
.tv-auth-logo{margin:0 auto 1.5rem;display:flex;justify-content:center}
.tv-auth-title{font-size:1.65rem;font-weight:800;color:var(--tv-text);text-align:center;margin-bottom:.3rem;letter-spacing:-.02em}
.tv-auth-sub{color:var(--tv-text-muted);text-align:center;font-size:.9rem;margin-bottom:1.5rem}
.tv-auth-msg{border-radius:var(--tv-radius-sm);padding:.75rem 1rem;font-size:.85rem;text-align:center;border:1px solid}
.tv-auth-form{display:flex;flex-direction:column;gap:1rem}
.tv-form-group{display:flex;flex-direction:column;gap:.4rem}
.tv-form-group label{font-size:.82rem;font-weight:600;color:var(--tv-text-muted);display:flex;align-items:center;justify-content:space-between}
.tv-form-label-link{color:var(--tv-primary);font-weight:500}
.tv-form-hint{font-weight:400;color:var(--tv-text-dim)}
.tv-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
input[type=text],input[type=email],input[type=password]{width:100%;padding:.75rem 1rem;border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(5,12,20,.7);color:var(--tv-text);font-size:.9rem;transition:border-color .2s,box-shadow .2s;outline:none}
input:focus{border-color:rgba(31,184,166,.5);box-shadow:0 0 0 3px rgba(31,184,166,.12)}
input::placeholder{color:var(--tv-text-dim)}
.tv-referral-notice{background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.3);border-radius:var(--tv-radius-sm);padding:.65rem 1rem;font-size:.83rem;color:#34d399;margin-bottom:1rem;text-align:center}
.tv-auth-switch{text-align:center;font-size:.84rem;color:var(--tv-text-muted);margin-top:1.25rem}
.tv-auth-switch a{color:var(--tv-primary);font-weight:600}
.tv-auth-legal{text-align:center;font-size:.76rem;color:var(--tv-text-dim);margin-top:.5rem}
.tv-auth-legal a{color:var(--tv-text-muted)}

/* ── Legal ─────────────────────────────────────────────── */
.tv-legal-page{padding:4rem 0;min-height:60vh}
.tv-legal-wrap{max-width:780px}
.tv-legal-wrap h1{font-size:2.2rem;font-weight:800;color:var(--tv-text);margin-bottom:.5rem;letter-spacing:-.02em}
.tv-legal-updated{color:var(--tv-text-dim);font-size:.83rem;margin-bottom:2.5rem}
.tv-legal-body h2{font-size:1.1rem;font-weight:700;color:var(--tv-text);margin:2rem 0 .6rem}
.tv-legal-body p{font-size:.9rem;color:var(--tv-text-muted);line-height:1.75;margin-bottom:1rem}
.tv-legal-body a{color:var(--tv-primary)}
.tv-legal-body code{background:rgba(31,184,166,.1);color:var(--tv-primary);padding:.1rem .4rem;border-radius:4px;font-size:.85em}

/* ── Select plan page ──────────────────────────────────── */
.tv-select-page{padding:3rem 0 5rem;min-height:calc(100vh - var(--tv-header-h))}

/* ── Misc ──────────────────────────────────────────────── */
.tv-inline-form{display:flex;gap:.65rem;margin-top:.75rem;flex-wrap:wrap}
.tv-inline-form input{flex:1;min-width:180px;padding:.7rem .9rem;border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(5,12,20,.7);color:var(--tv-text);font-size:.88rem;outline:none}
.tv-form-feedback{font-size:.82rem;margin-top:.5rem;color:var(--tv-primary)}
.tv-ref-link-wrap{display:flex;gap:.6rem;margin-top:.65rem;flex-wrap:wrap}
.tv-ref-link-wrap input{flex:1;min-width:200px;font-size:.8rem;padding:.55rem .9rem;border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(5,12,20,.7);color:var(--tv-text-muted)}
.tv-ref-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:1rem}
.tv-ref-stat{text-align:center;border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.5);padding:.65rem}
.tv-ref-stat .val{display:block;font-size:1.2rem;font-weight:800;color:var(--tv-text)}
.tv-ref-stat .lbl{display:block;font-size:.7rem;color:var(--tv-text-muted);margin-top:.15rem}
.tv-proof-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;margin-bottom:.9rem}
.tv-stat{text-align:center;border-radius:var(--tv-radius-sm);border:1px solid var(--tv-border-light);background:rgba(10,18,32,.6);padding:.85rem .5rem}
.tv-stat-val{display:block;font-size:1.4rem;font-weight:800;color:var(--tv-text)}
.tv-stat-lbl{display:block;font-size:.72rem;color:var(--tv-text-muted);margin-top:.2rem}
.tv-step{text-align:center;padding:1.25rem}
.tv-step-num{width:40px;height:40px;border-radius:9999px;background:var(--tv-grad-cta);color:#050c14;font-weight:800;font-size:1.1rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.tv-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.tv-admin-file-input{padding:.5rem;background:rgba(5,12,20,.7);border:1px solid var(--tv-border-light);border-radius:var(--tv-radius-sm);color:var(--tv-text-muted);font-size:.82rem;width:100%}

/* ========================================================
   MOBILE RESPONSIVE — everything
   ======================================================== */
@media(max-width:1024px){
  .tv-hero-grid{grid-template-columns:1fr;gap:2rem}
  .tv-hero-copy p{max-width:100%}
  .tv-pricing-grid.tv-4col{grid-template-columns:1fr 1fr}
  .tv-feature-cards.tv-4col{grid-template-columns:1fr 1fr}
  .tv-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .tv-nav{display:none;position:fixed;top:var(--tv-header-h);left:0;right:0;background:rgba(5,12,20,.98);backdrop-filter:blur(20px);flex-direction:column;align-items:flex-start;padding:1.5rem;gap:1.25rem;border-bottom:1px solid var(--tv-border);z-index:9998}
  .tv-nav.open{display:flex}
  .tv-menu-toggle{display:flex}
  .tv-products-grid{grid-template-columns:1fr}
  .tv-testi-grid{grid-template-columns:1fr 1fr}
  .tv-steps-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .tv-section{padding:3.5rem 0}
  .tv-hero{padding-top:3rem}
  .tv-pricing-grid.tv-4col{grid-template-columns:1fr 1fr}
  .tv-plan-card--featured{transform:none}
  .tv-mt5-grid{grid-template-columns:1fr;max-width:100%}
  .tv-footer-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .tv-pricing-grid,.tv-pricing-grid.tv-4col{grid-template-columns:1fr}
  .tv-feature-cards,.tv-feature-cards.tv-4col{grid-template-columns:1fr}
  .tv-testi-grid{grid-template-columns:1fr}
  .tv-tools-grid{grid-template-columns:1fr 1fr}
  .tv-form-row{grid-template-columns:1fr}
  .tv-hero-actions{flex-direction:column;align-items:stretch}
  .tv-hero-actions .tv-btn{justify-content:center}
  .tv-cta-actions{flex-direction:column;align-items:stretch}
  .tv-cta-actions .tv-btn{justify-content:center}
  .tv-ref-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .tv-container{padding:0 1rem}
  .tv-section-head h1,.tv-section-head h2{font-size:1.6rem}
  .tv-auth-card{padding:1.5rem}
  .tv-header-actions .tv-btn-ghost{display:none}
}

/* ── Google OAuth button ──────────────────────────────────── */
.tv-btn-google{display:flex;align-items:center;justify-content:center;gap:.65rem;width:100%;padding:.78rem 1.5rem;background:#fff;color:#1f2937;font-size:.95rem;font-weight:600;border:1.5px solid #e2e8f0;border-radius:var(--tv-radius-sm);cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;min-height:44px;letter-spacing:-.01em}
.tv-btn-google:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.12);color:#111827}
.tv-btn-google svg{flex-shrink:0}
.tv-auth-divider{display:flex;align-items:center;gap:.75rem;margin:.25rem 0;color:var(--tv-text-dim);font-size:.8rem}
.tv-auth-divider::before,.tv-auth-divider::after{content:'';flex:1;height:1px;background:var(--tv-border-light)}
