/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Scroll-triggered fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children animations */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Card hover effect */
.card-hover {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.dark .card-hover:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Glass card */
.glass-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.8);
}
.dark .glass-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Nav scroll transition */
.nav-scrolled {
    background: rgba(248, 246, 254, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dark .nav-scrolled {
    background: rgba(17, 24, 39, 0.95) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Pricing card highlight */
.pricing-highlight {
    border: 2px solid #2A9D8F;
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}
.dark .pricing-highlight {
    border-color: #60A5FA;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

/* Screenshot browser mockup */
.browser-mockup {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Step connector line */
.step-connector {
    position: absolute;
    top: 20px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #E2DAF9 0px,
        #E2DAF9 6px,
        transparent 6px,
        transparent 12px
    );
}
.dark .step-connector {
    background: repeating-linear-gradient(
        90deg,
        #374151 0px,
        #374151 6px,
        transparent 6px,
        transparent 12px
    );
}
