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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    padding-top: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* Ensure all text elements have proper color inheritance */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, ul, ol {
    color: inherit;
}

/* Legal pages styles */
.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #007be8;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

.highlight-box ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #1e40af;
}

.highlight-box li {
    margin-bottom: 4px;
    color: #1e40af;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Header style when page is scrolled */
.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
    transition: transform 0.3s ease;
}

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

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #007be8;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: #007be8;
}

/* Hero Section */
.hero {
    padding: 50px 0 80px;
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Éléments parallax décoratifs */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

/* Formes géométriques flottantes */
.parallax-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.parallax-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.parallax-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.parallax-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    animation-delay: -10s;
    animation-duration: 14s;
}

.parallax-shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -7s;
    animation-duration: 16s;
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Amélioration de l'effet parallax */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    z-index: 3;
}

/* Effet de profondeur pour le contenu */
.hero-title,
.hero-description,
.hero-buttons,
.hero-stats {
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimisation pour les performances */
.parallax-shape {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Désactiver le parallax sur mobile pour les performances */
@media (max-width: 768px) {
    .parallax-shape {
        animation: none;
        transform: none !important;
    }
    
    .hero::after {
        animation: none;
    }
    
    .hero {
        transform: none !important;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 50px;
    padding: 16px 32px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: pulse-glow 2s ease-in-out infinite;
}

.coming-soon-badge.coming-soon-cta {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fbbf24;
}

.coming-soon-cta .badge-text {
    color: white;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    }
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 232, 0.3);
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 232, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 0;
    font-size: 1.1rem;
}

.app-store-badge {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.stat-pro {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    background: rgba(251, 191, 36, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 4px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-languages {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.languages-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.languages-badges {
    display: flex;
    gap: 8px;
}

.lang-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.lang-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.phone-mockup {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
    background: #000;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 123, 232, 0.15);
    border-color: #007be8;
}

.overview-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.overview-card p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.overview-card .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .overview {
        padding: 60px 0;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-card {
        padding: 24px;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.feature-section {
    margin-bottom: 80px;
}

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

.feature-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.feature-section-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.feature-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.01em;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

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

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

/* Competitions Section */
.competitions {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.competitions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.competitions-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.competition-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.competition-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 8px;
}

.competition-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.competition-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.competitions-visual {
    position: relative;
    text-align: center;
}

.competition-mockup {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
    background: #000;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.competition-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
}

.pro-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Target Audience Section */
.audience {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.audience-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.audience-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.audience-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.audience-features li {
    padding: 6px 0;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.audience-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
    justify-items: center;
}

.screenshot {
    text-align: center;
    position: relative;
}

/* Style iPhone avec coins arrondis */
.screenshot img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
    padding: 12px;
    box-sizing: border-box;
}

/* Effet au survol */
.screenshot img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Bordure type iPhone - supprimée car les images ont déjà le style */

.screenshot h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 8px;
    margin-bottom: 8px;
}

.screenshot-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 60px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background: #ffffff;
    color: #1f2937;
    border-bottom: 3px solid #e2e8f0;
}

.comparison-table th {
    padding: 24px 20px;
    text-align: center;
    font-weight: 600;
    vertical-align: middle;
}

.comparison-table th.feature-column {
    text-align: left;
    background: #f8fafc;
    color: #1f2937;
    font-size: 1rem;
    width: 40%;
    border-right: 2px solid #e2e8f0;
}

.comparison-table th.version-column {
    width: 30%;
    background: #f1f5f9;
    color: #475569;
}

.comparison-table th.version-column.featured {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    position: relative;
}

.version-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.version-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.version-header .badge {
    position: static;
    transform: none;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding: 4px 12px;
    color: white;
    font-weight: 600;
}

.version-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-top: 4px;
}

.version-price .price-note {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.comparison-table tbody tr:hover {
    background-color: #f1f5f9;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    vertical-align: middle;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: #1f2937;
    background: #f8fafc;
    border-right: 2px solid #e2e8f0;
}

.comparison-table td.version-cell {
    color: #475569;
    font-size: 0.95rem;
    background: #ffffff;
}

.comparison-table td.version-cell.featured {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 600;
}

.comparison-table tfoot {
    background: #ffffff;
}

.comparison-table tfoot td {
    padding: 24px 20px;
    text-align: center;
}

.comparison-table tfoot td.version-footer {
    border-top: 2px solid #e2e8f0;
    background: #f8fafc;
}

.comparison-table tfoot td.version-footer.featured {
    background: #eff6ff;
    border-top-color: #3b82f6;
}

.comparison-table tfoot .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.comparison-table tfoot .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.comparison-table tfoot .btn-outline {
    background: white;
    color: #475569;
    border: 2px solid #cbd5e1;
}

.comparison-table tfoot .btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1f2937;
}

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

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #007be8;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #007be8;
    margin-bottom: 32px;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: #64748b;
}

.pricing-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    font-style: italic;
}

.limitations {
    margin-top: 24px;
    padding: 20px;
    background: #fef2f2;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.limitations h4 {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.limitations ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.limitations li {
    padding: 4px 0;
    color: #7f1d1d;
    font-size: 0.9rem;
}

.pro-benefits {
    margin-top: 24px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.pro-benefits h4 {
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pro-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro-benefits li {
    padding: 4px 0;
    color: #1e40af;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: #007be8;
    border: 2px solid #007be8;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    background: #007be8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 232, 0.3);
}

.btn-disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border: 2px solid #cbd5e1 !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.8;
    font-weight: 600;
    padding: 12px 24px;
}

.btn-disabled:hover {
    transform: none !important;
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.download-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.download-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.download-feature .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.download-feature .feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.download-feature .feature-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-mockup {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
    background: #000;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* TestFlight Section */
.testflight {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

.testflight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.testflight-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.testflight-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.testflight-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testflight-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.testflight-benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.testflight-benefit .benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.testflight-benefit .benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.testflight-benefit .benefit-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

.testflight-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.testflight-feature .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.testflight-feature .feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.testflight-feature .feature-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

.testflight-visual {
    display: flex;
    justify-content: center;
}

.testflight-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid #e2e8f0;
}

.testflight-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.testflight-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.testflight-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-testflight {
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 232, 0.3);
}

.btn-testflight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 232, 0.4);
    color: white;
}

.btn-icon {
    font-size: 1.2rem;
}

.testflight-requirements {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.testflight-requirements p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 100px 0 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #007be8;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007be8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #007be8;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    position: relative;
    z-index: 2;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .features {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .competitions {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .audience {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .screenshots {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .pricing {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .testflight {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .download {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.87);
    }
    
    .download-text h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .download-text p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .download-feature .feature-content h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .download-feature .feature-content p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .feature-section-title {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .feature-section-header {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .header {
        background: rgba(15, 23, 42, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header.scrolled {
        background: rgba(15, 23, 42, 1);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .nav-link:hover {
        color: #60a5fa;
    }
    
    .logo-text {
        color: #60a5fa;
    }
    
    .section-title {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .section-subtitle {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .feature-card {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .feature-card h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .feature-card p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .audience-card {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .audience-card h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .audience-card p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .audience-features li {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .pricing-card {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .pricing-card h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .pricing-description {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .pricing-features li {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .limitations {
        background: #7f1d1d;
        border-left-color: #ef4444;
    }
    
    .limitations h4 {
        color: #fca5a5;
    }
    
    .limitations li {
        color: #fecaca;
    }
    
    .pro-benefits {
        background: #1e3a8a;
        border-left-color: #60a5fa;
    }
    
    .pro-benefits h4 {
        color: #93c5fd;
    }
    
    .pro-benefits li {
        color: #bfdbfe;
    }
    
    .price {
        color: #60a5fa;
    }
    
    .comparison-table {
        background: #1e293b;
    }
    
    .comparison-table thead {
        background: #1e293b;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .comparison-table th.feature-column {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.9);
        border-right-color: rgba(255, 255, 255, 0.1);
    }
    
    .comparison-table th.version-column {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .comparison-table th.version-column.featured {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
    }
    
    .comparison-table td.feature-name {
        background: #0f172a;
        color: rgba(255, 255, 255, 0.9);
        border-right-color: rgba(255, 255, 255, 0.1);
    }
    
    .comparison-table tbody tr:nth-child(even) {
        background-color: #1e293b;
    }
    
    .comparison-table tbody tr:hover {
        background-color: #334155;
    }
    
    .comparison-table td.version-cell {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .comparison-table td.version-cell.featured {
        background: #1e3a8a;
        color: #93c5fd;
    }
    
    .comparison-table tfoot {
        background: #1e293b;
    }
    
    .comparison-table tfoot td.version-footer {
        background: #0f172a;
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    
    .comparison-table tfoot td.version-footer.featured {
        background: #1e3a8a;
        border-top-color: #3b82f6;
    }
    
    .testflight-card {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .testflight-card h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .testflight-card p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .testflight-text h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .testflight-text p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .testflight-feature .feature-content h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .testflight-feature .feature-content p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .testflight-benefit .benefit-content h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .testflight-benefit .benefit-content p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .testflight-requirements {
        background: #0f172a;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .testflight-requirements p {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .competition-content h3 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .competition-content p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .screenshot h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .screenshot-description {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer {
        background: #0f172a;
    }
    
    .footer-section h4 {
        color: #60a5fa;
    }
    
    .footer-section p {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .footer-section ul li a:hover {
        color: #60a5fa;
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.6);
    }
    
    .highlight-box {
        background: #1e3a8a;
        border-left-color: #60a5fa;
    }
    
    .highlight-box p,
    .highlight-box ul,
    .highlight-box li {
        color: #93c5fd;
    }
}

/* Menu mobile hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1f2937;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Styles pour les pages légales */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.legal-page h2 {
    font-size: 1.8rem;
    color: #007be8;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.legal-page p {
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.legal-page ul {
    color: #64748b;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-page li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007be8;
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #007be8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #007be8;
    color: white;
    transform: translateY(-2px);
}

.legal-header {
    background: linear-gradient(135deg, #007be8 0%, #d80300 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    color: white;
    margin-bottom: 10px;
}

.legal-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.legal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin: -20px auto 60px;
    max-width: 760px;
    color: #1f2937;
}

.disclaimer-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.disclaimer-box p {
    color: #1565c0;
    font-weight: 600;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 10001;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100vw;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e2e8f0;
        z-index: 10000;
        list-style: none;
        margin: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin-bottom: 4px;
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 10px 0;
        width: 100%;
        text-align: left;
        color: #64748b;
        font-weight: 500;
        text-decoration: none;
        line-height: 1.4;
        transition: color 0.2s ease;
        -webkit-tap-highlight-color: rgba(0, 123, 232, 0.1);
    }
    
    .nav-menu li a:hover,
    .nav-menu li a:active {
        color: #007be8;
    }
    
    .nav-menu li a:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
        border-radius: 4px;
    }
    
    .nav-menu li.lang-selector {
        margin-top: 12px;
        margin-bottom: 0;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
    }
    
    .lang-selector {
        margin-left: 0;
        margin-top: 0;
        flex-wrap: wrap;
        width: 100%;
        display: flex;
        gap: 4px;
        list-style: none;
    }
    
    /* Masquer le menu déroulant sur mobile */
    .lang-dropdown {
        display: none;
    }
    
    /* Afficher les boutons sur mobile */
    .lang-selector-mobile {
        display: flex;
        width: 100%;
        gap: 4px;
    }
    
    .lang-selector-mobile a {
        padding: 10px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 0;
        font-size: 0.9rem;
        line-height: 1;
    }
    
    .lang-selector-mobile a:hover {
        color: #007be8;
        background: #f0f9ff;
        border-color: #007be8;
    }
    
    .lang-selector-mobile a:active {
        transform: scale(0.98);
    }
    
    .lang-selector-mobile a:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }
    
    .lang-selector-mobile a.active {
        color: #007be8;
        background: #e0f2fe;
        border-color: #007be8;
        font-weight: 600;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .coming-soon-badge {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .badge-text {
        font-size: 0.95rem;
    }
    
    .badge-icon {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .comparison-table-wrapper {
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
    
    .version-header h3 {
        font-size: 1.2rem;
    }
    
    .version-price {
        font-size: 1.5rem;
    }
    
    .comparison-table th.feature-column {
        width: 50%;
    }
    
    .comparison-table th.version-column {
        width: 25%;
    }
    
    .competitions-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .testflight-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-section-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pages légales responsive */
    .legal-header {
        padding: 40px 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 20px;
        margin: -20px 20px 40px;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
    }
    
    .legal-page p,
    .legal-page ul {
        font-size: 1rem;
    }
    
    .back-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-container {
        position: relative;
        width: 100%;
    }
    
    .nav-menu {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* Pages légales très petits écrans */
    .legal-content {
        padding: 15px;
        margin: -20px 10px 30px;
    }
    
    .legal-page h1 {
        font-size: 1.75rem;
    }
    
    .legal-page h2 {
        font-size: 1.3rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.screenshot,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Loading states */
.btn:active {
    transform: scale(0.98);
}

/* Language selector */
.lang-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    position: relative;
}

/* Menu déroulant pour desktop */
.lang-dropdown {
    position: relative;
    display: block;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-dropdown-toggle:hover {
    color: #007be8;
    background: #f0f9ff;
    border-color: #007be8;
}

.lang-dropdown-toggle:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.lang-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.lang-dropdown.active .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 4px;
    min-width: 60px;
    display: none;
    z-index: 1000;
}

.lang-dropdown.active .lang-dropdown-menu {
    display: block;
}

.lang-dropdown-menu li {
    margin: 0;
}

.lang-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
}

.lang-dropdown-menu a:hover {
    color: #007be8;
    background: #f0f9ff;
}

.lang-dropdown-menu a.active {
    color: #007be8;
    background: #e0f2fe;
    font-weight: 600;
}

/* Version mobile : affichage de tous les boutons */
.lang-selector-mobile {
    display: none;
}

/* Navigation dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.nav-dropdown-toggle:hover {
    color: #007be8;
}

.nav-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
    color: #64748b;
}

.nav-dropdown.active .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px;
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu .nav-link {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-dropdown-menu .nav-link:hover {
    color: #007be8;
    background: #f0f9ff;
}

/* Lightbox navigation styles */
@media (max-width: 768px) {
    .lightbox-nav {
        position: absolute !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 24px !important;
    }
    
    .lightbox-prev {
        left: 10px !important;
    }
    
    .lightbox-next {
        right: 10px !important;
    }
    
    .lightbox-close {
        top: 10px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 24px !important;
    }
    
    .lightbox-container {
        max-width: 95% !important;
        padding: 0 50px !important;
    }
    
    .lightbox-title {
        font-size: 1rem !important;
        margin-top: 15px !important;
        padding: 0 10px !important;
    }
}

/* Effet de vague lors du défilement */
.wave-container {
    position: relative;
    width: 100vw;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-top: 40px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Nageur sur les vagues */
.wave-surfer {
    position: absolute;
    z-index: 11;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Nageur devant la baywatch */
.wave-swimmer-front {
    position: absolute;
    font-size: 40px;
    z-index: 12;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.wave-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-path {
    transition: d 0.1s ease-out, fill 0.3s ease;
    transform-origin: center;
}

/* Animation fluide pour les vagues */
@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50px);
    }
}

/* Responsive : ajustements pour mobile */
@media (max-width: 768px) {
    /* Les vagues sont maintenant affichées sur mobile également */
    .wave-container {
        height: 150px; /* Réduire légèrement la hauteur sur mobile */
    }
    
    .wave-surfer {
        width: 45px !important; /* Réduire la taille de la baywatch sur mobile */
    }
    
    .wave-swimmer-front {
        font-size: 38.4px !important; /* Augmenter la taille du nageur de 20% sur mobile (32px * 1.2 = 38.4px) */
    }
}

/* Optionnel : effet de vague plus subtil sur les écrans moyens */
@media (max-width: 1024px) {
    .wave-container {
        height: 150px;
        opacity: 0.8;
    }
    
    .wave-surfer {
        width: 50px !important;
    }
}
