/**
 * OenoCloud - Premium Design System
 * 2025 Redesign
 */

:root {
    /* Palette Premium */
    --color-primary: #5a121a;
    /* Bordeaux profond */
    --color-primary-light: #7c1f2a;
    /* Bordeaux plus clair */
    --color-secondary: #c7a556;
    /* Or/Bronze */
    --color-secondary-light: #e3c578;

    --color-bg: #f6f1ea;
    /* Beige papier */
    --color-bg-alt: #efe5d8;
    /* Beige plus foncé */
    --color-surface: #ffffff;

    --color-text: #2d1f1a;
    --color-text-light: #6d5f59;

    --color-success: #2e7d32;
    --color-error: #c62828;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Si disponible, sinon serif */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(90, 18, 26, 0.05);
    --shadow-md: 0 4px 12px rgba(90, 18, 26, 0.08);
    --shadow-lg: 0 12px 32px rgba(90, 18, 26, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(90, 18, 26, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 18, 26, 0.4);
}

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

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

.btn-gold {
    background: linear-gradient(135deg, var(--color-secondary), #b08d45);
    color: white;
    box-shadow: 0 4px 15px rgba(199, 165, 86, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 165, 86, 0.4);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(246, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(90, 18, 26, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

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

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 3px;
    background: rgba(0, 0, 0, 0.03);
    padding: 3px;
    border-radius: 20px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 5px 8px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all 0.2s;
}

.lang-btn.active {
    background-color: var(--color-surface);
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
/* Hero Section */
.hero {
    padding: 180px 0 100px;
    /* Increased top padding to avoid navbar overlap */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #fbf6ef, var(--color-bg));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.hero-text .tagline {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App Preview for Hero Visual */
.hero-app-preview {
    width: 100%;
    aspect-ratio: 16/10;
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-visual:hover .hero-app-preview {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Window Header */
.app-preview-header {
    height: 36px;
    background: #252540;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ff5f56; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green { background: #27ca40; }

.preview-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
}

/* App Content */
.app-preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Horizontal Navbar - Style glass comme l'app */
.preview-navbar {
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e52521 0%, #c41e1a 100%);
    border-radius: 8px;
}

.navbar-menu {
    display: flex;
    gap: 6px;
    flex: 1;
}

.menu-item {
    padding: 8px 14px;
    color: #4b5563;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.menu-item.active {
    background: linear-gradient(135deg, #e52521 0%, #c41e1a 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(229, 37, 33, 0.25);
}

.navbar-user {
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border-radius: 50%;
}

.preview-main {
    flex: 1;
    padding: 16px;
    background: #f8f5f2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stats Row */
.preview-stats {
    display: flex;
    gap: 12px;
}

.stat-box {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
}

/* Barrel Grid */
.preview-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.barrel {
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
}

.barrel::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 8%;
    background: inherit;
    filter: brightness(0.85);
    border-radius: 2px;
}

.barrel.red { background: #8B0000; }
.barrel.white { background: #F5DEB3; border: 1px solid #ddd; }
.barrel.cognac { background: #D2691E; }
.barrel.empty {
    background: #f0f0f0;
    border: 2px dashed #ccc;
}
.barrel.empty::before { display: none; }



/* Removed img selector as we are using placeholder */
/* .hero-visual img { ... } */

/* Features Section */
.features-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-surface);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--color-surface);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(199, 165, 86, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-secondary);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Products Section */
.products-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.products-section .section-header {
    margin-bottom: var(--spacing-md);
}

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

.product-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    padding: 24px 16px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid rgba(90, 18, 26, 0.08);
    box-shadow: 0 2px 8px rgba(90, 18, 26, 0.04);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
    cursor: default;
}

.product-item:hover {
    background: var(--color-surface);
    border-color: var(--color-secondary);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(90, 18, 26, 0.12);
}

.product-item .product-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.product-item .product-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 -2px 4px rgba(0,0,0,0.1);
    border: 3px solid rgba(255,255,255,0.9);
    flex-shrink: 0;
}

.product-item .product-color-custom {
    background: conic-gradient(
        from 0deg,
        #f59e0b 0deg 60deg,
        #dc2626 60deg 120deg,
        #84cc16 120deg 180deg,
        #0ea5e9 180deg 240deg,
        #a855f7 240deg 300deg,
        #f43f5e 300deg 360deg
    );
}

.product-item span:last-child {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Demo Section */
.demo-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.demo-frame {
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.demo-browser-bar {
    background: #2d2d2d;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-browser-dots {
    display: flex;
    gap: 6px;
}

.demo-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.demo-browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.demo-browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo-browser-dots span:nth-child(3) {
    background: #27c93f;
}

.demo-browser-url {
    background: #000;
    color: #888;
    font-size: 0.8rem;
    padding: 4px 15px;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
    font-family: monospace;
}

.demo-iframe-container {
    height: 700px;
    background: white;
    border-radius: 0 0 8px 8px;
    position: relative;
    overflow: hidden;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.demo-fullscreen-btn {
    margin-left: auto;
    color: #888;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.demo-fullscreen-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Demo CTA Button */
.demo-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 18, 26, 0.3);
}

.demo-cta-button:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 18, 26, 0.4);
}

.demo-cta-button svg {
    transition: transform 0.2s;
}

.demo-cta-button:hover svg {
    transform: translateX(4px);
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-lg) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: 0.3s;
}

.pricing-card.featured {
    border: 2px solid var(--color-secondary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pricing-price .period {
    color: var(--color-text-light);
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li svg {
    color: var(--color-success);
    width: 20px;
    height: 20px;
}

.pricing-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.pricing-card.featured .pricing-btn {
    background: var(--color-primary);
    color: white;
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--color-primary-light);
}

.pricing-card:not(.featured) .pricing-btn {
    background: var(--color-bg);
    color: var(--color-text);
}

.pricing-card:not(.featured) .pricing-btn:hover {
    background: #e0e0e0;
}

/* Story Section */
.story-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-section h2 {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 20px;
}

.story-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-alt);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(199, 165, 86, 0.1);
}

.form-error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input {
    border-color: var(--color-error);
}

.form-group.error .form-error {
    display: block;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links a {
    color: #888;
    margin: 0 15px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #555;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Modals */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.contact-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-shadow: var(--shadow-xl);
}

.contact-modal.show .contact-modal-content {
    transform: translateY(0);
}

.contact-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-modal.success .contact-modal-icon {
    background: #e8f5e9;
    color: var(--color-success);
}

.contact-modal.error .contact-modal-icon {
    background: #ffebee;
    color: var(--color-error);
}

.contact-modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-modal-btn {
    margin-top: 20px;
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    background: var(--color-primary);
    color: white;
    cursor: pointer;
    font-weight: 600;
}

/* Responsive */

/* Menu hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-primary);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--color-surface);
    z-index: 1001;
    padding: 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    padding: 12px 15px;
    color: var(--color-text);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav-links a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.mobile-lang-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.mobile-lang-selector .lang-btn {
    padding: 8px 12px;
}

.mobile-cta {
    margin-top: auto;
}

.mobile-cta .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu-overlay,
    .mobile-menu {
        display: block;
    }

    /* Cacher le bouton CTA du header sur mobile (il est dans le menu mobile) */
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* Compact header for mobile */
    .site-header {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 30px;
    }

    .header-actions {
        gap: 8px;
    }

    .lang-selector {
        display: none;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .tagline {
        font-size: 1rem;
    }

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

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

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

    .contact-container {
        padding: 25px;
    }

    /* Demo CTA Button - Mobile */
    .demo-cta-button {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Login Page Specifics */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #fbf6ef, var(--color-bg-alt));
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-logo {
    margin-bottom: 30px;
    height: 60px;
}