/* ====== 1. VARIABLES & FOUNDATION ====== */
:root {
    --primary: #bb3e7d;
    --secondary: #2c1c1c;
    --white: #eee4e4;
    --light: #fdfdfd;
    --gray: #6b7280;
    --header-h: 75px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ====== 2. HEADER & NAVIGATION ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: linear-gradient(90deg, var(--secondary) 0%, #3d2626 100%);
    z-index: 2000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    opacity: 0.95;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    padding: 8px 22px;
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(187, 62, 125, 0.4);
}

/* Hamburger (3-Span Animation) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2100;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ====== 3. HERO SECTION ====== */
.hero {
    padding: 160px 0 100px;
    background: var(--secondary);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ====== 4. FEATURES SECTION ====== */
.features {
    padding: 100px 0;
    background: var(--light);
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ====== 5. CTA & FOOTER ====== */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), #3d2626);
    padding: 60px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.cta-box h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ====== 6. RESPONSIVE ====== */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 40px 0;
        gap: 25px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        transform: translateY(0);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

    .footer-flex {
        flex-direction: column;
        gap: 20px;
    }
}