html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

.glass-nav {
    backdrop-filter: blur(12px);
    background-color: rgba(12, 35, 64, 0.8);
}
.hero-gradient {
    background: radial-gradient(circle at center, rgba(43, 180, 224, 0.15) 0%, rgba(12, 35, 64, 0) 70%);
}

/* === HERO: Staggered text reveal === */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease-out forwards;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

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

/* === PROCESS: Interactive steps === */
.process-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}
.process-card:hover, .process-card.active {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(43, 180, 224, 0.2);
    border-color: #2BB4E0;
}
.process-card .step-num {
    position: absolute;
    top: -14px;
    right: 24px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2BB4E0;
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}
.process-card:hover .step-num, .process-card.active .step-num {
    opacity: 1;
    transform: scale(1);
}
.progress-track {
    height: 3px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: #2BB4E0;
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* === CASES: 3D Tilt === */
.tilt-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}
.tilt-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

/* === TEAM: Partial grayscale === */
.team-photo {
    filter: grayscale(50%);
    transition: filter 0.5s ease;
}
.group:hover .team-photo {
    filter: grayscale(0%);
}

/* === TEAM: Lift + glow on hover === */
.team-card {
    transition: all 0.4s ease;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(43, 180, 224, 0.25);
}

/* === FAQ: Smooth accordion === */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.faq-item.open {
    box-shadow: 0 4px 20px -4px rgba(43, 180, 224, 0.15);
    border-color: rgba(43, 180, 224, 0.3);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 0 24px 24px;
}
.faq-chevron {
    transition: transform 0.4s ease;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

/* === CTA: Pulse glow + animated grid === */
.cta-section {
    background: linear-gradient(135deg, #2BB4E0 0%, #1a8ab5 40%, #0C2340 100%);
}
.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(43, 180, 224, 0.4) 0%, transparent 60%);
    animation: ctaPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}
.cta-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}
.cta-btn {
    position: relative;
    overflow: hidden;
}
.cta-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 70%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
