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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(155, 24, 57, 0.15);
    color: #7f1834;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #3b0712 0%,
        #7f1834 25%,
        #bc2248 50%,
        #db3a65 70%,
        #f4a3b8 90%,
        #fce7eb 100%
    );
}

/* ── Hero Orbs ── */
.orb-1 {
    background: radial-gradient(circle, rgba(244, 163, 184, 0.5) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: float 12s ease-in-out infinite;
}

.orb-2 {
    background: radial-gradient(circle, rgba(188, 34, 72, 0.4) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

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

.hero-headline {
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
}

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

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

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

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

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

/* ── Buttons ── */
.btn-primary {
    background: white;
    color: #7f1834;
    padding: 14px 28px;
    font-size: 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #3b0712;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-primary:hover {
    color: white;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 28px;
    font-size: 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Eyebrow ── */
.eyebrow {
    display: block;
}

/* ── Divider ── */
.divider-line {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.divider-line.visible {
    opacity: 1;
}

/* ── Product Cards ── */
.product-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(63, 7, 18, 0.08);
}

.product-icon {
    transition: transform 0.4s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
}

#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }

/* ── Header States ── */
#site-header.scrolled {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(155, 24, 57, 0.08);
}

#site-header.scrolled .hamburger-line {
    background: #7f1834;
}

/* ── Hamburger Animation ── */
#menu-toggle.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .hamburger-line:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
}

/* ── Mobile Menu Links ── */
.mobile-link {
    opacity: 0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-card:hover {
        transform: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4rem;
    }
}
