/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Default Dark Theme */
    --bg-darker: #070913;
    --bg-dark: #0c0e1b;
    --bg-card: rgba(20, 24, 46, 0.65);
    --bg-card-hover: rgba(28, 34, 64, 0.8);
    --bg-input: rgba(7, 9, 19, 0.5);
    --bg-slider: rgba(255, 255, 255, 0.1);
    --bg-badge: rgba(12, 14, 27, 0.85);
    --bg-tabs: rgba(20, 24, 46, 0.8);
    
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.4);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(139, 92, 246, 0.3);
    
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.25);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --select-arrow-bg: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

body.light-theme {
    --bg-darker: #f5f6fb;
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-input: rgba(255, 255, 255, 0.9);
    --bg-slider: rgba(0, 0, 0, 0.08);
    --bg-badge: rgba(255, 255, 255, 0.95);
    --bg-tabs: rgba(255, 255, 255, 0.95);
    
    --text-main: #374151;
    --text-muted: #6b7280;
    --text-inverse: #111827;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(124, 58, 237, 0.4);
    
    --primary: #7c3aed;
    --primary-glow: rgba(124, 58, 237, 0.2);
    --secondary: #0891b2;
    --secondary-glow: rgba(8, 145, 178, 0.2);
    
    --shadow-glow-purple: 0 10px 30px rgba(124, 58, 237, 0.08);
    --shadow-glow-cyan: 0 10px 30px rgba(8, 145, 178, 0.08);
    
    --select-arrow-bg: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(8, 145, 178, 0.04) 0px, transparent 50%);
}

body.light-theme .main-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .nav-link {
    color: #4b5563;
}

body.light-theme .nav-link:hover, 
body.light-theme .nav-link.active {
    color: #111827;
}

body.light-theme .glass-panel {
    background: var(--bg-card);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.light-theme .glass-panel:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.07) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.07) 0px, transparent 50%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    position: relative;
}

.section-padding {
    padding: 6rem 0;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-inverse);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg, #9b72f8 0%, #7275f3 100%);
}

.btn-primary-glow {
    position: relative;
}

.btn-primary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.btn-primary-glow:hover::after {
    opacity: 0.8;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #2563eb 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-inverse);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   GLASSMORPHISM & DECORATIVE EFFECTS
   ========================================================================== */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow-purple);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
}

.orb-1 {
    top: 10%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: var(--primary);
}

.orb-2 {
    bottom: 20%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
}

/* ==========================================================================
   TOP BAR BANNER
   ========================================================================== */
.top-banner {
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    background-size: 200% 200%;
    animation: gradient-scroll 6s ease infinite;
    padding: 0.45rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-inverse);
    z-index: 1001;
    position: relative;
}

@keyframes gradient-scroll {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: sticky;
    top: 15px; /* Spacing from top */
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 0 1rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-md);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-inverse);
}

.nav-logo {
    height: 36px;
    width: auto;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-inverse);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition-normal);
    border-radius: 99px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-inverse);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 16px var(--primary-glow);
}

.theme-toggle-btn:hover i {
    transform: rotate(20deg) scale(1.1);
}

body.light-theme .theme-toggle-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .theme-toggle-btn:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(79, 70, 229, 0.25);
}

.lang-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 0.35rem 0.65rem;
    gap: 0.35rem;
}

body.light-theme .lang-selector {
    background: rgba(0, 0, 0, 0.04);
}

.lang-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lang-selector select {
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.lang-selector select option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--text-inverse);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-inverse) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Image Wrapper */
.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-preview-img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    width: 100%;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-badge);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.85rem 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-badge i {
    font-size: 1.5rem;
}

.floating-badge h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.floating-badge p {
    font-size: 0.75rem;
}

.fb-1 {
    top: 15%;
    left: -15%;
    animation: float 4s ease-in-out infinite;
}

.fb-2 {
    bottom: 15%;
    right: -10%;
    animation: float 4.5s ease-in-out infinite alternate;
}

.text-cyan { color: var(--secondary); }
.text-purple { color: var(--primary); }
.text-orange { color: #f97316; }
.text-green { color: #22c55e; }
.text-blue { color: #3b82f6; }
.text-red { color: #ef4444; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   SECTION STANDARD HEADERS
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.feature-card p {
    font-size: 0.95rem;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-inverse);
}

.purple-glow {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--primary);
}
.cyan-glow {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--secondary);
}
.amber-glow {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}
.red-glow {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}
.green-glow {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.blue-glow {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* ==========================================================================
   CHANNELS & VOD PREVIEW
   ========================================================================== */
.channel-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.channel-tabs {
    display: inline-flex;
    background: var(--bg-tabs);
    border: 1px solid var(--border-color);
    padding: 0.35rem;
    border-radius: 99px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--text-inverse);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow-purple);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.channel-card {
    padding: 0.75rem;
    border-radius: 16px;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-5px);
}

.channel-img-placeholder {
    height: 160px;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

/* Background mock textures for placeholders */
.sports-1 { background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%); color: var(--primary); }
.sports-2 { background: linear-gradient(135deg, #111827 0%, #064e3b 100%); color: var(--success); }
.sports-3 { background: linear-gradient(135deg, #111827 0%, #7c2d12 100%); color: #ea580c; }
.sports-4 { background: linear-gradient(135deg, #111827 0%, #172554 100%); color: #3b82f6; }

.movies-1 { background: linear-gradient(135deg, #111827 0%, #581c87 100%); color: #a855f7; }
.movies-2 { background: linear-gradient(135deg, #111827 0%, #0f172a 100%); color: var(--text-muted); }
.movies-3 { background: linear-gradient(135deg, #111827 0%, #0369a1 100%); color: #0284c7; }
.movies-4 { background: linear-gradient(135deg, #111827 0%, #4c1d95 100%); color: #c084fc; }

.shows-1 { background: linear-gradient(135deg, #111827 0%, #1e293b 100%); color: var(--text-main); }
.shows-2 { background: linear-gradient(135deg, #111827 0%, #881337 100%); color: #e11d48; }
.shows-3 { background: linear-gradient(135deg, #111827 0%, #312e81 100%); color: #4f46e5; }
.shows-4 { background: linear-gradient(135deg, #111827 0%, #14532d 100%); color: #16a34a; }

.kids-1 { background: linear-gradient(135deg, #111827 0%, #164e63 100%); color: #0891b2; }
.kids-2 { background: linear-gradient(135deg, #111827 0%, #701a75 100%); color: #d946ef; }
.kids-3 { background: linear-gradient(135deg, #111827 0%, #022c22 100%); color: #059669; }
.kids-4 { background: linear-gradient(135deg, #111827 0%, #78350f 100%); color: #d97706; }

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--error);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.quality-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.font-size-xs {
    font-size: 0.65rem !important;
}

.category-icon {
    opacity: 0.25;
    transition: var(--transition-normal);
}

.channel-card:hover .category-icon {
    opacity: 0.6;
    transform: scale(1.1);
}

.channel-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-info p {
    font-size: 0.8rem;
}

/* ==========================================================================
   DEVICE COMPATIBILITY
   ========================================================================== */
.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.device-card {
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 24px;
}

.device-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.device-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.device-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.setup-guide {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 3rem;
    border-radius: 24px;
}

.setup-guide h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--text-inverse);
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-slider);
    border: 1px solid var(--border-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-inverse);
    transition: .4s;
    box-shadow: var(--shadow-sm);
}

input:checked + .slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.savings-badge {
    background: var(--secondary);
    color: var(--bg-darker);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    margin-left: 0.35rem;
    text-transform: uppercase;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 3.5rem;
}

.pricing-card {
    padding: 2.5rem 1.75rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular-plan {
    border: 2px solid var(--secondary);
    background: rgba(6, 182, 212, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glow-cyan);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.popular-plan:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.08);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary) 0%, #2563eb 100%);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.25rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-inverse);
    align-self: flex-start;
    margin-top: 0.2rem;
}

.price-val {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-inverse);
    line-height: 1;
}

.duration {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.plan-savings-text {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.plan-features li i {
    font-size: 1rem;
    margin-top: 0.15rem;
}

.plan-features li strong {
    color: var(--text-inverse);
}

.bonus-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.trial-banner {
    max-width: 900px;
    margin: 3.5rem auto 0;
    padding: 1.5rem 2.5rem;
    border-radius: 99px;
    font-size: 0.95rem;
}

.trial-banner p strong {
    color: var(--text-inverse);
}

.underline-hover {
    position: relative;
    font-weight: 600;
}

.underline-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--text-inverse);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content-inner {
    padding: 0 2rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT & SUPPORT SECTION
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-info-panel {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.whatsapp-color { color: #25d366; background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.2); }
.telegram-color { color: #229ed9; background: rgba(34, 158, 217, 0.1); border-color: rgba(34, 158, 217, 0.2); }
.mail-color { color: #ea4335; background: rgba(234, 67, 53, 0.1); border-color: rgba(234, 67, 53, 0.2); }

.info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.info-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.support-hours {
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.support-hours i {
    margin-right: 0.35rem;
    color: var(--secondary);
}

/* Contact Form Panel */
.contact-form-panel {
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-inverse);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-inverse);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
    background: var(--bg-card-hover);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: var(--select-arrow-bg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: var(--bg-darker);
    color: var(--text-inverse);
}

.form-feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    align-items: center;
    gap: 0.75rem;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-container {
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 32px;
}

.footer-tagline {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--text-inverse);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-purple);
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 0.85rem;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col ul li a:hover {
    color: var(--text-inverse);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    font-size: 0.8rem;
}

.footer-disclaimer {
    max-width: 900px;
    color: #6b7280;
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Large screens and tablets */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .pricing-card.popular-plan {
        transform: scale(1);
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        gap: 4rem;
    }
    .hero-image-container {
        max-width: 600px;
        margin: 0 auto;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .compatibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Small tablets and mobile phones */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: left 0.4s ease;
        border-top: 1px solid var(--border-color);
        padding-bottom: 5rem;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.25rem;
    }
    .nav-btn {
        width: 80%;
        padding: 0.95rem 1.75rem;
        font-size: 1.1rem;
    }
    
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .channel-tabs {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 16px;
        padding: 0.5rem;
    }
    .tab-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .channel-grid {
        grid-template-columns: 1fr;
    }
    .compatibility-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .trial-banner {
        border-radius: 20px;
        padding: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-panel {
        padding: 2rem 1.5rem;
    }
    .faq-trigger {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
    .faq-content-inner {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.85rem;
    }
    .fb-1 {
        left: -5%;
        top: 5%;
    }
    .fb-2 {
        right: -5%;
        bottom: 5%;
    }
}

/* ==========================================================================
   DYNAMIC CHANNEL SEARCH SHOWCASE
   ========================================================================== */
.channel-search-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.search-box-container {
    position: relative;
    width: 100%;
}

.search-box-container .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

#channel-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-normal);
}

#channel-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

body.light-theme #channel-search-input {
    background: rgba(255, 255, 255, 0.6);
    color: var(--bg-dark);
}

body.light-theme #channel-search-input:focus {
    background: rgba(255, 255, 255, 0.9);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.filter-tag {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tag:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}

.filter-tag.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow-purple);
}

body.light-theme .filter-tag {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .filter-tag:hover {
    background: rgba(0, 0, 0, 0.05);
}

.channel-logo-img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.channel-logo-fallback-icon {
    font-size: 2.2rem;
    color: var(--primary);
    opacity: 0.6;
}

.loading-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    gap: 1.25rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-weight: 500;
}

.loading-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results-container {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-muted);
    grid-column: 1 / -1;
    font-family: var(--font-body);
}

.no-results-container i {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* Floating WhatsApp Widget Styling */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10000;
    font-family: var(--font-body);
}

.whatsapp-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.whatsapp-toggle-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba59;
}

.whatsapp-toggle-btn .wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: wa-badge-bounce 1.2s infinite alternate;
}

@keyframes wa-badge-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.whatsapp-chat-bubble {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.whatsapp-chat-bubble.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-bubble-header {
    background-color: #075E54;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-avatar-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
}

.agent-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.agent-avatar-wrapper .online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-color: #4ade80;
    border-radius: 50%;
    border: 2px solid #075E54;
}

.agent-info h5 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.agent-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 2px 0 0 0;
}

.close-wa-bubble {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.close-wa-bubble:hover {
    color: #ffffff;
}

.whatsapp-bubble-body {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.wa-msg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-normal);
    line-height: 1.5;
    margin: 0;
    position: relative;
}

.wa-msg::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-bubble-footer {
    padding: 1.25rem;
    background-color: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
}

.wa-start-btn:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

/* IPTV Console Showcase Layout */
.iptv-console {
    display: flex;
    flex-direction: row;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.console-sidebar {
    width: 250px;
    background: rgba(10, 15, 30, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}

.console-sidebar-header {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0.5rem;
}

.console-sidebar-header i {
    color: var(--primary);
}

.console-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 4px;
}

.console-categories-list::-webkit-scrollbar {
    width: 4px;
}
.console-categories-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.console-cat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    width: 100%;
}

.console-cat-item i {
    font-size: 0.95rem;
    opacity: 0.8;
}

.console-cat-item.active {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    border-radius: 4px 10px 10px 4px;
    padding-left: calc(0.95rem - 3px);
}

.console-cat-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.console-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(10, 15, 30, 0.3);
    min-width: 0; /* Prevents flex children blowout */
}

.console-topbar {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: rgba(10, 15, 30, 0.2);
}

.console-search-container {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.console-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

.console-search-container input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.console-search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
    outline: none;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    flex-shrink: 0;
}

.console-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.console-scroll-viewport {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.console-scroll-viewport::-webkit-scrollbar {
    width: 6px;
}
.console-scroll-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}
.console-scroll-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.console-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem;
}

.console-channel-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 0;
}

.console-channel-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.console-chan-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    flex-shrink: 0;
}

.console-chan-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.console-logo-fallback-icon {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.75;
}

.live-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 5px;
    height: 5px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 0.5px solid #000000;
    animation: liveDotBlink 1.2s infinite;
}

@keyframes liveDotBlink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.console-chan-info {
    min-width: 0; /* Allows text truncation inside flexbox */
}

.console-chan-info h4 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.console-chan-info p {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin: 1px 0 0 0;
}

/* Responsive adjustments for IPTV console */
@media (max-width: 768px) {
    .iptv-console {
        flex-direction: column;
        height: auto;
        max-height: 650px;
    }

    .console-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem;
    }

    .console-sidebar-header {
        margin-bottom: 0.75rem;
    }

    .console-categories-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 0.5rem;
    }

    .console-cat-item {
        white-space: nowrap;
        width: auto;
        padding: 0.5rem 0.85rem;
    }

    .console-cat-item.active {
        border-left: none;
        border-bottom: 2px solid var(--primary);
        border-radius: 8px 8px 0 0;
        padding-left: 0.85rem;
        padding-bottom: calc(0.5rem - 2px);
    }

    .console-topbar {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .console-search-container {
        max-width: 100%;
    }

    .console-status {
        justify-content: flex-end;
    }

    .console-scroll-viewport {
        padding: 1rem;
        max-height: 380px;
    }
}




/* Device Selector Styles */
.device-selector-container { margin-top: 15px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.device-selector-container label { font-size: 0.9rem; color: var(--text-color); font-weight: 500; }
.device-selector { padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background-color: var(--bg-dark); color: var(--text-color); font-family: 'Inter', sans-serif; cursor: pointer; transition: border-color 0.3s; }
.device-selector:focus { outline: none; border-color: var(--primary-color); }

/* Live Pulse Dot */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse-live 2s infinite;
    margin-right: 8px;
}

@keyframes pulse-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.bg-surface { background-color: var(--bg-darker); }
/* --- PREMIUM FAQ ACCORDION --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow-purple);
    background: var(--bg-card-hover);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-inverse);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question i {
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--text-muted);
    font-size: 1rem;
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px var(--primary-glow);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.15);
}
.faq-item.active .faq-answer {
    max-height: 600px;
}
.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

body.light-theme .faq-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
body.light-theme .faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}
body.light-theme .faq-question {
    color: #0f172a;
}
body.light-theme .faq-question:hover {
    color: var(--primary);
}
body.light-theme .faq-answer {
    background: #f8fafc;
}
body.light-theme .faq-answer p {
    color: #475569;
}

/* --- PREMIUM SELECTOR --- */
.device-selector-container {
    margin-top: 1.5rem;
}
.device-selector {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 20px;
    border-radius: 99px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: #f8fafc !important;
    color: var(--text-inverse) !important;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    
    /* Custom Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
}
.device-selector:hover, .device-selector:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Custom Select Modern UI */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
    margin-top: 10px;
}
.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}
.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.custom-select__trigger:hover {
    background-color: #ffffff;
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.custom-select.open .custom-select__trigger {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.custom-select__trigger span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.arrow {
    position: relative;
    height: 10px;
    width: 10px;
    transition: transform 0.3s ease;
}
.arrow::before, .arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 100%;
    transition: all 0.3s ease;
    background-color: #64748b;
    border-radius: 2px;
}
.arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}
.arrow::after {
    left: 3px;
    transform: rotate(45deg);
}
.custom-select.open .arrow {
    transform: rotate(180deg);
}
.custom-select.open .arrow::before, .custom-select.open .arrow::after {
    background-color: #4f46e5;
}
.custom-options {
    position: absolute;
    display: block;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 99;
    overflow: hidden;
    backdrop-filter: blur(16px);
}
.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0) scale(1);
}
.custom-option {
    position: relative;
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}
.custom-option:last-of-type {
    border-bottom: none;
}
.custom-option:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
    padding-left: 24px;
}
.custom-option.selected {
    background: #f0f5ff;
    color: #4f46e5;
    font-weight: 600;
    padding-left: 24px;
    border-left: 3px solid #4f46e5;
}
.device-selector-container select {
    display: none !important;
}

/* FIX IPTV CONSOLE CONTRAST */
.iptv-console {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.console-sidebar {
    background: #0b1120 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.console-sidebar-header {
    color: #ffffff !important;
}
.console-cat-item {
    color: #94a3b8 !important;
}
.console-cat-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
}
.console-cat-item.active {
    background: rgba(79, 70, 229, 0.15) !important;
    color: #ffffff !important;
    border-left: 3px solid #4f46e5 !important;
}
.console-main {
    background: #0f172a !important;
}
.console-search-container {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.console-search-container input {
    color: #ffffff !important;
}
.console-search-container input::placeholder {
    color: #94a3b8 !important;
}
.console-search-icon {
    color: #94a3b8 !important;
}
.console-status-text {
    color: #94a3b8 !important;
}
.console-channel-card {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.console-channel-card:hover {
    background: #334155 !important;
    border-color: rgba(79, 70, 229, 0.5) !important;
}
.console-chan-info h4 {
    color: #f8fafc !important;
}
.console-chan-info p {
    color: #cbd5e1 !important;
}
.console-chan-logo {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Smooth Anchor Navigation */
section[id] {
    scroll-margin-top: 90px;
}

/* ==========================================================================
   POP-OUT DEVICE BUTTONS & 4-COLUMN PRICING GRID
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 3.5rem;
}

.device-pill-container {
    margin: 1.25rem 0;
    padding: 0.85rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.device-pill-container:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.device-pill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
}

.device-pill-header label {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.device-badge-text {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border-radius: 99px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.device-buttons-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}

.device-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.55rem 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    position: relative;
    user-select: none;
}

.device-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.device-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
    z-index: 2;
}

.price-val {
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

body.light-theme .device-pill-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .device-pill-container:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .device-btn {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

body.light-theme .device-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .device-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}
