/* === Base & Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* === Navbar === */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* === Hero Decorations === */
.deco-circle {
    animation: float 8s ease-in-out infinite;
}

.deco-circle:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.deco-circle:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

.deco-circle:nth-child(4) {
    animation-delay: -1s;
    animation-duration: 9s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

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

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

/* === Product Cards === */
.product-card {
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
}

/* === Feature Cards === */
.feature-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.hidden-reveal {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.hidden-reveal {
    opacity: 0;
    transform: translateX(30px);
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden-reveal,
    .reveal-left.hidden-reveal,
    .reveal-right.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}
