:root {
    --bg-dark: #070b15;
    --bg-card: #0f1629;
    --primary: #ff6d00;
    --primary-light: #ff9500;
    --accent: #df00bc;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --border: rgba(255, 255, 255, 0.1);
    --success: #00d68f;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- HERO --- */
/* INTERACTIVE HERO AURORA */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden; /* Encapsulate glows */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.video-active {
    padding-bottom: 8rem;
}

.hero-aurora-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.8s ease;
}

.aurora-hero-left {
    background: rgba(255, 109, 0, 0.4); /* Primary */
    width: 800px; height: 800px;
    top: -20%; left: -400px;
    border-radius: 50%;
    filter: blur(120px) !important;
    transition: left 2.5s cubic-bezier(0.5, 0, 0.2, 1), transform 2.5s cubic-bezier(0.5, 0, 0.2, 1);
}

.aurora-hero-right {
    background: rgba(223, 0, 188, 0.3); /* Purple Accent */
    width: 800px; height: 800px;
    bottom: -20%; right: -400px;
    border-radius: 50%;
    filter: blur(120px) !important;
    transition: right 2.5s cubic-bezier(0.5, 0, 0.2, 1), transform 2.5s cubic-bezier(0.5, 0, 0.2, 1);
}

/* Hover Interaction: Magnetic crash to exact center */
.hero:hover .aurora-hero-left {
    left: 50%;
    transform: translateX(-50%);
}

.hero:hover .aurora-hero-right {
    right: 50%;
    transform: translateX(50%);
}

/* Base text reset to ensure it stops immediately on mouse leave */
.hero h1, .hero .hero-subtitle, .hero .btn-primary {
    transition: filter 0.3s ease;
}

/* The color cycle starts precisely when the lights crash (after 2.5s) */
.hero:hover h1, .hero:hover .hero-subtitle, .hero:hover .btn-primary {
    animation: magneticColorCycle 1s linear infinite;
    animation-delay: 2.5s;
}

@keyframes magneticColorCycle {
    0% { filter: hue-rotate(0deg) drop-shadow(0 0 5px rgba(255,109,0,0.2)); }
    50% { filter: hue-rotate(180deg) drop-shadow(0 0 20px rgba(0,255,255,0.6)); }
    100% { filter: hue-rotate(360deg) drop-shadow(0 0 5px rgba(255,109,0,0.2)); }
}

/* Video Effect Retro-compatibility */
.hero.video-active .hero-aurora-bg {
    animation: heroElectricPulse 1.5s infinite alternate;
}

@keyframes heroElectricPulse {
    0% { opacity: 0.6; filter: drop-shadow(0 0 10px rgba(255,109,0,0.5)); }
    50% { opacity: 1; filter: drop-shadow(0 0 50px rgba(255,109,0,0.8)); }
    100% { opacity: 0.7; filter: drop-shadow(0 0 20px rgba(255,109,0,0.4)); }
}

/* Video wrapper - Premium Reveal */
#hero-video-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    perspective: 1500px;
}

#hero-video-wrapper.hero-video-visible {
    grid-template-rows: 1fr;
}

.video-responsive-container {
    overflow: hidden;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(255, 109, 0, 0.3), 0 40px 80px rgba(0,0,0,0.8);
    border: 2px solid var(--primary);
    background: #000;
    
    /* Efecto 3D / Despliegue premium */
    opacity: 0;
    transform: rotateX(-20deg) translateY(-50px) scale(0.9);
    transform-origin: top center;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#hero-video-wrapper.hero-video-visible .video-responsive {
    opacity: 1;
    transform: rotateX(0deg) translateY(0) scale(1);
    margin-top: 4rem;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* TYPEWRITER CURSOR EFFECT */
.typewriter {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
    .typewriter {
        display: block;
        min-height: 1.2em; /* Estabilidad en móvil */
        white-space: normal;
    }
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -10px;
    top: -5px;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.2rem !important;
        padding: 0 1rem;
    }
    .hero-cta .btn {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 109, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 109, 0, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 109, 0, 0.1);
}

/* --- SECTIONS --- */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2.2rem;
    }
}

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

/* --- PROBLEM SECTION --- */
/* EFECTO SEÑAL CORRUPTA / ESTÁTICA HACKER */
#problem {
    background-color: rgba(239,68,68,0.02);
    position: relative;
    overflow: hidden;
    /* Reseteo rápido al sacar el ratón */
    transition: background-color 0.5s ease;
}

#problem > .container {
    position: relative;
    z-index: 2; /* Mantiene la información legible sobre la niebla */
}

#problem::before, #problem::after {
    content: '';
    position: absolute;
    top: -10%; left: -10%; width: 120%; height: 120%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    /* Reseteo rápido de las capas al sacar el ratón */
    transition: opacity 0.5s ease;
}

/* Capa 1: Ruido de TV Estática (Grayscale SVG Noise) */
#problem::before {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
    mix-blend-mode: screen;
}

/* Capa 2: Scanlines estilo CRT Oscuro */
#problem::after {
    background: repeating-linear-gradient(
        transparent,
        transparent 3px,
        rgba(0,0,0,0.5) 3px,
        rgba(0,0,0,0.5) 6px
    );
}

/* Hover: Activación Gradual Lenta de la Corrupción */
#problem:hover::before {
    opacity: 0.25; /* Sube la intensidad final para que el final sea catastrófico */
    animation: staticTVNoise 0.2s infinite steps(2);
    transition: opacity 12s ease-in; /* Tarda 12 segundos en empeorar hasta el máximo */
}

#problem:hover::after {
    opacity: 1;
    animation: scanlineMove 8s linear infinite;
    transition: opacity 8s ease-in; /* Las líneas de scanéo tardan 8s en ser super visibles */
}

#problem:hover {
    background-color: #020305; 
    transition: background-color 6s ease; /* La luz ambiental se apaga paulatinamente a lo largo de 6s */
}

@keyframes staticTVNoise {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 5px); }
    100% { transform: translate(5px, -5px); }
}

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- PRICING --- */
#pricing {
    background: rgba(255,109,0,0.01);
    padding: 8rem 0;
}

/* --- IMMERSIVE BRIDGE SECTION --- */
.immersive-bridge {
    position: relative;
    padding: 12rem 0;
    background: #050810;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bridge-grid-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    opacity: 0.15;
    transform: perspective(1000px) rotateX(60deg) translateY(0);
    animation: gridTravel 30s linear infinite;
}

@keyframes gridTravel {
    0% { transform: perspective(1000px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(1000px) rotateX(60deg) translateY(600px); }
}

.bridge-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
}

.bridge-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 0%, var(--primary) 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 6s linear infinite;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

.bridge-visual {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.visual-item {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.visual-item.chaos {
    color: #ff4d4d;
    box-shadow: 0 0 20px rgba(255,77,77,0.1);
}

.visual-item.freedom {
    color: #00d68f;
    box-shadow: 0 0 30px rgba(0,214,143,0.2);
    border-color: rgba(0,214,143,0.3);
}

.bridge-line {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,77,77,0.5), rgba(0,214,143,0.5));
    position: relative;
    box-shadow: 0 0 0px transparent;
    transition: background 0.5s ease, height 0.5s ease, box-shadow 0.5s ease;
}

/* Base JS Particle */
.bridge-particle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px #fff;
    opacity: 0;
    pointer-events: none;
    /* transition left to make JS percentage changes smooth */
    transition: filter 0.3s, background 0.5s, box-shadow 0.3s;
}

.particle-chaos-spark {
    background: #ef4444;
    box-shadow: 0 0 25px #ef4444, 0 0 10px #fff;
    animation: sparkFlicker 0.1s infinite;
}

@keyframes sparkFlicker {
    0% { transform: translateY(-50%) scale(1); filter: brightness(1); }
    50% { transform: translateY(-50%) scale(1.4); filter: brightness(1.5); }
    100% { transform: translateY(-50%) scale(0.8); filter: brightness(0.8); }
}

.freedom-beam {
    height: 3px !important;
    background: #00d68f !important;
    box-shadow: 0 0 35px #00d68f, 0 0 15px #fff !important;
}

@media (max-width: 768px) {
    .bridge-title { font-size: 2.5rem; letter-spacing: -1px; }
    .bridge-visual { flex-direction: column; gap: 1.5rem; }
    .bridge-line { width: 1px; height: 120px; background: linear-gradient(180deg, rgba(255,77,77,0.5), rgba(0,214,143,0.5)); }
    .bridge-particle { left: 50%; top: 0; transform: translateX(-50%); }
    .particle-chaos-spark { animation: sparkFlickerY 0.1s infinite; }
}

@keyframes sparkFlickerY {
    0% { transform: translateX(-50%) scale(1); filter: brightness(1); }
    50% { transform: translateX(-50%) scale(1.4); filter: brightness(1.5); }
    100% { transform: translateX(-50%) scale(0.8); filter: brightness(0.8); }
}

.problem-card {
    background: rgba(255,255,255,0.02);
    padding: 3rem;
    border-radius: 24px;
    border-top: 5px solid #ef4444;
}

.problem-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.problem-card p {
    color: var(--text-muted);
}

/* --- Z-PATTERN --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 10rem;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1.2;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid var(--border);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

/* --- MARKETPLACE --- */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    perspective: 1200px;
}

/* FLIP CARD SYSTEM */
.card-flip-container {
    height: 380px;
    perspective: 1200px;
    cursor: pointer;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-flip-container.flipped .card-flip-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.card-front {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.card-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.card-front .info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card-front h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-back {
    transform: rotateY(180deg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #0f1629 0%, #171f3a 100%);
    border: 2px solid var(--primary) !important;
}

.card-back i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card-back p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.card-back strong {
    color: #fff;
    display: block;
    margin-top: 1rem;
}

.card-flip-container:hover .card-front {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 109, 0, 0.1);
}

/* More Stacked Cards Effect */
.market-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.card-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.mini-card {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: absolute;
    transition: transform 0.3s;
}

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

/* Positioning for stack */
.mini-card:nth-child(1) { transform: translateX(-180px) rotate(-15deg); }
.mini-card:nth-child(2) { transform: translateX(-120px) rotate(-5deg); z-index: 2; }
.mini-card:nth-child(3) { transform: translateX(-60px) rotate(10deg); z-index: 3; }
.mini-card:nth-child(4) { transform: translateX(0) rotate(-2deg); z-index: 4; }
.mini-card:nth-child(5) { transform: translateX(60px) rotate(8deg); z-index: 3; }
.mini-card:nth-child(6) { transform: translateX(120px) rotate(-12deg); z-index: 2; }
.mini-card:nth-child(7) { transform: translateX(180px) rotate(5deg); }

.card-stack:hover .mini-card {
    transform: translateY(-10px) scale(1.1);
}

/* --- PRICING --- */
#pricing {
    position: relative;
    padding: 10rem 0;
    background: #050810;
    overflow: hidden;
}

/* AMBIENT AURORA BACKGROUND EFFECT */
.pricing-energy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: #050810;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.aurora-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
    animation: auroraFloat 15s infinite ease-in-out alternate;
}

.aurora-1 {
    width: 700px; height: 700px;
    background: rgba(255, 109, 0, 0.4);
    top: -20%; left: -10%;
    animation-delay: 0s;
}

.aurora-2 {
    width: 800px; height: 800px;
    background: rgba(223, 0, 188, 0.2);
    bottom: -20%; right: -10%;
    animation-delay: -7s;
    animation-duration: 22s;
}

.aurora-3 {
    width: 900px; height: 500px;
    background: rgba(0, 214, 143, 0.15);
    top: 30%; left: 20%;
    animation-delay: -14s;
    animation-duration: 28s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(5%, 8%) scale(1.1) rotate(5deg); }
    66% { transform: translate(-3%, 4%) scale(0.95) rotate(-3deg); }
    100% { transform: translate(6%, -5%) scale(1.15) rotate(2deg); }
}

/* --- PRICING SLIDER --- */
.pricing-slider {
    width: 100%;
    max-width: 1200px;
    margin: 8rem auto 3rem;
    height: 650px;
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Living Card Base */
.pricing-slider .price-card {
    position: absolute;
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4.5rem 2.5rem 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pricing-slider .price-card.active {
    opacity: 1;
    transform: translate3d(0, 0, 100px);
    z-index: 10;
    pointer-events: auto;
    background: #0a1120;
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 109, 0, 0.15);
}

.pricing-slider .price-card.prev {
    opacity: 0.5;
    transform: translate3d(-65%, 0, -250px) rotateY(30deg);
    z-index: 5;
    pointer-events: auto;
    filter: blur(1px);
}

.pricing-slider .price-card.next {
    opacity: 0.5;
    transform: translate3d(65%, 0, -250px) rotateY(-30deg);
    z-index: 5;
    pointer-events: auto;
    filter: blur(1px);
}

.pricing-slider .price-card.hidden {
    opacity: 0;
    transform: translate3d(0, 0, -400px);
    z-index: 1;
}

@media (max-width: 992px) {
    .pricing-slider {
        height: 600px;
    }
    .pricing-slider .price-card.prev {
        transform: translate3d(-20%, 0, -250px) rotateY(15deg);
        opacity: 0.15;
    }
    .pricing-slider .price-card.next {
        transform: translate3d(20%, 0, -250px) rotateY(-15deg);
        opacity: 0.15;
    }
}

.price-card:hover {
    box-shadow: 0 30px 60px rgba(255, 109, 0, 0.2);
}

/* FEATURED CARD ELITE BADGE */
.pricing-slider .price-card .badge-plan {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 15;
}

/* Mejora de legibilidad para el contenido del plan destacado */
.pricing-slider .price-card.active .features-list li {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-slider .price-card.active .price-setup {
    color: rgba(255, 255, 255, 0.75);
}
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Mejora de legibilidad para el contenido del plan destacado */
.price-card.featured .features-list li {
    color: rgba(255, 255, 255, 0.9);
}

.price-card.featured .price-setup {
    color: rgba(255, 255, 255, 0.7);
}

.price-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-setup {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.features-list {
    list-style: none;
    margin-bottom: 3.5rem;
    text-align: left;
}

.features-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.features-list li strong {
    color: #fff;
}

.features-list li::before {
    content: '\F272'; /* bi-check2-circle fallback pattern or icon */
    font-family: "bootstrap-icons";
    color: var(--success);
    font-weight: bold;
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

/* --- COMPARISON TABLE --- */
.comparison-wrapper {
    margin-top: 6rem;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -1rem;
        padding: 0 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .comparison-table {
        min-width: 700px;
    }
    /* Desactivar columna fija en móvil para permitir arrastre total */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: static !important;
        background: transparent !important;
    }
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-header h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.comparison-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #fff;
    position: sticky;
    left: 0;
    background: rgba(10, 17, 32, 0.95); /* Color de fondo oscuro para no revelar la tabla detrás */
    z-index: 2;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: rgba(255, 109, 0, 0.05);
    border-left: 1px solid rgba(255, 109, 0, 0.2);
    border-right: 1px solid rgba(255, 109, 0, 0.2);
}

.comparison-table th.highlight {
    border-top: 3px solid var(--primary);
    color: var(--primary);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table tr:hover td.highlight {
    background: rgba(255, 109, 0, 0.1);
}

.category-row td {
    text-align: left !important;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 1rem 1.5rem !important;
}

.text-success { color: var(--success); font-size: 1.2rem; }
.text-danger { color: #ef4444; font-size: 1.2rem; }

.table-mobile-hint {
    display: none;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .table-mobile-hint {
        display: block;
        animation: pulse 2s infinite;
    }
}

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

/* --- FAQ --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

details {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

summary {
    padding: 1.5rem 2rem;
    list-style: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

details[open] summary::after {
    content: '-';
}

div.faq-content {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
    padding: 8rem 0 4rem;
    background: #020610;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

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

.cta-final {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,109,0,0.1) 0%, transparent 100%);
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 1px solid rgba(255,109,0,0.2);
}

.copyright {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 6rem;
    }
    .feature-content h3 {
        font-size: 2.2rem;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .mobile-only {
        display: block;
    }
}

.mobile-only {
    display: none;
}

/* --- TESTIMONIALS SLIDER --- */
#testimonials {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255,109,0,0.02) 100%);
    padding: 8rem 0;
    overflow: hidden;
    position: relative;
}

.testimonial-slider {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0;
    height: 520px;
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

.testimonial-card.active {
    opacity: 1;
    transform: translate3d(0, 0, 100px);
    z-index: 10;
    pointer-events: auto;
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 30px rgba(255, 109, 0, 0.1);
}

.testimonial-card.prev {
    opacity: 0.4;
    transform: translate3d(-50%, 0, -250px) rotateY(45deg);
    z-index: 5;
    pointer-events: auto;
    filter: blur(2px);
}

.testimonial-card.next {
    opacity: 0.4;
    transform: translate3d(50%, 0, -250px) rotateY(-45deg);
    z-index: 5;
    pointer-events: auto;
    filter: blur(2px);
}

.testimonial-card.hidden {
    opacity: 0;
    transform: translate3d(0, 0, -500px) scale(0.5);
    z-index: 0;
}

/* Card Internal Elements */
.testimonial-quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    color: rgba(255,109,0,0.05);
    line-height: 1;
    font-family: serif;
    pointer-events: none;
}

.testimonial-stars {
    color: #ffb400;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 214, 143, 0.1);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1rem;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 90%;
        padding: 2rem;
    }
    .testimonial-slider {
        height: 480px;
    }
    .testimonial-card.prev {
        transform: translate3d(-35%, 0, -300px) rotateY(35deg);
    }
    .testimonial-card.next {
        transform: translate3d(35%, 0, -300px) rotateY(-35deg);
    }
}
/* --- MOBILE PRELOADER --- */
#mobile-preloader {
    display: none;
}

@media (max-width: 768px) {
    #mobile-preloader {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 50;
        background-color: var(--bg);
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: opacity 0.6s ease-out;
    }
    .loader-content {
        text-align: center;
    }
    .loader-content .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid rgba(255, 109, 0, 0.2);
        border-top: 3px solid var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
}
