*, *::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;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #1A0F1B 0%, #3E2140 25%, #6B3A6E 50%, #7D4F7C 70%, #9B6B9A 85%, #B86A1C 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ── Hero Animations ── */
.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-desc {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-scroll {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8A849;
    color: #1A0F1B;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid #E8A849;
}

.btn-primary:hover {
    background: transparent;
    color: #FDE8A0;
    border-color: #FDE8A0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* ── Label ── */
.label {
    letter-spacing: 0.25em;
}

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

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

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

#nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(107,58,110,0.08);
}

#nav.scrolled .nav-link {
    color: #3E2140;
}

#nav.scrolled .nav-link::after {
    background: #B86A1C;
}

/* ── Scroll Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    text-decoration: none;
}

.mobile-link:hover {
    color: #B86A1C;
}

/* ── Thin dividers ── */
.section-divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, #E8A849, transparent);
}

/* ── Selection ── */
::selection {
    background: rgba(107,58,110,0.2);
    color: #1A0F1B;
}

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #E8A849;
    outline-offset: 2px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F5F0F7;
}

::-webkit-scrollbar-thumb {
    background: #D4BFD9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #BA94BC;
}
