/* ==================== */
/* RESET & VARIABLES    */
/* ==================== */

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

:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --card-bg: #111111;
    --text-white: #ffffff;
    --text-gray: #999999;
    --text-light-gray: #bbbbbb;
    --accent-color: #ffffff;
    --button-bg: #ffffff;
    --button-text: #000000;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --hover-border: rgba(255, 255, 255, 0.2);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

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

/* ==================== */
/* REDUCED MOTION       */
/* ==================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 30px 5px rgba(255, 255, 255, 0.05); }
}

@keyframes videoGlow {
    0%, 100% { box-shadow: 0 0 30px 8px rgba(255, 255, 255, 0.06), 0 0 60px 20px rgba(255, 255, 255, 0.03), 0 30px 100px rgba(0, 0, 0, 0.8); }
    50% { box-shadow: 0 0 40px 12px rgba(255, 255, 255, 0.1), 0 0 80px 30px rgba(255, 255, 255, 0.05), 0 30px 100px rgba(0, 0, 0, 0.8); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for children */
.animate-on-scroll.visible .feature-card:nth-child(1),
.animate-on-scroll.visible .pricing-card:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll.visible .feature-card:nth-child(2),
.animate-on-scroll.visible .pricing-card:nth-child(2) { transition-delay: 80ms; }
.animate-on-scroll.visible .feature-card:nth-child(3),
.animate-on-scroll.visible .pricing-card:nth-child(3) { transition-delay: 160ms; }
.animate-on-scroll.visible .feature-card:nth-child(4),
.animate-on-scroll.visible .pricing-card:nth-child(4) { transition-delay: 240ms; }

/* ==================== */
/* GLASSMORPHISM CARDS  */
/* ==================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.35s var(--ease-out-expo);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--hover-border);
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--text-white);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--text-white);
    text-decoration: none;
}

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

.language-selector {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.language-selector:hover,
.language-selector:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hover-border);
}

.language-selector option {
    background: #111;
    color: var(--text-white);
}

.btn-admin {
    background: var(--glass-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--primary-bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: -1;
}

/* Subtle ambient orbs in hero */
.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.035;
    pointer-events: none;
}

.hero-background::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
    top: -100px;
    right: -150px;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-background::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.hero-content {
    text-align: center;
    padding: 2rem 0;
    animation: fadeInUp 0.9s var(--ease-out-expo) forwards;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #777777 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn {
    padding: 1rem 2.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.25s var(--ease-out-expo);
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--text-white);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-outline:active {
    transform: translateY(0);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    position: relative;
    cursor: default;
}

.stat-item h3 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    letter-spacing: -0.03em;
    transition: transform 0.25s var(--ease-out-expo);
}

.stat-item:hover h3 {
    transform: scale(1.05);
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==================== */
/* SECTIONS GENERALES   */
/* ==================== */

section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    margin: 1rem auto 0;
    border-radius: 1px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-gray);
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
}

/* Section dividers */
.features::before,
.download::before,
.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ==================== */
/* VIDEO SECTION        */
/* ==================== */

.video-section {
    background: var(--primary-bg);
    padding: 7rem 0;
    position: relative;
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 3px;
    border-radius: 26px;
    animation: videoGlow 4s ease-in-out infinite;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.video-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    position: relative;
}

.video-container:hover {
    transform: scale(1.005);
    border-color: rgba(255, 255, 255, 0.2);
}

.promo-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.features {
    background: var(--secondary-bg);
    position: relative;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: width 0.5s var(--ease-out-expo);
}

.feature-card:hover::before {
    width: 80%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.35s var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon svg {
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-card:hover .feature-icon svg {
    opacity: 1;
    transform: scale(1.06);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 0.92rem;
}

/* ==================== */
/* PRICING              */
/* ==================== */

.pricing {
    position: relative;
}

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

.pricing-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    border-radius: 20px;
    cursor: default;
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.04), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.06), 0 24px 70px rgba(0, 0, 0, 0.5);
}

.badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--button-bg);
    color: var(--button-text);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.pricing-header {
    margin-bottom: 0.5rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    transition: transform 0.25s var(--ease-out-expo);
    display: inline-block;
}

.pricing-card:hover .price {
    transform: scale(1.05);
}

.unit {
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: var(--text-light-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    line-height: 1.5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

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

.download {
    background: var(--secondary-bg);
    position: relative;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.download-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.download-text p {
    color: var(--text-gray);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-white);
    border-radius: 16px;
    cursor: pointer;
}

.store-button:not(.disabled):hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.store-text strong {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.download-mockup {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.download-mockup img {
    transition: transform 0.5s var(--ease-out-expo);
}

.download-mockup:hover img {
    transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
}

.phone-mockup {
    width: 300px;
    height: 600px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}

#app-mockup {
    transition: opacity 0.3s ease-in-out, transform 0.5s var(--ease-out-expo);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-preview {
    text-align: center;
    padding: 2rem;
}

.app-preview h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==================== */
/* DRIVER SIGNUP        */
/* ==================== */

.driver-signup {
    padding: 7rem 0;
    background: var(--primary-bg);
}

.driver-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    border-radius: 24px;
}

.driver-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.driver-text p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.driver-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.driver-benefits li {
    padding: 0.7rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    color: var(--text-light-gray);
    transition: color 0.25s ease, padding-left 0.25s var(--ease-out-expo);
    border-radius: 8px;
    padding-left: 4px;
    cursor: default;
}

.driver-benefits li:hover {
    color: var(--text-white);
    padding-left: 8px;
}

.driver-card {
    padding: 3rem;
    text-align: center;
    border-radius: 24px;
    animation: pulseGlow 4s ease-in-out infinite;
    position: relative;
}

.driver-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.earning {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 1rem 0;
    white-space: nowrap;
    letter-spacing: -0.03em;
}

.earning span {
    font-size: 1.5rem;
    color: var(--text-gray);
}

/* ==================== */
/* DRIVER FORM          */
/* ==================== */

.driver-form-section {
    padding: 2.5rem;
}

.driver-form-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.driver-form-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.driver-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group select {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

.form-group select option {
    background: var(--card-bg);
    color: var(--text-white);
}

.form-group input:focus,
.form-group select:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.35);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.driver-form button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ==================== */
/* TERMS / PRIVACY      */
/* ==================== */

.terms-section,
.privacy-section {
    background: var(--secondary-bg) !important;
}

.terms-section h3,
.privacy-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.terms-section p,
.privacy-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

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

.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light-gray);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
}

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

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

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

.footer-section a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    transition: all 0.25s var(--ease-out-expo);
    opacity: 0.5;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-icon:focus-visible {
    outline: 2px solid var(--text-white);
    outline-offset: 2px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* ==================== */
/* SCROLL TO TOP BUTTON */
/* ==================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease-out-expo), background 0.2s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--text-white);
    outline-offset: 2px;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

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

/* Tablet landscape */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .pricing-card.featured:hover {
        transform: scale(1.03);
    }

    .download-content {
        gap: 3rem;
    }
}

/* Tablet portrait & mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }

    section {
        padding: 4.5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1);
    }

    .download-content,
    .driver-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .download-text {
        text-align: center;
    }

    .download-buttons {
        align-items: center;
    }

    .store-button {
        max-width: 280px;
        width: 100%;
    }

    .driver-content {
        padding: 1.5rem;
    }

    .driver-text {
        padding: 0;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .earning {
        font-size: 2rem;
        white-space: nowrap;
    }

    .earning span {
        font-size: 0.875rem;
    }

    .driver-card {
        padding: 1.5rem !important;
        width: calc(100% - 2rem) !important;
        max-width: calc(100% - 2rem) !important;
        margin: 0 1rem !important;
        box-sizing: border-box !important;
    }

    .driver-card.glass-card {
        transform: none !important;
    }

    .driver-card.glass-card:hover {
        transform: none !important;
    }

    .driver-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .driver-card p {
        font-size: 0.8rem;
    }

    .video-wrapper {
        padding: 2px;
        border-radius: 18px;
        animation: videoGlow 5s ease-in-out infinite;
    }

    .video-wrapper::before {
        border-radius: 19px;
    }

    .video-container {
        border-radius: 16px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

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

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

    .section-header h2::after {
        width: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-icon {
        padding: 8px;
    }

    .price {
        font-size: 1.6rem;
    }

    .pricing-card:hover .price {
        transform: none;
    }

    .stat-item:hover h3 {
        transform: none;
    }

    .hero::after {
        display: none;
    }

    /* Disable hover effects on touch devices */
    .glass-card:hover {
        transform: none;
    }

    .feature-card:hover .feature-icon {
        transform: none;
    }

    .download-mockup:hover img {
        transform: none;
    }

    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.65rem;
        letter-spacing: 0.04em;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .video-wrapper {
        animation-duration: 6s;
    }

    .video-container {
        border-radius: 12px;
    }

    .video-wrapper {
        border-radius: 14px;
    }

    .video-wrapper::before {
        border-radius: 15px;
    }

    .driver-benefits li {
        font-size: 0.95rem;
    }

    .store-text strong {
        font-size: 1rem;
    }

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

    .nav-links a {
        font-size: 1.15rem;
    }
}

/* ==================== */
/* COOKIE CONSENT       */
/* ==================== */

/* Bandeau principal */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 48px);
    max-width: 900px;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: grayscale(0.2);
}

.cookie-banner-content {
    flex: 1;
    min-width: 200px;
}

.cookie-banner-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cookie-banner-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-banner-actions .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: 12px;
    white-space: nowrap;
}

.cookie-btn-reject {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 0.825rem;
    font-family: inherit;
    cursor: pointer;
    padding: 10px 8px;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-btn-reject:hover {
    color: var(--text-white);
}

/* Overlay modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

/* Modal */
.cookie-modal {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: translateY(0) scale(1);
}

.cookie-modal:hover {
    transform: none;
    background: rgba(12, 12, 12, 0.95);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.cookie-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.cookie-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-gray);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Catégorie cookie */
.cookie-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    transition: border-color 0.2s ease;
}

.cookie-category:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.cookie-badge-required {
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cookie-category-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-toggle-disabled {
    cursor: default;
    opacity: 0.5;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px) translateY(-50%);
    background: var(--text-white);
}

.cookie-toggle:not(.cookie-toggle-disabled):hover .cookie-toggle-slider {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer modal */
.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
    flex-wrap: wrap;
}

.cookie-modal-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.875rem;
    padding: 12px 20px;
    border-radius: 14px;
    min-width: 140px;
}

/* Lien "Gérer les cookies" dans le footer */
.cookie-manage-link {
    color: var(--text-gray);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s ease;
    display: inline;
}

.cookie-manage-link:hover {
    color: var(--text-white);
}

/* Responsive mobile */
@media (max-width: 640px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(110%);
    }

    .cookie-banner.visible {
        transform: translateY(0);
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .cookie-banner-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cookie-btn-reject {
        grid-column: 1 / -1;
        text-align: center;
        padding: 6px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .btn {
        min-width: unset;
    }
}
