/* ============================================================
   IPTV SMARTERPRO CA — Purple/Blue Light Theme
   iptv-smarterpro.ca
   Purple: #6C2BFF | Blue: #0E9BFF | Dark accent: #5B21D9
   Structural theme only — header, footer, blog. Pages via Elementor.
============================================================ */

:root{
  --bg:#ffffff;
  --bg-2:#F3F0FF;
  --bg-3:#E8E1FF;
  --panel:#ffffff;
  --panel-2:#F3F0FF;
  --border:#DCD3FF;
  --border-2:#C3B3FF;
  --text:#111111;
  --muted:#555555;
  --muted-2:#888888;
  --purple:#6C2BFF;
  --blue:#0E9BFF;
  --primary:#0E9BFF;
  --primary-2:#0B7FD1;
  --primary-dark:#5B21D9;
  --primary-light:#F3F0FF;
  --primary-glow:rgba(14,155,255,0.15);
  --accent-red:#E32227;
  --gradient-brand:linear-gradient(135deg, var(--purple), var(--blue));
  --shadow:0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg:0 8px 40px rgba(0,0,0,0.10);
  --shadow-green:0 8px 32px rgba(14,155,255,0.18);
  --radius:20px;
  --max-width:1200px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}

a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }

.container{
  width:min(100% - 32px, var(--max-width));
  margin:0 auto;
}

/* ══════════════════════════════════
   TOPBAR
══════════════════════════════════ */

.topbar{ background:var(--primary-dark); }

.topbar-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  padding:10px 0;
  color:#fff;
  font-size:0.88rem;
  font-weight:600;
}

/* ══════════════════════════════════
   HEADER
══════════════════════════════════ */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(12px);
  border-bottom:2px solid var(--border);
  box-shadow:0 2px 16px rgba(108,43,255,0.08);
}

.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  font-size:1.75rem;
  font-weight:800;
  color:var(--primary-dark);
  letter-spacing:-0.5px;
}

.menu{
  display:flex;
  gap:26px;
}

.menu a{
  color:#444;
  font-size:0.95rem;
  font-weight:500;
  transition:0.2s ease;
  position:relative;
  padding-bottom:2px;
}

.menu a:hover{ color:var(--primary-dark); }

.menu a:hover::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0; right:0;
  height:2px;
  background:var(--primary);
  border-radius:2px;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}

.menu-toggle span{
  width:26px;
  height:3px;
  background:var(--primary-dark);
  border-radius:2px;
}

.mobile-menu{ display:none; }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 28px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:700;
  font-size:0.98rem;
  font-family:'Poppins',sans-serif;
  transition:all 0.2s ease;
}

.btn-primary{
  background:var(--gradient-brand);
  color:#fff;
  box-shadow:0 4px 20px rgba(14,155,255,0.35);
}

.btn-primary:hover{
  filter:brightness(1.08);
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(14,155,255,0.45);
}

.btn-secondary{
  background:#fff;
  color:var(--primary-dark);
  border:2px solid var(--primary);
}

.btn-secondary:hover{
  background:var(--primary-light);
  transform:translateY(-2px);
}

/* ══════════════════════════════════
   SECTIONS
══════════════════════════════════ */

.section{ padding:72px 0; }

.section-title{
  text-align:center;
  font-size:clamp(1.8rem, 4vw, 2.7rem);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-0.02em;
  margin-bottom:12px;
  color:var(--text);
}

.section-title span{ color:var(--primary-dark); }

.section-subtitle{
  text-align:center;
  color:var(--muted);
  max-width:760px;
  margin:0 auto 40px;
  font-size:1rem;
  line-height:1.8;
}

.grid{ display:grid; gap:20px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }
.grid-5{ grid-template-columns:repeat(5, 1fr); }

/* ── Cards ── */
.card{
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  transition:all 0.22s ease;
}

.card:hover{
  transform:translateY(-5px);
  border-color:var(--primary);
  box-shadow:var(--shadow-green);
}

.icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  border-radius:14px;
  background:var(--bg-2);
  border:1.5px solid var(--border-2);
  font-size:1.4rem;
}

.card h3{
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:8px;
  color:var(--text);
}

.card p{
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.7;
}

/* ── Devices ── */
.devices-section{
  background:var(--bg-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.device-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:90px;
  padding:16px;
  border-radius:16px;
  background:#fff;
  border:1.5px solid var(--border);
  box-shadow:var(--shadow);
  font-weight:700;
  font-size:0.95rem;
  color:#333;
  transition:all 0.2s ease;
}

.device-card:hover{
  border-color:var(--primary);
  color:var(--primary-dark);
  box-shadow:var(--shadow-green);
  transform:translateY(-3px);
}

/* ── Steps ── */
.step-number{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  margin-bottom:16px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
  font-size:1.2rem;
}

/* ── Testimonials ── */
.testimonials-section{
  background:var(--bg-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.stars{
  color:#f59e0b;
  font-size:1.1rem;
  margin-bottom:12px;
  letter-spacing:2px;
}

.quote{
  color:#444;
  font-style:italic;
  line-height:1.8;
  margin-bottom:14px;
}

.author{
  color:var(--primary-dark);
  font-weight:700;
  font-size:0.92rem;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */

.site-footer{
  background:#0B0A20;
  border-top:4px solid transparent;
  border-image:var(--gradient-brand) 1;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:36px;
  padding:52px 0 32px;
}

.footer-logo{
  margin-bottom:12px;
  font-size:1.6rem;
  font-weight:800;
  color:var(--primary);
}

.footer-text{
  color:rgba(255,255,255,0.5);
  max-width:300px;
  font-size:0.9rem;
  line-height:1.75;
}

.site-footer h4{
  margin-bottom:16px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.45);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
}

.site-footer a{
  display:block;
  margin-bottom:10px;
  color:rgba(255,255,255,0.55);
  font-size:0.9rem;
  transition:0.2s;
}

.site-footer a:hover{ color:var(--primary); }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 0 28px;
  color:rgba(255,255,255,0.3);
  font-size:0.85rem;
  text-align:center;
}

/* ══════════════════════════════════
   MOBILE MENU
══════════════════════════════════ */

.mobile-menu{ display:none !important; }

@media (max-width:820px){
  .mobile-menu.open{
    display:flex !important;
    flex-direction:column;
    background:#fff;
    border-top:2px solid var(--primary);
    box-shadow:0 8px 32px rgba(0,0,0,0.10);
  }
  .mobile-menu a{
    color:#444;
    font-size:1rem;
    font-weight:500;
    padding:14px 20px;
    border-bottom:1px solid var(--border);
    display:flex;
    align-items:center;
    gap:10px;
    transition:0.15s;
  }
  .mobile-menu a:hover{ color:var(--primary-dark); background:var(--bg-2); }
  .mobile-menu a:last-child{ border-bottom:none; }
  .mobile-menu-btn{
    margin:12px 16px 14px;
    background:var(--primary);
    color:#fff !important;
    padding:14px;
    border-radius:999px;
    text-align:center;
    font-weight:700;
    border-bottom:none !important;
    justify-content:center;
  }
  .mobile-menu-btn:hover{ background:var(--primary-2) !important; }
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

@media (max-width:1100px){
  .grid-4,
  .grid-5,
  .footer-grid{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:1fr 1fr; }
}

@media (max-width:820px){
  .menu{ display:none; }
  .menu-toggle{ display:flex; }
  .nav{ min-height:68px; gap:12px; }
  .header-actions{ margin-left:auto; }
  .nav-cta{ display:none; }
  .grid-2,.grid-3,.grid-4,.grid-5,
  .footer-grid{ grid-template-columns:1fr; }
  .topbar-inner{ font-size:0.8rem; gap:10px; }
  .card{ padding:22px; }
}

@media (max-width:560px){
  .topbar-inner{ gap:6px; padding:8px 0; font-size:0.75rem; }
  .btn{ min-height:50px; padding:0 22px; }
}

@media (min-width:821px){
  .mobile-menu{ display:none !important; }
  .menu-toggle{ display:none !important; }
}
