/* ─── Base & Reset ─── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ─── Geometric Background Shapes ─── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    top: 20%;
    right: -10%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.07) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation: float-slow 12s ease-in-out infinite;
}

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

.geo-tri--1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(16, 185, 129, 0.05);
    top: 35%;
    left: 8%;
    animation: spin-slow 25s linear infinite;
    transform-origin: center;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(251, 191, 36, 0.1);
    top: 45%;
    right: 10%;
    animation: spin-slow 20s linear infinite;
    transform-origin: center;
}

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

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

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.nav-link {
    position: relative;
}

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

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

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: #fefdf8;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-nav:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* ─── Mobile Menu ─── */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ─── Buttons ─── */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: #059669;
    color: #fefdf8;
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fefdf8;
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(254, 253, 248, 0.4);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-secondary:hover {
    background: rgba(254, 253, 248, 0.1);
    border-color: rgba(254, 253, 248, 0.7);
    transform: translateY(-2px);
}

.btn-cta-light {
    display: inline-flex;
    align-items: center;
    background: #fefdf8;
    color: #064e3b;
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-light:hover {
    background: #d1fae5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fefdf8;
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(254, 253, 248, 0.5);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-outline-light:hover {
    background: rgba(254, 253, 248, 0.1);
    border-color: #fefdf8;
    transform: translateY(-2px);
}

/* ─── Badges & Labels ─── */
.badge-label {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── Pill Tags ─── */
.pill-emerald {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ─── Shop Cards ─── */
.card-shop {
    background: #fefdf8;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-shop:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.12);
}

/* ─── Feature Cards ─── */
.card-feature {
    border: 1px solid rgba(6, 78, 59, 0.06);
}

/* ─── Marquee ─── */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }

    [data-reveal].revealed:nth-child(2) { transition-delay: 0.1s; }
    [data-reveal].revealed:nth-child(3) { transition-delay: 0.2s; }
    [data-reveal].revealed:nth-child(4) { transition-delay: 0.3s; }
}

/* ─── Reduced motion fallback ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
