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

:root {
    --pink:      #f9a8d4;
    --pink-dark: #ec4899;
    --yellow:    #fde68a;
    --green:     #bbf7d0;
    --purple:    #ddd6fe;
    --text:      #1e1b4b;
    --muted:     #6b7280;
    --white:     #ffffff;
    --radius:    1.25rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: #fff9fb;
    line-height: 1.6;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #fce7f3;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pink-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink-dark); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.btn:focus-visible {
    outline: 3px solid var(--pink-dark);
    outline-offset: 3px;
}

.btn-primary { background: var(--pink-dark); color: #fff; }
.btn-outline  { background: transparent; border: 2px solid var(--pink-dark); color: var(--pink-dark); }
.btn-white    { background: #fff; color: var(--pink-dark); }
.btn-white:hover { box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4); }
.btn-staff    { background: transparent; border: 2px solid var(--pink-dark); color: var(--pink-dark); }

/* ── STAFF AUTH ── */
.staff-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff0f8;
    border: 1px solid #fce7f3;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.staff-logout {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    transition: color 0.2s;
}

.staff-logout:hover { color: var(--pink-dark); }

.staff-error {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
}

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(160deg, #fff0f8 0%, #fdf4ff 50%, #f0fdf4 100%);
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--pink-dark); }

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FEATURES ── */
.features {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink-dark);
    margin-bottom: 0.5rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.4rem; }
.card p  { font-size: 0.95rem; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner {
    margin: 0 1.5rem 5rem;
    background: linear-gradient(135deg, var(--pink-dark), #a855f7);
    border-radius: var(--radius);
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

/* ── FOOTER ── */
footer {
    background: var(--text);
    color: #c7d2fe;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

footer a { color: var(--pink); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── MOBILE NAV ── */
@media (max-width: 640px) {
    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #fce7f3;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .nav-links.open { display: flex; }

    .nav-links li a {
        display: block;
        padding: 1rem 2rem;
        border-top: 1px solid #fce7f3;
    }

    .nav > .btn { display: none; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    .btn, .card { transition: none; }
}
