/* =====================================================
   EXOLUXE™ - LUXURY WEBSITE STYLES
   "Not Skincare. Cell Care™"
   ===================================================== */

/* =====================================================
   CSS VARIABLES & RESET
   ===================================================== */

:root {
    /* Brand Colors */
    --primary-red: #581845;
    --soft-white: #FEFEFE;
    --champagne-gold: #D4AF37;
    --linen-beige: #F5F5DC;
    --ash-taupe: #928E85;
    --deep-charcoal: #2C2C2C;
    --warm-grey: #F8F8F8;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Helvetica Neue Light', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1400px;
    --border-radius: 8px;
    
    /* Shadows */
    --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--deep-charcoal);
    background-color: var(--soft-white);
    overflow-x: hidden;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    color: var(--deep-charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ash-taupe);
    font-family: var(--font-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--deep-charcoal);
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ash-taupe);
    max-width: 800px;
    margin: 0 auto;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 180px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--soft-white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--deep-charcoal);
    border-color: var(--soft-white);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--soft-white);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 24, 69, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--soft-white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    min-width: 220px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(88, 24, 69, 0.1);
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: baseline;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--deep-charcoal);
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 1rem;
    color: var(--primary-red);
    margin-left: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-charcoal);
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-fast);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-fast);
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--soft-white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--ash-taupe);
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    color: var(--primary-red);
    background: var(--warm-grey);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-icon {
    font-size: 1.1rem;
    color: var(--deep-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.search-icon:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: var(--soft-white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--deep-charcoal);
    transition: var(--transition-fast);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    /* Fallback background for when video doesn't load */
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optimize video playback */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.5) 0%,
        rgba(88, 24, 69, 0.12) 50%,
        rgba(44, 44, 44, 0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--soft-white);
    max-width: 900px;
    padding: 0 2rem;
    margin-bottom: 8rem;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.hero-main-title {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--soft-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Reduce size of trademark symbols */
.tm-symbol {
    font-size: 0.6em;
    vertical-align: super;
    line-height: 0;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 2px;
    height: 50px;
    background: var(--soft-white);
    position: relative;
    opacity: 0.7;
    animation: scrollAnimation 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--soft-white);
    border-bottom: 2px solid var(--soft-white);
    transform: rotate(45deg);
}

@keyframes scrollAnimation {
    0%, 100% { opacity: 0.7; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}



/* =====================================================
   BRAND INTRODUCTION SECTION
   ===================================================== */

.brand-intro {
    padding: 150px 0;
    min-height: 100vh;
    background: 
        linear-gradient(
            135deg,
            rgba(44, 44, 44, 0.6) 0%,
            rgba(88, 24, 69, 0.08) 100%
        ),
        url('../images/hero female.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-bottom: 1px solid rgba(88, 24, 69, 0.1);
    position: relative;
    display: flex;
    align-items: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.intro-title {
    margin-bottom: 2rem;
    text-align: left;
}

.intro-subtitle {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.intro-main-title {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--soft-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.intro-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* =====================================================
   PRODUCT SHOWCASE
   ===================================================== */

.product-showcase {
    padding: 150px 0;
    background: var(--soft-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.showcase-image {
    position: relative;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.product-video {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    object-fit: cover;
    max-height: 600px;
    background: linear-gradient(135deg, var(--linen-beige), var(--soft-white));
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(88, 24, 69, 0.2);
}

.showcase-image {
    position: relative;
}

.showcase-image::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(88, 24, 69, 0.8);
    color: var(--soft-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.showcase-image:hover::after {
    opacity: 1;
}

.showcase-image.paused::after {
    content: '▶';
    opacity: 0.9;
}

.showcase-image:not(.paused)::after {
    content: '⏸';
}

.showcase-content {
    padding: 2rem 0;
}

.product-details {
    margin: 3rem 0;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--champagne-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--soft-white);
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--deep-charcoal);
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ash-taupe);
}

.product-action {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ash-taupe);
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

.price-note {
    font-size: 0.9rem;
    color: var(--ash-taupe);
    margin-left: 0.5rem;
}

/* =====================================================
   SCIENCE SECTION
   ===================================================== */

.science-section {
    padding: var(--section-padding);
    background: var(--warm-grey);
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.science-card {
    background: var(--soft-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    text-align: center;
}

.science-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.science-visual {
    margin-bottom: 2rem;
}

.science-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.science-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
}

.science-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ash-taupe);
}

/* =====================================================
   RESULTS TIMELINE
   ===================================================== */

.results-timeline {
    padding: var(--section-padding);
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.95) 0%,
        rgba(30, 30, 30, 0.98) 25%,
        rgba(44, 44, 44, 0.95) 50%,
        rgba(30, 30, 30, 0.98) 75%,
        rgba(44, 44, 44, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.results-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(88, 24, 69, 0.08) 0%,
        rgba(88, 24, 69, 0.04) 50%,
        transparent 70%
    );
    z-index: 1;
}

.results-timeline .container {
    position: relative;
    z-index: 2;
}

.results-timeline .section-header {
    background: linear-gradient(135deg, 
        rgba(252, 248, 250, 0.9) 0%, 
        rgba(255, 252, 253, 0.95) 50%, 
        rgba(252, 248, 250, 0.9) 100%);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(88, 24, 69, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(88, 24, 69, 0.06),
        0 2px 16px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.results-timeline .section-tag {
    color: var(--soft-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, 
        rgba(88, 24, 69, 0.9) 0%, 
        rgba(160, 12, 36, 0.8) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(88, 24, 69, 0.3);
}

.results-timeline .section-title {
    color: var(--deep-charcoal);
    text-shadow: none;
    font-weight: 700;
    margin-top: 1rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(88, 24, 69, 0.1) 0%,
        rgba(88, 24, 69, 0.3) 30%,
        rgba(88, 24, 69, 0.4) 50%,
        rgba(88, 24, 69, 0.3) 70%,
        rgba(88, 24, 69, 0.1) 100%
    );
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(88, 24, 69, 0.15);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 3rem;
}

.timeline-marker {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, 
        rgba(255, 252, 253, 0.98) 0%, 
        rgba(252, 248, 250, 0.95) 50%, 
        rgba(255, 245, 248, 0.92) 100%);
    border: 2px solid rgba(88, 24, 69, 0.25);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--deep-charcoal);
    font-weight: 600;
    box-shadow: 
        0 6px 24px rgba(88, 24, 69, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    z-index: 10;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, 
        rgba(255, 250, 252, 1) 0%, 
        rgba(252, 245, 248, 0.98) 50%, 
        rgba(255, 240, 245, 0.95) 100%);
    border-color: rgba(88, 24, 69, 0.4);
    box-shadow: 
        0 8px 32px rgba(88, 24, 69, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.12),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

.timeline-number {
    font-size: 1.8rem;
    font-family: var(--font-primary);
    line-height: 1;
    color: rgba(88, 24, 69, 0.8);
}

.timeline-unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(88, 24, 69, 0.6);
    font-weight: 500;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
    text-shadow: none;
    font-weight: 600;
    font-family: var(--font-primary);
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(80, 80, 80, 0.85);
    text-shadow: none;
    font-weight: 400;
    opacity: 0.9;
}

/* =====================================================
   KNOWLEDGE HUB
   ===================================================== */

.knowledge-hub {
    padding: var(--section-padding);
    background: var(--warm-grey);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.knowledge-card {
    background: var(--soft-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.knowledge-card.featured {
    grid-column: span 2;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: var(--soft-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
    line-height: 1.4;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ash-taupe);
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.card-link:hover {
    gap: 1rem;
}

.knowledge-cta {
    text-align: center;
    margin-top: 4rem;
}

/* =====================================================
   BRAND STORY
   ===================================================== */

.brand-story {
    padding: var(--section-padding);
    background: var(--soft-white);
}

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

.story-text {
    margin: 2rem 0 3rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--ash-taupe);
}

.story-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-red);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--ash-taupe);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials {
    padding: var(--section-padding);
    background: var(--warm-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--soft-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary-red);
    font-family: var(--font-primary);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--deep-charcoal);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--deep-charcoal);
    margin-bottom: 0.5rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--ash-taupe);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--primary-red) 100%);
    color: var(--soft-white);
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--soft-white);
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.cta-features .feature i {
    font-size: 1.2rem;
    color: var(--champagne-gold);
}

/* Force white styling for outline buttons in CTA section */
.cta-section .btn-outline {
    background: transparent !important;
    color: var(--soft-white) !important;
    border-color: var(--soft-white) !important;
}

.cta-section .btn-outline:hover {
    background: var(--soft-white) !important;
    color: var(--primary-red) !important;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--deep-charcoal);
    color: var(--soft-white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--soft-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-red);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

.footer-disclaimer {
    max-width: 400px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* =====================================================
   BIOSIGNAL PAGE
   ===================================================== */

.biosignal-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--primary-red) 100%);
    color: var(--soft-white);
    overflow: hidden;
    padding: calc(var(--section-padding) + 2rem) 0 var(--section-padding);
}

.biosignal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/red-chick.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.biosignal-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9), rgba(88, 24, 69, 0.85));
    z-index: 2;
}

.biosignal-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 2rem;
    margin: 0 auto;
}

.biosignal-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.biosignal-hero .section-tag {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--champagne-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.biosignal-hero .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--soft-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.biosignal-hero .hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--soft-white);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* BioSignal Complex Explanation */
.biosignal-explanation {
    padding: var(--section-padding);
    background: var(--soft-white);
    position: relative;
    overflow: hidden;
}

.explanation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.explanation-content {
    padding-right: 2rem;
}

.explanation-content .section-header {
    margin-bottom: 3rem;
}

.explanation-content .section-tag {
    color: var(--primary-red);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
}

.explanation-content .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.explanation-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ash-taupe);
    margin-bottom: 3rem;
}

.key-features {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .key-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    padding: 1.25rem;
    background: var(--soft-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
    font-weight: 400;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ash-taupe);
    margin: 0;
}

.explanation-visual {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.explanation-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.visual-container:hover .explanation-image {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.9), transparent);
    color: var(--soft-white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.visual-container:hover .visual-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--soft-white);
}

.overlay-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 992px) {
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .explanation-content {
        padding-right: 0;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Add animation delays */
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }

/* Add hover effects */
.feature-item,
.comparison-item,
.visual-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.visual-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.visual-container:hover .explanation-image {
    transform: scale(1.05);
}

.visual-container:hover .visual-overlay {
    transform: translateY(0);
}

/* =====================================================
   MODAL STYLES
   ===================================================== */

.cart-modal,
.checkout-modal,
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--soft-white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--linen-beige);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--primary-red);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--ash-taupe);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--linen-beige);
    color: var(--primary-red);
}

.modal-body {
    padding: 20px 30px 30px;
}

/* Cart Modal Specific */
.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--linen-beige);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: var(--deep-charcoal);
}

.item-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ash-taupe);
}

.subscription-badge {
    display: inline-block;
    background: var(--champagne-gold);
    color: var(--deep-charcoal);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-top: 5px;
}

.item-price,
.item-total {
    font-weight: 600;
    color: var(--primary-red);
}

.cart-summary {
    border-top: 2px solid var(--linen-beige);
    padding-top: 20px;
    margin-top: 20px;
}

.cart-total {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-red);
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--ash-taupe);
}

/* Checkout Modal Specific */
.checkout-modal .modal-content {
    max-width: 700px;
}

.checkout-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--deep-charcoal);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--linen-beige);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.payment-options {
    display: flex;
    gap: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    width: auto;
}

.order-summary {
    background: var(--linen-beige);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    border-top: 1px solid var(--ash-taupe);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--primary-red);
}

/* Success Modal */
.success-message {
    text-align: center;
    padding: 20px;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

.success-message p {
    color: var(--ash-taupe);
    margin-bottom: 10px;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--deep-charcoal);
    color: var(--soft-white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-notification i {
    color: #28a745;
}

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

/* Key Difference Section */
.key-difference {
    padding: var(--section-padding);
    background: var(--warm-grey);
    position: relative;
    overflow: hidden;
}

.difference-content {
    position: relative;
    z-index: 2;
}

.difference-text {
    text-align: center;
    margin-bottom: 4rem;
}

.difference-text h2 {
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.difference-text p {
    color: var(--ash-taupe);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.difference-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.difference-text {
    text-align: center;
    margin-bottom: 4rem;
}

.difference-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.difference-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ash-taupe);
    max-width: 800px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.comparison-item {
    background: var(--soft-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    text-align: center;
}

.comparison-item.traditional {
    border: 1px solid rgba(44, 44, 44, 0.15);
}

.comparison-item.exoluxe {
    border: 1px solid rgba(88, 24, 69, 0.25);
    background: linear-gradient(135deg, rgba(88, 24, 69, 0.03), rgba(212, 175, 55, 0.07));
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.comparison-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.comparison-item.traditional .comparison-icon {
    background: rgba(44, 44, 44, 0.1);
    color: var(--ash-taupe);
}

.comparison-item.exoluxe .comparison-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--champagne-gold));
    color: var(--soft-white);
}

.comparison-icon i {
    font-size: 1.8rem;
}

.comparison-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-charcoal);
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--ash-taupe);
    position: relative;
    padding-left: 1.5rem;
}

.comparison-item ul li::before {
    content: none; /* hide default bullet so only custom icon shows */
}

/* Process Section */
.process-section {
    padding: var(--section-padding);
    background: var(--soft-white);
    position: relative;
    overflow: hidden;
}

.process-section .section-tag {
    color: var(--primary-red);
    text-align: center;
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.process-section .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--deep-charcoal);
    margin-bottom: 4rem;
    font-weight: 400;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

/* Connecting lines between steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(88, 24, 69, 0.1) 0%,
        rgba(88, 24, 69, 0.2) 50%,
        rgba(88, 24, 69, 0.1) 100%
    );
    z-index: 1;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: var(--primary-red);
    color: var(--soft-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(88, 24, 69, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover .step-number {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(88, 24, 69, 0.4);
}

.step-title {
    font-size: 1.5rem;
    color: var(--deep-charcoal);
    margin-bottom: 1rem;
    font-weight: 400;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ash-taupe);
    max-width: 250px;
    margin: 0 auto;
}

/* Experience Section */
.experience-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--primary-red) 100%);
    color: var(--soft-white);
    text-align: center;
}

.experience-section .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--soft-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.experience-section .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.experience-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.experience-buttons .btn {
    border: 2px solid var(--soft-white);
    color: var(--soft-white);
    background: transparent;
    transition: all 0.3s ease;
}

.experience-buttons .btn:hover {
    background: var(--soft-white);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Wellness Benefits Section */
.wellness-benefits {
    padding: var(--section-padding);
    background: var(--warm-grey);
    position: relative;
    overflow: hidden;
}

.wellness-benefits .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.wellness-benefits .section-tag {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.wellness-benefits .section-title {
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
}

.wellness-benefits .section-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--ash-taupe);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.benefit-card {
    background: var(--soft-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit-content h3 {
    color: var(--deep-charcoal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.benefit-content p {
    color: var(--ash-taupe);
    line-height: 1.6;
    margin: 0;
}

/* === Benefits list === */
.benefits-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--deep-charcoal);
}

.benefits-list i {
    color: var(--primary-red);
}

/* =====================================================
   KNOWLEDGE HUB HERO
   ===================================================== */
.knowledge-hero {
    position: relative;
    background: url('/assets/images/red-chick.png') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 120px; /* space below fixed navbar */
    justify-content: center; /* center hero content horizontally */
    text-align: center;
}

.knowledge-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}

.knowledge-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--soft-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin: 0 auto;
}

/* Badge style for hero section-tag */
.knowledge-hero .section-tag {
    background: var(--primary-red);
    color: var(--soft-white) !important;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =====================================================
   KNOWLEDGE CATEGORIES FILTER
   ===================================================== */

.categories-filter {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-btn {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    color: var(--deep-charcoal);
    transition: var(--transition-fast);
}

.category-btn:hover {
    color: var(--primary-red);
}

.category-btn.active,
.category-btn[aria-pressed="true"] {
    color: var(--primary-red);
}

.category-btn.active::after,
.category-btn[aria-pressed="true"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 1px;
}

/* =====================================================
   FEATURED & ARTICLE CARD HOVER
   ===================================================== */

.featured-card:hover,
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-image img {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
}

/* =====================================================
   NEWSLETTER INPUT
   ===================================================== */

.newsletter-input:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.knowledge-hero .hero-title {
    color: var(--soft-white);
}

.knowledge-hero .hero-description {
    color: var(--soft-white);
}

/* =====================================================
   KNOWLEDGE ARTICLES GRID
   ===================================================== */
.articles-grid {
    padding: var(--section-padding);
    background: var(--soft-white);
}

.articles-grid .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--soft-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

/* Elevate on hover */
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.article-card:hover .article-image img {
    transform: scale(1.06);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: var(--soft-white);
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--ash-taupe);
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.article-content h3 {
    font-size: 1.25rem;
    color: var(--deep-charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content p {
    flex-grow: 1;
    color: var(--ash-taupe);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tags .tag {
    background: var(--warm-grey);
    color: var(--deep-charcoal);
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.article-link {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.article-link:hover {
    gap: 0.6rem;
}

@media (min-width: 1200px) {
    .articles-grid .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.knowledge-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.featured-card {
    background: var(--soft-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.featured-card .featured-content {
    padding: 1.25rem 1.5rem 2rem 1.5rem;
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.newsletter-section {
    padding: var(--section-padding);
    background: var(--soft-white);
}

.newsletter-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
}

.newsletter-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--ash-taupe);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.newsletter-input {
    flex: 1 1 280px;
    max-width: 420px;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--deep-charcoal);
}

.newsletter-input::placeholder {
    color: rgba(100,100,100,0.6);
}

.newsletter-form .btn {
    padding: 0.9rem 2.5rem;
}

.clinical-results p {
    color: rgba(255,255,255,0.8);
}

/* === PRODUCT PAGE ENHANCEMENTS === */
.product-hero-grid {
    display: grid;
    gap: 4rem;
}

@media (max-width: 992px) {
    .product-hero-grid { gap: 2rem; }
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1.2;
}

/* Button polish */
.btn-primary.btn-large,
.btn-secondary.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary.btn-large:hover,
.btn-secondary.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* === Product Highlights Spacing === */
.product-highlights .highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-highlights .highlight i {
    flex-shrink: 0;
}

/* === Guarantees spacing === */
.product-guarantees .guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-guarantees .guarantee i {
    flex-shrink: 0;
}

/* === Product badges spacing === */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* === Subscription selector === */
.subscription-selector input[type="radio"] {
    accent-color: var(--primary-red);
}
.subscription-selector label span {
    color: var(--deep-charcoal);
}

/* === Purchase toggle === */
.purchase-toggle {
  display: inline-flex;
  border: 1px solid var(--warm-grey);
  border-radius: var(--border-radius);
  overflow: hidden;
}
.purchase-toggle .toggle-option {
  padding: 0.5rem 1rem;
  background: var(--warm-grey);
  font-weight: 500;
  border: none;
  cursor: pointer;
  color: var(--deep-charcoal);
  transition: background 0.2s ease, color 0.2s ease;
}
.purchase-toggle .toggle-option.active {
  background: var(--primary-red);
  color: var(--soft-white);
}
.purchase-toggle .toggle-option:not(.active):hover {
  background: var(--warm-grey);
}

/* === FAQ section === */
.faq-section {
  padding: var(--section-padding);
  background: var(--soft-white);
}
.faq-accordion {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch; /* ensure each item takes full width */
}
.faq-item {
  background: var(--warm-grey);
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  width: 100%;
}
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}
.faq-item[open] summary {
  color: var(--primary-red);
}
.faq-item p {
  margin-top: 0.75rem;
  line-height: 1.6;
  color: var(--deep-charcoal);
}

/* Refined FAQ accordion for cleaner UX */
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.faq-item summary::after {
  content: '+';
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '–';
}
.faq-item {
  background: var(--soft-white);
  border: 1px solid var(--warm-grey);
  padding: 1.5rem 2rem;
}
.faq-item p {
  margin-top: 1rem;
}

/* Rating stars */
.product-rating .fas.fa-star {
  color: #FFC107; /* Tailwind yellow-400 hex for consistency */
}

/* === Product Details === */
.details-tabs {
  margin-top: 4rem;
}
.details-tabs .tab-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab-button {
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep-charcoal);
  position: relative;
  padding-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.tab-button:hover {
  color: var(--primary-red);
}
.tab-button.active {
  color: var(--primary-red);
}
.tab-button.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary-red);
  border-radius: 1px;
}
.tab-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.7;
}

/* Spacing within product description tab */
.tab-content p {
  margin-bottom: 1.25rem;
}
.tab-content h3,
.tab-content h4 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}
.tab-content ul {
  margin-top: 0.5rem;
  margin-left: 1.25rem;
  list-style: disc inside;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Add-to-Cart panel fallback for non-Tailwind builds */
.add-to-cart-panel .btn.btn-secondary {
  background: var(--primary-red);
  color: var(--soft-white);
}

/* --- Clinical Results Section Fix --- */
.clinical-results {
  background: #fff !important;
  color: #581845 !important;
}
.clinical-results h3,
.clinical-results .text-4xl,
.clinical-results .text-5xl {
  color: #581845 !important;
  text-shadow: none;
}
.clinical-results p,
.clinical-results span,
.clinical-results .text-sm,
.clinical-results .text-base,
.clinical-results .text-xs {
  color: #581845 !important;
  text-shadow: none;
}
