:root {
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 70%, #3b82f6 100%);
    --gradient-cta: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #2563eb 100%);
    --gradient-intel: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: #f0f4f8;
    color: #1e293b;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* Glass morphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Text effects */
.text-glow { text-shadow: 0 0 40px rgba(59, 130, 246, 0.3); }

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metric cards */
.metric-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* FAQ items */
.faq-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

/* Application cards */
.app-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.app-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-6px);
}

/* Benefit cards */
.benefit-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* Phase cards (dark section) */
.phase-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.phase-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* Button glow effect */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after { opacity: 1; }

/* Mesh backgrounds */
.mesh-bg {
    background-color: #f0f4f8;
    background-image:
        radial-gradient(at 20% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(at 40% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(at 90% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

.mesh-bg-alt {
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 10% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse-soft {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.animate-fade-in-down { animation: fadeInDown 0.8s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out 0.2s both; }
.animate-fade-in-up-2 { animation: fadeInUp 0.8s ease-out 0.4s both; }
.animate-fade-in-up-3 { animation: fadeInUp 0.8s ease-out 0.55s both; }
.animate-scale-in { animation: scaleIn 0.6s ease-out 0.6s both; }

/* Hero orbs */
.hero-orb-1 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 50%;
    bottom: -80px; left: -60px;
    animation: float 10s ease-in-out 2s infinite;
}

.hero-orb-3 {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-soft 4s ease-in-out infinite;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2), transparent);
}

/* Icon circles */
.icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.icon-circle-sm {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Number display */
.number-display {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section label pills */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.check-icon-blue { color: #3b82f6; }
.check-icon-green { color: #22c55e; }

/* Hero pill (minimal icon+text style) */
.hero-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.6rem 1.25rem 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: all 0.3s ease;
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-pill .pill-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

/* FAQ Accordion */
.faq-trigger {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.faq-trigger:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-icon {
    font-size: 0.85rem;
    color: #3b82f6;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    opacity: 1;
}

.faq-item {
    cursor: pointer;
}

/* Scroll Reveal */
.sr-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp pulse */
.whats-pulse {
    animation: whatsPulse 0.6s ease-in-out 3;
}

@keyframes whatsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}