/* ========================================
   LULLO - WARM & COMPASSIONATE DESIGN
   ======================================== */

:root {
    /* Brand Colors */
    --color-primary: #2d7a3e;
    --color-primary-light: #3a9a4f;
    --color-primary-dark: #1f5a2d;
    --color-accent: #f5a3a3;
    --color-accent-light: #ffd4d4;

    /* Neutral Colors */
    --color-bg: #fafaf9;
    --color-surface: #ffffff;
    --color-surface-soft: #f5f5f3;

    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-text-lighter: #999999;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-display: 'Cabinet Grotesk', -apple-system, sans-serif;
    --font-body: 'General Sans', -apple-system, sans-serif;

    /* Spacing */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 1);
    --space-sm: calc(var(--space-unit) * 2);
    --space-md: calc(var(--space-unit) * 3);
    --space-lg: calc(var(--space-unit) * 4);
    --space-xl: calc(var(--space-unit) * 6);
    --space-2xl: calc(var(--space-unit) * 8);
    --space-3xl: calc(var(--space-unit) * 12);
    --space-4xl: calc(var(--space-unit) * 16);

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

/* ========================================
   RESET & BASE
   ======================================== */

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

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Language Switch */
[data-lang="en"] .fr { display: none !important; }
[data-lang="fr"] .en { display: none !important; }

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.nav-logo svg {
    border-radius: 10px;
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

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

.lang-switch {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.lang-switch:hover {
    background: var(--color-surface-soft);
    color: var(--color-text);
}

.nav-cta {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-surface);
    background: var(--color-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.hero {
    padding: calc(var(--space-4xl) + 60px) var(--space-lg) var(--space-4xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    /* Animation removed per user request */
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-surface);
    box-shadow: var(--shadow-md);
}

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

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateY(2px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--color-surface-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    background: transparent;
}

.phone-mockup img {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.visual-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.visual-blur-1 {
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--color-primary);
}

.visual-blur-2 {
    bottom: 10%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: var(--color-accent);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

/* ========================================
   HERO FEATURE - Main Feature Showcase
   ======================================== */

.feature-hero {
    background: linear-gradient(135deg,
        rgba(45, 122, 62, 0.03) 0%,
        rgba(245, 163, 163, 0.02) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

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

.feature-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.feature-hero-description {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* Three Methods Grid */
.feature-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.method-item {
    background: transparent;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-item:hover {
    transform: translateY(-4px);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.method-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.method-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.method-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Feature Hero List */
.feature-hero-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.hero-list-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Carousel Gallery */
.feature-hero-carousel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
}

.phone-mockup-wrapper {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.carousel-screenshot {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: var(--color-surface);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

.gallery-caption {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
    margin-top: var(--space-xs);
}

/* ========================================
   REGULAR FEATURE BLOCKS
   ======================================== */

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-content {
    padding: var(--space-xl);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.feature-description {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.feature-sources {
    margin-top: var(--space-xl);
}

.sources-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.sources-logos {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.source-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.source-logo:hover {
    opacity: 1;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 16px;
    color: var(--color-text);
}

.feature-visual {
    position: relative;
}

.feature-screenshot {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-screenshot:hover {
    transform: scale(1.02) translateY(-8px);
}

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

.feature-card {
    background: var(--color-surface-soft);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card .feature-icon {
    font-size: 36px;
    margin-bottom: var(--space-md);
}

.feature-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.feature-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ========================================
   STORY SECTION
   ======================================== */

.story {
    padding: var(--space-4xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-surface);
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story .section-label {
    color: var(--color-accent-light);
}

.story-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.story-text {
    font-family: var(--font-body);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
    opacity: 0.95;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-surface);
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.download-description {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.store-badge {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-badge:hover {
    transform: scale(1.05);
}

.store-badge img {
    height: 56px;
    width: auto;
}

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

.footer {
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
    background: var(--color-surface-soft);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-disclaimer {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.disclaimer-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.disclaimer-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}

.footer-brand svg {
    border-radius: 10px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    font-size: 14px;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

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

.footer-copyright {
    font-size: 14px;
    color: var(--color-text-lighter);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-container,
    .feature-block,
    .feature-hero {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .feature-hero-content {
        padding: 0;
    }

    .feature-hero-list {
        text-align: left;
        display: inline-flex;
    }

    .feature-reverse {
        direction: ltr;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup img {
        max-width: 280px;
    }

    .sources-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-md) var(--space-md);
    }

    .hero {
        padding: calc(var(--space-3xl) + 60px) var(--space-md) var(--space-3xl);
        min-height: auto;
    }

    .feature-methods {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-hero {
        padding: var(--space-lg);
    }

    .source-logo {
        height: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* ========================================
   SCROLL ANIMATIONS - Simplified (no hero animation)
   ======================================== */

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

@media (prefers-reduced-motion: no-preference) {
    .feature-block,
    .feature-card {
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-play-state: paused;
    }

    .feature-block {
        animation-delay: 0.2s;
    }

    .feature-card:nth-child(1) {
        animation-delay: 0.3s;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.4s;
    }
}

/* Trigger animations when in viewport */
.feature-block.visible,
.feature-card.visible {
    animation-play-state: running;
}
