*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #6B3A5E;
    color: #fff;
}

/* Hero Animations */
.hero-title {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-sub {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.1s;
}

.hero-desc {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-cta {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.7s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Cards */
.product-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.product-card:nth-child(2) { transition-delay: 0.15s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }

/* Parallax hero image */
#hero-img {
    transition: transform 0.1s linear;
}

/* Smooth section reveals */
section > div > div:first-child > p,
section > div > div:first-child > h2,
section > div > div:first-child > .space-y-5,
section > div > div:first-child > .space-y-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

section.visible > div > div:first-child > p,
section.visible > div > div:first-child > h2,
section.visible > div > div:first-child > .space-y-5,
section.visible > div > div:first-child > .space-y-6 {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar transition */
#navbar.scrolled {
    background-color: rgba(26, 23, 20, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu a {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }

/* Input focus animations */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(107, 58, 94, 0.08);
}

/* Subtle hover lift on product cards */
.product-card:hover {
    box-shadow: 0 20px 60px rgba(107, 58, 94, 0.08);
    transform: translateY(-4px);
}

.product-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease, opacity 0.7s ease, border-color 0.4s ease;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Divider animations */
section.visible ~ .max-w-7xl > div > div:first-child {
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}
