/* ============================================
   SAHADAN IPTV — Design System
   Theme: Red Glassmorphism | Market: UK
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Red Palette */
  --primary: #e63946;
  --primary-dark: #c5283d;
  --primary-light: #ff6b6b;
  --primary-glow: rgba(230, 57, 70, 0.45);

  /* Accent */
  --accent: #ff4757;
  --accent-light: #ff6b81;

  /* Backgrounds */
  --bg-dark: #0a0a0f;
  --bg-section: #0e0e16;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-hover: rgba(255, 255, 255, 0.10);

  /* Text */
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-hero: linear-gradient(160deg, #0a0a0f 0%, #1a0a0d 50%, #0a0a0f 100%);
  --gradient-dark: linear-gradient(180deg, #0e0e16, #0a0a0f);
  --gradient-card: linear-gradient(145deg, rgba(230,57,70,0.08), rgba(255,255,255,0.02));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(230,57,70,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Section Defaults ---------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section--dark {
  background: var(--bg-section);
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(230,57,70,0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(230,57,70,0.5);
}

.btn--outline {
  border: 2px solid rgba(230,57,70,0.5);
  color: var(--primary-light);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(230,57,70,0.1);
  border-color: var(--primary);
}

.btn--glass {
  background: var(--bg-glass);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: var(--bg-glass-hover);
}

.btn--sm { padding: 10px 24px; font-size: 0.88rem; }
.btn--lg { padding: 16px 40px; font-size: 1rem; }

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn--whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37,211,102,0.45);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  z-index: 1001;
}

.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.header__logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-item a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.header__nav-item a:hover,
.header__nav-item a.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}

.header__cta {
  margin-left: 16px;
}

/* Hamburger Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1001;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.header__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header__mobile-overlay.active {
  opacity: 1;
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(14,14,22,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-glass);
  z-index: 999;
  padding: 100px 24px 40px;
  transition: right var(--transition-base);
  overflow-y: auto;
}

.header__mobile-menu.active {
  right: 0;
}

.header__mobile-menu .header__nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.header__mobile-menu .header__nav-item a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.header__mobile-menu .header__nav-item a:hover {
  background: rgba(230,57,70,0.1);
  color: var(--primary-light);
}

.header__mobile-menu .header__cta {
  margin-left: 0;
  margin-top: 16px;
}

.header__mobile-menu .header__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5px;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero__stat-value span {
  color: var(--primary-light);
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero TV Preview */
.hero__preview {
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s both;
}

/* Icon Carousel inside hero (under Hot Player) */
.hero__icons-carousel {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tv-mockup {
  background: rgba(15,15,25,0.95);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.tv-content {
  padding: 20px;
}

.tv-header {
  margin-bottom: 24px;
}

.tv-logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.tv-logo-text {
  font-size: 1.1rem;
  color: var(--text-white);
  font-weight: 300;
}

.tv-logo-text strong {
  font-weight: 700;
}

.tv-version {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.tv-sub-status {
  margin-top: 8px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
}

.status-active {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
}

.status-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
}

.status-expire {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.tv-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.tv-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tv-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.tv-card.active {
  background: rgba(230,57,70,0.12);
  border-color: rgba(230,57,70,0.3);
}

.tv-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
}

.tv-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tv-card.active .tv-card-icon svg,
.tv-card.active .tv-card-icon img {
  filter: brightness(1.2);
}

.tv-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tv-card.active span {
  color: var(--primary-light);
}

.tv-footer {
  display: flex;
  justify-content: flex-end;
}

.tv-icon-group {
  display: flex;
  gap: 8px;
}

.tv-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition-fast);
  color: var(--text-dim);
}

.tv-icon-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-white);
}

/* ============================================
   ICON CAROUSEL (Hero Bottom)
   ============================================ */
.carousel {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.carousel__track {
  display: flex;
  gap: 16px;
  animation: scrollCarousel 30s linear infinite;
  width: max-content;
}

.carousel__track:hover {
  animation-play-state: paused;
}

.carousel__item {
  flex-shrink: 0;
}

/* Icon Carousel */
.carousel--icons .carousel__item {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.carousel--icons .carousel__item:hover {
  transform: scale(1.1);
}

.carousel--icons .carousel__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Devices Carousel */
.carousel--devices .carousel__item {
  width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.carousel--devices .carousel__item:hover {
  transform: scale(1.05);
}

.carousel--devices .carousel__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Sport Carousel */
.carousel--sport {
  padding: 20px 0;
}

.carousel--sport .carousel__item {
  width: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.carousel--sport .carousel__item:hover {
  transform: scale(1.05);
}

.carousel--sport .carousel__item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

/* WhatsApp Carousel */
.carousel--wtsp .carousel__item {
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.carousel--wtsp .carousel__item:hover {
  transform: scale(1.05);
}

.carousel--wtsp .carousel__item img {
  width: 100%;
  aspect-ratio: 473/1024;
  object-fit: cover;
}

/* Logo Carousel (if needed) */
.carousel--logos .carousel__item img {
  aspect-ratio: 16/9;
  object-fit: contain;
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel--reverse .carousel__track {
  animation-direction: reverse;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare {
  margin-top: 48px;
}

.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.compare__table thead th {
  background: rgba(230,57,70,0.12);
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-glass);
}

.compare__table thead th:first-child {
  width: 35%;
}

.compare__table thead th:nth-child(2) {
  color: var(--primary-light);
}

.compare__table tbody td {
  padding: 16px 24px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
}

.compare__table tbody tr:hover td {
  background: rgba(255,255,255,0.04);
}

.compare__table tbody td:nth-child(2) {
  color: #4ade80;
  font-weight: 600;
}

.compare__table tbody td:nth-child(3) {
  color: var(--text-dim);
}

.compare__check {
  color: #4ade80;
}

.compare__cross {
  color: #f87171;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: var(--shadow-glow);
}

.pricing-card--popular {
  border-color: rgba(230,57,70,0.4);
  background: rgba(230,57,70,0.06);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.pricing-card__price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 4px;
}

.pricing-card__price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

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

.pricing-card__features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #4ade80;
}

.pricing-card__features li.feature--disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-card__features li.feature--disabled svg {
  color: var(--text-dim);
}

.pricing-card__btn {
  width: 100%;
}

/* Multi-screen section */
.pricing__multi {
  margin-top: 60px;
  text-align: center;
}

.pricing__multi-header {
  margin-bottom: 40px;
}

.pricing__multi-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing__multi-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.pricing__multi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.multi-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.multi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: var(--shadow-glow);
}

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

.multi-card__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 16px;
}

.multi-card__features {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.multi-card__features p {
  margin-bottom: 6px;
}

.multi-card__btn {
  width: 100%;
}

/* ============================================
   STEPS (3-Step Activation)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.step-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-4px);
}

.step-card__number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-white);
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   WHATSAPP CTA SECTION
   ============================================ */
.whatsapp-cta {
  text-align: center;
  padding: 60px 0;
}

.whatsapp-cta__box {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.whatsapp-cta__icon {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.whatsapp-cta__icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-cta__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.whatsapp-cta__desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(230,57,70,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.feature-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.review-card:hover {
  border-color: rgba(230,57,70,0.2);
}

.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.review-card__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.review-card__info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.review-card__info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: rgba(230,57,70,0.2);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  background: transparent;
  border: none;
  gap: 16px;
}

.faq-item__question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-item__question svg {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer__logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer__logo span span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

.footer__bottom-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer__bottom-links a:hover {
  color: var(--primary-light);
}

/* ============================================
   INSTALLATION GUIDE
   ============================================ */
.guide__list {
  max-width: 800px;
  margin: 0 auto;
}

.guide-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.guide-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.guide-card__icon {
  font-size: 2rem;
}

.guide-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.guide-card__steps {
  margin-bottom: 16px;
}

.guide-card__steps li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.guide-card__steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.guide-card__apps {
  margin-bottom: 12px;
}

.guide-card__apps strong {
  font-size: 0.88rem;
  color: var(--text-white);
}

.guide-card__apps span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guide-card__note {
  padding: 12px 16px;
  background: rgba(230,57,70,0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-2px);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card__icon--wa {
  background: rgba(37,211,102,0.15);
  color: #25d366;
}

.contact-card__icon--email {
  background: rgba(230,57,70,0.12);
  color: var(--primary-light);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
}

.contact-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.error-page__code {
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page__title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-page__desc {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 70vh;
}

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

.legal__content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal__content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.legal__content p {
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal__content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal__content ul li {
  list-style: disc;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Page Hero (for subpages) */
.page-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__stat { text-align: center; }

  .hero__preview {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__toggle { display: flex; }
  .header__mobile-menu { display: block; }
  .header__mobile-overlay { display: block; }

  .section { padding: 60px 0; }

  .hero {
    padding: 5px;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 20px;
    min-height: auto;
  }

  .hero__inner {
    gap: 24px;
    padding: 0 12px;
  }

  .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero__stats { gap: 20px; }
  .hero__stat-value { font-size: 1.3rem; }
  .hero__stat-label { font-size: 0.75rem; }

  .hero__preview {
    max-width: 100%;
  }

  .tv-content {
    padding: 14px;
  }

  .tv-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tv-card { padding: 14px 8px; }
  .tv-card-icon { width: 36px; height: 36px; }
  .tv-card-icon img { width: 36px; height: 36px; }
  .tv-card-icon svg { width: 30px; height: 30px; }

  .steps { grid-template-columns: 1fr; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing__multi-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  .features__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }

  .compare__table { display: block; overflow-x: auto; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .status-pill { flex-direction: column; align-items: flex-start; gap: 4px; }
  .status-divider { width: 100%; height: 1px; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
