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

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(154, 29, 65, 0.08);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

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

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

.nav-mobile.hidden {
    display: none;
}

.nav-mobile.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero-section {
    background: linear-gradient(180deg, #fff8f9 0%, #fdf2f4 40%, #fce7eb 100%);
    min-height: 100vh;
}

.hero-gradient {
    background: radial-gradient(ellipse at 50% 80%, rgba(253, 207, 217, 0.5) 0%, transparent 70%);
}

.hero-title {
    letter-spacing: -0.02em;
}

.hero-eyebrow {
    opacity: 0.8;
}

.hero-subtitle {
    opacity: 0.85;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #9a1d41;
    color: #fefdfb;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b8234d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 29, 65, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #9a1d41;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1.5px solid #9a1d41;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #9a1d41;
    color: #fefdfb;
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fefdfb;
    color: #9a1d41;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #f9d0d9;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1.5px solid #f9d0d9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-outline:hover {
    background: rgba(249, 208, 217, 0.15);
    transform: translateY(-2px);
}

/* Section Eyebrow */
.section-eyebrow {
    opacity: 0.7;
}

/* Cards */
.card-image-wrapper {
    position: relative;
}

.card-image {
    transition: transform 0.6s ease;
}

.card-item:hover .card-image {
    transform: scale(1.05);
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(154, 29, 65, 0.05) 0%, transparent 40%);
    border-radius: inherit;
    pointer-events: none;
}

/* CTA Pattern */
.cta-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
}

/* Form */
.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(249, 208, 217, 0.3);
    border-radius: 4px;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #fefdfb;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-input::placeholder {
    color: rgba(249, 208, 217, 0.5);
}

.form-input:focus {
    border-color: #f9d0d9;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(249, 208, 217, 0.15);
}

.form-input::-webkit-inner-spin-button,
.form-input::-webkit-calendar-picker-indicator {
    opacity: 0.5;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f9d0d9;
    color: #6b1933;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background: #ffdfe7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .card-image {
        transition: none;
    }
    
    .card-item:hover .card-image {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .nav-scrolled {
        background: rgba(254, 253, 251, 0.98);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-title span {
        font-size: 0.85em;
    }
}
