/* ==================== ECOSTYLE – PREMIUM STYLESHEET ==================== */
/* Mobile-First, Fully Responsive, Accessibility-Optimized */

/* ==================== CSS VARIABLES & THEMING ==================== */
:root {
    /* Colors - Luxury Palette */
    --color-primary: #1a3a2a;
    --color-primary-light: #2d5a3d;
    --color-primary-lighter: #4a9b5d;
    --color-secondary: #f5f3ed;
    --color-accent-sage: #7a9b8f;
    --color-accent-gold: #d4a574;
    --color-text-dark: #1a1a1a;
    --color-text-light: #6b7280;
    --color-white: #ffffff;
    --color-border: #e5e0d8;
    
    /* Dark Mode */
    --color-bg-dark: #0f1715;
    --color-text-dark-mode: #f0f0f0;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-family-serif: ui-serif, Georgia, serif;
    --font-family-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3.5rem;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --backdrop-blur: blur(12px);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Force Dark Mode Colors */
    --color-secondary: #1a1a1a;
    --color-text-dark: #f0f0f0;
    --color-border: #333333;
    --color-white: #0f0f0f;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    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-family-sans);
    color: var(--color-text-dark);
    background-color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Force Dark Mode Always */
body {
    background-color: var(--color-bg-dark) !important;
    color: var(--color-text-dark-mode) !important;
}

body.dark-mode {
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark-mode);
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-primary-lighter);
    outline-offset: 2px;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

a:hover {
    color: var(--color-primary-lighter);
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: var(--space-lg);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3xl);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

body.dark-mode .glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s var(--transition-smooth);
}

body.dark-mode .navbar {
    background: rgba(15, 15, 21, 0.95);
}

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

.logo-brand {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--space-2xl);
    flex: 1;
    margin-left: var(--space-2xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-lighter);
    transition: width 0.3s var(--transition-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    display: none !important;
}

.theme-toggle, .cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: all 0.3s var(--transition-smooth);
    padding: var(--space-xs);
    border-radius: 50%;
}

.theme-toggle:hover, .cart-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Hamburger Menu */
.hamburger {
    display: none !important;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--color-text-dark);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
    transform-origin: center;
}

body.dark-mode .hamburger span {
    background: var(--color-text-dark-mode);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.nav-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-lighter), var(--color-accent-sage));
    width: 0%;
    transition: width 0.1s linear;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-lg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

#gradientCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    /* Glasmorphism overlay behind text for readability */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15),
                 0 4px 20px rgba(0, 0, 0, 0.1);
}

.word-reveal {
    display: inline-block;
    margin-right: 0.2em;
    opacity: 0;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-dark);
    margin-bottom: var(--space-2xl);
    opacity: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.cta-btn.primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

.magnetic-btn {
    position: relative;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== VALUE PROPOSITION ==================== */
.value-proposition {
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(26, 58, 42, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.value-card {
    padding: var(--space-2xl);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(74, 155, 93, 0.05) 100%);
    pointer-events: none;
}

.value-icon {
    font-size: 3rem;
    color: var(--color-primary-lighter);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(74, 155, 93, 0.1);
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
}

.value-icon svg {
    display: block;
}

.value-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.value-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.stat-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-lighter);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ==================== FEATURED PRODUCTS ==================== */
.featured-products {
    padding: var(--space-3xl) var(--space-lg);
}

.products-carousel {
    position: relative;
    margin: var(--space-2xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.product-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lighter);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gradient-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.3s var(--transition-smooth);
}

.product-card:hover .gradient-box {
    transform: scale(1.1);
}

.favorite-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.favorite-btn:hover {
    background: var(--color-primary-lighter);
    color: white;
    border-color: var(--color-primary-lighter);
    transform: scale(1.1);
}

.product-info {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.product-eco {
    font-size: var(--font-size-sm);
    color: var(--color-primary-lighter);
    margin-bottom: var(--space-md);
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    margin-top: auto;
}

.product-cta {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
}

.product-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.carousel-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--color-primary-lighter);
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== BRAND STORY ==================== */
.brand-story {
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(122, 155, 143, 0.05) 0%, rgba(45, 90, 61, 0.05) 100%);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.story-visual {
    display: none;
}

/* Mobile: Text only */
@media (max-width: 767px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-visual {
        display: none;
    }
}

/* Desktop: Fullwidth text only (no empty visual area) */
@media (min-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-visual {
        display: none;
    }

    .story-content {
        grid-column: 1 / -1;
    }
}

.animated-illustration {
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.story-svg {
    width: 100%;
    height: 100%;
    max-width: 320px;
    color: var(--color-primary-lighter);
    opacity: 0.95;
}

/* Hide mission SVG on mobile */
@media (max-width: 767px) {
    .story-svg {
        display: none;
    }
}

/* Very subtle leaf breathing */
.leaf-outline {
    animation: leafBreath 6s ease-in-out infinite;
    transform-origin: 50% 50%;
}

@keyframes leafBreath {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

.story-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    text-align: center;
}

.story-text {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    text-align: center;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.highlight {
    text-align: center;
}

.highlight strong {
    display: block;
    font-size: var(--font-size-2xl);
    color: var(--color-primary-lighter);
    margin-bottom: var(--space-sm);
}

.highlight span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ==================== IMPACT SECTION ==================== */
.impact-section {
    padding: var(--space-3xl) var(--space-lg);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.stat-box {
    text-align: center;
    padding: var(--space-2xl);
}

.circular-progress {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-lg);
}

.progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: var(--color-primary-lighter);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 282.7 282.7;
    stroke-dashoffset: 282.7;
    transition: stroke-dashoffset 2s var(--transition-smooth);
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.counter {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent-sage);
    line-height: 1;
}

.stat-value span:last-child {
    font-size: 12px;
    color: var(--color-accent-sage);
    margin-top: 2px;
    font-weight: 600;
}

.stat-box h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.stat-box p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(122, 155, 143, 0.05) 100%);
}

.testimonials-carousel {
    position: relative;
    margin-top: var(--space-2xl);
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: var(--space-2xl);
    transition: transform 0.5s var(--transition-smooth);
    padding: var(--space-lg) 0;
    width: 100%;
}

/* Mobile: Stack testimonials, disable carousel */
@media (max-width: 767px) {
    .testimonials-track {
        flex-direction: column;
        transform: none !important;
    }

    .testimonial-card {
        flex: 0 0 auto;
        padding: var(--space-2xl);
        border-radius: 16px;
        max-width: 100%;
        margin: 0;
    }

    .carousel-dots {
        display: none;
    }
}

/* Desktop: Carousel active */
@media (min-width: 768px) {
    .testimonials-track {
        flex-wrap: nowrap;
        overflow-x: hidden;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: var(--space-2xl);
        border-radius: 16px;
        max-width: 600px;
        margin: 0 auto;
    }
}

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-2xl);
    border-radius: 16px;
    min-width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonial-card {
        max-width: 500px;
        margin: 0 auto;
        flex: 0 0 calc(100% - var(--space-2xl));
    }
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: var(--color-text-dark);
}

.testimonial-author {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-author h4 {
    font-size: var(--font-size-base);
}

.testimonial-author p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin: 0;
}

.rating {
    font-size: var(--font-size-sm);
    letter-spacing: 2px;
}

.carousel-dots {
    display: none;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.dot.active {
    background: var(--color-primary);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
    padding: var(--space-3xl) var(--space-lg);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-3xl);
    border-radius: 20px;
    text-align: center;
}

.newsletter-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.newsletter-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    flex-direction: column;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--transition-smooth);
}

body.dark-mode .input-wrapper input {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-dark-mode);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-primary-lighter);
    background: var(--color-white);
}

.floating-label {
    position: absolute;
    left: var(--space-lg);
    top: -8px;
    color: var(--color-text-light);
    font-size: 0.75rem;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(122, 155, 143, 0.05) 100%);
    padding: 0 4px;
    color: var(--color-primary-lighter);
}

.newsletter-btn {
    padding: var(--space-md) var(--space-2xl);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.newsletter-btn:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.loading-spinner {
    display: none;
    position: absolute;
    left: var(--space-lg);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    min-height: 20px;
    font-size: var(--font-size-sm);
    margin-top: var(--space-md);
}

.form-message.success {
    color: #27ae60;
}

.form-message.error {
    color: #e74c3c;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto var(--space-2xl);
}

.footer-section h4 {
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-base);
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    display: block;
    margin-bottom: var(--space-sm);
    transition: color 0.3s var(--transition-smooth);
}

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

.footer-logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.social-icon-circle {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    line-height: 48px;           /* 🔥 FIX */
    text-align: center;          /* 🔥 FIX */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
    flex-shrink: 0;
}

.social-icon-circle:hover {
    background: var(--color-accent-sage);
    color: white;
    border-color: var(--color-accent-sage);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(122, 155, 143, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.demo-note {
    font-size: var(--font-size-xs);
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-secondary);
        padding: var(--space-lg);
        gap: var(--space-lg);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding: var(--space-lg);
    }

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

    .hero-ctas {
        flex-direction: column;
        gap: var(--space-md);
    }

    .cta-btn {
        width: 100%;
    }

    /* Story */
    .story-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .story-visual {
        min-height: 300px;
        order: 1;
    }

    .story-content {
        order: 2;
    }

    /* Testimonials */
    .testimonials-track {
        flex-wrap: wrap;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
    }

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

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

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .story-highlights {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }
}
