/* ==========================================================================
   AnyTV Kurd - Modern Web Design System
   Inspired by anytvs.com + Curated Kurdish Experience
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-main: #070a12;
  --bg-surface: #0e1424;
  --bg-surface-elevated: #141d33;
  --bg-card: rgba(18, 26, 45, 0.7);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  
  --primary: #ff2d55;
  --primary-hover: #ff476d;
  --primary-glow: rgba(255, 45, 85, 0.4);
  --primary-subtle: rgba(255, 45, 85, 0.12);
  
  --accent-gold: #ffb800;
  --accent-cyan: #00d2ff;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 45, 85, 0.4);
  --border-focus: #ff2d55;
  
  /* Fonts */
  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ku: 'Vazirmatn', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 45, 85, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-ku);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 45, 85, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 100% 30%, rgba(139, 92, 246, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

[dir="ltr"] body {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ff6b87 60%, #ff2d55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffe082 0%, #ffb800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-subtle);
  border: 1px solid rgba(255, 45, 85, 0.3);
  border-radius: var(--radius-full);
  color: #ff5277;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap !important;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap !important;
}

.btn-primary {
  background: linear-gradient(135deg, #ff2d55 0%, #e1143f 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff476d 0%, #ff2d55 100%);
  box-shadow: 0 8px 30px rgba(255, 45, 85, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee06f 0%, #1da851 100%);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

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

/* Cards & Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 45, 85, 0.15);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 14px 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(7, 10, 18, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 45, 85, 0.4);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  line-height: 1;
}

.brand-title .badge-partner {
  font-size: 0.65rem;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.22), rgba(255, 45, 85, 0.08));
  border: 1px solid rgba(255, 45, 85, 0.45);
  color: #ff5b79;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap !important;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1.2;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Language Selector */
.lang-picker {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap !important;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f1627;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 130px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-dropdown.show {
  display: flex;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: start;
  width: 100%;
  transition: all 0.2s ease;
}

.lang-item:hover, .lang-item.active {
  background: rgba(255, 45, 85, 0.15);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.partner-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 45, 85, 0.08);
  border: 1px solid rgba(255, 45, 85, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #ff5277;
  font-weight: 600;
}

.partner-verified-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-typewriter {
  color: var(--primary);
  display: inline-block;
  min-height: 1.2em;
  border-right: 3px solid var(--primary);
  padding-right: 4px;
}

[dir="rtl"] .hero-typewriter {
  border-right: none;
  border-left: 3px solid var(--primary);
  padding-right: 0;
  padding-left: 4px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* Interactive Search Bar */
.hero-search-box {
  max-width: 600px;
  margin: 0 auto 28px;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(20, 28, 48, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

[dir="rtl"] .search-input-wrap {
  padding: 6px 20px 6px 8px;
}

.search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(255, 45, 85, 0.25);
}

.search-icon {
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 12px;
}

[dir="rtl"] .search-icon {
  margin-right: 0;
  margin-left: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.search-tag-pill {
  font-size: 0.82rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag-pill:hover, .search-tag-pill.active {
  background: rgba(255, 45, 85, 0.15);
  border-color: var(--primary);
  color: #fff;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Feature stats pills */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

.stat-badge svg {
  color: var(--primary);
}

/* 3D Visual Stage */
.hero-stage-container {
  margin-top: 50px;
  position: relative;
}

.hero-mockup-wrapper {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 45, 85, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.hero-mockup-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-mockup-wrapper:hover img {
  transform: scale(1.02);
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d55, #c70933);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(255, 45, 85, 0.7);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 50px rgba(255, 45, 85, 0.9);
}

.play-overlay-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 3px;
}

[dir="rtl"] .play-overlay-btn svg {
  margin-left: 0;
  margin-right: 3px;
}

/* ==========================================================================
   Section: Video Demos Showcase
   ========================================================================== */
.video-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0) 0%, rgba(14, 20, 36, 0.6) 50%, rgba(7, 10, 18, 0) 100%);
}

.video-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.video-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-tab-btn:hover, .video-tab-btn.active {
  background: rgba(255, 45, 85, 0.15);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.25);
}

.video-player-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 45, 85, 0.2);
  background: #000;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

.video-player-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Section: What is AnyTV & Features
   ========================================================================== */
.features-section {
  padding: 100px 0;
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.feature-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.feature-img-wrapper img {
  width: 100%;
  transition: transform 0.5s ease;
}

.feature-img-wrapper:hover img {
  transform: scale(1.03);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 45, 85, 0.05);
  border-color: rgba(255, 45, 85, 0.3);
  transform: translateX(6px);
}

[dir="rtl"] .feature-item:hover {
  transform: translateX(-6px);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 45, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* Grid of 6 Advantage Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.2) 0%, rgba(255, 45, 85, 0.05) 100%);
  border: 1px solid rgba(255, 45, 85, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   Section: Channels & Content Library
   ========================================================================== */
.channels-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.5) 0%, rgba(7, 10, 18, 0) 100%);
}

.channel-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cat-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-filter-btn:hover, .cat-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.channel-item-card {
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.channel-item-card:hover {
  background: rgba(255, 45, 85, 0.08);
  border-color: rgba(255, 45, 85, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.channel-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.channel-badge-res {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   Section: Device Setup & Installation Guides
   ========================================================================== */
.devices-section {
  padding: 100px 0;
}

.device-banner-card {
  margin-bottom: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.device-banner-card img {
  width: 100%;
}

.device-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.device-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.device-tab:hover, .device-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.4);
}

.device-guide-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.device-guide-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.guide-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

[dir="rtl"] .guide-step-item {
  border-left: none;
  border-right: 3px solid var(--primary);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.code-badge-copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 45, 85, 0.12);
  border: 1px dashed var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
}

/* ==========================================================================
   Section: Pricing & Packages
   ========================================================================== */
.pricing-section {
  padding: 110px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(255, 45, 85, 0.08) 0%, transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(32, 22, 44, 0.9) 0%, rgba(18, 26, 45, 0.9) 100%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 45, 85, 0.35);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.06) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #ff2d55, #c70933);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 45, 85, 0.5);
}

[dir="rtl"] .pricing-badge {
  right: auto;
  left: 28px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-price-box {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-period {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #ff8da1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

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

.plan-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   Section: FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(255, 45, 85, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: start;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================================================
   Section: CTA Banner
   ========================================================================== */
.cta-section {
  padding: 90px 0 120px;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(35, 15, 30, 0.9) 0%, rgba(18, 26, 45, 0.95) 100%);
  border: 1px solid rgba(255, 45, 85, 0.3);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 45, 85, 0.2);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-secondary);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

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

.social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

[dir="rtl"] .whatsapp-float-widget {
  right: auto;
  left: 28px;
}

.wa-bubble-tooltip {
  background: #111b2e;
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floatGentle 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-bubble-tooltip span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.wa-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #090e1a;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 130px 0 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}
