/* ============================================================
   XtremeIPTVHD.live - Main Stylesheet
   Brand: White + Royal Blue gradient theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand Colours */
  --primary: #0891b2;
  --primary-dark: #0e4d5c;
  --primary-light: #22d3ee;
  --accent: #67e8f9;
  --accent-glow: rgba(103, 232, 249, 0.4);
  --secondary: #0891b2;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #001a1f 0%, #0e4d5c 35%, #0891b2 65%, #22d3ee 100%);
  --grad-card: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(8,145,178,0.12) 100%);
  --grad-btn: linear-gradient(135deg, #0891b2, #22d3ee);
  --grad-section: linear-gradient(180deg, #f0fdfe 0%, #ffffff 50%, #ecfeff 100%);

  /* Light mode (default) */
  --bg-primary: #f0fdfe;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.7);
  --text-primary: #001a1f;
  --text-secondary: #4a6080;
  --text-muted: #8ba3bf;
  --border: rgba(8, 145, 178, 0.15);
  --shadow: 0 8px 32px rgba(8, 145, 178, 0.12);
  --shadow-hover: 0 16px 48px rgba(8, 145, 178, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(8, 145, 178, 0.2);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #001a1f;
  --hero-text: #ffffff;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #001a1f;
  --bg-secondary: #0e4d5c;
  --bg-card: rgba(14, 77, 92, 0.8);
  --text-primary: #ecfeff;
  --text-secondary: #67e8f9;
  --text-muted: #0891b2;
  --border: rgba(103, 232, 249, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 48px rgba(103, 232, 249, 0.2);
  --glass-bg: rgba(14, 77, 92, 0.7);
  --glass-border: rgba(103, 232, 249, 0.2);
  --nav-bg: rgba(0, 26, 31, 0.95);
  --grad-section: linear-gradient(180deg, #001a1f 0%, #001a1f 50%, #0e4d5c 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

.gradient-text {
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(103, 232, 249, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-btn);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.5);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Ripple */
.btn-ripple { position: relative; overflow: hidden; }
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   GLASSMORPHISM CARDS
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(103, 232, 249, 0.4);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(8, 145, 178, 0.12);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-btn);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 20px; height: 20px; fill: white; }

.logo-text span { color: var(--accent); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(8, 145, 178, 0.08);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(8, 145, 178, 0.08);
}

.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  backdrop-filter: blur(20px);
  z-index: 999;
  animation: slideDown 0.3s ease;
}

.mobile-menu.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.95rem;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: rgba(8, 145, 178, 0.08);
}

.mobile-nav-actions { display: flex; gap: 12px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,26,31,0.7) 0%, rgba(8,145,178,0.4) 50%, rgba(14,77,92,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(103, 232, 249, 0.15);
  border: 1px solid rgba(103, 232, 249, 0.4);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #67e8f9, #90e0ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* Hero Slider */
.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  aspect-ratio: 16/10;
  background: rgba(0,0,0,0.3);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active { opacity: 1; }

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide placeholder graphics */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

/* Floating badge on slider */
.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 4;
}

.hero-badge-1 {
  bottom: -20px;
  left: -20px;
}

.hero-badge-2 {
  top: -20px;
  right: -20px;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg { width: 20px; height: 20px; fill: white; }

.badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #001a1f;
}

.badge-sub {
  font-size: 0.75rem;
  color: #4a6080;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 64px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-btn);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.3), 0 16px 40px rgba(8, 145, 178, 0.15);
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(8,145,178,0.1), rgba(103,232,249,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(8,145,178,0.2);
}

.stat-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background: var(--grad-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(8, 145, 178, 0.15), var(--shadow-hover);
  border-color: rgba(8, 145, 178, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--grad-btn);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.feature-icon svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 2; }

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   DEVICES SECTION
   ============================================================ */
.devices-section { background: var(--bg-secondary); }

.devices-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.device-card {
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: default;
}

.device-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.2), var(--shadow-hover);
}

.device-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-icon svg { width: 40px; height: 40px; }

.device-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section { background: var(--grad-section); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2), var(--shadow);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.3), var(--shadow-hover);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 12px 12px;
}

.pricing-header {
  padding: 36px 32px 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-currency {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-body { padding: 24px 32px 32px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8,145,178,0.1), rgba(103,232,249,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(8,145,178,0.2);
}

.check-icon svg { width: 11px; height: 11px; stroke: var(--primary); fill: none; stroke-width: 2.5; }

.pricing-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
}

.view-all-link:hover { gap: 10px; }
.view-all-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-section {
  background: var(--bg-secondary);
  overflow: hidden;
  padding: 80px 0;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-left 40s linear infinite;
}

.marquee-track-reverse {
  animation: marquee-right 40s linear infinite;
  margin-top: 20px;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.review-card {
  width: 300px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.author-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--grad-hero);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  padding: 64px 0 0;
  border-top: 3px solid transparent;
  border-image: var(--grad-btn) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--accent); }

/* Collapsible footer on mobile */
.footer-col-toggle {
  display: none !important;  /* Never show — footer always expanded */
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  margin-left: auto;
}

.footer-col-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.3s; }
.footer-col-toggle.open svg { transform: rotate(180deg); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 120px 0 64px;  /* background set in custom-overrides.css */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* page-hero::before handled in custom-overrides.css */

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: #ffffff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--glass-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
  background: var(--bg-secondary);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* ============================================================
   ORDER PAGES
   ============================================================ */
.order-section { padding: 80px 0; background: var(--grad-section); }

.order-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.order-form-card {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.order-summary {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 100px;
}

.order-summary h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding-top: 16px;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section { padding: 80px 0; background: var(--grad-section); }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(8, 145, 178, 0.3); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-answer { max-height: 800px; }

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { padding: 80px 0; background: var(--grad-section); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--grad-btn);
  position: relative;
  overflow: hidden;
}

.blog-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.blog-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }
.blog-read-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Blog Post */
.blog-post-section { padding: 60px 0 80px; background: var(--grad-section); }

.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-post-content { font-size: 1rem; line-height: 1.8; }
.blog-post-content h2 { margin: 40px 0 16px; }
.blog-post-content h3 { margin: 28px 0 12px; }
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content ul { padding-left: 24px; margin-bottom: 16px; }
.blog-post-content ul li { margin-bottom: 8px; color: var(--text-secondary); }

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  padding: 24px;
  border-radius: var(--radius);
}

.sidebar-widget h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 80px 0; background: var(--grad-section); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info > p { margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2; }

.contact-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.contact-item-value { font-size: 0.875rem; color: var(--text-secondary); }

.contact-form-card { padding: 40px; border-radius: var(--radius-lg); }

.europe-banner {
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--grad-btn);
  text-align: center;
  color: white;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-section { padding: 60px 0 80px; background: var(--grad-section); }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
}

.legal-content h2 { margin: 36px 0 14px; font-size: 1.3rem; }
.legal-content h3 { margin: 24px 0 10px; font-size: 1.1rem; }
.legal-content p { margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-secondary); }
.legal-content .last-updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 32px; }

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirm-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--grad-section);
  padding: 100px 0;
}

.confirm-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px;
  text-align: center;
  border-radius: var(--radius-lg);
}

.confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8,145,178,0.1), rgba(103,232,249,0.1));
  border: 2px solid rgba(8,145,178,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.confirm-icon svg { width: 36px; height: 36px; stroke: var(--primary); fill: none; stroke-width: 2; }

.confirm-card h1 { font-size: 2rem; margin-bottom: 16px; }
.confirm-details { margin: 28px 0; text-align: left; }

/* ============================================================
   PRICING PAGE TABS
   ============================================================ */
.pricing-tabs-wrap { padding: 80px 0; background: var(--grad-section); }

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(12px);
}

.tab-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 100px;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
}

.tab-btn.active {
  background: var(--grad-btn);
  color: white;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible { opacity: 1; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   MISC
   ============================================================ */
.text-center { text-align: center; }
.text-white { color: #ffffff; }

.badge-new {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
  margin-left: 6px;
}

/* Alert / notification bar */
.top-bar {
  background: var(--grad-btn);
  text-align: center;
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  letter-spacing: 0.02em;
}

.top-bar a { text-decoration: underline; color: white; }

/* ============================================================
   HERO SLIDE VISUAL PLACEHOLDERS (SVG based)
   ============================================================ */
.tv-slide-bg { background: linear-gradient(135deg, #001a1f 0%, #0891b2 100%); }
.fire-slide-bg { background: linear-gradient(135deg, #1a0533 0%, #6b21a8 100%); }
.android-slide-bg { background: linear-gradient(135deg, #064e3b 0%, #059669 100%); }
.mobile-slide-bg { background: linear-gradient(135deg, #0e4d5c 0%, #4f46e5 100%); }

.slide-device-label {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
