/* Global Variables */
:root {
    --primary-pink: #F49CA0;
    --secondary-grey: #CFD4DB;
    --accent-red: #AB172F;
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-pink {
    color: var(--primary-pink);
}

.text-red {
    color: var(--accent-red);
}

.bold {
    font-weight: 700;
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-pink);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(244, 156, 160, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 156, 160, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-pink);
    color: var(--white);
}

/* Header/Nav */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Hero Section */
.hero {
    padding: var(--spacing-md) 0 var(--spacing-lg);
    /* Reduced top padding */
    background: linear-gradient(135deg, #fff5f6 0%, #fff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Common Section Styles */
section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-pink);
    margin: 1rem auto 0;
}

/* Content Blocks */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Ingredients Grid - Technical Editorial */
#formula {
    background-color: #fdfcfb;
    /* Sophisticated Neutral/Warm Off-white */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.ingredient-item {
    text-align: left;
    /* Technical focus often reads better left-aligned or justified, asking for "Guided Focus" */
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border-radius: 8px;
    /* Slightly squarer for "technical/institutional" feel */
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* Institutional Depth: Layered Shadows */
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Micro-interaction Desktop */
@media (min-width: 992px) {
    .ingredient-item:hover {
        transform: translateY(-2px);
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.03),
            0 12px 24px rgba(0, 0, 0, 0.06);
        border-color: rgba(171, 23, 47, 0.1);
    }
}

.ingredient-item h3 {
    color: var(--text-dark);
    /* Darker for authority, accent comes from line */
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    position: relative;
    font-weight: 600;
}

/* Focus Guided Accent Line */
.ingredient-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-red);
    opacity: 0.6;
}

.ingredient-item p {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* Benefits Section - Premium Institutional */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    padding: 3rem 2rem;
    /* Generous breathing room */
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* Layered shadows for solid depth */
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 15px rgba(0, 0, 0, 0.03),
        0 2px 4px rgba(0, 0, 0, 0.02) inset;
    /* Subtle inner depth */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

/* Discrete Micro-interaction (Desktop) */
@media (min-width: 992px) {
    .benefit-card:hover {
        transform: translateY(-3px);
        box-shadow:
            0 8px 12px rgba(0, 0, 0, 0.03),
            0 15px 35px rgba(171, 23, 47, 0.06),
            /* Hint of brand color */
            0 2px 4px rgba(0, 0, 0, 0.01) inset;
        border-color: rgba(171, 23, 47, 0.08);
    }
}

.benefit-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: #fff;
    border: 3px solid #f8f8f8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Float the icon slightly */
}

.benefit-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-pink);
    letter-spacing: -0.02em;
}

.benefit-card p {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Testimonials Section - Editorial Modern */
.testimonials-section {
    padding: 6rem 0;
    background: #fdfdfd;
    /* Very subtle difference from white */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.testimonials-header p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    /* Constrain width for better reading */
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(171, 23, 47, 0.05);
}

/* Author Photo */
.testimonial-img-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-img-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(171, 23, 47, 0.15);
    /* Thin elegant ring */
    z-index: -1;
}

/* Content */
.testimonial-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-grey);
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: auto;
}

.testimonial-source {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.2rem;
}

/* Pricing Section - Modern Editorial Journey */
.journey-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fff9fa 100%);
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 230, 233, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
    align-items: stretch;
    isolation: isolate;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting Line (Desktop) */
.journey-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.06) 20%,
            rgba(0, 0, 0, 0.06) 80%,
            transparent 100%);
    z-index: -1;
}

.journey-step {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(5px);
    overflow: hidden;
    /* Contain content */
}

.journey-step:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(171, 23, 47, 0.05);
    border-color: rgba(171, 23, 47, 0.08);
}

/* Featured Step */
.journey-step.step-balance {
    background: #fff;
    border: 1px solid rgba(171, 23, 47, 0.08);
    box-shadow: 0 15px 35px rgba(171, 23, 47, 0.04);
    z-index: 5;
    transform: scale(1.02);
}

.journey-step.step-balance:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 25px 50px rgba(171, 23, 47, 0.08);
}

.step-num {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #aaa;
    margin-bottom: 2rem;
    background: #fff;
    padding: 0 15px;
    border-radius: 20px;
    font-weight: 600;
}

.journey-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.journey-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: auto;
}

.journey-img-wrapper {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 2.5rem 0;
    position: relative;
}

.journey-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 120px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(165, 42, 42, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s ease;
}

.journey-step:hover .journey-img-wrapper::after {
    width: 100px;
    opacity: 0.6;
}

.journey-step img {
    height: auto;
    max-height: 100%;
    max-width: 90%;
    /* Prevent oversize */
    width: auto;
    position: relative;
    z-index: 2;
    mix-blend-mode: multiply;
    filter: contrast(1.08) saturate(1.02);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-step:hover img {
    transform: translateY(-10px) scale(1.03);
}

.journey-action {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.price-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-style: italic;
}

.btn-journey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    width: 100%;
    max-width: 260px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    color: #777;
    background: transparent;
}

.btn-journey:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.02);
}

.btn-journey.primary {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-journey.primary:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsiveness */
@media (max-width: 960px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .journey-grid::before {
        display: none;
    }

    .journey-step {
        padding: 2.5rem 1.5rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Ensure visibility */
        background: #fff;
    }

    .journey-step.step-balance {
        transform: scale(1);
        border: 1px solid rgba(171, 23, 47, 0.15);
        box-shadow: 0 10px 30px rgba(171, 23, 47, 0.08);
        order: -1;
    }

    .journey-step.step-balance:hover {
        transform: none;
    }

    .journey-desc {
        max-width: 100%;
    }

    .btn-journey {
        padding: 1.1rem 2rem;
        max-width: 100%;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* FAQ Section - Modern Accordion */
.faq-section {
    padding: 6rem 0;
    background: #fdfdfd;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.faq-card[open] {
    box-shadow: 0 8px 25px rgba(171, 23, 47, 0.05);
    border-color: rgba(171, 23, 47, 0.05);
}

.faq-trigger {
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    /* Hide default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #fff;
}

.faq-trigger::-webkit-details-marker {
    display: none;
    /* Hide marker in WebKit */
}

.faq-trigger:focus {
    outline: none;
}

.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    padding-right: 1rem;
    text-align: left;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--primary-pink);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.faq-card[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-pink);
    color: #fff;
}

/* Smooth Accordion Animation Content */
.faq-content {
    padding: 0 2rem 2rem 2rem;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .faq-trigger {
        padding: 1.2rem 1.5rem;
    }

    .faq-question {
        font-size: 1.05rem;
    }

    .faq-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}