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

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVBAR ===== */
.nav-scrolled {
    background: rgba(249, 240, 252, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

.nav-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #7B2D8E;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menuBtn.active .nav-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .nav-bar:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .nav-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FBBF24;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-link:hover::after {
    width: 80%;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #F9F0FC 0%, #FFFFFF 50%, #FFF8DB 100%);
    position: relative;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(123, 45, 142, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.2);
    top: 30%;
    left: 5%;
    animation: float-slow 6s ease-in-out infinite;
}

.geo-diamond {
    position: absolute;
    pointer-events: none;
    transform: rotate(45deg);
}

.geo-diamond--1 {
    width: 60px;
    height: 60px;
    background: rgba(123, 45, 142, 0.12);
    top: 20%;
    right: 15%;
    animation: spin-slow 20s linear infinite;
}

.geo-diamond--2 {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.3);
    bottom: 25%;
    left: 8%;
    animation: spin-slow 15s linear infinite reverse;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
}

.geo-triangle--1 {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(123, 45, 142, 0.08);
    top: 40%;
    right: 5%;
    animation: float-slow 7s ease-in-out infinite;
}

.geo-triangle--2 {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 35px solid rgba(251, 191, 36, 0.2);
    bottom: 15%;
    right: 25%;
    animation: float-slow 9s ease-in-out infinite reverse;
}

.dot-pattern {
    position: absolute;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(123, 45, 142, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
}

.dot-pattern--1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 3%;
    opacity: 0.6;
}

.dot-pattern--2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 8%;
    opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* ===== DOT GRID (about section) ===== */
.dot-grid {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(123, 45, 142, 0.2) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ===== ACCESSIBILITY ===== */
@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;
    }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FBBF24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}
