:root {
    --neon-pink: #ff2e97;
    --electric-blue: #00d9ff;
    --cyber-purple: #9d4edd;
    --lime-green: #06ffa5;
    --sunset-orange: #ff6b35;
    --deep-purple: #5a189a;
    --negro: #0a0a0a;
    --blanco: #ffffff;
    --gris-claro: #f8f9fa;
    --gris-texto: #6c757d;
    --gris-oscuro: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    color: var(--negro);
    background-color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

section {
    padding: 80px 0;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink), var(--cyber-purple));
    color: var(--blanco);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 46, 151, 0.4);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--negro) 100%);
    color: var(--blanco);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, var(--electric-blue), var(--lime-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-form {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    color: var(--blanco);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.microcopy {
    font-size: 0.85rem;
    margin-top: 12px;
    opacity: 0.85;
    color: var(--lime-green);
}

.hero-visual {
    position: relative;
    height: 450px;
    animation: fadeIn 1s ease-out 0.4s both;
}

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

.threejs-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(255, 46, 151, 0.3);
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.threejs-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 217, 255, 0.4);
}

/* ASCII Art Background - ANIMATED */
.ascii-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
    font-family: 'Courier New', monospace;
    white-space: pre;
    font-size: 12px;
    line-height: 12px;
    overflow: hidden;
    pointer-events: none;
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.ascii-layer {
    position: absolute;
    width: 100%;
    animation: asciiScroll 25s linear infinite;
}

.ascii-layer:nth-child(2) {
    animation-delay: -12.5s;
    opacity: 0.7;
}

@keyframes asciiScroll {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-50%) translateX(10%); }
}

.ascii-rain {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--lime-green);
    text-shadow: 0 0 5px var(--lime-green);
    animation: rain linear infinite;
    opacity: 0.8;
}

@keyframes rain {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Features Grid */
.features {
    background: linear-gradient(180deg, var(--gris-claro) 0%, var(--blanco) 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--blanco);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature:nth-child(1):hover {
    border-color: var(--neon-pink);
    box-shadow: 0 20px 40px rgba(255, 46, 151, 0.3);
}

.feature:nth-child(2):hover {
    border-color: var(--electric-blue);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
}

.feature:nth-child(3):hover {
    border-color: var(--lime-green);
    box-shadow: 0 20px 40px rgba(6, 255, 165, 0.3);
}

.feature:nth-child(4):hover {
    border-color: var(--sunset-orange);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature:hover .feature-icon {
    transform: rotateY(360deg) scale(1.15);
}

.feature:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, var(--neon-pink), var(--cyber-purple));
    box-shadow: 0 10px 30px rgba(255, 46, 151, 0.4);
}

.feature:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.feature:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--lime-green), var(--electric-blue));
    box-shadow: 0 10px 30px rgba(6, 255, 165, 0.4);
}

.feature:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, var(--sunset-orange), var(--neon-pink));
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature p {
    color: var(--gris-texto);
    line-height: 1.6;
}

/* Pyramid Section */
.pyramid-section {
    background: linear-gradient(135deg, var(--gris-oscuro) 0%, var(--negro) 100%);
    color: var(--blanco);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.pyramid-section h2 {
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pyramid-container {
    height: 550px;
    position: relative;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
}

.pyramid-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pyramid-btn {
    background: linear-gradient(135deg, rgba(255, 46, 151, 0.2), rgba(0, 217, 255, 0.2));
    border: 2px solid rgba(0, 217, 255, 0.4);
    color: var(--blanco);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.pyramid-btn:hover {
    background: linear-gradient(135deg, rgba(255, 46, 151, 0.4), rgba(0, 217, 255, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4);
}

.project-info {
    background: linear-gradient(135deg, rgba(255, 46, 151, 0.1), rgba(0, 217, 255, 0.1));
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.project-info:hover {
    background: linear-gradient(135deg, rgba(255, 46, 151, 0.15), rgba(0, 217, 255, 0.15));
    border-color: var(--electric-blue);
}

.project-info h3 {
    color: var(--lime-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(6, 255, 165, 0.5);
}

.metrics-grid {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.metric-item {
    flex: 1;
    min-width: 120px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: capitalize;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 40px;
    font-size: 2rem;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step:last-child::after {
    display: none;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    font-weight: bold;
    font-size: 2rem;
    transition: all 0.4s ease;
    color: var(--blanco);
}

.step:hover .step-icon {
    transform: scale(1.2) rotate(360deg);
}

.step:nth-child(1) .step-icon {
    background: linear-gradient(135deg, var(--neon-pink), var(--cyber-purple));
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 46, 151, 0.5);
}

.step:nth-child(2) .step-icon {
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    border-color: var(--electric-blue);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.step:nth-child(3) .step-icon {
    background: linear-gradient(135deg, var(--lime-green), var(--electric-blue));
    border-color: var(--lime-green);
    box-shadow: 0 0 30px rgba(6, 255, 165, 0.5);
}

.step:nth-child(4) .step-icon {
    background: linear-gradient(135deg, var(--sunset-orange), var(--neon-pink));
    border-color: var(--sunset-orange);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

/* Pricing */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.pricing-plan {
    background: linear-gradient(180deg, var(--gris-claro) 0%, var(--blanco) 100%);
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.pricing-plan:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.pricing-plan.featured {
    border-color: var(--electric-blue);
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.1) 0%, var(--blanco) 100%);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.pricing-plan.featured:hover {
    transform: translateY(-15px) scale(1.08);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    color: var(--blanco);
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.plan-name {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-price .currency {
    font-size: 1.8rem;
    vertical-align: top;
}

.plan-features {
    list-style: none;
    margin-bottom: 35px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.2s ease;
}

.plan-features li:hover {
    padding-left: 10px;
    color: var(--electric-blue);
}

.plan-features li::before {
    content: '✓ ';
    color: var(--lime-green);
    font-weight: bold;
    margin-right: 8px;
    text-shadow: 0 0 5px rgba(6, 255, 165, 0.5);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(180deg, var(--gris-claro) 0%, var(--blanco) 100%);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
    min-width: 100%;
    padding: 50px 40px;
    background: var(--blanco);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.testimonial:hover {
    border-color: var(--electric-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gris-texto);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 12px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.slider-dot.active {
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.7);
}

/* FAQ */
.faq-item {
    border-bottom: 2px solid rgba(0, 217, 255, 0.2);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--electric-blue);
}

.faq-question {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--electric-blue);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gris-texto);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gris-oscuro) 0%, var(--negro) 100%);
    color: var(--blanco);
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue), var(--lime-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.footer-contact a {
    color: var(--blanco);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-contact a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue), var(--lime-green), var(--sunset-orange));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .features-grid,
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .process-steps,
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .pyramid-container {
        height: 400px;
    }
    
    .pricing-plan.featured {
        transform: scale(1);
    }
    
    .metrics-grid {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Center headings */
h2 {
    text-align: center;
    margin-bottom: 50px;
}