/* 
  styles.min.css - Optimized CSS file
  This file has been optimized for performance by:
  1. Reducing redundant styles
  2. Improving selector efficiency
  3. Optimizing animations
  4. Reducing expensive properties
  5. Using will-change for better rendering performance
*/

:root {
    /* Color Palette */
    --pro-primary: #9C44FF;
    --pro-secondary: #6200EA;
    --pro-gradient: linear-gradient(135deg, #9C44FF, #6200EA);
    --pro-gradient-soft: linear-gradient(135deg, rgba(156, 68, 255, 0.9), rgba(98, 0, 234, 0.9));
    --pro-glow: 0 0 30px rgba(156, 68, 255, 0.4);
    
    --lite-primary: #00E0FF;
    --lite-secondary: #0091EA;
    --lite-gradient: linear-gradient(135deg, #00E0FF, #0091EA);
    --lite-gradient-soft: linear-gradient(135deg, rgba(0, 224, 255, 0.9), rgba(0, 145, 234, 0.9));
    --lite-glow: 0 0 30px rgba(0, 224, 255, 0.4);
    
    --accent: #FF2D55;
    --accent-gradient: linear-gradient(135deg, #FF2D55, #FF5E3A);
    
    /* Neutral Colors */
    --dark-bg: #0A0A15;
    --darker-bg: #050510;
    --darkest-bg: #030308;
    --card-bg: rgba(10, 10, 21, 0.6);
    --light-text: #ffffff;
    --muted-text: rgba(255, 255, 255, 0.7);
    
    /* Glass Effect */
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);
    
    /* Border Radii */
    --border-radius-xs: 4px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 36px;
    --border-radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
    --pro-shadow: 0 10px 30px rgba(156, 68, 255, 0.2);
    --lite-shadow: 0 10px 30px rgba(0, 224, 255, 0.2);
    
    /* Animation Timing */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Spacing */
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 40px;
    --space-xl: 80px;
    
    /* Container Widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(156, 68, 255, 0.07), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(0, 224, 255, 0.07), transparent 30%);
    z-index: -1;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
}

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

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
}

/* ========== REUSABLE COMPONENTS ========== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    contain: content;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-text);
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--pro-gradient);
    color: white;
    box-shadow: var(--pro-shadow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 68, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    overflow: hidden;
    contain: layout paint style;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-pro {
    background: var(--pro-gradient);
    color: white;
    box-shadow: var(--pro-glow);
}

.badge-lite {
    background: var(--lite-gradient);
    color: white;
    box-shadow: var(--lite-glow);
}

/* Float Animation - Optimized */
@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
    50% { transform: translate3d(0, -20px, 0) rotate(5deg); }
}

/* Pulse Animation - Optimized */
@keyframes pulse {
    0%, 100% { transform: scale3d(1, 1, 1); }
    50% { transform: scale3d(1.05, 1.05, 1.05); }
}

/* Glow Animation - Optimized */
@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Fade In Animation - Optimized */
@keyframes fadeIn {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Elements that benefit from GPU acceleration */
.hero-bg-glow, .floating-shapes, .shape, .category-card, .service-card, 
.hero-image-container, .features-image-container, .comparison-handle {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* ========== HEADER STYLES ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
    contain: layout;
}

.header.scrolled {
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    margin-right: 10px;
    filter: drop-shadow(0 5px 15px rgba(156, 68, 255, 0.5));
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: rotate(10deg);
    filter: drop-shadow(0 5px 20px rgba(156, 68, 255, 0.8));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--lite-primary) 30%, var(--pro-primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: var(--transition-fast);
}

.logo:hover .logo-text {
    background-position: right center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 68, 255, 0.1), rgba(0, 224, 255, 0.1));
    border-radius: var(--border-radius-md);
    opacity: 0;
    z-index: -1;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    color: var(--lite-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 3px;
    background: var(--lite-primary);
    border-radius: 3px;
}

.nav-btn {
    background: var(--pro-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: var(--pro-glow);
    transition: var(--transition-medium);
}

.nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(156, 68, 255, 0.4);
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    contain: layout style;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    contain: strict;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    will-change: opacity;
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(156, 68, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 224, 255, 0.15), transparent 40%);
    animation-name: slow-spin;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
    will-change: transform;
    transform: translateZ(0);
    contain: strict;
}

@keyframes slow-spin {
    0% { transform: rotate(0deg) translateZ(0); }
    100% { transform: rotate(360deg) translateZ(0); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    contain: layout style;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation-name: float;
    animation-duration: 15s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: paused;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.shape:nth-child(1) {
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--pro-primary);
    top: 10%;
    left: 10%;
    animation-duration: 20s;
}

.shape:nth-child(2) {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--lite-primary);
    top: 20%;
    right: 10%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    background: var(--pro-secondary);
    bottom: 30%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    background: var(--lite-secondary);
    bottom: 10%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: 6s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    color: var(--lite-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s 0.2s forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s 0.4s forwards;
}

.hero-title span {
    display: block;
    background: var(--pro-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s 0.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s 0.8s forwards;
}

.hero-image-container {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
    contain: layout style paint;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    animation: pulse 6s infinite ease-in-out;
    will-change: transform;
}

.hero-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(156, 68, 255, 0.3), rgba(0, 224, 255, 0.3));
    border-radius: var(--border-radius-lg);
    filter: blur(30px);
    z-index: 0;
    animation: glow 5s infinite alternate;
    will-change: opacity, filter;
    transform: translateZ(0);
}

.hero-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    z-index: 2;
    pointer-events: none;
}

/* ========== PLANS SECTION ========== */
.plans-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--darkest-bg);
    contain: layout;
}

.plans-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    contain: strict;
}

.plans-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: fadeInOut 10s infinite alternate;
    will-change: opacity;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.plans-bg-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(156, 68, 255, 0.07), transparent 40%), 
                radial-gradient(circle at 80% 70%, rgba(0, 224, 255, 0.07), transparent 40%);
    transform: rotate(-15deg);
    animation: slowSpin 60s infinite linear;
    animation-play-state: paused;
    will-change: transform;
}

@keyframes slowSpin {
    0% { transform: rotate(-15deg) translateZ(0); }
    100% { transform: rotate(345deg) translateZ(0); }
}

/* Plan Tabs - Estilos mejorados */
.plan-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.plan-tab-container {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    overflow: hidden;
    width: auto;
    min-width: 400px;
    contain: layout;
}

.plan-tab {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 50px;
    min-width: 290px;
    text-align: center;
    flex: 1;
    letter-spacing: 0.5px;
}

.plan-tab.active {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tab-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
    will-change: transform;
}

.tab-slider.lite-active {
    background: var(--lite-gradient);
    box-shadow: var(--lite-glow);
    width: calc(50% - 5px);
    transform: translateX(0) translateZ(0);
}

.tab-slider.pro-active {
    background: var(--pro-gradient);
    box-shadow: var(--pro-glow);
    width: calc(50% - 5px);
    transform: translateX(calc(100% + 5px)) translateZ(0);
}

/* Comparison Slider - Estilos refinados y optimizados */
.comparison-slider-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    contain: layout;
}

.comparison-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    border-radius: 15px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: width;
    transform: translateZ(0);
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transition: left 0.3s cubic-bezier(0.19, 1, 0.22, 1), transform 0.2s ease;
    will-change: transform, left;
    transform: translate3d(-50%, -50%, 0);
    contain: paint layout;
}

.comparison-handle:active {
    cursor: grabbing;
    transform: translate3d(-50%, -50%, 0) scale(1.1);
}

.comparison-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, var(--lite-primary), var(--pro-primary));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
}

.comparison-values {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: -30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.comparison-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted-text);
}

.comparison-label {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    bottom: -30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.comparison-plan {
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.comparison-lite {
    color: var(--lite-primary);
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
}

.comparison-pro {
    color: var(--pro-primary);
    text-shadow: 0 0 10px rgba(156, 68, 255, 0.3);
}

/* Plan Cards - Diseño mejorado y optimizado */
.plan-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(0);
    border: none;
    padding: 3px;
    will-change: transform, box-shadow;
    contain: layout style paint;
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 3px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.6s ease;
}

.plan-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.plan-card:hover::before {
    opacity: 1;
}

/* Lite Card Specific Styles */
#litePlanCard {
    background: linear-gradient(165deg, rgba(15, 15, 30, 0.8), rgba(7, 7, 18, 0.95));
    border: 1px solid rgba(0, 224, 255, 0.05);
}

#litePlanCard::before {
    background: linear-gradient(145deg, rgba(0, 224, 255, 0.15), rgba(0, 150, 240, 0.05));
}

#litePlanCard:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(0, 224, 255, 0.15);
}

/* Pro Card Specific Styles */
#proPlanCard {
    background: linear-gradient(165deg, rgba(15, 15, 30, 0.8), rgba(7, 7, 18, 0.95));
    border: 1px solid rgba(156, 68, 255, 0.05);
}

#proPlanCard::before {
    background: linear-gradient(145deg, rgba(156, 68, 255, 0.15), rgba(98, 0, 234, 0.05));
}

#proPlanCard:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(156, 68, 255, 0.15);
}

.card-content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    padding: 50px;
    position: relative;
    border-radius: 37px;
    background-color: rgba(8, 8, 16, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    contain: content;
}

.card-main-content {
    position: relative;
    z-index: 2;
}

.card-title-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-title {
    font-size: 2.7rem;
    font-weight: 900;
    color: white;
    margin-right: 20px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Badges Mejorados */
.badge-pro, .badge-lite {
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.badge-pro {
    background: linear-gradient(135deg, #9C44FF, #6200EA);
    color: white;
}

.badge-lite {
    background: linear-gradient(135deg, #00E0FF, #0091EA);
    color: white;
}

.badge-pro::after, .badge-lite::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shineEffect 4s infinite linear;
    will-change: transform;
}

@keyframes shineEffect {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 50px;
    max-width: 95%;
    line-height: 1.7;
    font-weight: 300;
}

/* Stats Grid Mejorado */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    contain: layout;
}

.stat-item {
    background: rgba(12, 12, 24, 0.6);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
    will-change: transform, box-shadow;
    contain: layout paint;
}

/* Efecto de borde brillante para stats de Lite */
#litePlanCard .stat-item {
    border: 1px solid rgba(0, 224, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#litePlanCard .stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 224, 255, 0.15);
    border-color: rgba(0, 224, 255, 0.3);
    background: linear-gradient(145deg, rgba(0, 224, 255, 0.08), rgba(8, 8, 16, 0.6));
}

/* Efecto de borde brillante para stats de Pro */
#proPlanCard .stat-item {
    border: 1px solid rgba(156, 68, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#proPlanCard .stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(156, 68, 255, 0.15);
    border-color: rgba(156, 68, 255, 0.3);
    background: linear-gradient(145deg, rgba(156, 68, 255, 0.08), rgba(8, 8, 16, 0.6));
}

.stat-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

#litePlanCard .stat-icon {
    background: linear-gradient(145deg, rgba(0, 224, 255, 0.15), rgba(0, 145, 234, 0.05));
    box-shadow: 0 5px 15px rgba(0, 224, 255, 0.15);
}

#proPlanCard .stat-icon {
    background: linear-gradient(145deg, rgba(156, 68, 255, 0.15), rgba(98, 0, 234, 0.05));
    box-shadow: 0 5px 15px rgba(156, 68, 255, 0.15);
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon svg {
    transform: scale(1.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

#litePlanCard .stat-value {
    background: linear-gradient(to right, #ffffff, #00E0FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 224, 255, 0.2);
}

#proPlanCard .stat-value {
    background: linear-gradient(to right, #ffffff, #9C44FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(156, 68, 255, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.8px;
    margin-top: 5px;
}

/* Card Side Content */
.card-side-content {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quality-section {
    text-align: left;
}

.quality-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 35px;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.quality-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
}

#litePlanCard .quality-title::after {
    background: linear-gradient(to right, var(--lite-primary), transparent);
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

#proPlanCard .quality-title::after {
    background: linear-gradient(to right, var(--pro-primary), transparent);
    box-shadow: 0 0 10px rgba(156, 68, 255, 0.4);
}

.quality-badges-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.quality-badge {
    padding: 15px 0;
    border-radius: 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Quality badges para Lite */
#litePlanCard .quality-badge {
    background: rgba(8, 8, 16, 0.6);
    border: 1px solid rgba(0, 224, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #fff;
}

#litePlanCard .quality-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(0, 224, 255, 0.15), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: all 0.4s ease;
}

#litePlanCard .quality-badge:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(0, 224, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 224, 255, 0.2);
}

/* Quality badges para Pro */
#proPlanCard .quality-badge {
    background: rgba(8, 8, 16, 0.6);
    border: 1px solid rgba(156, 68, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #fff;
}

#proPlanCard .quality-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(156, 68, 255, 0.15), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: all 0.4s ease;
}

#proPlanCard .quality-badge:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(156, 68, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(156, 68, 255, 0.2);
}

#litePlanCard .quality-badge:hover::before,
#proPlanCard .quality-badge:hover::before {
    opacity: 1;
}

/* Plan Action Buttons */
.plan-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 30px auto 0;
    contain: content;
}

.btn-card {
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    z-index: -1;
    transition: all 0.6s ease;
    opacity: 0;
    will-change: transform, opacity;
}

.btn-card:hover::before {
    opacity: 1;
    animation: shineEffect 2s infinite linear;
}

/* Primer botón - GET SUBSCRIPTION */
.btn-card:nth-child(1) {
    /* Ahora usa el gradiente de Lite por defecto ya que Lite está seleccionado primero */
    background: var(--lite-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.3);
    border: none;
}

.btn-card:nth-child(1):hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 224, 255, 0.5);
}

/* Segundo botón - RENEW SUBSCRIPTION */
.btn-card:nth-child(2) {
    background: transparent;
    color: white;
    border: 2px solid var(--lite-primary);
    box-shadow: none;
}

.btn-card:nth-child(2):hover {
    background: rgba(0, 224, 255, 0.1);
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 224, 255, 0.2);
}

/* Tercer botón - TRIAL 24 HOURS */
.btn-card:nth-child(3) {
    background: rgba(10, 10, 21, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-card:nth-child(3):hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Clases para los botones cuando Pro está seleccionado */
.btn-primary-pro {
    background: var(--pro-gradient) !important;
    box-shadow: 0 10px 30px rgba(156, 68, 255, 0.3) !important;
}

.btn-primary-pro:hover {
    box-shadow: 0 15px 35px rgba(156, 68, 255, 0.5) !important;
}

.btn-secondary-pro {
    border: 2px solid var(--pro-primary) !important;
}

.btn-secondary-pro:hover {
    background: rgba(156, 68, 255, 0.1) !important;
    box-shadow: 0 10px 25px rgba(156, 68, 255, 0.2) !important;
}

.btn-trial-pro:hover {
    border-color: var(--pro-primary) !important;
}

/* Clases para los botones cuando Lite está seleccionado */
.btn-primary-lite {
    background: var(--lite-gradient) !important;
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.3) !important;
}

.btn-primary-lite:hover {
    box-shadow: 0 15px 35px rgba(0, 224, 255, 0.5) !important;
}

.btn-secondary-lite {
    border: 2px solid var(--lite-primary) !important;
}

.btn-secondary-lite:hover {
    background: rgba(0, 224, 255, 0.1) !important;
    box-shadow: 0 10px 25px rgba(0, 224, 255, 0.2) !important;
}

.btn-trial-lite:hover {
    border-color: var(--lite-primary) !important;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    contain: content;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
    contain: layout;
}

.features-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 8s ease-in-out infinite;
    animation-play-state: paused;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.features-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.features-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(156, 68, 255, 0.2), rgba(0, 224, 255, 0.2));
    z-index: 1;
    border-radius: var(--border-radius-lg);
}

.features-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--pro-primary), transparent, var(--lite-primary)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    z-index: 2;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: var(--space-md) var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    contain: layout paint;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pro-primary), var(--lite-primary));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    position: relative;
    z-index: 1;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.feature-content {
    flex-grow: 1;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* ========== FEATURED CHANNELS SECTION ========== */
.featured-channels-section {
    padding: var(--space-xl) 0;
    background-color: var(--darkest-bg);
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.featured-channels-container {
    position: relative;
    z-index: 1;
    contain: content;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    contain: layout;
}

.channel-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-play-state: paused;
    will-change: transform, opacity;
    contain: layout paint style;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar delay a cada tarjeta para el efecto escalonado */
.channel-card:nth-child(1) { animation-delay: 0.1s; }
.channel-card:nth-child(2) { animation-delay: 0.2s; }
.channel-card:nth-child(3) { animation-delay: 0.3s; }
.channel-card:nth-child(4) { animation-delay: 0.4s; }
.channel-card:nth-child(5) { animation-delay: 0.5s; }
.channel-card:nth-child(6) { animation-delay: 0.6s; }
.channel-card:nth-child(7) { animation-delay: 0.7s; }
.channel-card:nth-child(8) { animation-delay: 0.8s; }
.channel-card:nth-child(9) { animation-delay: 0.9s; }
.channel-card:nth-child(10) { animation-delay: 1s; }

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.channel-logo-container {
    padding: 15px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.channel-logo {
    max-width: 100%;
    max-height: 70px;
    transition: transform 0.3s ease;
}

.channel-card:hover .channel-logo {
    transform: scale(1.05);
}

.channel-info {
    padding: 15px;
    text-align: center;
}

.channel-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-text);
}

.channel-category {
    font-size: 0.8rem;
    color: var(--muted-text);
    padding: 3px 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: inline-block;
}

.channels-action {
    text-align: center;
    margin-top: 20px;
}

.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 30px;
}

.see-all-btn svg {
    transition: transform 0.3s ease;
}

.see-all-btn:hover svg {
    transform: translateX(5px);
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    contain: layout;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 2/3;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    contain: layout paint style;
}

.category-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    will-change: transform;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
    padding-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.category-card:hover .category-title {
    transform: translateY(-5px);
}

.category-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.category-card:hover .category-description {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

/* ========== STREAMING SERVICES SECTION ========== */
.streaming-section {
    padding: var(--space-xl) 0;
    background-color: var(--darkest-bg);
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.streaming-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    contain: strict;
}

.streaming-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.package-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.package-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.pro-title {
    background: linear-gradient(135deg, var(--pro-primary), var(--lite-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lite-title {
    background: linear-gradient(135deg, var(--lite-primary), #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.package-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pro-badge {
    background: var(--pro-gradient);
    color: var(--light-text);
    box-shadow: var(--pro-glow);
}

.lite-badge {
    background: var(--lite-gradient);
    color: var(--darkest-bg);
    box-shadow: var(--lite-glow);
}

.services-container {
    position: relative;
    z-index: 1;
    contain: content;
}

.services-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 30px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--pro-primary) var(--dark-bg);
    contain: layout;
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--pro-primary);
    border-radius: 10px;
}

.service-card {
    flex: 0 0 auto;
    width: 200px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInService 0.8s forwards;
    animation-play-state: paused;
    will-change: transform, box-shadow;
    contain: layout paint style;
}

@keyframes fadeInService {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar retrasos para efecto escalonado */
.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: center;
    transform: translateZ(20px);
}

.service-logo {
    height: 30px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.service-card:hover .service-logo {
    transform: scale(1.1);
    filter: brightness(1.2) invert(1);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.testimonial-container {
    position: relative;
    z-index: 1;
    contain: content;
}

.testimonial-large {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    contain: layout style paint;
}

.testimonial-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--pro-primary), var(--lite-primary));
    transition: all 0.3s ease;
}

.testimonial-large:hover::before {
    height: 10px;
}

.quote-icon {
    font-size: 5rem;
    opacity: 0.1;
    color: var(--pro-primary);
    position: absolute;
}

.quote-start {
    top: 20px;
    left: 20px;
}

.quote-end {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(to right, var(--pro-primary), var(--lite-primary)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.testimonial-large .author-photo {
    width: 100px;
    height: 100px;
    margin-right: 0;
    margin-bottom: 20px;
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-large .author-info {
    align-items: center;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.author-location {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.flag-icon {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.testimonial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    contain: layout;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    contain: layout paint style;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pro-primary), var(--lite-primary));
    transition: all 0.3s ease;
}

.testimonial-card:hover::before {
    width: 5px;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
    contain: content;
}

.faq-intro {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    contain: layout paint style;
}

.faq-intro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-subtitle {
    color: var(--muted-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--light-text);
}

.whatsapp-btn:hover {
    background-color: #20BA5C;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.tutorial-btn {
    background-color: #1877F2;
    color: var(--light-text);
}

.tutorial-btn:hover {
    background-color: #1464D9;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

.btn-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    contain: layout;
}

.accordion-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    contain: layout paint style;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background-color: rgba(156, 68, 255, 0.1);
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lite-primary);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--pro-primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.accordion-text {
    padding: 0 0 25px;
    color: var(--muted-text);
    line-height: 1.8;
}

.accordion-item.active .accordion-header {
    background-color: rgba(156, 68, 255, 0.1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-top: 5px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--darkest-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    contain: strict;
}

.footer-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.footer-container {
    position: relative;
    z-index: 1;
    contain: content;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0.8);
    transition: var(--transition-fast);
}

.footer-logo:hover img {
    filter: brightness(1);
    transform: rotate(5deg);
}

.footer-about {
    color: var(--muted-text);
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pro-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--light-text);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    transform: scale(1.2);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--pro-primary), var(--lite-primary));
    border-radius: 3px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--muted-text);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--pro-primary), var(--lite-primary));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-text);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.language-selector {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.language-option:hover,
.language-option.active {
    background-color: rgba(156, 68, 255, 0.1);
    border-color: rgba(156, 68, 255, 0.3);
    transform: translateY(-3px);
}

.language-option.active {
    border-color: var(--pro-primary);
}

.language-option img {
    width: 20px;
    height: 14px;
    margin-right: 8px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.footer-bottom-text {
    position: relative;
}

.footer-bottom-text::before,
.footer-bottom-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--pro-primary));
}

.footer-bottom-text::before {
    left: -70px;
}

.footer-bottom-text::after {
    right: -70px;
    background: linear-gradient(to left, transparent, var(--lite-primary));
}

/* ========== MODAL STYLES ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    contain: layout paint;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 600px;
    background: var(--dark-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    contain: layout style paint;
}

.modal-overlay.active .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--pro-primary), var(--lite-primary));
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-close::before, .modal-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    border-radius: 3px;
}

.modal-subtitle {
    color: var(--muted-text);
    font-size: 1.1rem;
}

.modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    contain: layout;
}

.option-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
    padding: 25px 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    contain: layout paint style;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.option-pro::before {
    background: var(--pro-gradient);
}

.option-lite::before {
    background: var(--lite-gradient);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.option-card:hover::before {
    opacity: 1;
}

.option-card.selected {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.option-card.selected.option-pro {
    border-color: var(--pro-primary);
    background-color: rgba(156, 68, 255, 0.1);
}

.option-card.selected.option-lite {
    border-color: var(--lite-primary);
    background-color: rgba(0, 224, 255, 0.1);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.option-radio {
    display: none;
}

.radio-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.option-pro .radio-indicator::after {
    background-color: var(--pro-primary);
}

.option-lite .radio-indicator::after {
    background-color: var(--lite-primary);
}

/* تكملة لملف CSS المحسن */

.option-card.selected .radio-indicator {
    border-color: var(--light-text);
}

.option-card.selected .radio-indicator::after {
    transform: translate(-50%, -50%) scale(1);
}

.option-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.option-pro .option-title {
    color: var(--pro-primary);
}

.option-lite .option-title {
    color: var(--lite-primary);
}

.option-price {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--light-text);
}

.option-feature {
    margin-top: 15px;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.modal-action {
    text-align: center;
}

.btn-confirm {
    background: linear-gradient(to right, var(--lite-primary), var(--pro-primary));
    color: var(--darkest-bg);
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(156, 68, 255, 0.3);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    will-change: transform, box-shadow;
}

.btn-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-confirm:hover::before {
    transform: translateX(100%);
}

.btn-confirm:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 68, 255, 0.4);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .container {
        max-width: var(--container-lg);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .plan-card {
        padding: 30px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 3;
        margin-bottom: 30px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: var(--container-md);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(10px);
        padding: 100px 30px 30px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 90;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        display: block;
        padding: 12px 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image-container {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .card-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .card-side-content {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 30px;
    }
    
    .comparison-slider-container {
        width: 100%;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .features-image-container {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .features-list {
        order: 2;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .faq-intro {
        position: static;
        margin-bottom: 40px;
    }
    
    .contact-buttons {
        flex-direction: row;
        gap: 20px;
    }
    
    .contact-btn {
        flex: 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .channels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quality-badges-vertical {
        flex-direction: row;
        gap: 15px;
    }
    
    .quality-badge {
        flex: 1;
        padding: 12px 5px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: var(--container-sm);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .modal-options {
        grid-template-columns: 1fr;
    }
    
    .plan-tab {
        padding: 12px 20px;
        font-size: 1rem;
        min-width: 140px;
    }
    
    .option-card {
        padding: 20px 15px;
    }
    
    .option-title {
        font-size: 1.3rem;
    }
    
    .comparison-slider-container {
        margin-bottom: 80px;
    }
    
    .plan-actions {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 2.2rem;
    }
    
    .badge-pro, .badge-lite {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .action-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .feature-icon {
        margin-bottom: 15px;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    .modal {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .option-price {
        font-size: 1rem;
    }
    
    .btn-confirm {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-tab-container {
        min-width: auto;
        width: 100%;
    }
    
    .plan-tab {
        min-width: auto;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .card-content-wrapper {
        padding: 25px;
    }
    
    .quality-badge {
        font-size: 1.1rem;
    }
    
    .quality-title {
        font-size: 1.5rem;
    }
}

/* إضافة تعزيزات الأداء */

/* تفعيل content-visibility للأقسام البعيدة عن العرض الأولي */
.featured-channels-section, 
.streaming-section, 
.testimonials-section, 
.faq-section, 
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* تسريع العناصر المتحركة باستخدام GPU */
.hero-bg-glow, 
.floating-shapes, 
.shape, 
.category-card, 
.service-card,
.hero-image-container,
.features-image-container,
.comparison-handle,
.plan-card,
.btn-card,
.quality-badge {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* تطبيق contain على العناصر الرئيسية لمنع إعادة حساب التخطيط */
.hero-section, 
.plans-section, 
.features-section, 
.streaming-section {
    contain: layout;
}

.plan-card, 
.feature-item, 
.category-card, 
.service-card,
.testimonial-large,
.testimonial-card,
.accordion-item {
    contain: layout paint style;
}

/* تحسين أداء الرسوم المتحركة مع تحديد سمة animation-play-state */
.hero-bg-glow,
.shape,
.floating-shapes,
.plans-bg-gradient {
    animation-play-state: paused;
}

.is-visible .hero-bg-glow,
.is-visible .shape,
.is-visible .floating-shapes,
.is-visible .plans-bg-gradient {
    animation-play-state: running;
}

/* إضافة classes لتحديد العناصر المرئية عند التمرير */
.is-visible {
    animation-play-state: running;
}