/* ============================================================
   Thunder IPTV - Main Stylesheet
   thunderiptv.tv
   ============================================================ */

:root {
  --primary: #eaa43b;
  --primary-dark: #c8851a;
  --secondary: #eaa43b;
  --accent: #eaa43b;
  --bg-dark: #0d0a1a;
  --bg-card: #130f22;
  --bg-card2: #1a1530;
  --text: #f0eeff;
  --text-muted: #9488b8;
  --border: #2a2048;
  --gradient: linear-gradient(135deg, #eaa43b, #f5c96a);
  --gradient-gold: linear-gradient(135deg, #eaa43b, #f5c96a);
  --gradient2: linear-gradient(135deg, #eaa43b, #eaa43b);
  --shadow: 0 8px 32px rgba(234,164,59,0.25);
  --radius: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600;
  font-size: 15px; cursor: pointer; transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,164,59,0.4); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--bg-dark); }
.btn-white:hover { background: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-danger { background: #e53e3e; color: #fff; }
.btn-success { background: #38a169; color: #fff; }

/* ── SECTION ── */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(234,164,59,0.15); color: var(--primary);
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10,10,15,0.98); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; text-decoration: none; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-icon {
  font-size: 24px;
  color: #eaa43b;
  filter: drop-shadow(0 0 6px rgba(234,164,59,0.7));
  -webkit-text-fill-color: #eaa43b;
}
.logo-text { font-size: 22px; font-weight: 900; color: var(--text); }
.logo-text .accent { color: #eaa43b; font-weight: 900; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; color: var(--text-muted); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.07); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(234,164,59,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(245,168,0,0.1) 0%, transparent 50%),
              var(--bg-dark);
}
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>'); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(234,164,59,0.15); border: 1px solid rgba(234,164,59,0.3);
  color: var(--primary); padding: 8px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero-title { font-size: clamp(40px, 6vw, 80px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 48px; flex-wrap: wrap; }
.stat { padding: 0 32px; text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 50px; background: var(--border); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 18px; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── FEATURES STRIP ── */
.features-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.strip-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.strip-item i { color: var(--primary); font-size: 18px; }

/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; position: relative; transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.pricing-card.popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(234,164,59,0.08) 0%, var(--bg-card) 100%); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; padding: 4px 20px; border-radius: 50px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan-badge { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; }
.plan-duration { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.plan-price { font-size: 52px; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.plan-price .currency { font-size: 24px; vertical-align: top; margin-top: 12px; display: inline-block; color: var(--text-muted); }
.plan-price .period { font-size: 16px; color: var(--text-muted); }
.plan-save { display: inline-block; background: rgba(245,168,0,0.15); color: var(--accent); padding: 3px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.plan-features { text-align: left; margin-bottom: 28px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.plan-features li:last-child { border: none; }
.plan-features li i { color: #38a169; font-size: 12px; }

/* ── WHY US FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { width: 56px; height: 56px; background: rgba(234,164,59,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon i { font-size: 24px; color: var(--primary); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ── DEVICES ── */
.devices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
.device-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: all 0.3s ease; cursor: default;
}
.device-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.device-item i { font-size: 32px; color: var(--primary); display: block; margin-bottom: 12px; }
.device-item span { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testimonial-card .stars { color: #eaa43b; font-size: 18px; margin-bottom: 16px; }
.testimonial-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ── CTA ── */
.cta-section { }
.cta-box {
  background: linear-gradient(135deg, rgba(234,164,59,0.2), rgba(245,168,0,0.1));
  border: 1px solid rgba(234,164,59,0.3); border-radius: 24px;
  padding: 80px 40px; text-align: center;
}
.cta-box h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── WHY US ── */
.why-us { background: var(--bg-card); }

/* ── FOOTER ── */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 16px 0 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; background: var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 15px; transition: all 0.2s; }
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-links h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: var(--text); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-contact p { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact p i { color: var(--primary); }
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 0 80px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(234,164,59,0.14) 0%, transparent 70%), var(--bg-dark);
}
.page-hero h1 { font-size: clamp(32px,5vw,58px); font-weight: 900; margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ── FORM STYLES ── */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px; color: var(--text);
  font-size: 15px; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--bg-dark); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-success { background: rgba(56,161,105,0.15); color: #68d391; }
.badge-pending { background: rgba(246,173,85,0.15); color: #f6ad55; }
.badge-cancelled { background: rgba(229,62,62,0.15); color: #fc8181; }

/* ── ALERT ── */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: rgba(56,161,105,0.15); border: 1px solid rgba(56,161,105,0.3); color: #68d391; }
.alert-error { background: rgba(229,62,62,0.15); border: 1px solid rgba(229,62,62,0.3); color: #fc8181; }
.alert-info { background: rgba(234,164,59,0.15); border: 1px solid rgba(234,164,59,0.3); color: var(--primary); }

/* ── CHANNELS ── */
.channels-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.channel-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: all 0.2s; }
.channel-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.channel-icon { width: 48px; height: 48px; background: var(--gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; color: #fff; }
.channel-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.channel-card span { font-size: 11px; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; transition: background 0.2s; }
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question i { color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 400px; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.blog-img { width: 100%; height: 200px; background: linear-gradient(135deg, rgba(234,164,59,0.3), rgba(245,168,0,0.2)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-content { padding: 24px; }
.blog-tag { display: inline-block; background: rgba(234,164,59,0.15); color: var(--primary); padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: var(--text-muted); }

/* ── ORDER PAGE ── */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.order-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: sticky; top: 100px; }
.order-summary h3 { margin-bottom: 24px; font-size: 20px; }
.order-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-line.total { font-weight: 700; font-size: 18px; border-bottom: none; color: var(--primary); }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--bg-card); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
}
.admin-logo { padding: 24px 20px; border-bottom: 1px solid var(--border); }
.admin-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-section-title { padding: 8px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.admin-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text-muted); font-size: 14px;
  font-weight: 500; transition: all 0.2s; margin-bottom: 2px;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(234,164,59,0.15); color: var(--primary); }
.admin-nav a i { width: 18px; text-align: center; }
.admin-main { margin-left: 260px; flex: 1; background: var(--bg-dark); }
.admin-topbar { height: 64px; background: var(--bg-card); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 50; }
.admin-content { padding: 32px 28px; }
.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.stat-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.stat-card-icon.blue { background: rgba(234,164,59,0.15); color: var(--primary); }
.stat-card-icon.green { background: rgba(56,161,105,0.15); color: #68d391; }
.stat-card-icon.orange { background: rgba(246,173,85,0.15); color: #f6ad55; }
.stat-card-icon.red { background: rgba(229,62,62,0.15); color: #fc8181; }
.stat-card-value { font-size: 32px; font-weight: 800; margin-bottom: 4px; }
.stat-card-label { font-size: 13px; color: var(--text-muted); }
.stat-card-change { font-size: 12px; margin-top: 8px; }
.change-up { color: #68d391; }
.change-down { color: #fc8181; }
.admin-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; }
.admin-panel-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-panel-header h3 { font-size: 16px; font-weight: 700; }
.admin-panel-body { padding: 24px; }
.search-bar { display: flex; gap: 12px; margin-bottom: 20px; }
.search-bar input { flex: 1; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-dot.active { background: #68d391; }
.status-dot.pending { background: #f6ad55; }
.status-dot.expired { background: #fc8181; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 10px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,15,0.98); border-bottom: 1px solid var(--border); padding: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 60px; }
  .admin-sidebar .admin-logo span, .admin-nav a span { display: none; }
  .admin-main { margin-left: 60px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   SPLIT HERO – Typhoon-style layout
   ============================================================ */

.hero-split {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Full-bleed dark background with subtle purple radial */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    url('/images/hero-bg.png') center center / cover no-repeat;
  z-index: 0;
}

/* Dark overlay so text stays readable over the image */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(10,8,20,0.98) 0%,
      rgba(10,8,20,0.97) 20%,
      rgba(10,8,20,0.95) 35%,
      rgba(10,8,20,0.88) 50%,
      rgba(10,8,20,0.55) 70%,
      rgba(10,8,20,0.15) 100%
    ),
    linear-gradient(to bottom,
      rgba(10,8,20,0.5) 0%,
      transparent 30%,
      rgba(10,8,20,0.6) 100%
    );
  z-index: 1;
}

.hero-split-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 120px 55% 80px 100px;
  max-width: 100%;
  margin: 0;
  width: 100%;
}

/* ── LEFT side ── */
.hero-left { display: flex; flex-direction: column; gap: 0; }

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-split-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  margin-left: 0;
  color: #fff;
  letter-spacing: -1px;
}

.hero-price-tag {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.hero-price-tag strong {
  color: #eaa43b;
  font-size: 28px;
}

.hero-split-desc {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-split-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── RIGHT side: channel thumbnails ── */
.hero-right { display: flex; flex-direction: column; gap: 16px; }

.channel-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ch-thumb {
  border-radius: 12px;
  height: 110px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ch-thumb:hover {
  transform: scale(1.04);
  border-color: rgba(234,164,59,0.5);
}
.ch-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.ch-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 16px);
}

/* ── Stats row under thumbnails ── */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.hstat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}
.hstat-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #eaa43b;
  line-height: 1;
  margin-bottom: 4px;
}
.hstat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-split-inner { grid-template-columns: 1fr; padding: 110px 24px 60px 24px; gap: 40px; margin: 0 auto; max-width: 100%; }
  .channel-thumb-grid { grid-template-columns: repeat(4,1fr); }
  .ch-thumb { height: 80px; }
}
@media (max-width: 540px) {
  .channel-thumb-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats-row { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   NEW PRICING CARDS – Reference style
   ============================================================ */
.pricing-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(234,164,59,0.18);
  border-color: var(--primary);
}
.pcard-popular {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(234,164,59,0.2);
}

.pcard-header {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--primary);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  padding: 20px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.pcard-features {
  list-style: none;
  padding: 20px 20px 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pcard-features li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pcard-features li i {
  color: var(--primary);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Network badges row */
.pcard-networks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 20px 16px;
}
.net-badge {
  background: #2a2a3a;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
}

/* Save badge */
.pcard-save {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  padding: 0 20px 4px;
}

/* Big price */
.pcard-price {
  padding: 4px 20px 2px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.pcard-dollar {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pcard-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.pcard-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Strikethrough normal price */
.pcard-normal {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 20px 14px;
}
.pcard-normal s {
  color: var(--text-muted);
}

/* Connections block */
.pcard-connections {
  margin: 0 20px 18px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.pcon-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pcon-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcon-list div {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.pcon-list div i {
  color: var(--primary);
  font-size: 11px;
  width: 14px;
}

/* Subscribe button */
.pcard-btn {
  display: block !important;
  width: calc(100% - 40px) !important;
  margin: 0 20px !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 15px 24px !important;
  letter-spacing: 0.5px;
  background: var(--primary) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(234,164,59,0.35);
  transition: all 0.25s ease !important;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box !important;
}
.pcard-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(234,164,59,0.5) !important;
  background: #c8851a !important;
  color: #fff !important;
}

/* Instant activation text */
.pcard-instant {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .pricing-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid-new { grid-template-columns: 1fr; }
}

/* ── Connection selector buttons on order page ── */
.conn-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-muted);
}
.conn-btn:hover {
  border-color: var(--primary);
  color: var(--text);
}
.conn-btn.active {
  border-color: var(--primary);
  background: rgba(234,164,59,0.1);
  color: var(--text);
}
.conn-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.conn-btn.active .conn-num { color: var(--primary); }
.conn-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.conn-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

/* ── 8 Reasons Section ── */
.reasons-section { background: var(--bg-dark); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 16px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all 0.25s ease;
}
.reason-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(234,164,59,0.12);
}

.reason-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #0d0a1a;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(234,164,59,0.35);
}

.reason-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reason-body h3 i {
  color: var(--primary);
  font-size: 14px;
}
.reason-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* ── Order Confirmation HTML content styles ── */
#confirmBody a { color: #eaa43b; text-decoration: underline; }
#confirmBody strong { color: #fff; }
#confirmBody h3 { font-size: 18px; margin: 12px 0 8px; color: #fff; }
#confirmBody p { margin-bottom: 10px; color: var(--text-muted); }
#confirmBody hr { border: none; border-top: 1px solid #2a2048; margin: 14px 0; }
#confirmBody span { }
#confirmBody ul, #confirmBody ol { padding-left: 20px; margin-bottom: 10px; color: var(--text-muted); }
#confirmBody li { margin-bottom: 6px; }

/* ── Mobile navbar polish ── */
@media (max-width: 480px) {
  .nav-cta .btn-primary { display: none; }
  .nav-container { padding: 0 16px; }
  .logo-text { font-size: 18px; }
  .logo-icon { font-size: 20px; }
}
@media (max-width: 768px) {
  .nav-links { top: 68px; }
}

/* ── ORDER PAGE MOBILE ── */
@media (max-width: 768px) {
  /* Stack form + summary */
  .order-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Summary moves below form on mobile */
  .order-summary {
    position: static !important;
    padding: 20px;
  }

  /* Form card */
  .form-card { padding: 20px 16px; }

  /* Single column form rows */
  .form-row { grid-template-columns: 1fr !important; gap: 0; }

  /* Connection buttons — 5 in a row still works, just smaller */
  #connectionsGrid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 5px !important;
  }
  .conn-btn { padding: 8px 4px !important; }
  .conn-num  { font-size: 16px !important; }
  .conn-label { font-size: 9px !important; }
  .conn-price { font-size: 10px !important; }

  /* Order submit button full width */
  .form-card button[type=submit] { font-size: 15px; padding: 14px; }

  /* Confirmation page */
  #confirmationPage > .container > div { padding: 28px 20px !important; }
  #confirmationPage h2 { font-size: 22px !important; }
}

@media (max-width: 400px) {
  /* Very small phones — 3 conn buttons + wrap */
  #connectionsGrid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 4px !important;
  }
  .conn-label { display: none; }
  .conn-btn   { padding: 10px 4px !important; }
}


position: static !important; }
}

/* ── Language Switcher ── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 7px 12px;
  color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--primary); color: var(--primary); }
.lang-btn .lang-globe { font-size: 14px; opacity: 0.7; }
.lang-btn .lang-chevron { font-size: 9px; opacity: 0.6; margin-left: 2px; transition: transform 0.2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-width: 170px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 9999;
  animation: langFadeIn 0.15s ease;
}
@keyframes langFadeIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); transition: all 0.15s; text-decoration: none;
}
.lang-menu a:hover { background: rgba(234,164,59,0.08); color: var(--text); }
.lang-menu a.active { color: var(--primary); background: rgba(234,164,59,0.06); font-weight: 700; }
.lang-menu a .lang-check { margin-right: 4px; color: var(--primary); font-size: 11px; display: none; }
.lang-menu a.active .lang-check { display: inline; }

/* About section two-column → single column on mobile */
@media (max-width: 768px) {
  .about-section .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
