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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --primary: #00ff88;
    --secondary: #00d4ff;
    --accent: #ff006e;
    --text: #ffffff;
    --text-muted: #8888aa;
    --border: #2a2a3a;
}

html {
    scroll-behavior: smooth;
}

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

/* Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.cta-btn {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 5%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 5% 4rem;
    gap: 4rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary);
}

.glitch {
    position: relative;
    color: var(--secondary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(30px, 9999px, 60px, 0); }
    60% { clip: rect(70px, 9999px, 90px, 0); }
    80% { clip: rect(20px, 9999px, 40px, 0); }
    100% { clip: rect(90px, 9999px, 110px, 0); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    transform: translateY(-3px);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.window-body {
    padding: 1.5rem;
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
}

.window-body code {
    display: block;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.4s ease-out forwards;
}

.window-body code:nth-of-type(1) { animation-delay: 0.5s; }
.window-body code:nth-of-type(2) { animation-delay: 0.7s; }
.window-body code:nth-of-type(3) { animation-delay: 0.9s; }
.window-body code:nth-of-type(4) { animation-delay: 1.1s; }

.keyword { color: var(--accent); }
.attr { color: var(--secondary); }
.string { color: var(--primary); }

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Proceso */
.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.proceso-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.proceso-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.proceso-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

/* Planes */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.plan-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.plan-badge.popular {
    background: var(--primary);
    color: var(--bg-dark);
}

.plan-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.plan-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.precio-tachado {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.precio-actual {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
}

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

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.plan-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.plan-note span {
    text-align: left;
    display: inline-block;
}

.plan-note strong {
    color: var(--text-light);
    font-weight: 800;
}

.plan-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.plan-btn.primary {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Casos */
.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.caso-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.caso-card:hover {
    border-color: var(--secondary);
    transform: translateX(5px);
}

.caso-visual {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
}

.caso-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.caso-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.caso-result {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Garantía */
.garantia {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    padding: 6rem 5%;
    text-align: center;
}

.garantia-content {
    max-width: 600px;
    margin: 0 auto;
}

.garantia-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.garantia h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.garantia p {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.garantia-sub {
    color: var(--primary);
    font-weight: 600;
}

/* Contador */
.contador {
    background: var(--bg-card);
    padding: 6rem 5%;
    text-align: center;
}

.contador-num {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--primary);
    line-height: 1;
}

.contador-label {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contador-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Zona */
.zona {
    padding: 6rem 5%;
    text-align: center;
}

.zona-content {
    max-width: 700px;
    margin: 0 auto;
}

.zona-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.zona h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.zona p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.zona-ciudades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.zona-ciudades span {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Testimonios */
.testimonios {
    background: var(--bg-card);
    padding: 6rem 5%;
}

.testimonios-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonio {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonio.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonio-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonio-author {
    color: var(--primary);
    font-weight: 600;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Oferta */
.oferta {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    padding: 6rem 5%;;
    text-align: center;
}

.oferta-content {
    max-width: 600px;
    margin: 0 auto;
}

.oferta-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.oferta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.oferta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.oferta-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 10px;
}

.timer-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    display: block;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.oferta-aviso {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contacto */
.contacto {
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.contacto-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.contacto-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar {
        padding: 1rem 5%;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .planes-grid {
        grid-template-columns: 1fr;
    }
    
    .caso-card {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 4rem 5%;
    }
}
