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

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

body {
    min-height: 100vh;
}

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.shape-circle-1 {
    top: 10%;
    right: -4%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
}

.shape-circle-2 {
    bottom: 5%;
    left: -6%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.05) 0%, transparent 70%);
}

.shape-circle-3 {
    border-radius: 50%;
    background: currentColor;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: rgba(20, 184, 166, 0.04);
    border-radius: 24px;
    transform: rotate(15deg);
}

.shape-dots {
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, rgba(20, 184, 166, 0.08) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.7;
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: currentColor;
    transform: rotate(45deg);
}

/* ── Navigation ── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.25s ease;
}

.mobile-nav-link:hover::after,
.mobile-nav-link:active::after {
    width: 40px;
}

/* ── 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; }
}

/* ── Product card stagger ── */
@media (prefers-reduced-motion: no-preference) {
    .product-card {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

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

/* ── Focus styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selection ── */
::selection {
    background: rgba(20, 184, 166, 0.2);
    color: #134e4a;
}
