/* Zone noire vierge lors du clic sur la feature Scan */
.phone-mockup.blank {
    background: #000 !important;
    box-shadow: none !important;
}
/* Boutons invisibles sur la barre du téléphone */
.phone-nav-invisible {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px; /* Ajuste pour coller à la barre d'icônes */
    height: 56px;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.phone-nav-btn {
    flex: 1 1 0;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    outline: none;
    padding: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Lazy Loading Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.1s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Scroll Animations */
.fade-in-section,
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.1s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .fade-in-section,
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 214, 10, 0.3);
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

.cookie-accept:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 214, 10, 0.4);
}

.cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid #3a3a3a;
}

.cookie-decline:hover {
    border-color: var(--text-secondary);
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .cookie-content p {
        font-size: 0.875rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

:root {
    --primary-yellow: #FFD60A;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

/* Header & Navigation */
header {
    background: rgba(10, 10, 10, 1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    transition: all 0.1s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 214, 10, 0.15);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.1s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(80%) sepia(78%) saturate(2300%) hue-rotate(0deg) brightness(98%) contrast(103%);
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(80%) sepia(78%) saturate(2300%) hue-rotate(0deg) brightness(98%) contrast(103%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.1s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.1s;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-btn:hover {
    border-color: var(--primary-yellow);
    background: rgba(255, 214, 10, 0.1);
}

.lang-btn .flag {
    font-size: 1.1rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.1s;
    z-index: 100;
    overflow: hidden;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.1s;
    text-align: left;
    font-size: 0.85rem;
}

.lang-option:hover {
    background: rgba(255, 214, 10, 0.1);
    color: var(--primary-yellow);
}

.lang-option .flag {
    font-size: 1rem;
}

.store-badge img {
    height: 40px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.user-avatars {
    display: flex;
    margin-left: -8px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFA500 100%);
    border: 2px solid var(--dark-bg);
    margin-left: -8px;
}

.avatar:nth-child(2) {
    background: linear-gradient(135deg, #FFD60A 0%, #FFAA00 100%);
}

.avatar:nth-child(3) {
    background: linear-gradient(135deg, #FFC700 0%, #FF8C00 100%);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--primary-yellow);
}

h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn img,
.google-play-btn img {
    height: 54px;
    display: block;
}

/* Phone Mockups */
.hero-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 600px;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(255, 214, 10, 0.2);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.phone-1 {
    transform: rotate(-8deg);
    z-index: 1;
}

.phone-2 {
    transform: rotate(5deg) translateX(-30px);
    z-index: 2;
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }
    50% {
        transform: translateY(-20px) rotate(-8deg);
    }
}

.phone-2 {
    animation-name: float2;
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg) translateX(-30px);
    }
    50% {
        transform: translateY(-15px) rotate(5deg) translateX(-30px);
    }
}

.phone-screen {
    background: #fff;
    border-radius: 32px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Animation de slide pour l'image du téléphone */
#storyImage.slide-left {
    animation: slideLeft 0.35s cubic-bezier(0.4,0,0.2,1);
}
#storyImage.slide-right {
    animation: slideRight 0.35s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideLeft {
    0% { transform: translateX(100%); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideRight {
    0% { transform: translateX(-100%); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 1; }
}

.screen-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.status-bar {
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Scanner Screen */
.scanner {
    background: var(--dark-bg);
    color: #fff;
}

.scanner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.scan-frame {
    flex: 1;
    margin: 2rem;
    border: 3px solid rgba(255, 214, 10, 0.3);
    border-radius: 20px;
    position: relative;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--primary-yellow);
}

.corner.tl {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}

.corner.tr {
    top: -3px;
    right: -3px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 20px 0 0;
}

.corner.bl {
    bottom: -3px;
    left: -3px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 20px;
}

.corner.br {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

.scan-button {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.capture-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: 4px solid rgba(255, 214, 10, 0.5);
    cursor: pointer;
    transition: transform 0.1s;
}

.capture-btn:hover {
    transform: scale(1.1);
}

.scan-label {
    text-align: center;
    padding-bottom: 2rem;
    font-weight: 600;
}

/* Results Screen */
.results {
    background: var(--dark-bg);
    padding: 1rem;
}

.nutrition-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2rem;
    color: var(--text-primary);
    border: 1px solid #2a2a2a;
}

.nutrition-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portion {
    color: #666;
    margin-bottom: 1.5rem;
}

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

.nutrient {
    background: var(--dark-bg);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid #2a2a2a;
}

.nutrient .label {
    font-size: 0.85rem;
    color: #666;
}

.nutrient .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.health-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 214, 10, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 214, 10, 0.2);
}

.score {
    font-weight: 700;
    color: var(--primary-yellow);
}

.done-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.1s;
}

.done-btn:hover {
    background: #FFC700;
    transform: translateY(-2px);
}

.arrow-decoration {
    position: absolute;
    bottom: 30%;
    right: -10%;
    width: 150px;
    opacity: 0.3;
    z-index: 0;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features h2 {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: -apple-system-headline, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.03em;
    text-transform: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.phone-mockup-sticky {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.phone-mockup-wrapper {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 48px;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(255, 214, 10, 0.2);
    position: relative;
}

.phone-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 24px 24px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 44px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 214, 10, 0.15);
}

.phone-screen-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJibHVyIj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIzIi8+PC9maWx0ZXI+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJ3aGl0ZSIgb3BhY2l0eT0iMC4xIiBmaWx0ZXI9InVybCgjYmx1cikiLz48L3N2Zz4=');
    opacity: 0.3;
}

.feature-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3a3a;
    transition: all 0.1s ease;
    cursor: pointer;
}

.feature-dots .dot.active {
    background: var(--primary-yellow);
    width: 12px;
    height: 12px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card-block {
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    cursor: pointer;
}

.feature-card-block.active {
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 28px rgba(255, 214, 10, 0.3);
    background: rgba(255, 214, 10, 0.05);
}

.feature-card-block:hover {
    box-shadow: 0 8px 28px rgba(255, 214, 10, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 214, 10, 0.4);
}

.feature-card-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.feature-card-block .subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card-block p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Why Choose Section */
.why-choose {
    padding: 8rem 2rem 6rem 2rem;
    background: var(--dark-bg);
}

.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-choose h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: -apple-system-headline, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.02em;
}

.why-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 13rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 214, 10, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 214, 10, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(255, 214, 10, 0.3));
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem 8rem 2rem;
    background: var(--dark-bg);
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 6.5rem;
}

.leaf-decoration {
    width: 60px;
    height: auto;
    opacity: 0.6;
    filter: brightness(1.3);
    transition: opacity 0.1s ease;
}

.leaf-right {
    transform: scaleX(-1);
}

.testimonials h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: -apple-system-headline, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: left;
    transition: all 0.1s ease;
}

.testimonial-card:nth-child(2),
.testimonial-card:nth-child(5) {
    transform: translateY(20px);
}

.testimonial-card:nth-child(3) {
    transform: translateY(-15px);
}

.testimonial-card:nth-child(2):hover,
.testimonial-card:nth-child(5):hover {
    transform: translateY(17px);
    box-shadow: 0 8px 24px rgba(255, 214, 10, 0.15);
    border-color: rgba(255, 214, 10, 0.2);
}

.testimonial-card:nth-child(3):hover {
    transform: translateY(-18px);
    box-shadow: 0 8px 24px rgba(255, 214, 10, 0.15);
    border-color: rgba(255, 214, 10, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 214, 10, 0.15);
    border-color: rgba(255, 214, 10, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.testimonial-verified {
    font-size: 0.75rem;
    color: #4caf50;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.testimonial-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #222;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-app-store img {
    height: 44px;
    display: block;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.1s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: var(--text-secondary);
    transition: color 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .description {
        font-size: 0.95rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-images {
        height: 500px;
        margin: 0 auto;
    }

    .phone-mockup {
        width: 220px;
        height: 460px;
    }

    .phone-2 {
        transform: rotate(5deg) translateX(-20px);
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-mockup-sticky {
        position: relative;
        top: 0;
    }

    .phone-mockup-wrapper {
        width: 240px;
        height: 500px;
        margin: 0 auto;
    }

    .why-choose {
        padding: 5rem 1.5rem;
    }

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

    .testimonials {
        padding: 5rem 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        order: -1;
    }
}

@media (max-width: 640px) {
    header {
        padding: 0.75rem 1.25rem;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1.15rem;
        flex-shrink: 0;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .nav-buttons {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-buttons .store-badge {
        display: none;
    }

    .language-selector {
        position: relative;
    }

    .lang-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        min-width: auto;
    }

    .lang-btn .lang-text {
        display: inline;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
    }

    .hero {
        padding: 2rem 1.25rem 3rem;
    }

    .social-proof {
        font-size: 0.75rem;
        gap: 0.375rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        flex-direction: row;
        align-items: center;
    }

    .user-avatars {
        transform: scale(0.8);
        margin-right: -0.25rem;
    }

    h1 {
        font-size: 2.125rem;
        margin-bottom: 0.625rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }

    .description {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cta-buttons {
        margin-top: 0.5rem;
    }

    .app-store-btn img {
        height: 42px;
    }

    .hero-images {
        height: 400px;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .phone-mockup {
        width: 158px;
        height: 336px;
        border-radius: 30px;
        padding: 9px;
    }

    .phone-screen {
        border-radius: 23px;
    }

    .status-bar {
        font-size: 0.7rem;
        padding: 0.5rem;
    }

    .scanner-header {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .nutrition-card h3 {
        font-size: 0.9rem;
    }

    .nutrition-card {
        padding: 0.875rem;
    }

    .phone-1 {
        transform: rotate(-8deg) scale(0.98);
    }

    .phone-2 {
        transform: rotate(5deg) translateX(-18px) scale(0.98);
    }

    .arrow-decoration {
        display: none;
    }

    .features {
        padding: 3.5rem 1.25rem;
    }

    .features h2 {
        font-size: 1.875rem;
        margin-bottom: 2.25rem;
        letter-spacing: -0.02em;
    }

    .phone-mockup-wrapper {
        width: 210px;
        height: 440px;
        margin: 0 auto 1.75rem;
        position: relative;
        overflow: hidden;
        touch-action: pan-x;
        cursor: grab;
    }

    .phone-mockup-wrapper:active {
        cursor: grabbing;
    }

    .phone-screen {
        border-radius: 23px;
        transition: transform 0.1s ease;
    }

    .feature-dots {
        margin-top: 1.25rem;
    }

    .feature-dots .dot {
        width: 9px;
        height: 9px;
    }

    .feature-dots .dot.active {
        width: 11px;
        height: 11px;
    }

    .features-list {
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .feature-card-block {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .feature-card-block h3 {
        font-size: 1.0625rem;
        margin-bottom: 0.75rem;
        letter-spacing: -0.01em;
    }

    .feature-card-block .subtitle {
        font-size: 0.9375rem;
        white-space: normal;
        line-height: 1.5;
        margin-bottom: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feature-card-block p {
        font-size: 0.875rem;
        line-height: 1.65;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .why-choose {
        padding: 4rem 1.25rem;
    }

    .why-choose h2 {
        font-size: 1.875rem;
        margin-bottom: 0.625rem;
        letter-spacing: -0.02em;
    }

    .why-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2.5rem;
        line-height: 1.5;
    }

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

    .why-card {
        padding: 2rem 1.75rem;
        border-radius: 14px;
    }

    .why-icon {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }

    .why-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.875rem;
        letter-spacing: -0.01em;
    }

    .why-card p {
        font-size: 0.9375rem;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .testimonials {
        padding: 4rem 1.25rem;
    }

    .testimonials h2 {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }

    .testimonials-header {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .leaf-decoration {
        width: 42px;
    }

    .testimonials-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 1.5rem 0;
        transform: none !important;
    }

    .testimonial-card:last-child {
        margin-bottom: 0;
    }

    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3),
    .testimonial-card:nth-child(5) {
        transform: none !important;
    }

    .testimonial-card:hover {
        transform: translateY(-3px) !important;
    }

    .testimonial-header {
        margin-bottom: 1rem;
        gap: 0.875rem;
    }

    .testimonial-avatar {
        width: 42px;
        height: 42px;
    }

    .testimonial-info {
        gap: 0.25rem;
    }

    .testimonial-name {
        font-size: 0.9375rem;
        margin-bottom: 0.125rem;
    }

    .testimonial-verified {
        font-size: 0.75rem;
    }

    .testimonial-card p {
        font-size: 0.9375rem;
        line-height: 1.7;
        margin-top: 0;
    }

    footer {
        padding: 3.5rem 1.25rem 1.75rem;
    }

    .footer-content {
        gap: 2.25rem;
    }

    .footer-section h4 {
        font-size: 1.0625rem;
        margin-bottom: 1rem;
    }

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

    .footer-section a {
        font-size: 0.9375rem;
    }

    .footer-section p {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .footer-logo {
        font-size: 1.1875rem;
        margin-bottom: 0.875rem;
    }

    .footer-logo-img {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 2.25rem;
        font-size: 0.875rem;
    }

    .feature-card-block {
        padding: 1.5rem;
    }

    .feature-card-block h3 {
        font-size: 1.25rem;
    }

    .feature-card-block .subtitle {
        font-size: 1rem;
    }

    .feature-card-block p {
        font-size: 0.95rem;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}
