/* StreamFlix Pro – main.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080c14;
  --bg2: #0d1220;
  --bg3: #111827;
  --card: #131c2e;
  --card2: #1a2540;
  --accent: #e63946;
  --accent-rgb: 230, 57, 70;
  --accent2: #ff6b35;
  --gold: #f4a426;
  --text: #f0f4ff;
  --muted: #8892a4;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ──── UTILITIES ──── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: all .25s ease; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c62833; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--accent-rgb),.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold { background: linear-gradient(135deg, #f4a426, #e07b10); color: #1a0e00; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,164,38,.4); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-red   { background: rgba(230,57,70,.15);  color: var(--accent); border: 1px solid rgba(230,57,70,.3); }
.badge-gold  { background: rgba(244,164,38,.12); color: var(--gold);   border: 1px solid rgba(244,164,38,.3); }
.badge-green { background: rgba(34,197,94,.12);  color: #4ade80;       border: 1px solid rgba(34,197,94,.3); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.75; }
.centered { text-align: center; }
.centered .section-sub { margin: 0 auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glow-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; display: inline-block; }

/* ──── ANNOUNCE BAR ──── */
.announce-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  padding: 10px 24px; text-align: center; font-size: 13px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.announce-bar a { color: #fff; text-decoration: underline; }

/* ──── NAV ──── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(8,12,20,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px; display: flex; align-items: center; padding: 0 24px;
}
/* push nav down when announce bar exists */
body.has-announce nav#site-nav { top: 42px; }

.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 32px; }

.logo { font-family: var(--font-head); font-size: 22px; font-weight: 800; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo img { height: 40px; width: auto; }
.logo-icon { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 18px; height: 18px; fill: #fff; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 28px; list-style: none; margin-left: auto; }
.nav-links li a, .nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links li a:hover, .nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; margin-left: 24px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 110px; left: 0; right: 0; z-index: 199;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 16px 0; }
.mobile-menu ul li a { display: block; padding: 14px 24px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu ul li a:hover { color: var(--accent); }

/* ──── HERO ──── */
#hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 68px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(230,57,70,.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(255,107,53,.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; background: rgba(230,57,70,.1); border: 1px solid rgba(230,57,70,.3); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.05; margin-bottom: 24px; }
.hero-title span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--muted); margin-bottom: 36px; line-height: 1.75; max-width: 580px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; z-index: 1; }

/* TV Mockup */
.tv-frame { background: var(--card); border-radius: 16px; border: 1px solid var(--border); padding: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05); max-width: 520px; margin-left: auto; }
.tv-screen { background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; }
.tv-screen-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, #0a1628 0%, #1a0a1e 50%, #0a160a 100%); }
.tv-channel-list { position: absolute; left: 0; top: 0; bottom: 0; width: 140px; background: rgba(0,0,0,.8); backdrop-filter: blur(8px); padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.tv-ch { padding: 8px 10px; border-radius: 6px; font-size: 11px; color: rgba(255,255,255,.6); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .2s; }
.tv-ch.active { background: var(--accent); color: #fff; }
.tv-ch-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.tv-main { position: absolute; right: 0; top: 0; bottom: 0; left: 140px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.tv-now-playing { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; margin-bottom: 8px; width: fit-content; }
.tv-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tv-meta { font-size: 10px; color: rgba(255,255,255,.5); }
.tv-progress { margin-top: 10px; background: rgba(255,255,255,.2); height: 3px; border-radius: 2px; }
.tv-progress-fill { height: 100%; background: var(--accent); width: 35%; border-radius: 2px; }
.tv-stand { width: 60px; height: 14px; background: var(--card2); margin: 0 auto; border-radius: 0 0 4px 4px; }
.tv-base { width: 100px; height: 6px; background: var(--card2); margin: 0 auto; border-radius: 3px; }
.floating-chip { position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.chip1 { top: -20px; right: -40px; }
.chip2 { bottom: 30px; left: -50px; }

/* ──── TICKER ──── */
.ticker-bar { background: rgba(230,57,70,.08); border-top: 1px solid rgba(230,57,70,.15); border-bottom: 1px solid rgba(230,57,70,.15); padding: 12px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 60px; animation: ticker 25s linear infinite; white-space: nowrap; }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ticker-item svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ──── STATS STRIP ──── */
.stats-strip { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num { font-family: var(--font-head); font-size: 42px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ──── FEATURES ──── */
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: rgba(230,57,70,.3); transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(230,57,70,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ──── PRICING ──── */
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; position: relative; transition: all .25s; }
.pricing-card.featured { background: linear-gradient(145deg, #1e1030, #161028); border-color: var(--accent); box-shadow: 0 0 40px rgba(230,57,70,.15); }
.pricing-card:hover { transform: translateY(-6px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 4px 20px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.pricing-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.pricing-price { font-family: var(--font-head); display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-price .cur { font-size: 20px; font-weight: 600; color: var(--muted); }
.pricing-price .amt { font-size: 52px; font-weight: 800; line-height: 1; }
.pricing-price .per { font-size: 14px; color: var(--muted); }
.pricing-desc { font-size: 13px; color: var(--muted); margin-bottom: 28px; min-height: 40px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pricing-features li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.4); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2322c55e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.pricing-cta { width: 100%; text-align: center; justify-content: center; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon { background: rgba(255,255,255,.07); border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--muted); }

/* ──── HOW IT WORKS ──── */
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: rgba(230,57,70,.12); border: 2px solid rgba(230,57,70,.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--accent); margin: 0 auto 20px; }
.step-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ──── DEVICES ──── */
.device-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 48px; }
.device-chip { background: var(--card); border: 1px solid var(--border); border-radius: 100px; padding: 12px 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; transition: all .2s; }
.device-chip:hover { border-color: var(--accent); color: var(--accent); }
.device-chip svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ──── TESTIMONIALS ──── */
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all .2s; }
.testi-card:hover { border-color: rgba(230,57,70,.25); }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--card2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--accent); }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-loc { font-size: 12px; color: var(--muted); }

/* ──── TRIAL CTA ──── */
.trial-section { background: linear-gradient(135deg, rgba(230,57,70,.12) 0%, rgba(255,107,53,.08) 100%); border: 1px solid rgba(230,57,70,.2); border-radius: 20px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }

/* ──── FAQ ──── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 500; text-align: left; padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; transition: transform .3s; }
.faq-a { display: none; font-size: 14px; color: var(--muted); line-height: 1.8; padding-bottom: 20px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }

/* ──── FOOTER ──── */
footer#site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 16px 0 24px; }
.social-links { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all .2s; text-decoration: none; }
.social-btn:hover { border-color: var(--accent); background: rgba(230,57,70,.1); }
.social-btn svg { width: 16px; height: 16px; fill: var(--muted); }
.footer-heading { font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links li a:hover, .footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }

/* ──── SCROLL ANIMATIONS ──── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ──── WP DEFAULTS RESET ──── */
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wp-block-image { margin: 0; }
.site-main { padding-top: 68px; }
.entry-content { max-width: 800px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: var(--font-head); color: var(--text); margin: 1.5em 0 .5em; }
.entry-content p { margin-bottom: 1em; }

/* ──── RESPONSIVE ──── */
@media (max-width: 1100px) {
  .pricing-cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .chip1, .chip2 { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-cards { grid-template-columns: 1fr !important; }
  .trial-section { padding: 48px 24px; }
}
