@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #7c3aed;
    --secondary-light: #8b5cf6;
    --secondary-dark: #6d28d9;
    --accent: #ec4899;
    --light: #f8fafc;
    --dark: #1e293b;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    will-change: transform;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-white {
    display: inline-block;
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9);
}

/* Stack Animation */
.stack-container {
    perspective: 1000px;
}

.stack-card {
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stack-card.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Animate on scroll */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

/* Pricing Stack */
.pricing-stack > div {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
}

.pricing-stack > div:nth-child(1) { transition-delay: 100ms; }
.pricing-stack > div:nth-child(2) { transition-delay: 200ms; }
.pricing-stack > div:nth-child(3) { transition-delay: 300ms; }

.pricing-stack > div.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stack-card {
        padding: 1.5rem;
    }
    
    .pricing-stack {
        grid-template-columns: 1fr;
    }
}