@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #1a1a1a;
  --text: #ffffff;
  --red: #e50914;
  --red-hover: #ff3b3f;
  --border: #333;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height:1.6; }
a { color: var(--red); text-decoration:none; }
.container { max-width:1200px; margin:auto; padding:0 20px; }

.btn {
  display:inline-block; padding:14px 32px; border-radius:50px;
  font-weight:600; transition: all 0.3s; cursor:pointer; border:none;
}
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-hover); transform: scale(1.05); }
.btn-outline { border:2px solid var(--red); color: var(--red); background:transparent; }
.btn-outline:hover { background: var(--red); color: white; }

header {
  background: #000; padding:20px 0; position:sticky; top:0; z-index:999;
  border-bottom:1px solid var(--border);
}
nav { display:flex; justify-content:space-between; align-items:center; }
.logo { font-size:24px; font-weight:700; }
.nav-links { display:flex; gap:30px; }
.nav-links a { color: white; font-weight:500; transition:0.2s; }
.nav-links a:hover { color: var(--red); }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  background: #000; overflow: hidden;
}
.hero-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: radial-gradient(circle at 30% 40%, rgba(229,9,20,0.15) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; position: relative; z-index: 1;
}
.badge {
  background: var(--red); color: #fff; padding: 6px 16px; border-radius: 30px;
  font-size: 0.9rem; display: inline-block; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #e50914, #ff3b3f);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size:1.3rem; color:#ccc; margin-bottom:40px; }
.hero-actions { display: flex; gap: 15px; margin: 30px 0; }
.hero-stats { display: flex; gap: 15px; margin-top: 5px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--red); }
.device-mockup {
  width: 400px; height: 280px; background: #1a1a1a; border-radius: 20px;
  box-shadow: 0 20px 40px rgba(229,9,20,0.2); margin: auto; position: relative;
}
.screen {
  position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
  background: #111; border-radius: 10px;
}
.trust-bar {
  background: #111; padding: 15px 0; text-align: center; border-bottom: 1px solid #333;
}
.trust-icons { display: flex; justify-content: center; gap: 40px; margin-top: 8px; color: #ccc; }

/* ========== SECTIONS (general) ========== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.3rem; margin-bottom: 10px; }

/* ========== FEATURES ========== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.feature-card, .step, .testimonial-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px; transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover, .step:hover, .testimonial-card:hover {
  transform: translateY(-5px); box-shadow: 0 10px 25px rgba(229,9,20,0.1);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* ========== DEVICES ========== */
.devices-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 20px;
}
.device-card {
  background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 14px;
  padding: 20px; text-align: center;
}
.device-card:hover { border-color: #e50914; }
.device-icon { font-size: 2rem; margin-bottom: 10px; display: block; }

/* ========== COUNTRIES / FLAGS ========== */
.flags-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); gap: 20px;
}
.flag-item {
  background: #1a1a1a; border-radius: 12px; padding: 15px 5px;
  text-align: center; border:1px solid #2a2a2a;
}
.flag-item img { height: auto; width: 32px; display: block; margin: 0 auto 8px; }

/* ========== VIDEO DEMO ========== */
.video-demo { background: #0a0a0a; }
.video-placeholder { position: relative; text-align: center; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 3rem; color: #e50914; cursor: pointer;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 16px; margin-bottom: 15px;
  background: #0a0a0a; border: 1px solid #333; color: #fff;
  border-radius: 12px; font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #e50914; }
.contact-info-card {
  background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 14px;
  padding: 20px; display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
}
.contact-icon { font-size: 2rem; }

/* ========== PARTNER SECTION ========== */
.partner-section { background: #0a0a0a; }
.partner-benefits { display: flex; gap: 30px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.benefit { text-align: center; }
.benefit span { font-size: 2rem; display: block; margin-bottom: 8px; }

/* ========== DOWNLOAD APP ========== */
.download-section { background: linear-gradient(135deg, #1a0000, #000); }
.download-buttons { display: flex; gap: 20px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ========== PLANS PREVIEW ========== */
.plans-grid, .shop-grid {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:30px;
  padding:60px 0;
}
.plan-card, .product-card {
  background: var(--surface); border-radius:16px; padding:30px;
  text-align:center; border:1px solid var(--border); transition:0.3s;
}
.plan-card:hover, .product-card:hover {
  transform: translateY(-10px); box-shadow: 0 10px 30px rgba(229,9,20,0.2);
}
.plan-card.popular { border-color: var(--red); transform: scale(1.02); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red); padding: 4px 20px; border-radius: 20px; font-size: 0.8rem;
}
.plan-card h3 { margin-bottom: 10px; }
.price { font-size:2.5rem; font-weight:700; margin:20px 0; }
.price span { font-size:1rem; color:#aaa; }
.features { list-style:none; text-align:left; padding:20px 0; }
.features li { padding:8px 0; border-bottom:1px solid #2a2a2a; }

/* ========== HOW IT WORKS (STEPS) ========== */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.step { text-align: center; padding: 30px; }
.step-number {
  width: 50px; height: 50px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; margin: 0 auto 15px; font-size: 1.5rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 30px;
}
.testimonial-card p { font-style: italic; margin-bottom: 10px; }
.testimonial-author { color: var(--red); font-weight: 600; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: auto; }
.faq-item { margin-bottom: 10px; }
.faq-question {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  color: #fff; padding: 20px; text-align: left; font-size: 1.1rem;
  cursor: pointer; border-radius: 12px; transition: background 0.3s;
}
.faq-question:hover { background: #222; }
.faq-answer {
  display: none; padding: 20px; background: #111; border-radius: 0 0 12px 12px;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question {
  border-radius: 12px 12px 0 0; background: var(--red);
}

/* ========== CTA BANNER ========== */
.cta { background: linear-gradient(135deg, #1a0000, #000); text-align: center; }

/* ========== GLOBAL FORMS ========== */
form {
  background: var(--surface); padding:40px; border-radius:16px;
  max-width:500px; margin:40px auto; border:1px solid var(--border);
}
input, select, textarea {
  width:100%; padding:14px; margin:10px 0; background:#000;
  border:1px solid var(--border); color:white; border-radius:8px;
}
label { display:block; margin-top:15px; color:#ccc; }

.dashboard-grid {
  display:grid; grid-template-columns: 250px 1fr; gap:30px; padding:40px 0;
}
.sidebar {
  background: var(--surface); padding:20px; border-radius:16px;
  border:1px solid var(--border); height:fit-content;
}
.sidebar a { display:block; padding:12px; color:white; margin:5px 0; border-radius:8px; }
.sidebar a:hover, .sidebar a.active { background: var(--red); }

.mobile-nav {
  position:fixed; bottom:0; width:100%; background:#111;
  display:flex; justify-content:space-around; padding:12px 0;
  border-top:1px solid var(--border); z-index:999;
}
.mobile-nav a { color: #888; font-size:12px; text-align:center; flex:1; }
.mobile-nav a.active { color: var(--red); }

@media (min-width: 768px) { .mobile-nav { display:none; } }

.animate-fadeIn { animation: fadeIn 1s ease; }
.animate-slideUp { animation: slideUp 0.8s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:none;} }
@keyframes slideUp { from{opacity:0;transform:translateY(40px);} to{opacity:1;transform:none;} }

/* ========== HAMBURGER MENU (mobile) ========== */
.hamburger {
    display: none; background: none; border: none; color: white;
    font-size: 1.8rem; cursor: pointer;
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 60px; left: 0; width: 100%; background: #0a0a0a;
        padding: 20px; gap: 15px; z-index: 1000;
    }
    .nav-links.active { display: flex; }
    nav { flex-wrap: wrap; justify-content: space-between; }
}

/* ========== FOOTER (add as you already have in footer.php, but you can move its styles here later) ========== */
.site-footer {
  background: #0a0a0a; border-top: 1px solid #222; padding: 60px 0 0; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; margin-bottom: 40px;
}
.footer-col h4 { font-size: 1.3rem; color: #fff; margin-bottom: 15px; }
.footer-col p, .footer-col li { color: #aaa; line-height: 1.6; }
.contact-list, .footer-links { list-style: none; padding: 0; }
.footer-links a { color: #aaa; transition: color 0.2s; }
.footer-links a:hover { color: #e50914; }
.social-icons { display: flex; gap: 15px; font-size: 1.5rem; }
.social-icons a:hover { transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid #222; padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap;
  color: #666; font-size: 0.85rem;
}
.footer-bottom a { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #e50914; }

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.2rem; }
  .device-mockup { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .trust-icons { flex-direction: column; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .flags-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ========== MOBILE‑ONLY ENHANCEMENTS ========== */
@media (max-width: 768px) {

  /* ---- 1. HERO: full viewport height, top‑to‑bottom ---- */
  .hero {
    min-height: calc(100vh - 60px);   /* fill screen below the header */
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;             /* keep content vertically centered */
  }

  /* ---- 2. WIDER CONTENT ---- */
  .container {
    padding-left: 12px;
    padding-right: 12px;             /* smaller side padding → wider content */
  }

  /* ---- 3. PROFESSIONAL BUTTONS (mobile) ---- */
  .btn {
    display: block;                  /* full‑width on mobile */
    width: 100%;
    text-align: center;
    padding: 16px 24px;             /* taller */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;            /* slightly rounder */
    margin-bottom: 12px;
  }

  .btn-outline {
    background: transparent;
    border: 2px solid var(--red);
  }

  /* Buttons inside hero actions stay side‑by‑side (optional) */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  /* ---- 4. FULL‑WIDTH SECTION BACKGROUNDS ---- */
  .section {
    padding-left: 0;
    padding-right: 0;
  }
  .section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Make sure gradient / colored sections touch the screen edges */
  .cta, .download-section, .partner-section, .video-demo {
    border-radius: 0;               /* no rounded corners on mobile */
  }

  /* Hero overlay already covers full width – no change needed */

  /* ---- 5. SCROLL‑TO‑TOP BUTTON stays neat ---- */
  .scroll-to-top {
    bottom: 90px;                   /* avoid overlapping mobile nav */
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ========== DESKTOP WIDER LAYOUT (≥ 1024px) ========== */
@media (min-width: 1024px) {
  .container {
    max-width: 1400px;               /* was 1200px – gives more room */
    padding-left: 24px;
    padding-right: 24px;             /* slightly tighter than 20px */
  }

  /* Make sure the hero grid uses the wider space */
  .hero-grid {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ========== FULL‑WIDTH SECTION BACKGROUNDS ========== */
/* Remove any accidental rounded corners / max‑width on full‑color sections */
.cta,
.download-section,
.partner-section,
.video-demo,
.channel-countries,
.devices,
.features,
.how-it-works,
.plans-preview,
.testimonials,
.faq {
  border-radius: 0;                 /* already 0, but explicit */
  width: 100%;                     /* force full viewport width */
  margin-left: auto;
  margin-right: auto;
}

/* Ensure the body never shows a horizontal scroll */
body {
  overflow-x: hidden;
}