/**
 * VibeFood One-Page Premium Website
 * Complete Design System - "Warm Organic" Aesthetic
 * 
 * Light beige backgrounds with olive gold accents
 * Elegant, natural, sophisticated animations
 */

/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */
/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */
:root {
    /* Graceful Degradation for Animations */
    --transition-loaded: opacity 0.5s ease;

    /* Background Colors - Warm Beige Palette */
    --bg-primary: #f5f0e8;
    --bg-secondary: #ebe5db;
    --bg-tertiary: #e0d9cd;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-dark: rgba(30, 30, 30, 0.9);

    /* Accent Colors - High Contrast Organic Palette */
    --accent-gold: #9a8b55;
    --accent-gold-bright: #b5a66a;
    --accent-deep-green: #2d3b2d;
    --accent-rich-brown: #5d4037;
    /* Earthy contrast */

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --text-subtle: #9a9a9a;
    --text-light: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
    --gradient-glow: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-bright));
    /* Gold Glow */
    --gradient-hero: linear-gradient(180deg, transparent 0%, rgba(245, 240, 232, 0.9) 100%);
    --gradient-dark: linear-gradient(135deg, #2d3b2d, #1a1a1a);
    /* Deep Green to Black */

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-subheading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes (Fluid Typography) - Refined, smaller */
    --fs-hero: clamp(2.5rem, 5vw, 4rem);
    --fs-h1: clamp(1.75rem, 3.5vw, 2.75rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.125rem, 1.75vw, 1.5rem);
    --fs-body: clamp(0.9375rem, 1.1vw, 1.0625rem);
    --fs-small: clamp(0.8125rem, 0.95vw, 0.9375rem);
    --fs-label: clamp(0.6875rem, 0.85vw, 0.8125rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows & Glows - Warm tones */
    --glow-gold: 0 0 40px rgba(154, 139, 85, 0.3);
    --glow-warm: 0 0 40px rgba(166, 124, 82, 0.3);
    --glow-neon: 0 0 20px rgba(204, 255, 0, 0.5);
    --shadow-soft: 0 4px 30px rgba(61, 61, 61, 0.1);
    --shadow-md: 0 8px 40px rgba(61, 61, 61, 0.15);
    --shadow-lg: 0 12px 60px rgba(61, 61, 61, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-content: 10;
    --z-overlay: 100;
    --z-modal: 1000;
    --z-cursor: 9999;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: radial-gradient(var(--accent-gold) 0.5px, transparent 0.5px), radial-gradient(var(--accent-gold) 0.5px, var(--bg-primary) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-attachment: fixed;
    /* Parallax-like feel */
    overflow-x: hidden;
    cursor: none;
}

/* Graceful Degradation for Animations */
/* Logic removed to prevent blank site. GSAP "from" calls will handle entrance. */
/* Graceful Degradation for Animations */
.hero-title .title-line,
.main-navbar,
.cymatic-ring {
    opacity: 1 !important;
    /* Force visible to prevent blink */
    visibility: visible !important;
    display: block;
}

body.gsap-loaded .hero-title .title-line,
body.gsap-loaded .main-navbar,
body.gsap-loaded .cymatic-ring {
    opacity: 1;
}

/* ========================================
   NAVBAR STYLES (Neon-Organic Identity)
   ======================================== */
.main-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 9999 !important;
    padding: 0.75rem 1.75rem;
    background: #ffffff;
    /* Solid background for reliability */
    /* backdrop-filter: blur(20px); REMOVED FOR PERF */
    /* -webkit-backdrop-filter: blur(20px); */

    /* High-End Organic Identity (Clean) */
    border: 1px solid rgba(154, 139, 85, 0.2);
    /* Subtle Gold Border */
    background-clip: padding-box;
    border-radius: 9999px;

    /* Clean Depth (No Neon) */
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.main-navbar.scrolled {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(-50%) scale(0.98);
}

.navbar-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
}

.navbar-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.navbar-logo img,
.logo-img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.logo-accent {
    color: var(--accent-gold);
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    padding: 0;
}

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

.navbar-cta {
    margin-left: 0.5rem;
}

.navbar-cta .nav-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #C4A84A 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(154, 139, 85, 0.3);
    overflow: hidden;
}

.navbar-cta .nav-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 139, 85, 0.4);
}

/* Pulse animation for attention */
.navbar-cta .nav-button .btn-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Mobile CTA highlight */
.mobile-nav-cta {
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-cta .cta-highlight {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 10001;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(245, 240, 232, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-overlay .mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: calc(var(--i) * 0.1s);
}

.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay .mobile-nav-link:hover {
    color: var(--accent-gold);
}

.mobile-menu-overlay .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay .mobile-nav-cta:hover {
    transform: scale(1.05);
    background: var(--accent-gold);
}

/* Prevent scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .main-navbar {
        width: 90%;
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
    }

    .navbar-links,
    .navbar-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-container {
        width: 100%;
        justify-content: space-between;
    }
}


/* Hide default cursor on desktop */
@media (pointer: fine) {
    * {
        cursor: none !important;
    }
}

/* Show cursor on touch devices */
@media (pointer: coarse) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-trail {
        display: none !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: none;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: var(--z-cursor);
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(61, 61, 61, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.cursor.hovering .cursor-ring {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--accent-gold);
}

.cursor.clicking .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
}

.trail-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    filter: blur(1px);
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-text {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-sm);
}

.title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-glow {
    text-shadow: 0 0 60px rgba(154, 139, 85, 0.4),
        0 0 120px rgba(166, 124, 82, 0.3);
}

/* ========================================
   HERO SECTION (Updated for Identity)
   ======================================== */
/* ========================================
   HERO SECTION (Apple Scrollytelling Base)
   ======================================== */
.hero-section {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--bg-primary);
    /* Clean solid background - no pattern */
}

/* Rings Removed for Clean Design */
.cymatic-core {
    display: none !important;
}

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
}

.hero-content {
    position: relative;
    z-index: var(--z-content);
    text-align: left;
    max-width: 600px;
    padding: var(--space-xl) var(--space-lg);
    padding-left: 8%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.hero-title {
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.05;
    /* Balanced: Tight but readable */
    letter-spacing: -0.03em;
    /* Modern Apple-like tracking */
    margin-bottom: 2rem;
    will-change: transform, opacity, filter;
}

.title-line {
    display: block;
    /* Prevent clip */
    padding-bottom: 0.2em;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    /* filter: drop-shadow(...) REMOVED for clean look */
}

.hero-subtitle {
    font-size: 1.25rem;
    /* Larger body text */
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    /* Generous space to CTA */
    line-height: 1.6;
    max-width: 600px;
    /* Constrain width for readability */
}

/* Hero CTA Button */
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-family: var(--font-heading);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-light);
    background: var(--gradient-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: transform var(--transition-bounce), box-shadow var(--transition-base);
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hero-cta .cta-text {
    position: relative;
    z-index: 2;
}

.hero-cta .cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--transition-slow);
}

.hero-cta:hover .cta-glow {
    transform: translate(-50%, -50%) scale(1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    z-index: var(--z-content);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: var(--fs-label);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */
/* ========================================
   PHILOSOPHY SECTION (Manifesto Grid)
   ======================================== */
.philosophy-section {
    background: #ffffff;
    padding: var(--space-3xl) 0;
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    /* Wide gap for luxury feel */
    align-items: flex-start;
}

/* Left: Manifesto */
.philosophy-manifesto {
    position: sticky;
    top: 100px;
    /* Sticky scroll effect */
}

.manifesto-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.manifesto-title .highlight {
    color: var(--accent-gold);
}

.manifesto-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.text-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--accent-gold);
}

/* Right: Minimal List (No Cards) */
.philosophy-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* More space */
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 3rem;
}

.card-item {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;

    display: flex;
    /* Horizontal align icon + text */
    align-items: flex-start;
    gap: 1.5rem;
}

.card-item:hover {
    transform: translateX(10px);
    /* Simple slide, no lift */
    box-shadow: none;
    background: transparent;
    border-color: transparent;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 5px;
    /* Align with title */
}

/* Ensure SVGs size correctly */
.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }

    75% {
        transform: translate(30px, 10px) scale(1.05);
    }
}

.floating-ingredient {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    animation: ingredientFloat 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(154, 139, 85, 0.3);
}

.ingredient-1 {
    top: 20%;
    right: 30%;
    animation-delay: 0s;
}

.ingredient-2 {
    bottom: 30%;
    left: 20%;
    animation-delay: -2s;
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    box-shadow: var(--glow-warm);
}

.ingredient-3 {
    top: 50%;
    right: 15%;
    animation-delay: -4s;
    width: 50px;
    height: 50px;
}

@keyframes ingredientFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* ========================================
   ECOSYSTEM SECTION (Warm Bento)
   ======================================== */
.ecosystem-section {
    background: #F3F2ED;
    /* Warm Beige */
    color: #1a1a1a;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 5rem;
}

.ecosystem-header h2 {
    color: #1a1a1a;
}

/* Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    /* Flexible height */
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1000px;
    /* Enable 3D Space */
}

/* Card Base */
.bento-card {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Soft Luxury Shadow */
    transform-style: preserve-3d;
    /* Vital for 3D Tilt */
    will-change: transform, opacity, filter;
    /* Performance Optimization */
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px -15px rgba(154, 139, 85, 0.15);
    /* Gold tinted shadow */
}

/* Grid Areas */
.card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    min-height: 400px;
}

.card-tall {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    justify-content: flex-start;
    background: #EAE8E0;
    /* Slightly darker beige card */
    min-height: 700px;
    /* span 2 rows */
}

.card-wide {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    flex-direction: row;
    align-items: center;
    min-height: 300px;
}

/* Content Styling */
.bento-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(154, 139, 85, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bento-card p {
    color: #666;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 90%;
    font-weight: 400;
}

/* Visuals & FX (Organic) */
.bento-visual {
    position: absolute;
    pointer-events: none;
}

/* Frequency Waves (Card 1) - Subtle Lines */
.frequency-waves {
    right: -30px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    display: flex;
    /* Centering */
    align-items: center;
    justify-content: center;
}

.wave {
    position: absolute;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    animation: wavePulse 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.w1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.w2 {
    width: 180px;
    height: 180px;
    animation-delay: -1.5s;
}

.w3 {
    width: 240px;
    height: 240px;
    animation-delay: -3s;
}

@keyframes wavePulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
        border-width: 2px;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
        border-width: 0px;
    }
}

/* Glow Orb (Card 2) - Stronger Breathing */
.glow-orb {
    bottom: -80px;
    right: -80px;
    left: auto;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.4;
    /* Increased Base Opacity */
    mix-blend-mode: multiply;
    animation: orbBreath 4s ease-in-out infinite;
    /* Faster */
}

@keyframes orbBreath {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    /* More range */
}

/* Coin Stack (Card 3) - Floating Value */
.card-wide .bento-visual.coin-stack {
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: none;
    border: none;
}

.coin {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF5D6 0%, #D4AF37 100%);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.c1 {
    width: 60px;
    height: 60px;
    right: 0;
    bottom: 20px;
    animation: floatY 4s ease-in-out infinite;
}

.c2 {
    width: 80px;
    height: 80px;
    right: 40px;
    bottom: 40px;
    opacity: 0.8;
    animation: floatY 5s ease-in-out infinite -1s;
    z-index: 2;
}

.c3 {
    width: 50px;
    height: 50px;
    right: 90px;
    bottom: 80px;
    opacity: 0.6;
    animation: floatY 6s ease-in-out infinite -2s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}



.pillar-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.pillar-text {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ecosystem Particles */
.ecosystem-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* ========================================
   LIFESTYLE SECTION (Marquee)
   ======================================== */
.lifestyle-section {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0;
    flex-direction: column;
}

.lifestyle-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-md);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: var(--space-md) 0;
}

.marquee-track {
    display: flex;
    gap: var(--space-md);
    animation: marqueeScroll 30s linear infinite;
    width: fit-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-md);
    transform-style: preserve-3d;
    /* Enable 3D transforms */
    will-change: transform, filter;
    /* Performance optimization */
}

/* Add gradient overlay for better text readability */
.marquee-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
    pointer-events: none;
}

.marquee-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
    will-change: transform;
    /* Performance hint */
}

.marquee-item:hover .marquee-image {
    transform: scale(1.1);
}

.marquee-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* ========================================
   FINAL CTA SECTION - PREMIUM EDITION
   ======================================== */
.final-cta-premium {
    position: relative;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #FDFBF7 0%, #F8F4ED 100%);
}

/* Premium Background */
.cta-premium-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.premium-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(155, 132, 88, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 90, 43, 0.05) 0%, transparent 40%);
}

.premium-noise {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Geometric Elements */
.geometric-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 132, 88, 0.12) 0%, rgba(155, 132, 88, 0.03) 100%);
}

.geo-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatSlow 20s ease-in-out infinite;
}

.geo-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -50px;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

.geo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(155, 132, 88, 0.15);
}

.geo-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation: pulseSoft 8s ease-in-out infinite;
}

.geo-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 132, 88, 0.2), transparent);
}

.geo-4 {
    width: 200px;
    top: 30%;
    left: 5%;
    transform: rotate(-20deg);
}

.geo-5 {
    width: 150px;
    bottom: 25%;
    right: 8%;
    transform: rotate(15deg);
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 15px);
    }
}

@keyframes pulseSoft {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 0.8;
    }
}

/* Premium Content */
.cta-premium-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
}

/* Eyebrow with Lines */
.premium-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.eyebrow-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
}

/* Premium Headline */
.premium-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
}

.headline-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4AF37 50%, var(--accent-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Premium Subtitle */
.premium-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

/* Premium CTA Button */
.premium-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.premium-cta-btn .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2E2E2E 50%, #1A1A1A 100%);
    z-index: 0;
}

.premium-cta-btn .btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.premium-cta-btn:hover .btn-shimmer {
    left: 100%;
}

.premium-cta-btn .btn-label {
    position: relative;
    z-index: 2;
}

.premium-cta-btn .btn-arrow {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.premium-cta-btn .btn-arrow svg {
    width: 100%;
    height: 100%;
}

.premium-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(155, 132, 88, 0.4),
        0 0 120px rgba(155, 132, 88, 0.2);
}

.premium-cta-btn:hover .btn-arrow {
    transform: translateX(8px);
    animation: arrowPulse 0.6s ease-in-out infinite alternate;
}

@keyframes arrowPulse {
    0% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(10px);
    }
}

.premium-cta-btn:hover .btn-bg {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4AF37 50%, #C4A84A 100%);
}

.premium-cta-btn:active {
    transform: translateY(-2px) scale(1);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(155, 132, 88, 0.3);
}

/* Trust Badges */
.premium-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.trust-icon {
    color: var(--accent-gold);
    font-size: 0.875rem;
    font-weight: 700;
}

.trust-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.trust-divider {
    color: var(--text-subtle);
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-premium {
        padding: 4rem 1.5rem;
    }

    .premium-trust {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-divider {
        display: none;
    }

    .trust-list {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-overline {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    .ecosystem-intro {
        text-align: left;
        padding: 0 1rem;
    }

    .geo-1,
    .geo-2,
    .geo-3 {
        opacity: 0.5;
    }
}

/* Old CTA styles removed for compact design */


/* ========================================
   FINAL CTA - Warm Premium
   ======================================== */
.cta-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(155, 132, 88, 0.08) 50%, var(--bg-secondary) 100%);
    z-index: 0;
}

.decoration-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(155, 132, 88, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.cta-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.cta-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.final-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: #1A1A1A;
    border: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.final-cta-button .button-arrow {
    transition: transform 0.3s ease;
}

.final-cta-button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.final-cta-button:hover .button-arrow {
    transform: translateX(4px);
}

.final-cta-button:hover .button-arrow {
    transform: translateX(4px);
}

.cta-microcopy {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-subtle);
    font-style: italic;
}

/* ========================================
   FOOTER - Premium Editorial
   ======================================== */
.footer {
    background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%);
    padding: 5rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.footer-glow-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(155, 132, 88, 0.4), transparent);
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-brand:hover .footer-logo {
    transform: scale(1.05);
    opacity: 1;
}

.footer-motto {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.motto-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.motto-accent {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* Quote Section */
.footer-quote {
    max-width: 500px;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 2.5rem;
    }

    .footer-container {
        gap: 2.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo {
        height: 40px;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .philosophy-section .section-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .philosophy-visual {
        height: 400px;
    }

    .ecosystem-pillars {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 6rem;
    }

    .hero-content {
        padding: var(--space-md) var(--space-sm);
    }

    .hero-cta {
        padding: 1rem 2rem;
    }

    .philosophy-values {
        flex-direction: column;
    }

    .marquee-item {
        width: 250px;
        height: 320px;
    }

    .final-cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .pillar {
        padding: var(--space-md);
    }

    .pillar-icon {
        width: 80px;
        height: 80px;
    }

    .pillar-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   ANIMATION INITIAL STATES (for GSAP)
   ======================================== */
/* [data-animate] {
    opacity: 0;
} REMOVED TO FIX WHITE SCREEN */

[data-animate="title"] .title-line {
    /* transform: translateY(100%); REMOVED to fix overlap */
    opacity: 0;
}

[data-animate="subtitle"] {
    transform: translateY(30px);
}

[data-animate="cta"] {
    transform: translateY(30px) scale(0.9);
}

[data-animate="scroll"] {
    opacity: 0;
}

[data-animate="philosophy-text"],
[data-animate="philosophy-visual"],
[data-animate="ecosystem-header"],
[data-animate="lifestyle-header"] {
    transform: translateY(60px);
}

[data-animate="pillar"],
[data-animate="value"] {
    transform: translateY(40px) scale(0.95);
}

[data-animate="final-cta"] {
    transform: scale(0.9);
}

/* Ensure elements are visible when JS is disabled */
.no-js [data-animate] {
    opacity: 1;
    transform: none;
}

/* ========================================
   HERO BADGE - Subtle Label
   ======================================== */
.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(155, 132, 88, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(155, 132, 88, 0.2);
}

/* Hero Overline - Payoff */
.hero-overline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ========================================
   ECOSYSTEM INTRO PARAGRAPH
   ======================================== */
.ecosystem-intro {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
    text-align: center;
    line-height: 1.7;
}

/* ========================================
   FINAL CTA - TRUST LIST (Simple Style)
   ======================================== */
.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.trust-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.trust-check {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* External Link Notice */
.external-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-align: center;
}

/* External Icon in CTA Button */
.btn-external-icon {
    position: absolute;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.premium-cta-btn {
    justify-content: center;
}

.btn-external-icon svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   ORIGIN SECTION - Il Territorio
   ======================================== */
.origin-section {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0;
    position: relative;
}

.origin-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.origin-content .section-label {
    color: var(--accent-gold);
}

.origin-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.origin-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   PRODUCTS SECTION - Le Categorie (Bento Gallery)
   ======================================== */
.products-section {
    background: var(--bg-primary);
    padding: var(--space-xl) 0;
    position: relative;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Bento Gallery Layout */
.products-gallery-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 320px 250px;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #1a1a1a;
    isolation: isolate;
    cursor: default;
    /* transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; REMOVED FOR JS CONTROL */
    box-shadow: var(--shadow-soft);

    /* 3D Prerequisites */
    transform-style: preserve-3d;
    will-change: transform;
    perspective: 1000px;

    /* Fix for border-radius loss in 3D */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.gallery-item:hover {
    /* transform: translateY(-5px); REMOVED FOR JS CONTROL */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Grid Assignments */
.item-featured {
    grid-column: span 2;
    grid-row: 1;
}

.item-tall-1 {
    grid-column: 3;
    grid-row: 1 / span 2;
    /* Full height right column */
}

.item-square {
    grid-column: 1;
    grid-row: 2;
}

.item-wide-small {
    grid-column: 2;
    grid-row: 2;
}

/* Background Images */
.gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -2;
    filter: saturate(0.9);

    /* 3D Parallax Depth */
    transform: translateZ(-20px) scale(1.1);
}

.gallery-item:hover .gallery-bg {
    /* transform: scale(1.08); Handled by JS + CSS base */
    filter: saturate(1.1);
}

/* Overlays */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
    transition: background 0.1s ease;
    /* Faster for dynamic light */
    pointer-events: none;

    /* 3D Depth */
    transform: translateZ(0px);
}

.gallery-item:hover .gallery-overlay {
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.6) 100%); Handled by JS */
}

/* Content */
.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: #ffffff;
    pointer-events: none;
}

.gallery-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    max-width: 95%;
    font-weight: 300;
}

.gallery-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Responsive - Bento */
@media (max-width: 900px) {
    .products-gallery-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .item-featured {
        grid-column: span 2;
        height: 300px;
    }

    .item-tall-1 {
        grid-column: span 1;
        grid-row: auto;
        height: 250px;
    }

    .item-square {
        grid-column: span 1;
        height: 250px;
    }

    .item-wide-small {
        grid-column: span 2;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .products-gallery-bento {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .item-featured,
    .item-tall-1,
    .item-square,
    .item-wide-small {
        grid-column: span 1;
        grid-row: auto;
        height: 280px;
    }
}

.hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.product-featured {
    flex-direction: column;
}

.featured-image {
    width: 100%;
    max-width: 300px;
}
}

/* ========================================
   HERO WITH IMAGE
   ======================================== */
.hero-with-image {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 1;
    order: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 30%, transparent 100%);
    pointer-events: none;
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 2;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: var(--space-xl) var(--space-lg);
    padding-left: 10%;
    max-width: none;
}

/* ========================================
   VISUAL CARDS - Philosophy
   ======================================== */
.visual-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid rgba(155, 132, 88, 0.15);
    padding: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-visual-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    pointer-events: none;
}

.big-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(155, 132, 88, 0.12);
    line-height: 1;
}

.visual-card .card-info {
    position: relative;
    z-index: 2;
}

.visual-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.visual-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   TIMELINE SECTION (Editorial Flow)
   ======================================== */
.timeline-container {
    padding-top: 3rem;
    position: relative;
    max-width: 1200px;
}

.timeline-line {
    position: absolute;
    top: 140px;
    /* Aligned behind numbers */
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(155, 132, 88, 0.2);
    z-index: 0;
}

.timeline-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1.5rem;
    /* Overlap with visual */
    position: relative;
    z-index: 0;
    font-variant-numeric: tabular-nums;
}

.step-visual {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-step:hover .step-visual {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-step:hover .step-image {
    transform: scale(1.1);
}

/* Prominent Center Step */
.step-center {
    margin-top: -2rem;
    /* Visual lift */
}

.step-center .step-visual {
    width: 220px;
    height: 220px;
    box-shadow: 0 20px 40px rgba(155, 132, 88, 0.15);
}

.step-content h3 {
    font-family: var(--font-subheading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Remove Bento Styles if unused, or keep for legacy/blocks */
.ecosystem-bento {
    display: none;
    /* Hide old if still present */
}

/* Responsive Timeline */
@media (max-width: 900px) {
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .timeline-line {
        display: none;
        /* Hide line on mobile */
    }

    .step-center {
        margin-top: 0;
    }

    .step-number {
        font-size: 4rem;
        margin-bottom: -1rem;
    }

    .step-visual,
    .step-center .step-visual {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
}


/* ========================================
   ORIGIN WITH BACKGROUND IMAGE
   ======================================== */
.origin-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.origin-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.origin-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.origin-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 40, 0.85) 0%, rgba(44, 44, 40, 0.6) 100%);
}

.origin-section .section-container {
    position: relative;
    z-index: 1;
}

.origin-section .section-label {
    color: var(--accent-gold);
}

.light-text {
    color: rgba(255, 255, 255, 0.9);
}

.origin-section .title-gradient {
    background: linear-gradient(135deg, #C9A962 0%, #DFC184 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.origin-section .origin-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.origin-section .stat-number {
    color: white;
}

.origin-section .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   PRODUCT SHOWCASE
   ======================================== */
.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-featured {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow: hidden;
}

.featured-image {
    width: 280px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.featured-info {
    flex: 1;
}

.featured-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    background: rgba(155, 132, 88, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.featured-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.featured-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   CTA DECORATIONS
   ======================================== */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 132, 88, 0.1), rgba(155, 132, 88, 0.05));
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-deep-green);
    color: #ffffff;
    border: 1px solid var(--accent-deep-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(45, 59, 45, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background: #3e523e;
    color: #fff;
    box-shadow: 0 10px 30px rgba(45, 59, 45, 0.5);
    border-color: #3e523e;
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   RESPONSIVE - Visual Elements
   ======================================== */
@media (max-width: 900px) {

    .hero-section,
    .hero-with-image {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        order: 1;
    }

    .hero-image {
        opacity: 0.5;
    }

    .hero-image-overlay {
        background: linear-gradient(180deg, rgba(245, 240, 232, 0.6) 0%, rgba(245, 240, 232, 0.9) 100%);
    }

    .hero-with-image .hero-content {
        order: 2;
        text-align: center;
        align-items: center;
        padding: var(--space-xl) var(--space-md);
        padding-left: var(--space-md);
        min-height: 100vh;
        justify-content: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .big-number {
        font-size: 3.5rem;
    }

    .product-featured {
        flex-direction: column;
        text-align: center;
    }

    .featured-image {
        width: 200px;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE IMPROVEMENTS
   ======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .philosophy-grid {
        gap: 3rem;
    }

    .manifesto-title {
        font-size: 2.75rem;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .bento-card.card-large {
        grid-column: span 2;
    }

    .bento-card.card-tall {
        grid-row: span 1;
    }

    .origin-grid {
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large - 768px */
@media (max-width: 768px) {

    /* Philosophy Section */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .philosophy-manifesto {
        position: relative;
        top: 0;
    }

    .manifesto-title {
        font-size: 2.25rem;
    }

    .manifesto-text {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .philosophy-cards {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
    }

    /* Ecosystem Section */
    .ecosystem-header {
        margin-bottom: 3rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bento-card.card-large,
    .bento-card.card-tall,
    .bento-card.card-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card .card-content h3 {
        font-size: 1.25rem;
    }

    /* Origin Section */
    .origin-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .origin-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
        min-width: 100px;
    }

    /* Products Section */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .products-showcase {
        flex-direction: column;
    }

    /* Section padding */
    .section-container {
        padding: var(--space-lg) var(--space-sm);
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Mobile Small - 480px */
@media (max-width: 480px) {
    .manifesto-title {
        font-size: 1.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-container {
        padding: var(--space-md) var(--space-sm);
    }

    .origin-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .premium-headline {
        font-size: 1.75rem;
    }

    .premium-cta-btn {
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }

    .premium-trust {
        gap: 0.5rem;
    }

    .trust-divider {
        display: none;
    }
}

/* ========================================
   COOKIE BANNER STYLES
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-banner-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-primary {
    background: var(--text-primary);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: var(--accent-gold);
    transform: scale(1.02);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cookie-modal.active .cookie-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.cookie-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.cookie-category {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-category-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-toggle input[type="checkbox"] {
    width: 48px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.cookie-toggle input[type="checkbox"]:checked {
    background: var(--accent-gold);
}

.cookie-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.cookie-toggle input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-label.disabled {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   LEGAL PAGES STYLES
   ======================================== */
.legal-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(154, 139, 85, 0.1);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.legal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9375rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-table th {
    background: rgba(0, 0, 0, 0.02);
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-table td {
    color: var(--text-secondary);
}

.legal-link-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-gold);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.legal-link-btn:hover {
    background: var(--text-primary);
}

.legal-footer {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--text-primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.2s;
}

.legal-back-btn:hover {
    background: var(--accent-gold);
}

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

.legal-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-container {
        padding: 0 1rem;
    }

    .legal-header h1 {
        font-size: 1.875rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }

    .cookie-table {
        font-size: 0.8125rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}