/* ============ NEXUS — Styles ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #0a0e0f; color: #c8d5d9; }

.glass {
    background: rgba(17, 22, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(45, 212, 160, 0.1);
}
.glass-strong {
    background: rgba(17, 22, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 212, 160, 0.15);
}

.glow-accent {
    box-shadow: 0 0 40px rgba(45, 212, 160, 0.08), 0 0 80px rgba(45, 212, 160, 0.04);
}
.glow-accent-strong {
    box-shadow: 0 0 30px rgba(45, 212, 160, 0.15), 0 0 60px rgba(45, 212, 160, 0.08);
}
.text-glow {
    text-shadow: 0 0 30px rgba(45, 212, 160, 0.3);
}

/* ============ Animations ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes typing {
    0%, 60% { opacity: 1; }
    30% { opacity: 0.3; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes waveform {
    0%, 100% { height: 8px; }
    50% { height: 24px; }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes nodeAppear {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 212, 160, 0.1); }
    50% { box-shadow: 0 0 40px rgba(45, 212, 160, 0.25); }
}

/* ============ Components ============ */
.chat-msg {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}
.typing-dot {
    animation: typing 1.2s infinite;
    width: 6px; height: 6px; border-radius: 50%; background: #2dd4a0;
    display: inline-block;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

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

.wave-bar { animation: waveform 0.8s ease-in-out infinite; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.15s; }

/* ============ Scroll Reveal ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Pricing ============ */
.pricing-popular {
    border-color: rgba(45, 212, 160, 0.4);
    box-shadow: 0 0 40px rgba(45, 212, 160, 0.1), 0 8px 32px rgba(0,0,0,0.3);
}

/* ============ Scrollbar ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0e0f; }
::-webkit-scrollbar-thumb { background: #1a7a5c; border-radius: 3px; }

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .chat-msg { opacity: 1; }
}

/* ============ Background Grid ============ */
.bg-grid {
    background-image:
        linear-gradient(rgba(45, 212, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 160, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ============ Steps Timeline ============ */
.step-line {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(45,212,160,0.3), transparent);
}
.step-node {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-node.active .step-circle {
    background: rgba(45, 212, 160, 0.2);
    border-color: #2dd4a0;
    box-shadow: 0 0 30px rgba(45, 212, 160, 0.3);
}
.step-node.active .step-label {
    color: #2dd4a0;
}
.step-node.active .step-visual {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.step-visual {
    opacity: 0.3;
    transform: translateY(10px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ WhatsApp Section Override ============ */
#whatsapp .text-glow { text-shadow: 0 0 20px rgba(37,211,102,0.3), 0 0 40px rgba(37,211,102,0.1); }
