/* ============================================
    YoungTech Dark Neon Design System
    Version 1.0.0
    ============================================ */

/* ============================================
    MOBILE SCROLL FIX - Complete Animation Disable
    ============================================ */
@media (max-width: 768px) {
    /* Disable ALL animations and transitions on mobile */
    * {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        will-change: auto !important;
        transform-style: flat !important;
        backface-visibility: visible !important;
    }

    /* Force native scroll behavior */
    html, body {
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: none !important;
    }

    /* Remove all transforms and ensure elements are visible */
    .section, .card, .pricing-plan, .service-card,
    .hero-content, .hero-robot, .navbar, .footer {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    /* Disable reveal animations */
    .revealed {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* Force all buttons to normal state */
    .btn, .btn-glow-interactive, .btn-filled {
        transform: none !important;
        transition: none !important;
    }

    .btn:hover, .btn:active, .btn:focus {
        transform: none !important;
    }

    /* Disable parallax elements */
    .parallax-layer, .parallax-orb, .parallax-shape {
        transform: none !important;
        animation: none !important;
    }

    /* Ensure grid lines are static */
    #gridLines {
        transform: none !important;
        animation: none !important;
    }

    /* Disable neon text flicker */
    .neon-text {
        animation: none !important;
        text-shadow: 0 0 6px #5ee1ff !important;
    }

    /* Force all cards to visible state */
    .card-glow, .glow-overlay {
        display: none !important;
    }
}

/* CSS Variables - Design Tokens */
:root {
    /* Colors */
    --bg: #0b0f1a;
    --panel: #0f1627;
    --text: #e6f1ff;
    --mutedText: #90a4b4;
    --brandPrimary: #5ee1ff;
    --brandSecondary: #22d3ee;
    --brandAccent: #22d3ee;
    --glass: rgba(255, 255, 255, 0.06);
    --ring: rgba(94, 225, 255, 0.35);
    --lines: rgba(94, 225, 255, 0.08);
    --borders: rgba(255, 255, 255, 0.08);
    --bordersSubtle: rgba(255, 255, 255, 0.06);
    --ghostBorder: rgba(255, 255, 255, 0.12);
    --pillBg: rgba(94, 225, 255, 0.12);
    --pillBorder: rgba(94, 225, 255, 0.25);
    --shadowStrong: rgba(0, 0, 0, 0.65);

    /* Gradients */
    --navGradient: linear-gradient(180deg, rgba(5, 8, 16, 0.75), rgba(5, 8, 16, 0.35));
    --buttonFilled: linear-gradient(135deg, #5ee1ff, #22d3ee);
    --panelGradient: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    --footerGradient: linear-gradient(180deg, rgba(8, 12, 20, 1), rgba(8, 12, 20, 0.9));
    --priceTextGradient: linear-gradient(135deg, #5ee1ff, #22d3ee);

    /* Typography */
    --fontFamily: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --h1: clamp(32px, 6vw, 64px);
    --h2: clamp(26px, 4.2vw, 44px);
    --h3: 20px;
    --body: 16px;
    --lead: clamp(16px, 2.2vw, 20px);
    --eyebrow: 0.8rem;
    --button: 1rem;
    --pill: 0.8rem;

    /* Spacing */
    --containerMaxWidth: 1200px;
    --containerPaddingX: 20px;
    --sectionPaddingY: 96px;
    --navHeight: 64px;

    /* Radii */
    --radiusXs: 8px;
    --radiusSm: 12px;
    --radiusMd: 16px;
    --radiusLg: 20px;
    --radiusPill: 999px;

    /* Shadows */
    --shadowButton: 0 8px 30px -12px var(--ring);
    --shadowCard: 0 12px 40px -30px rgba(0, 0, 0, 0.65);

    /* Z-index */
    --zNav: 50;
    --zHeroSvg: -1;
    --zHeroContent: 10;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter.c9407645.woff2') format('woff2');
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: var(--fontFamily);
    font-size: var(--body);
    line-height: 1.6;
    color: var(--text);
    background: var(--space, #020817);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: none;
    opacity: 0;
    z-index: -2;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.2px;
}

h1 {
    font-size: var(--h1);
    line-height: 1.05;
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

p {
    line-height: 1.6;
}

/* ============================================
   Layout Components
   ============================================ */

.container {
    max-width: var(--containerMaxWidth);
    margin: 0 auto;
    padding-left: var(--containerPaddingX);
    padding-right: var(--containerPaddingX);
}

.section {
    padding: var(--sectionPaddingY) 0;
    position: relative;
    z-index: 2;
}


/* ============================================
    Navbar - Capsule Glass Design
    ============================================ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--zNav);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 18px;
    gap: 28px;
    background: rgba(23, 25, 35, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: all 0.3s ease;
    width: min(100%, clamp(600px, 70vw, 820px));
}

/* Navbar elevation effect removed to maintain consistent appearance */

/* Brand Section */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
    padding-right: 12px;
    height: 100%;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    height: 100%;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #06f, #f0f, #ffd166, #06f);
    box-shadow: 0 2px 14px rgba(147, 51, 234, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
    flex-shrink: 0;
    margin-right: 12px;
}

#typing-brand {
    font-size: 18px;
    font-weight: 700;
    color: #E5E7EB;
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Menu Section */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #B6BDC7;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.nav-link:hover {
    color: #E5E7EB;
}

.nav-link.active {
    color: #FFFFFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #22d3ee, #5ee1ff);
}

/* Actions Section - Outside navbar */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-actions .btn {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 9999px;
    font-weight: 500;
    transition: transform 0.15s ease, opacity 0.2s ease;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.navbar-actions .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #E5E7EB;
}

.navbar-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.navbar-actions .btn-primary {
    position: relative;
    background: #0e111a;
    color: #eaf7ff;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) inset, 0 8px 30px rgba(0, 220, 255, 0.25);
    overflow: hidden;
    margin-right: 0;
}

/* Rainbow button container */
.navbar-actions .btn-primary.rainbow-border {
    position: relative !important;
    width: 140px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: transparent !important; /* Hide original text */
    text-decoration: none !important;
}

/* Rainbow background button (bottom layer) */
.navbar-actions .btn-primary.rainbow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 400%;
    animation: rainbow 3s linear infinite;
    z-index: 1;
}

/* Black button on top (top layer) */
.navbar-actions .btn-primary.rainbow-border::after {
    content: attr(data-label);
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    z-index: 2;
    cursor: pointer;
}

/* ============================================
   Neon Text Effect
   ============================================ */

.neon-text {
    color: #ffffff !important;
    text-shadow: 
        0 0 3px #5ee1ff,
        0 0 6px #5ee1ff,
        0 0 9px #5ee1ff,
        0 0 12px #5ee1ff;
    animation: neonFlicker 3s ease-in-out infinite alternate;
    font-weight: 700 !important;
}

@keyframes neonFlicker {
    0%, 100% {
        text-shadow: 
            0 0 3px #5ee1ff,
            0 0 6px #5ee1ff,
            0 0 9px #5ee1ff,
            0 0 12px #5ee1ff;
    }
    50% {
        text-shadow: 
            0 0 2px #5ee1ff,
            0 0 4px #5ee1ff,
            0 0 6px #5ee1ff,
            0 0 8px #5ee1ff;
    }
}

/* ============================================
   Pricing Page Specific Styles
   ============================================ */

/* Pricing page body adjustments */
body.pricing-page {
    padding-top: 0;
}

/* Pricing page hero section */
.pricing-page .PRECIOS-section {
    min-height: 100vh;
    padding-top: 120px; /* Space for navbar */
    display: flex;
    align-items: center;
}

/* Pricing page navbar active state */
.navbar-link.active {
    color: var(--brandPrimary) !important;
    position: relative;
}

.navbar-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brandPrimary);
    border-radius: 1px;
}

/* ============================================
   Pricing Interaction Component
   ============================================ */

.pricing-interaction-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.pricing-interaction-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pricing-interaction-card {
    border: 2px solid rgba(94, 225, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(94, 225, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.pricing-interaction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(94, 225, 255, 0.10) 0%,
        rgba(34, 211, 238, 0.06) 50%,
        rgba(34, 211, 238, 0.08) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: 0;
}

.pricing-interaction-card > * {
    position: relative;
    z-index: 1;
}

/* Toggle Monthly/Yearly */
.pricing-toggle {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 8px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(94, 225, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-toggle-btn {
    font-weight: 600;
    border-radius: 9999px;
    width: 100%;
    padding: 14px 20px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pricing-toggle-btn.active {
    color: #000000;
    font-weight: 700;
}

.pricing-toggle-slider {
    position: absolute;
    inset: 0;
    width: 50%;
    z-index: 10;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-toggle-slider::before {
    content: '';
    background: linear-gradient(135deg, #5ee1ff, #22d3ee);
    border-radius: 9999px;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 15px rgba(94, 225, 255, 0.3);
}

.pricing-toggle-slider.yearly {
    transform: translateX(100%);
}

/* Plans Container */
.pricing-plans-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-plan {
    width: 100%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.pricing-plan:hover {
    border-color: rgba(94, 225, 255, 0.4);
    background: rgba(94, 225, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(94, 225, 255, 0.2);
}

.pricing-plan.active {
    border-color: #5ee1ff;
    background: rgba(94, 225, 255, 0.08);
    box-shadow: 0 0 20px rgba(94, 225, 255, 0.3);
}

.pricing-plan-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pricing-plan-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-plan-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-badge {
    padding: 4px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5ee1ff, #22d3ee);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(94, 225, 255, 0.3);
}

.pricing-plan-price {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.pricing-price-amount {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-plan-radio {
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-top: 2px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.pricing-radio-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #5ee1ff, #22d3ee);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(94, 225, 255, 0.5);
}

.pricing-plan.active .pricing-plan-radio {
    border-color: #5ee1ff;
    background: rgba(94, 225, 255, 0.1);
    box-shadow: 0 0 15px rgba(94, 225, 255, 0.3);
}

.pricing-plan.active .pricing-radio-dot {
    opacity: 1;
    transform: scale(1.1);
}

/* Selection Border */
.pricing-selection-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    border: 2px solid #5ee1ff;
    border-radius: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 20px rgba(94, 225, 255, 0.3);
    background: rgba(94, 225, 255, 0.05);
}

/* Get Started Button */
.pricing-get-started-btn {
    border-radius: 12px;
    background: linear-gradient(135deg, #5ee1ff, #22d3ee);
    color: #ffffff;
    font-size: 1.125rem;
    width: 100%;
    padding: 16px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(94, 225, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-get-started-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(94, 225, 255, 0.4);
    background: linear-gradient(135deg, #22d3ee, #5ee1ff);
}

.pricing-get-started-btn:hover::before {
    left: 100%;
}

.pricing-get-started-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Responsive */
@media (max-width: 480px) {
    .pricing-interaction-card {
        margin: 0 16px;
        padding: 20px;
    }
    
    .pricing-plan {
        padding: 14px;
    }
    
    .pricing-plan-title {
        font-size: 1.125rem;
    }
}

/* ============================================
   Hero Section Spacing
   ============================================ */

.hero-lead {
    margin-bottom: 48px !important;
}

.hero-buttons {
    margin-top: 20px !important;
    position: relative;
    z-index: 20;
}

@media (max-width: 768px) {
    .contact-form {
        background: rgba(11, 18, 32, 0.96);
        border: 1px solid rgba(94, 225, 255, 0.12);
        box-shadow: 0 18px 32px rgba(5, 10, 25, 0.4);
    }

    .navbar-container {
        background: rgba(15, 19, 30, 0.96);
        box-shadow: 0 12px 24px rgba(5, 10, 25, 0.4);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #pricing .glass {
        background: rgba(15, 21, 36, 0.96);
        box-shadow: 0 18px 36px rgba(5, 10, 25, 0.42);
        padding: 28px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #pricing .glass .card {
        background: rgba(255, 255, 255, 0.08);
    }

    /* lighten glass blur and shadows around How-it-works and Services */
    .step-content {
        background: rgba(20, 28, 45, 0.95);
        border: 1px solid rgba(94,225,255,0.14);
        box-shadow: 0 12px 26px rgba(5,10,25,0.35);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .step-content:hover { transform: none; box-shadow: 0 12px 26px rgba(5,10,25,0.35); }

    .service-card {
        background: rgba(20,28,45,0.96);
        border: 1px solid rgba(94,225,255,0.14);
        box-shadow: 0 18px 36px rgba(5,10,25,0.38);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .service-card::before { display: none; }

    /* Ocultar sol en mobile para evitar sobrecarga visual/composición */
    .sun-bridge, .sun-bridge__orb { display: none !important; }
}

/* ============================================
   Rainbow Border for "Impulsemos tu proyecto" buttons
   ============================================ */

/* Hero button rainbow border */
.btn-glow-interactive.rainbow-border {
    position: relative !important;
    width: clamp(200px, 60vw, 260px) !important;
    min-width: 200px !important;
    height: 44px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: transparent !important;
    text-decoration: none !important;
    transition: none !important;
    transform: none !important;
}

/* Hero button rainbow background (bottom layer) */
.btn-glow-interactive.rainbow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 400%;
    animation: rainbow 3s linear infinite;
    z-index: 1;
}

/* Hero button black layer (top layer) */
.btn-glow-interactive.rainbow-border::after {
    content: attr(data-label);
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    z-index: 2;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: none !important;
    transform: none !important;
}

/* Contact section button rainbow border */
.btn-filled.rainbow-border {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: transparent !important;
    text-decoration: none !important;
}

/* Contact button rainbow background (bottom layer) */
.btn-filled.rainbow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 400%;
    animation: rainbow 3s linear infinite;
    z-index: 1;
}

/* Contact button black layer (top layer) */
.btn-filled.rainbow-border::after {
    content: attr(data-label);
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #000000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    z-index: 2;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Glow overlay para el efecto que sigue el mouse */
.navbar-actions .btn-primary .glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.navbar-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12) inset, 0 12px 40px rgba(0, 220, 255, 0.4);
    background: #1a1f2e;
}

/* Override hover for rainbow border button */
.navbar-actions .btn-primary.rainbow-border:hover {
    transform: none !important;
    box-shadow: none !important;
    background: black !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #E5E7EB;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--navHeight) + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    background: rgba(23, 25, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    padding: 16px;
    flex-direction: column;
    gap: 16px;
    z-index: calc(var(--zNav) + 5);
    max-height: calc(100vh - (var(--navHeight) + 40px));
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: #B6BDC7;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
    Hero Section
    ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    perspective: 1400px;
    transform-style: preserve-3d;
    z-index: 5;
}

.hero-svg,
.hero-starfield,
.hero-content {
    transform-style: preserve-3d;
}

.hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--zHeroSvg);
    pointer-events: none;
}

.hero-starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-starfield__layer {
    position: absolute;
    inset: -15%;
    will-change: transform, opacity;
}

.hero-starfield__layer--far {
    filter: blur(0.4px);
}

.hero-starfield__layer--mid {
    filter: drop-shadow(0 0 6px rgba(94, 225, 255, 0.25));
}

.hero-starfield__layer--near {
    filter: drop-shadow(0 0 10px rgba(94, 225, 255, 0.35));
}

.hero-starfield__star {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(230, 245, 255, 0.95) 0%, rgba(126, 220, 255, 0.65) 55%, rgba(126, 220, 255, 0) 100%);
    opacity: var(--star-opacity, 0.7);
    animation: starTwinkle var(--twinkle-duration, 6s) ease-in-out infinite;
    animation-delay: var(--twinkle-delay, 0s);
    transform-origin: center;
}

.hero-starfield__star::after {
    content: '';
    position: absolute;
    inset: -100%;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(174, 255, 255, 0.35) 0%, rgba(174, 255, 255, 0) 70%);
    opacity: 0.45;
}

.hero-starfield__layer--near .hero-starfield__star {
    mix-blend-mode: screen;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: var(--star-opacity-min, 0.25);
        transform: scale(1);
    }
    50% {
        opacity: var(--star-opacity, 0.7);
        transform: scale(1.4);
    }
}

.moon-bridge {
    position: relative;
    width: 100%;
    height: clamp(160px, 24vw, 320px);
    margin-top: clamp(24px, 4vw, 64px);
    margin-bottom: clamp(-64px, -8vw, -24px);
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.moon-bridge__orb {
    position: absolute;
    right: 0;
    bottom: clamp(-160px, -10vw, -48px);
    width: clamp(210px, 26vw, 360px);
    aspect-ratio: 437 / 852;
    background: url('luna/luna-semicircle.bf3e1c94.webp') left center / contain no-repeat;
    filter: drop-shadow(0 24px 55px rgba(5, 10, 20, 0.65));
    opacity: 0.98;
    overflow: visible;
}

.sun-bridge {
    position: relative;
    width: 100%;
    height: clamp(260px, 38vw, 480px);
    margin-top: clamp(-140px, -12vw, -64px);
    margin-bottom: clamp(-100px, -9vw, -40px);
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.sun-bridge__orb {
    position: absolute;
    left: 0;
    top: clamp(-48px, -4vw, -16px);
    width: clamp(340px, 40vw, 620px);
    height: clamp(340px, 40vw, 620px);
    background: url('sol/sol-half-right.d944468c.webp') left center / contain no-repeat;
    transform: translateX(-8%);
    filter: drop-shadow(0 32px 70px rgba(255, 184, 75, 0.6));
    opacity: 0.98;
    overflow: visible;
}

section#how-it-works {
    padding-top: clamp(0px, 1vw, 24px);
    padding-bottom: clamp(48px, 6vw, 96px);
    margin-top: clamp(-200px, -15vw, -100px);
}

section#services {
    padding-top: clamp(40px, 5vw, 96px);
    margin-top: clamp(-20px, -2vw, -8px);
}

section#about {
    padding-top: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(48px, 6vw, 96px);
    margin-top: clamp(48px, 8vw, 140px);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(24px, 6vw, 80px) 16px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    position: relative;
    z-index: var(--zHeroContent);
}

.hero-text {
    max-width: 42ch;
    text-align: left;
}

.hero-placeholder {
    aspect-ratio: 16/10;
    min-height: 380px;
    border-radius: 20px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(113, 220, 255, 0.06), rgba(0, 0, 0, 0));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    position: relative;
    overflow: hidden;
}

.hero-robot {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.15), rgba(12, 20, 37, 0.05));
}

.hero-robot canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.eyebrow {
    display: inline-block;
    font-size: var(--eyebrow);
    font-weight: 700;
    color: var(--brandAccent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}

.hero-title {
    font-size: var(--h1);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--brandPrimary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* Neon Text Effect */
neon {
    color: #ffffff;
    text-shadow: 0 0 6px #7be8ff, 0 0 18px rgba(123, 232, 255, 0.6);
}

.hero-subtitle {
    font-size: var(--lead);
    color: var(--mutedText);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 0;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 9999px;
    background: #0e111a;
    color: #eaf7ff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) inset, 0 8px 30px rgba(0, 220, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12) inset, 0 12px 40px rgba(0, 220, 255, 0.4);
    background: #1a1f2e;
}

/* Circuit Dots Animation */
.circuit-dot {
    animation: circuitPulse 1.6s ease-in-out infinite alternate;
}

.circuit-dot:nth-child(2) {
    animation-delay: 0.25s;
}

.circuit-dot:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes circuitPulse {
    from { transform: scale(1); opacity: 0.6; }
    to { transform: scale(1.35); opacity: 1; }
}

/* Stars Twinkle */
.star {
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.3s; }
.star:nth-child(3) { animation-delay: 0.6s; }
.star:nth-child(4) { animation-delay: 0.9s; }
.star:nth-child(5) { animation-delay: 1.2s; }
.star:nth-child(6) { animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radiusSm);
    font-size: var(--button);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--fontFamily);
    opacity: 1 !important;
    position: relative;
    z-index: 999;
}

.btn-filled {
    background: var(--buttonFilled);
    color: #020617;
    box-shadow: var(--shadowButton);
    position: relative;
    z-index: 100;
    font-weight: 800;
}

/* Botón con Efecto Neón Sutil */
.btn-glow-interactive {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: none;
    text-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 999 !important;
    letter-spacing: 0.5px;
}

.glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: -1;
    border-radius: inherit;
}

.btn-glow-interactive:hover {
    background: rgba(94, 225, 255, 0.12);
    color: #ffffff;
    border-color: var(--brandPrimary);
}

/* neonPulse animation removed - no longer needed */

.btn-filled:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px -12px var(--ring);
}

.btn-ghost {
    background: rgba(5, 8, 16, 0.6);
    border: 2px solid rgba(94, 225, 255, 0.6);
    color: #ffffff;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: var(--brandPrimary);
    background: rgba(94, 225, 255, 0.05);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ============================================
   Sections
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-kicker {
    display: inline-block;
    font-size: var(--eyebrow);
    font-weight: 700;
    color: var(--brandPrimary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}

/* Centered kicker variant for contact */
.section-kicker--center {
    display: block;
    text-align: center;
    margin-top: -12px; /* lift a bit */
    margin-bottom: clamp(20px, 3vw, 28px);
}

.section-title {
    font-size: var(--h2);
    margin-bottom: 16px;
}

.section-text {
    font-size: var(--lead);
    color: var(--mutedText);
    max-width: 600px;
    margin: 0 auto;
}

.section-text--white {
    color: #ffffff;
}

/* ============================================
   Cards
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Process Flow (Flowchart) */
.process-flow {
    max-width: 900px;
    margin: 64px auto 0;
    padding: 0 20px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--brandPrimary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--brandPrimary);
    background: rgba(5, 8, 16, 0.8);
    box-shadow: 0 0 20px rgba(94, 225, 255, 0.4);
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    left: 35px;
    top: 70px;
    width: 2px;
    height: calc(100% + 60px);
    background: linear-gradient(180deg, var(--brandPrimary), var(--brandSecondary));
    opacity: 0.5;
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    background: var(--cardBg);
    border: 1px solid var(--borders);
    border-radius: var(--radiusMd);
    padding: 32px;
    backdrop-filter: saturate(160%) blur(12px);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-4px);
    border-color: var(--brandPrimary);
    box-shadow: 0 12px 40px -12px rgba(94, 225, 255, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(94, 225, 255, 0.1);
    border: 1px solid var(--brandPrimary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.step-list {
    list-style: none;
    display: grid;
    gap: 12px;
    color: rgba(230, 241, 255, 0.85);
}

.step-list li {
    font-size: 16px;
    line-height: 1.6;
}

/* Services Grid with Scroll Reveal */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(40px, 6vw, 64px);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(28px, 4vw, 36px);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(20, 28, 45, 0.82) 0%, rgba(9, 14, 26, 0.95) 100%);
    border: 1px solid rgba(94, 225, 255, 0.18);
    box-shadow: 0 26px 48px rgba(5, 10, 25, 0.55);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    overflow: hidden;
    will-change: transform, opacity;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg,
        rgba(94, 225, 255, 0.2),
        rgba(34, 211, 238, 0.12),
        rgba(34, 211, 238, 0.10));
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(94, 225, 255, 0.22), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.18), transparent 60%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.service-card.revealed {
    animation: serviceCardReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--service-reveal-delay, 0s);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(94, 225, 255, 0.45);
    box-shadow:
        0 40px 70px rgba(5, 10, 25, 0.65),
        0 0 0 1px rgba(94, 225, 255, 0.28);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(94, 225, 255, 0.35), rgba(34, 211, 238, 0.18));
    border: 1px solid rgba(94, 225, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(94, 225, 255, 0.9);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 32px rgba(8, 18, 35, 0.45);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 38px rgba(8, 18, 35, 0.6);
}

.service-title {
    font-size: clamp(22px, 2.6vw, 26px);
    font-weight: 700;
    color: var(--text);
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-description {
    color: rgba(193, 205, 220, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: rgba(193, 205, 220, 0.88);
    font-size: 15px;
    line-height: 1.7;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.service-features li::before {
    content: '✓';
    font-weight: 600;
    color: var(--brandPrimary);
    margin-top: 2px;
    flex-shrink: 0;
}

.service-features li:last-child {
    margin-bottom: 0;
}

@keyframes serviceCardReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    55% {
        opacity: 1;
        transform: translateY(-6px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Lightning Bolt Animation */
.lightning-bolt {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    filter: drop-shadow(0 0 10px rgba(94, 225, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(94, 225, 255, 0.6)) 
            drop-shadow(0 0 30px rgba(34, 211, 238, 0.4));
    animation: lightningPulse 2s ease-in-out infinite, lightningShake 3s ease-in-out infinite;
}

@keyframes lightningPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(94, 225, 255, 0.8)) 
                drop-shadow(0 0 20px rgba(94, 225, 255, 0.6)) 
                drop-shadow(0 0 30px rgba(34, 211, 238, 0.4));
        opacity: 1;
    }
    25% {
        filter: drop-shadow(0 0 20px rgba(94, 225, 255, 1)) 
                drop-shadow(0 0 40px rgba(94, 225, 255, 0.8)) 
                drop-shadow(0 0 60px rgba(34, 211, 238, 0.6));
        opacity: 1;
    }
    30% {
        opacity: 0.3;
    }
    35% {
        filter: drop-shadow(0 0 25px rgba(94, 225, 255, 1)) 
                drop-shadow(0 0 50px rgba(94, 225, 255, 0.9)) 
                drop-shadow(0 0 80px rgba(34, 211, 238, 0.7));
        opacity: 1;
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.9))
                drop-shadow(0 0 30px rgba(34, 211, 238, 0.7))
                drop-shadow(0 0 50px rgba(34, 211, 238, 0.5));
        opacity: 1;
    }
    55% {
        opacity: 0.4;
    }
    60% {
        opacity: 1;
    }
}

@keyframes lightningShake {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(1px, -1px) rotate(2deg);
    }
    30% {
        transform: translate(-2px, 1px) rotate(-2deg);
    }
    35% {
        transform: translate(2px, 0px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, -1px) rotate(-1deg);
    }
    55% {
        transform: translate(1px, 1px) rotate(1deg);
    }
    60% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.card {
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(15px) saturate(170%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px) translateZ(20px);
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(94, 225, 255, 0.25);
    backdrop-filter: blur(20px) saturate(190%);
    box-shadow: 
        0 16px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(94, 225, 255, 0.15) inset,
        0 0 25px rgba(94, 225, 255, 0.08);
}

.card-icon {
    margin-bottom: 20px;
}

.card-title {
    font-size: var(--h3);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.card-text {
    color: var(--mutedText);
    line-height: 1.6;
}

/* ============================================
   Pills
   ============================================ */

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radiusPill);
    background: var(--pillBg);
    border: 1px solid var(--pillBorder);
    color: #a5f3fc;
    font-size: var(--pill);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-plan {
    position: relative;
    background: var(--panelGradient);
    border: 1px solid var(--borders);
    border-radius: var(--radiusMd);
    padding: 40px 32px;
    box-shadow: var(--shadowCard);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.pricing-plan:hover {
    transform: translateY(-4px) translateZ(20px);
    border-color: var(--brandPrimary);
}

.plan-featured {
    border-color: var(--brandPrimary);
    box-shadow: 0 16px 60px -30px rgba(94, 225, 255, 0.4);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: var(--buttonFilled);
    color: #020617;
    padding: 6px 16px;
    border-radius: var(--radiusPill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--borders);
}

.plan-title {
    font-size: var(--h3);
    margin-bottom: 16px;
    color: var(--text);
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.price-starting {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brandAccent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--priceTextGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--priceTextGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--mutedText);
}

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

.plan-features li {
    padding: 12px 0;
    color: var(--mutedText);
    border-bottom: 1px solid var(--bordersSubtle);
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-section {
    position: relative;
}

.pricing-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 48px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) repeat(3, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 28px);
    row-gap: clamp(12px, 3vw, 20px);
}

.pricing-grid__placeholder {
    height: 100%;
}

.pricing-panel__plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vw, 26px);
    padding: clamp(24px, 3.5vw, 32px);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(20, 28, 45, 0.88) 0%, rgba(7, 12, 24, 0.96) 100%);
    border: 1px solid rgba(94, 225, 255, 0.2);
    box-shadow: 0 26px 48px rgba(5, 10, 25, 0.55);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    overflow: hidden;
}

.pricing-panel__plan::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg,
        rgba(94, 225, 255, 0.2),
        rgba(34, 211, 238, 0.14),
        rgba(34, 211, 238, 0.12));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-panel__plan:hover::before {
    opacity: 1;
}

.pricing-panel__plan--featured {
    border-color: rgba(94, 225, 255, 0.45);
    box-shadow: 0 36px 72px -28px rgba(94, 225, 255, 0.45);
}

.pricing-panel__tier,
.pricing-panel__tag,
.pricing-panel__price,
.pricing-panel__cta {
    z-index: 1;
}

.pricing-panel__plan--featured .pricing-panel__tag {
    background: linear-gradient(135deg, rgba(94, 225, 255, 0.6), rgba(34, 211, 238, 0.45));
    color: #020617;
}

.pricing-panel__tier {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--mutedText);
}

.pricing-panel__tag {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: var(--radiusPill);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(94, 225, 255, 0.18);
    color: var(--text);
    box-shadow: 0 8px 24px -20px rgba(94, 225, 255, 0.75);
}

.pricing-panel__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pricing-panel__currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mutedText);
}

.pricing-panel__amount {
    font-size: clamp(2.6rem, 4vw, 3.2rem);
    font-weight: 800;
    background: var(--priceTextGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-panel__period {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mutedText);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.pricing-panel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radiusPill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(94, 225, 255, 0.3);
    color: var(--text);
    background: rgba(12, 18, 37, 0.75);
    box-shadow: 0 12px 35px -20px rgba(94, 225, 255, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-panel__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px -16px rgba(94, 225, 255, 0.55);
    border-color: rgba(94, 225, 255, 0.6);
}

.pricing-panel__cta--filled {
    background: var(--buttonFilled);
    color: #020617;
    border-color: transparent;
    box-shadow: 0 22px 55px -20px rgba(94, 225, 255, 0.6);
}

.pricing-panel__cta--filled:hover {
    transform: translateY(-2px);
}

.pricing-icon {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
}

.pricing-icon--yes {
    color: #34d399;
}

.pricing-icon--no {
    color: #f87171;
}

.pricing-comparison {
    display: grid;
    gap: clamp(16px, 3vw, 28px);
}

/* Column templates per tab */
.pricing-comparison.grid-3 {
    grid-template-columns: 240px repeat(3, 1fr);
}

.pricing-comparison.grid-4 {
    grid-template-columns: 240px repeat(4, 1fr);
}

.pricing-comparison__row {
    display: contents;
}

.pricing-comparison__row--plans {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: inherit;
    gap: clamp(16px, 3vw, 28px);
}

.pricing-comparison__row--plans .pricing-comparison__label {
    /* Mantener la primera columna para alinear las tarjetas con los valores */
    visibility: hidden;
}

.pricing-panel__plan {
    height: 100%;
}

.pricing-comparison__label,
.pricing-comparison__value {
    padding: clamp(18px, 2.6vw, 24px);
    border-radius: 22px;
    border: 1px solid rgba(94, 225, 255, 0.12);
    background: rgba(9, 14, 26, 0.9);
    box-shadow: 0 20px 40px -28px rgba(5, 10, 21, 0.65);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.pricing-comparison__label {
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
}

.pricing-comparison__value {
    color: var(--mutedText);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-panel {
    padding: clamp(28px, 4vw, 44px);
    border-radius: clamp(26px, 4vw, 36px);
    border: 1px solid rgba(94, 225, 255, 0.22);
    background: linear-gradient(180deg, rgba(14, 19, 34, 0.92) 0%, rgba(6, 11, 24, 0.98) 100%);
    box-shadow: 0 38px 80px -45px rgba(5, 9, 20, 0.75);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3.5vw, 36px);
}

.pricing-panel__controls {
    display: flex;
    justify-content: center;
}

/* Hide/show tab content */
.pricing-panel__content[hidden] {
    display: none;
}

.pricing-toggle {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(94, 225, 255, 0.15);
    background: rgba(11, 17, 32, 0.9);
    box-shadow: 0 10px 30px -22px rgba(94, 225, 255, 0.55);
}

.pricing-toggle__btn {
    border: none;
    background: transparent;
    color: var(--mutedText);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pricing-toggle__btn.is-active {
    background: linear-gradient(135deg, rgba(94, 225, 255, 0.6), rgba(34, 211, 238, 0.6));
    color: #020617;
    box-shadow: 0 16px 32px -20px rgba(94, 225, 255, 0.65);
}

.pricing-toggle__btn:not(.is-active):hover {
    color: var(--text);
}

.pricing-panel__plan--featured .pricing-panel__cta--filled {
    box-shadow: 0 22px 55px -20px rgba(94, 225, 255, 0.6);
}

.pricing-panel__plan:not(.pricing-panel__plan--featured) .pricing-panel__cta:hover {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .pricing-panel {
        overflow-x: auto;
        padding: 24px;
    }

    .pricing-comparison.grid-3 { min-width: 980px; }
    .pricing-comparison.grid-4 { min-width: 1220px; }
}

@media (max-width: 768px) {
    .pricing-panel {
        padding: 20px;
    }
}

/* ============================================
    PRECIOS Section - IDENTICAL to React Component
    ============================================ */

.PRECIOS-section {
    position: relative;
    width: 100%;
    background: var(--bgPrimary);
    padding: 80px 0;
    overflow: hidden;
}

/* ============================================
    PRECIOS Section - IDENTICAL to React Component
    ============================================ */

.PRECIOS-section {
    position: relative;
    width: 100%;
    background: var(--bgPrimary);
    padding: 80px 0;
    overflow: hidden;
}

.PRECIOS-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.PRECIOS-starfield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.PRECIOS-star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: PRECIOS-star-twinkle 3s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

@keyframes PRECIOS-star-twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.PRECIOS-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.PRECIOS-header {
    max-width: 768px;
    margin: 0 auto 48px;
    text-align: center;
}

.PRECIOS-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--textPrimary);
    margin-bottom: 16px;
}

.PRECIOS-description {
    color: var(--mutedText);
    font-size: 1.125rem;
    line-height: 1.6;
    white-space: pre-line;
}

.PRECIOS-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.PRECIOS-toggle {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--muted);
    border-radius: 9999px;
    padding: 4px;
    width: fit-content;
}

.PRECIOS-toggle-pill {
    position: absolute;
    left: 4px;
    top: 4px;
    height: calc(100% - 8px);
    background: var(--brandPrimary);
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.PRECIOS-toggle-btn {
    position: relative;
    z-index: 10;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff !important; /* Texto blanco para mejor contraste */
}

.PRECIOS-toggle-btn.active {
    color: #000000 !important; /* Texto negro cuando está activo */
    font-weight: 700;
}

.PRECIOS-save-text {
    display: none;
    color: #ffffff !important; /* Texto blanco para mejor contraste */
    font-weight: 500;
}

@media (min-width: 640px) {
    .PRECIOS-save-text {
        display: inline;
    }
}

.PRECIOS-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1024px) {
    .PRECIOS-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.PRECIOS-card {
    position: relative;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid var(--borderColor);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.PRECIOS-card-popular {
    border: 2px solid var(--brandPrimary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-20px);
}

.PRECIOS-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brandPrimary);
    padding: 6px 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bgPrimary);
    font-size: 0.875rem;
    font-weight: 600;
}

.PRECIOS-star-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.PRECIOS-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.PRECIOS-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--textPrimary);
    margin-bottom: 8px;
}

.PRECIOS-card-description {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--mutedText);
}

.PRECIOS-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.PRECIOS-price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--textPrimary);
    font-variant-numeric: tabular-nums;
}

.PRECIOS-price-period {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: var(--mutedText);
}

.PRECIOS-billing-text {
    font-size: 0.75rem;
    color: var(--mutedText);
    margin-bottom: 32px;
}

.PRECIOS-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.PRECIOS-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--mutedText);
}

.PRECIOS-check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--brandPrimary);
    margin-top: 2px;
}

.PRECIOS-card-btn {
    margin-top: auto;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.PRECIOS-card-btn-primary {
    background: var(--brandPrimary);
    color: var(--bgPrimary);
}

.PRECIOS-card-btn-primary:hover {
    background: var(--brandSecondary);
}

.PRECIOS-card-btn-outline {
    background: transparent;
    color: var(--textPrimary);
    border: 1px solid var(--borderColor);
}

.PRECIOS-card-btn-outline:hover {
    background: var(--muted);
    color: var(--textPrimary);
}

/* Animation for cards */
.PRECIOS-card[data-card="0"] {
    animation: PRECIOS-card-slide-up 0.6s ease-out 0s both;
}

.PRECIOS-card[data-card="1"] {
    animation: PRECIOS-card-slide-up 0.6s ease-out 0.15s both;
}

.PRECIOS-card[data-card="2"] {
    animation: PRECIOS-card-slide-up 0.6s ease-out 0.3s both;
}

@keyframes PRECIOS-card-slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.PRECIOS-card-popular {
    animation: PRECIOS-card-slide-up-popular 0.6s ease-out 0.15s both;
}

@keyframes PRECIOS-card-slide-up-popular {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .PRECIOS-card-popular {
        transform: translateY(0);
    }
    
    .PRECIOS-card-popular {
        animation: PRECIOS-card-slide-up 0.6s ease-out 0.15s both;
    }
}

@media (max-width: 640px) {
    .PRECIOS-title {
        font-size: 2rem;
    }
    
    .PRECIOS-card {
        padding: 24px;
    }
    
    .PRECIOS-price-amount {
        font-size: 2.5rem;
    }
}

/* ============================================
   Rainbow Border Button Effect - EXACT CODE
   ============================================ */

/* Rainbow border styles are now handled by .navbar-actions .btn-primary.rainbow-border */

/* Old rainbow border styles removed - now using layered approach */

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   Contact Section
   ============================================ */

.contact-content {
    text-align: center;
    padding: 40px 0;
}

/* Contact two-column layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start; /* top aligned */
}

.contact-left { margin-top: calc(-1 * clamp(20px, 3vw, 28px)); }

.contact-left .section-header.left-align,
.contact-left .contact-content.left-align {
    text-align: left;
}

.contact-form {
    background: linear-gradient(180deg, rgba(20, 28, 45, 0.88) 0%, rgba(7, 12, 24, 0.96) 100%);
    border: 1px solid rgba(94, 225, 255, 0.2);
    box-shadow: 0 26px 48px rgba(5, 10, 25, 0.55);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 28px);
}

.contact-form__title {
    margin-bottom: 10px;
    font-size: 22px;
    text-align: center;
}

.contact-form__hint {
    margin: 0 0 14px 0;
    color: rgba(230,241,255,0.8);
    font-size: 14px;
    text-align: center;
}
.contact-form__hint a { color: var(--brandPrimary); text-decoration: none; }
.contact-form__hint a:hover { text-decoration: underline; }

.form-field { display: grid; gap: 8px; margin: 12px 0 14px; }
.form-field label { font-weight: 600; color: #e6f1ff; font-size: 14px; }
.input-with-icon { position: relative; }
.input-with-icon .control { position: relative; display: flex; align-items: center; }
.input-with-icon .field-icon { position: absolute; left: 16px; width: 20px; height: 20px; color: rgba(230,241,255,0.75); display: inline-flex; align-items: center; justify-content: center; pointer-events: none; }
.input-with-icon .field-icon svg { width: 18px; height: 18px; }
.input-with-icon input { padding-left: 52px !important; height: 52px; display: block; }
.input-with-icon.textarea .field-icon { display: none; }
.input-with-icon textarea { padding-left: 16px !important; padding-top: 16px; }
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(230,241,255,0.18);
    background: rgba(255,255,255,0.04);
    color: #e6f1ff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(230,241,255,0.6); }
.form-field input:focus,
.form-field textarea:focus { border-color: rgba(94,225,255,0.5); box-shadow: 0 0 0 3px rgba(94,225,255,0.12); background: rgba(255,255,255,0.06); }
.form-field--captcha {
    margin: 18px 0 22px;
    justify-items: center;
}
.form-field--captcha .control {
    display: flex;
    justify-content: center;
}

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-left .section-header.left-align,
    .contact-left .contact-content.left-align { text-align: center; }
    .contact-left { margin-top: 0; }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    border-top: 1px solid var(--bordersSubtle);
    background: var(--footerGradient);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-text {
    color: var(--mutedText);
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-link {
    color: var(--mutedText);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brandPrimary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--bordersSubtle);
    color: var(--mutedText);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 980px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-visual {
        order: 1;
        aspect-ratio: 16/10;
        min-height: 300px;
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin: 0 auto 32px;
    }
}

@media (max-width: 880px) {
    .navbar {
        width: clamp(500px, 90vw, 700px);
    }

    .navbar-container {
        padding: 0 20px;
        gap: 20px;
    }

    .navbar-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .step-line {
        left: 25px;
        top: 50px;
        height: calc(100% + 40px);
    }
    
    .step-content {
        padding: 24px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-list li {
        font-size: 14px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 28px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-description {
        font-size: 15px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 24px);
        left: 50%;
        transform: translateX(-50%);
        top: 16px;
        gap: 12px;
    }

    .navbar-container {
        width: 100%;
        min-width: 0;
        padding: 0 18px 0 16px;
        padding-right: 72px;
        gap: 16px;
    }

    .navbar-brand {
        width: auto;
        min-width: 0;
        padding-right: 0;
    }

    #typing-brand {
        font-size: 16px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
}

@media (max-width: 640px) {
    :root {
        --sectionPaddingY: 64px;
        --containerPaddingX: 16px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-content {
        padding: 40px 0;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .card {
        padding: 24px;
    }

    .pricing-plan {
        padding: 32px 24px;
    }
}

/* ============================================
   Grid Lines Background
   ============================================ */

.grid-lines {
    display: none;
}

/* ============================================
   Utilities
   ============================================ */

.text-gradient {
    background: var(--priceTextGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Perspective container */
.perspective-section {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* === GRADIENTE SOLO FONDO (FIX) === */
:root{
  --space:#060b1a;
  --deep-blue:#0b1d3b;
  --mid-blue:#13408a;
  --bright-blue:#2564d9;
  --sky:#9bd7ff;
  --grad-h:1400vh;
  --pe:0;
  --rocket:0;
}
#bg-gradient{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  overflow:hidden;
}
#bg-gradient::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top: 0;
  height: var(--grad-h);
  will-change: transform;
  transform: translateY(calc(-1 * (var(--pe) * (var(--grad-h) - 100dvh))));
  background: linear-gradient(
    to bottom,
    var(--space) 0%,
    #08132d 12%,
    var(--deep-blue) 28%,
    #18336d 42%,
    var(--mid-blue) 56%,
    #1f53b8 70%,
    var(--bright-blue) 82%,
    #4f94ff 92%,
    var(--sky) 100%
  );
}
@media (prefers-reduced-motion: reduce){
  #bg-gradient::before{
    top: 0;
  }
}

#contact {
    position: relative;
    overflow: visible;
}

#contact .contact-clouds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

#contact .contact-clouds img {
    position: absolute;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 18px 40px rgba(14, 52, 120, 0.22));
    transform-origin: center bottom;
}

#contact .contact-clouds img:nth-child(1) {
    width: clamp(220px, 26vw, 380px);
    top: clamp(-32px, -6vh, 0px);
    left: clamp(16px, 6vw, 120px);
    opacity: 0.92;
    filter: drop-shadow(0 20px 48px rgba(12, 45, 102, 0.26));
}

#contact .contact-clouds img:nth-child(2) {
    width: clamp(280px, 35vw, 460px);
    bottom: clamp(-44px, -8vh, -12px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.98;
    filter: drop-shadow(0 26px 60px rgba(12, 45, 102, 0.28));
}

#contact .contact-clouds img:nth-child(3) {
    width: clamp(220px, 28vw, 420px);
    top: clamp(40px, 10vh, 140px);
    right: clamp(10px, 6vw, 120px);
    opacity: 0.9;
    filter: drop-shadow(0 22px 58px rgba(9, 38, 96, 0.24));
}
/* === FIN GRADIENTE === */

/* ============================================
    Hero Responsive
    ============================================ */

@media (max-width: 980px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        order: 2;
        text-align: center;
        max-width: none;
    }

    .hero-placeholder {
        order: 1;
        aspect-ratio: 16/11;
        min-height: 260px;
    }

    .hero-title {
        text-align: center;
    }

    .hero-lead {
        text-align: center;
        margin: 0 auto 32px;
    }
}

/* ============================================
   Pricing Table with Toggle (scoped)
   ============================================ */

/* Scope design tokens to pricing only to avoid collisions */
#pricing {
  /* Light/UI tokens used by the component */
  --bg-page: #F7F7FA;
  --bg-surface: #FFFFFF;
  --bg-surface-accent: #F3EFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #6B7280;
  --text-inverse: #FFFFFF;
  --accent-primary: #6C3EF2;
  --accent-primary-hover: #5A2EEB;
  --accent-subtle: #E9E3FF;
  --border-default: #E5E7EB;
  --border-emphasis: #C7C9D1;
  --success: #16A34A;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(17,24,39,.08);
  --radius-xl: 20px;
  --radius-lg: 16px;

  /* Create its own stacking context to prevent bleed */
  isolation: isolate;
}

#pricing .pricing-container { max-width: 1400px; margin: 0 auto; padding: 0 24px 40px; }

/* Toggle */
#pricing .segmented{display:inline-flex;gap:4px;border:1px solid var(--border-default);border-radius:999px;padding:4px;background:var(--bg-surface);box-shadow:var(--shadow-sm);margin-bottom:16px;position:relative}
#pricing .segmented button{border:0;background:transparent;padding:10px 14px;border-radius:999px;font-weight:600;color:var(--text-secondary);cursor:pointer;position:relative;z-index:1}
#pricing .segmented button.active{background:var(--accent-subtle);color:var(--text-primary)}

/* Sliding thumb variant (used in this site) */
#pricing .segmented--thumb button.active{background:transparent;color:#e6f1ff}
#pricing .segmented--thumb .segmented__thumb{position:absolute;top:4px;left:4px;height:calc(100% - 8px);width:0;border-radius:999px;background:linear-gradient(135deg, rgba(108,62,242,0.95), rgba(95,114,255,0.95));box-shadow:0 10px 24px rgba(108,62,242,0.35);transition:transform .25s ease,width .25s ease;pointer-events:none;z-index:0;will-change:transform}

/* Desktop grid (Specs | col1 | col2 | col3 | col4) */
#pricing .pricing-grid { display: grid; gap: 24px; width: 100%; max-width: none; grid-template-columns: minmax(260px,1.1fr) repeat(var(--plan-cols, 3), var(--col-w, minmax(240px,1fr))); overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }

/* Solid background for the first column (absolute overlay, no layout impact) */
#pricing .glass::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--left-overlay-left, 0);
  width: var(--left-col-w, 260px);
  background: var(--glass-bg, linear-gradient(180deg, rgba(20, 28, 45, 0.82) 0%, rgba(9, 14, 26, 0.95) 100%));
  /* Clip the overlay so it begins visually below the cards row */
  clip-path: inset(var(--left-overlay-top, 0) 0 0 0);
  border-right: 1px solid rgba(230,241,255,0.08);
  z-index: 20; /* below labels (21), above scrolling content */
  pointer-events: none;
}

/* Disable overlay on mobile */
@media (max-width: 1023px) {
  #pricing .glass::before { display: none; }
}

/* Reset to rely on container width; avoid extra padding that reduces usable width */

/* Reset to rely on container width; avoid extra padding that reduces usable width */
#pricing .row { display: contents; }
#pricing .label-cell { padding: 16px 24px; border-top: 1px solid rgba(230,241,255,0.08); display:flex; align-items:center; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #e6f1ff; margin: 0; line-height: 1.1; background: transparent; }
#pricing .cell { padding: 16px 24px; border-top: 1px solid rgba(230,241,255,0.08); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; font-weight: 400; color: rgba(193, 205, 220, 0.85); line-height: 1.7; margin: 0; }

/* Keep specs (left column) fixed while plans scroll */
#pricing .pricing-grid .label-cell { position: sticky; left: 0; z-index: 21; border-right: none; }
#pricing .pricing-grid .placeholder { position: sticky; left: 0; z-index: 21; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-right: none; }

/* Cards */
#pricing .card { position: relative; overflow: hidden; background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
#pricing .card.featured { border-color: var(--accent-primary); box-shadow: var(--shadow-md); }
#pricing .card-header { padding: 16px; background: var(--bg-surface-accent); color: var(--text-primary); }
#pricing .card.featured .card-header { background: var(--accent-primary); color: var(--text-inverse); }
#pricing .tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; display:inline-block; max-width:100%; white-space:normal; line-height:1.2; }
#pricing .card-title { font-size:13px; text-transform:uppercase; opacity:.9; }
#pricing .card-header--stacked { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
#pricing .card-header--stacked .tag { margin-left: 0; }
#pricing .card-body { padding: 24px; }
#pricing .price { font-size: 32px; font-weight: 700; display: flex; align-items: flex-end; gap: 12px; }
#pricing .card .btn { width: 100%; padding: 12px 16px; border-radius: 12px; font-weight: 600; border: 1px solid var(--border-emphasis); background: var(--bg-surface); color: var(--text-primary); cursor: pointer; }
#pricing .card .btn.filled { background: var(--accent-primary); color: var(--text-inverse); border-color: var(--accent-primary); }
#pricing .card .btn.filled:hover { background: var(--accent-primary-hover); }

/* Icons */
#pricing .icon { display:inline-flex; width: 24px; height: 24px; align-items:center; justify-content:center; border-radius: 999px; border:1px solid currentColor; font-size: 16px; line-height: 1; }
#pricing .icon.check { color: var(--success); background: transparent; }
#pricing .icon.dash { color: var(--danger); background: var(--danger-bg); }

/* Fade */
#pricing .fade { transition: opacity .25s ease; }
#pricing .fade.hidden { opacity: 0; }

/* Scroll control button (desktop only) */
#pricing .grid-scroll-btn { position: absolute; right: 16px; top: 86px; z-index: 5; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(94,225,255,0.22); background: rgba(255,255,255,0.06); color: #e6f1ff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(5,10,25,0.35); }
#pricing .grid-scroll-btn:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 1023px) { #pricing .grid-scroll-btn { display: none; } }

/* Mobile */
@media (max-width: 1023px) {
  #pricing .md-hidden { display: none; }
  #pricing .cards-mobile { display: grid; grid-template-columns: 1fr; gap: 24px; }
  #pricing .table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--border-default); border-radius: var(--radius-xl); background: var(--bg-surface); }
  #pricing table { width: 100%; border-collapse: collapse; }
  #pricing th, #pricing td { padding: 16px 24px; border-top: 1px solid var(--border-default); text-align: left; }
  #pricing thead th { color: var(--text-muted); font-weight: 600; }
}

/* Hide mobile-only block on desktop to avoid duplication */
@media (min-width: 1024px) {
  #pricing .md-only { display: none; }
}

/* Dark glass variant used in this site */
#pricing .glass { position: relative; z-index: 3; --glass-bg: linear-gradient(180deg, rgba(20, 28, 45, 0.82) 0%, rgba(9, 14, 26, 0.95) 100%); background: var(--glass-bg); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); border: 1px solid rgba(94, 225, 255, 0.18); border-radius: 24px; box-shadow: 0 26px 48px rgba(5, 10, 25, 0.55); padding: 32px; }
#pricing .glass .segmented{ border-color: rgba(94,225,255,0.18); background: rgba(255,255,255,0.04); }
#pricing .glass .segmented button{ color: rgba(222, 235, 255, 0.8); }
#pricing .glass .segmented button.active{ background: rgba(108,62,242,0.25); color: #e6f1ff; }
/* In glass theme, keep thumb vivid */
#pricing .glass .segmented--thumb .segmented__thumb{background:linear-gradient(135deg, rgba(108,62,242,1), rgba(94, 113, 255, 0.98))}
#pricing .glass .card{ background: rgba(255,255,255,0.06); border-color: rgba(94,225,255,0.18); }
#pricing .glass .card-header{ background: rgba(255,255,255,0.06); color: #e6f1ff; }
#pricing .glass .card.featured .card-header{ background: rgba(108,62,242,0.9); }
#pricing .glass .btn{ background: rgba(255,255,255,0.06); color: #e6f1ff; border-color: rgba(94,225,255,0.18); }
#pricing .glass .table-wrap{ background: transparent; border-color: rgba(94,225,255,0.18); }
#pricing .glass thead th{ color: rgba(193,205,220,0.85); }
#pricing .glass .price{ color:#e6f1ff; }
#pricing .glass .card-title{ color:#e6f1ff; }
#pricing .glass .tag{ border: 1px solid rgba(94,225,255,0.18); }
#pricing .glass .table-wrap th:first-child{ font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #e6f1ff; margin: 0; line-height: 1.1; }
#pricing .glass .table-wrap td{ font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; font-weight: 400; color: rgba(193, 205, 220, 0.85); line-height: 1.7; margin: 0; }

/* Hide legacy static pricing panel when modular table is present */
#pricing .pricing-panel { display: none !important; }

/* ===== New Pricing Cards UI (light) ===== */
#pricing .glass--plain { background: transparent; border: 0; box-shadow: none; padding: 28px; }
#pricing .glass--plain::before { display: none; }

#pricing .pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: stretch; }
#pricing .pricing-cards.is-2x2 { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
@media (max-width: 1023px) { #pricing .pricing-cards.is-2x2 { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { #pricing .pricing-cards { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (max-width: 1279px) { #pricing .pricing-cards { grid-template-columns: repeat(2, minmax(260px, 1fr)); } }

#pricing .price-card { background: #ffffff; color: #111827; border: 1px solid rgba(0,0,0,0.12); border-radius: 16px; padding: 24px; box-shadow: 0 6px 16px rgba(0,0,0,0.06); position: relative; }
#pricing .price-card.is-popular { border: 2px solid #111111; box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
#pricing .price-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #111111; color: #ffffff; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid #000; box-shadow: 0 6px 12px rgba(0,0,0,0.12); }

#pricing .price-card__head { margin-bottom: 8px; }
#pricing .price-card__icon { width: 40px; height: 40px; border-radius: 999px; background: #F1F5F9; display: inline-flex; align-items: center; justify-content: center; color: #6B7280; margin-bottom: 10px; }
#pricing .price-card__title { margin: 0; font-size: 20px; font-weight: 700; }
#pricing .price-card__subtitle { margin-top: 4px; margin-bottom: 10px; font-size: 14px; color: #6B7280; }

#pricing .price-card__price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 18px; }
#pricing .price-card__price .period { font-size: 16px; font-weight: 400; color: #6B7280; margin-left: 6px; }

#pricing .price-card__cta { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.12); background: #fff; color: #111827; font-weight: 600; cursor: pointer; margin: 6px 0 18px; }
#pricing .price-card__cta--primary { background: #111111; color: #ffffff; border-color: #111111; }
#pricing .price-card__cta--primary:hover { background: #1f1f1f; }
#pricing .price-card__cta--muted { background: #F3F4F6; color: #6B7280; border-color: transparent; cursor: default; }
#pricing .price-card__cta:hover:not(.price-card__cta--muted) { opacity: .92; }

#pricing .price-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#pricing .price-card__features li { display: flex; align-items: flex-start; gap: 10px; color: #374151; }
#pricing .check-icon { width: 22px; height: 22px; border-radius: 999px; background: #111111; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 22px; }

/* Inline notes/icons */
#pricing .note { font-style: italic; }
#pricing .note--danger { color: #DC2626; }
#pricing .i-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 999px; background: #111111; color: #ffffff; font-size: 11px; font-weight: 700; line-height: 1; margin-left: 6px; vertical-align: middle; }

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    right: 28px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    pointer-events: none;
}

.toast-notification {
    min-width: 280px;
    max-width: 340px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radiusLg);
    background: linear-gradient(150deg, rgba(19, 29, 48, 0.96), rgba(9, 14, 26, 0.92));
    border: 1px solid rgba(94, 225, 255, 0.22);
    box-shadow: 0 32px 64px -36px rgba(8, 16, 32, 0.8);
    color: var(--text);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.toast-notification::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(94, 225, 255, 0.18), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 225, 255, 0.15);
    color: var(--brandPrimary);
    flex: 0 0 32px;
    margin-top: 2px;
}

.toast-content {
    font-size: 0.95rem;
    line-height: 1.5;
}

.toast-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(230, 241, 255, 0.64);
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.toast-close:hover {
    color: rgba(230, 241, 255, 0.92);
    transform: scale(1.08);
}

.toast-notification--success {
    border-color: rgba(94, 225, 255, 0.4);
}

.toast-notification--success .toast-icon {
    color: #5ee1ff;
    background: rgba(94, 225, 255, 0.25);
}

.toast-notification--error {
    border-color: rgba(252, 103, 137, 0.45);
}

.toast-notification--error .toast-icon {
    color: #ff7fa3;
    background: rgba(255, 127, 163, 0.15);
}

@media (max-width: 640px) {
    .toast-container {
        right: 16px;
        left: 16px;
        bottom: 20px;
    }

    .toast-notification {
        max-width: none;
    }
}

@media (max-width: 768px) {
    html, body {
        overscroll-behavior: none;
        -webkit-overflow-scrolling: touch;
    }

    .section {
        overscroll-behavior: contain;
    }
}
