/* CSS Variables */
:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #ff4757;
    --accent-color: #5f27cd;
    --success-color: #00d2d3;
    --warning-color: #ff9ff3;
    
    --bg-dark: #0c0c0c;
    --bg-dark-secondary: #1a1a1a;
    --bg-dark-tertiary: #2d2d2d;
    --bg-card: #1e1e1e;
    --bg-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #5f27cd 100%);
    --gradient-secondary: linear-gradient(135deg, #ff4757 0%, #ff9ff3 100%);
    --gradient-success: linear-gradient(135deg, #00d2d3 0%, #00d4ff 100%);
    
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max-width: 1400px;
    --section-padding: 100px 0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Mobile First Base Styles */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(3rem, 6vw, 5rem); 
    font-weight: 800;
}

h2 { 
    font-size: clamp(2.25rem, 4vw, 3.5rem); 
    font-weight: 700;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.25rem); 
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-large {
    font-size: 1.25rem;
}

.text-small {
    font-size: 0.875rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.5); }
}

/* Float animation removed for better performance */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.header.scrolled {
    background: rgba(12, 12, 12, 0.98);
    box-shadow: var(--shadow-md);
}

/* Mobile Navigation Base */
.mobile-menu-toggle {
    display: none;
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

section:first-of-type {
    padding-top: calc(var(--section-padding) + 80px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(95, 39, 205, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 71, 87, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-title .brand {
    color: var(--text-primary);
    font-size: 0.4em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
}

.hero-title .subtitle {
    color: var(--text-secondary);
    font-size: 0.5em;
    font-weight: 600;
    display: block;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-item img {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    opacity: 0.1;
    z-index: -1;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Hover effects removed for better mobile performance */

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    border-radius: var(--border-radius-lg);
}

.cta-button img {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(107%) contrast(107%);
}

/* What is IPTV Section */
.what-is-iptv {
    background: var(--bg-dark-secondary);
    position: relative;
}

.what-is-iptv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.content-text h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.content-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.benefits-list li:hover {
    background: var(--bg-dark-tertiary);
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.benefits-list img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.benefits-list span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.content-visual {
    position: relative;
}

.content-visual::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: var(--gradient-success);
    border-radius: var(--border-radius-lg);
    opacity: 0.1;
    z-index: -1;
}

.content-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

/* Image hover effects removed for better performance */

/* Advantages Section */
.advantages {
    background: var(--bg-dark);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.advantage-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Compatibility Section */
.compatibility {
    background: var(--bg-dark-secondary);
    position: relative;
}

.compatibility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(95, 39, 205, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.devices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.device-category h3 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2rem;
}

.device-icons, .app-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.device-item, .app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.device-item:hover, .app-item:hover {
    background: var(--bg-dark-tertiary);
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.device-item img, .app-item img {
    width: 56px;
    height: 56px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
    transition: var(--transition);
}

.device-item:hover img, .app-item:hover img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(107%) contrast(107%);
}

.device-item span, .app-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Content Universe Section */
.content-universe {
    background: var(--bg-dark);
}

.content-categories {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.category-section h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.category-section h3 img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.category-item:hover {
    transform: translateY(-10px);
    background: var(--bg-dark-tertiary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.category-item img {
    width: 64px;
    height: 64px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
    transition: var(--transition);
}

.category-item:hover img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(107%) contrast(107%);
}

.category-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.movies-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.movie-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.movie-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.movie-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.movie-item:hover img {
    transform: scale(1.1);
}

.movie-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--text-primary);
    padding: 3rem 1.5rem 1.5rem;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
}

.series-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.series-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

/* Series image hover effects removed for better performance */

.series-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.series-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.series-text li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.series-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-dark-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

.step-content img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* FAQ Section */
.faq {
    background: var(--bg-dark);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--bg-dark);
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 2.5rem 2rem;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    background: var(--bg-gradient);
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(95, 39, 205, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 3rem;
}

.cta-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cta-feature img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.cta-feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.cta-action {
    text-align: center;
}

.cta-disclaimer {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-whatsapp:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.footer-whatsapp:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.footer-whatsapp img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column li:not(:has(a)) {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links span {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.footer-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-description a:hover {
    text-decoration: underline;
}

.content-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-text a:hover {
    text-decoration: underline;
}

/* Styles for policy and terms pages */
main h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

main h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

main h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

main ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

main li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

main p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

main a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

main a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZED
   ======================================== */

/* ========================================
   MOBILE FIRST BASE STYLES (0-767px)
   ======================================== */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Mobile Header */
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark-secondary);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        text-align: center;
    }
    
    .header-btn {
        display: none;
    }
    
    /* Mobile Layout */
    .hero-content,
    .content-grid,
    .devices-grid,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .series-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Mobile Typography */
    h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
    h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
    
    .hero-title .brand {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-title .subtitle {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Mobile Grids */
    .advantages-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .movies-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .device-icons,
    .app-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mobile Features */
    .hero-features,
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-item,
    .cta-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.875rem 1rem;
    }
    
    /* Mobile Buttons */
    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .cta-button.large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    /* Mobile Cards */
    .advantage-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .advantage-card img {
        width: 70px;
        height: 70px;
    }
    
    .device-item,
    .app-item,
    .category-item {
        padding: 1.5rem 1rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .step-content img {
        width: 60px;
        height: 60px;
    }
    
    /* Mobile FAQ */
    .faq-question {
        padding: 1.25rem 1rem;
        min-height: 60px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        margin: 0;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1.25rem;
    }
    
    /* Mobile Images */
    .hero-image {
        max-height: 280px;
        object-fit: cover;
        border-radius: var(--border-radius);
    }
    
    .movie-item img {
        height: 180px;
    }
    
    /* Mobile Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    /* Mobile Optimizations */
    .advantage-card:hover,
    .device-item:hover,
    .app-item:hover,
    .category-item:hover,
    .step:hover {
        transform: none;
    }
    
    /* Touch-friendly spacing */
    .nav-link,
    .cta-button,
    .faq-question {
        min-height: 44px;
    }
}

/* ========================================
   EXTRA SMALL MOBILE (0-480px)
   ======================================== */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .logo img {
        height: 40px;
    }
    
    h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    h3 { font-size: clamp(1.125rem, 3.5vw, 1.5rem); }
    
    .movies-showcase,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1rem;
    }
    
    .advantage-card img {
        width: 60px;
        height: 60px;
    }
    
    .cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .feature-item,
    .cta-feature {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .step-content img {
        width: 50px;
        height: 50px;
    }
    
    .movie-item img {
        height: 160px;
    }
}

/* ========================================
   TABLET STYLES (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 24px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav {
        position: static;
        background: transparent;
        border: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: row;
        padding: 0;
        gap: 1.5rem;
    }
    
    .nav-link {
        padding: 0;
        border: none;
        font-size: 0.85rem;
        text-align: left;
    }
    
    .header-btn {
        display: inline-flex;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Tablet Layout */
    .hero-content,
    .content-grid,
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .series-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .movies-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .device-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .hero-features,
    .cta-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .feature-item,
    .cta-feature {
        width: auto;
        max-width: none;
    }
    
    .cta-button {
        width: auto;
        max-width: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ========================================
   DESKTOP STYLES (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .hero-content,
    .content-grid,
    .devices-grid,
    .cta-content,
    .footer-main {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 5rem;
    }
    
    .series-info {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 4rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .movies-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .device-icons,
    .app-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-features,
    .cta-features {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ========================================
   LARGE DESKTOP STYLES (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .movies-showcase {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .device-icons,
    .app-icons {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Performance Optimizations for Cloudflare Pages */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
    decoding: async;
    font-size: 0; /* Prevent text baseline issues */
}

/* Critical images should load immediately */
.hero-image,
.logo img,
.footer-logo img {
    loading: eager;
}

/* Prevent layout shift for all images */
img[width][height] {
    height: auto;
}

/* Optimize font rendering */
body {
    font-display: swap;
    text-rendering: optimizeSpeed;
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Reduce layout shift */
.hero-image {
    aspect-ratio: 683/382;
    object-fit: cover;
    display: block;
}

.content-visual img {
    aspect-ratio: 700/440;
    object-fit: cover;
    display: block;
}

.series-image {
    aspect-ratio: 400/400;
    object-fit: cover;
    display: block;
}

/* GPU acceleration optimized for performance */
.cta-button,
.advantage-card,
.device-item,
.app-item,
.category-item,
.step,
.faq-item {
    transform: translateZ(0);
}

/* Background optimization */
.hero-background {
    transform: translateZ(0);
}

/* Reduce paint complexity */
.header,
.footer {
    contain: layout style paint;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.cta-button:focus,
.faq-question:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Icon Color Variations */
.icon-primary {
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(180deg) brightness(101%) contrast(101%) !important;
}

.icon-white {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(107%) contrast(107%) !important;
}

.icon-secondary {
    filter: brightness(0) saturate(100%) invert(35%) sepia(91%) saturate(2618%) hue-rotate(335deg) brightness(101%) contrast(101%) !important;
}

.icon-success {
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(2618%) hue-rotate(160deg) brightness(101%) contrast(101%) !important;
}

/* Icon animations removed for better performance */

/* ========================================
   MOBILE SPECIFIC ENHANCEMENTS
   ======================================== */

/* Touch-friendly interactions */
@media (max-width: 767px) {
    /* Improve tap targets */
    .cta-button,
    .faq-question,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better mobile typography */
    p {
        line-height: 1.6;
        font-size: 1rem;
    }
    
    /* Mobile-optimized animations */
    .animate-on-scroll {
        animation-duration: 0.4s;
    }
    
    /* Reduce motion for better performance */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Mobile-specific hover states (remove hover effects) */
    .advantage-card:hover,
    .device-item:hover,
    .app-item:hover,
    .category-item:hover,
    .movie-item:hover,
    .step:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    /* Better mobile spacing */
    .hero {
        padding-top: 80px;
    }
    
    /* Mobile-optimized images */
    .hero-image {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    
    .content-visual img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* Mobile menu improvements */
    .nav.nav-open {
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile footer improvements */
    .footer-whatsapp {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Performance Enhancements */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}