/* Design System */
:root {
    --primary: #2D1E40;       /* Deep Luxury Purple */
    --secondary: #8A7B9C;     /* Muted Lavender */
    --accent: #FAF9F6;        /* Premium Offwhite */
    --gold: #D4AF37;          /* Luxury Gold */
    --text-main: #1A1A1A;
    --text-muted: #4A4A4A;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Playwrite GB J Guides', cursive;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spacing: 8rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--accent);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 1.2rem 10%;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

header nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: var(--transition);
}

header nav a:hover {
    color: var(--gold);
}

.cta-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 0;
    transition: var(--transition);
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--accent);
    padding: 0 10%;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: luxuryFadeIn 1.5s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: luxuryFadeIn 1.5s forwards 1s;
}

@keyframes luxuryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: var(--spacing) 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto;
}

/* Product Spotlight */
.product-spotlight {
    display: flex;
    align-items: center;
    gap: 8rem;
    background: var(--white);
}

.product-image {
    flex: 1;
    position: relative;
}

.product-image img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 20px 20px 0 var(--accent);
    background: var(--accent);
}

.product-info {
    flex: 1;
    font-family: var(--font-body);
}

.product-info h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    line-height: 1.4;
}

.product-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 3rem;
}

.feature-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--gold);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 4rem 3rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(45, 30, 64, 0.08);
    border-color: var(--gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Science Section */
.science-section {
    background: var(--primary);
    color: var(--white);
}

.science-section .section-title h2 {
    color: var(--white);
}

.science-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.science-text p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 2rem;
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.image-break {
    height: 600px;
    background-image: url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: var(--spacing) 0;
    position: relative;
}

.image-break::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 30, 64, 0.2);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 10% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .brand {
    color: var(--white);
    margin-bottom: 2rem;
    display: block;
}

.footer-links h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-spotlight, .science-content {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .product-image img {
        height: 500px;
    }
    header {
        padding: 1.5rem 5%;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing: 5rem;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    header nav {
        display: none;
    }
}
