/* ============================================
   Northlane — Global Styles
   ============================================ */

html {
    scroll-padding-top: 140px;
}

body {
    background-color: #fafafa;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Grid background pattern */
.grid-bg {
    background-color: #fafafa;
    background-image:
        linear-gradient(#f1f5f9 1px, transparent 1px),
        linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Hero radial glow */
.hero-glow {
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0) 65%);
}

/* Bento cards */
.bento-card {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
    border-color: #10B981;
    box-shadow: 0 20px 40px -10px rgb(0 0 0 / 0.08);
    transform: translateY(-4px);
}

/* Dashboard glassmorphism */
.dashboard-glass {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonial scroll mask */
.mask-fade {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stats glow effect */
.stats-glow {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

/* Mobile sticky CTA */
#mobile-cta {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-cta.visible {
    transform: translateY(0);
}

/* Play button pulse animation */
.play-pulse {
    animation: play-pulse 2s infinite;
}

@keyframes play-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 1rem;
}

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

/* Hero fade-in-up animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade {
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-fade-delay-1 {
    animation-delay: 0.15s;
}

.hero-fade-delay-2 {
    animation-delay: 0.35s;
}

.hero-fade-delay-3 {
    animation-delay: 0.55s;
}

.hero-fade-delay-4 {
    animation-delay: 0.75s;
}

.hero-fade-delay-5 {
    animation-delay: 0.95s;
}