:root {
    /* Color Palette */
    --bg-dark: #050505;
    --bg-surface: rgba(18, 19, 26, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --tech-blue: #00ffaa;
    --tech-blue-glow: rgba(0, 255, 170, 0.5);
    --neon-purple: #00f0ff;
    --neon-purple-glow: rgba(0, 240, 255, 0.4);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--tech-blue), var(--neon-purple));
    --gradient-text: linear-gradient(to right, #00ffaa, #00f0ff);
    --gradient-text-purple: linear-gradient(to right, #00f0ff, #00ffaa);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-blue {
    top: -100px;
    left: -200px;
    background: var(--tech-blue);
}

.bg-glow-purple {
    top: 40%;
    right: -200px;
    background: var(--neon-purple);
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-purple {
    color: #c084fc;
}

.highlight {
    color: #fff;
    font-weight: 800;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism */
.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
}

.blur-glass {
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--tech-blue), var(--neon-purple));
    color: #050505;
    position: relative;
    z-index: 1;
    border: none;
    font-weight: 700;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--neon-purple), var(--tech-blue));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 255, 170, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 255, 170, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.gratis-highlight {
    color: var(--tech-blue);
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 800;
    text-shadow: 0 0 12px var(--tech-blue-glow);
}

.gratis-highlight {
    color: var(--tech-blue);
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 800;
    text-shadow: 0 0 12px var(--tech-blue-glow);
}

.glow-btn {
    box-shadow: 0 0 20px var(--tech-blue-glow);
}

.glow-btn:hover {
    box-shadow: 0 0 30px var(--neon-purple-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    color: var(--tech-blue);
    filter: drop-shadow(0 0 8px var(--tech-blue-glow));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: white;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        padding-top: 120px;
    }
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Interactive Smartphone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.smartphone-mockup {
    width: 280px;
    height: 560px;
    background: rgba(10, 12, 16, 0.6);
    border-radius: 40px;
    border: 8px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px var(--tech-blue-glow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.screen {
    flex: 1;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    display: flex;
    flex-direction: column;
    padding: 40px 16px 16px;
    gap: 20px;
    position: relative;
}

/* Skeleton Loading UI */
.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

.screen-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.skeleton-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

.w-70 { width: 70%; }
.w-40 { width: 40%; }

.screen-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: var(--tech-blue);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-text {
    font-size: 0.8rem;
    color: var(--tech-blue);
    font-weight: 600;
}

.screen-cards {
    display: flex;
    gap: 10px;
}

.skeleton-card {
    flex: 1;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    animation: pulse 2s infinite;
}

.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 20;
}

.badge-left {
    top: 30%;
    left: -40px;
    color: #fbbf24;
}

.badge-right {
    bottom: 25%;
    right: -40px;
    color: #34d399;
}

@media (max-width: 768px) {
    .badge-left { left: -10px; }
    .badge-right { right: -10px; }
}

/* Oferta Comercial Section */
.oferta {
    padding: 100px 24px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.pricing-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card {
    position: relative;
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(20, 24, 32, 0.6);
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 30px var(--neon-purple-glow);
    z-index: -1;
    pointer-events: none;
}

.card-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 24px;
}

.card-header h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price small {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.card-footer {
    margin-top: auto;
}

.status {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.w-full {
    width: 100%;
}

/* Escalabilidad Section */
.escalabilidad {
    padding: 80px 24px 120px;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .upgrade-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.upgrade-panel {
    padding: 32px;
    transition: var(--transition-smooth);
}

.upgrade-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 35, 45, 0.5);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
}

.upgrade-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.upgrade-panel p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

.antigravity {
    animation: float 6s ease-in-out infinite;
}

.antigravity-subtle {
    animation: float-subtle 8s ease-in-out infinite;
}

/* Intersection Observer Animations */
.observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: rgba(20, 24, 32, 0.9);
    padding: 32px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(1);
    transition: var(--transition-smooth);
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.95);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: white;
}

.input-glass {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-glass:focus {
    border-color: var(--tech-blue);
    box-shadow: 0 0 10px var(--tech-blue-glow);
}

.hidden {
    display: none !important;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 24, 32, 0.9);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
}

/* Términos y Condiciones Scroll Area */
.terms-scroll-area {
    overflow-y: auto;
    padding-right: 16px;
    margin-right: -16px;
    flex: 1;
}

.terms-scroll-area h4 {
    font-size: 0.95rem;
    color: var(--tech-blue);
    margin-top: 20px;
    margin-bottom: 8px;
}

.terms-scroll-area h4:first-child {
    margin-top: 0;
}

.terms-scroll-area p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Custom Scrollbar for terms */
.terms-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.terms-scroll-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.terms-scroll-area::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}
.terms-scroll-area::-webkit-scrollbar-thumb:hover {
    background: var(--tech-blue-glow);
}

/* Formularios Captura */
.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    outline: none;
    border-color: var(--tech-blue);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Flecha del tooltip */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(20, 24, 32, 0.9);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móvil */
    }
}
