/* ── 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; display: block; }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Geometric Hero Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 2px solid #34d399;
    top: -100px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #34d399;
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square {
    width: 200px;
    height: 200px;
    border: 2px solid #34d399;
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #34d399;
    opacity: 0.04;
    top: 40%;
    right: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #86efac;
    top: 60%;
    right: 20%;
    animation: spin-slow 25s linear infinite reverse;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #34d399 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    bottom: 20%;
    left: 15%;
    transform: rotate(15deg);
}

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

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

/* ── Product Cards ── */
.product-card {
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(52,211,153,0.15);
}

/* ── Navbar Scroll State ── */
#navbar.scrolled {
    background: rgba(4,10,18,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── 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);
    }
}
/* Fallback: always visible if JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-link:last-child { border-bottom: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .geo-circle-1 { width: 300px; height: 300px; right: -80px; }
    .geo-square { width: 100px; height: 100px; left: 3%; }
    .geo-triangle { border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 104px solid #34d399; }
}
