/* --- RESET & VARIABLES --- */
:root {
    /* Color Palette (Rebranded to match Rydo App) */
    --bg: #F8F9FA;
    --white: #ffffff;
    --plum: #1D9E75;
    --plum-hover: #167F5D;
    --plum-light: rgba(29, 158, 117, 0.08);
    --coral: #E24B4A;
    --coral-hover: #C93C3B;
    --coral-light: rgba(226, 75, 74, 0.08);
    
    --green: #1D9E75;
    --green-bg: rgba(29, 158, 117, 0.08);
    --green-border: rgba(29, 158, 117, 0.2);
    --green-text: #167F5D;
    --green-light: rgba(29, 158, 117, 0.08);
    
    --text-main: #1A1A1A;
    --text-sub: #6B7280;
    --border-color: #E5E7EB;
    
    /* Layout & Shadow */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utility classes */
.icon-sm {
    width: 1rem;
    height: 1rem;
}
.icon-md {
    width: 1.25rem;
    height: 1.25rem;
}
.font-semibold {
    font-weight: 600;
}

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    border-block: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    object-fit: contain;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--plum);
}

.logo-dot {
    color: var(--coral);
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--coral);
}

/* Buttons */
.desktop-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--plum);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.btn-admin:hover {
    color: var(--coral);
}

.btn-download-header {
    background-color: var(--plum);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-download-header:hover {
    background-color: var(--plum-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--plum);
}

.mobile-menu-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* --- MOBILE DRAWER --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg);
    z-index: 101;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--plum);
}

.close-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-nav a:hover {
    color: var(--coral);
}

.drawer-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-admin-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--plum);
    font-weight: 600;
    text-align: center;
}

.btn-download-mobile {
    background-color: var(--plum);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    padding: 0.875rem;
    border-radius: 9999px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 6rem;
    overflow: visible;
}

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

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Tag Badge */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--border-color);
    color: #8C3F3F;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.icon-sparkle {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--coral);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-main);
    line-height: 1.1;
}

.hero-highlight {
    color: var(--coral);
    position: relative;
    display: inline-block;
}

.highlight-line {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(226, 75, 74, 0.15);
    border-radius: 9999px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-sub);
    max-width: 32rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary-hero {
    background-color: var(--plum);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1.125rem 2rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

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

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-secondary-hero {
    border: 2px solid rgba(29, 158, 117, 0.15);
    color: var(--plum);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    transition: border-color 0.2s, color 0.2s;
}

.btn-secondary-hero:hover {
    border-color: var(--plum);
}

/* Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 28rem;
    border-top: 1px solid var(--border-color);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-val {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--plum);
}

.metric-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-sub);
    letter-spacing: 0.05em;
}

/* Right Column (Visual) */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blur-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(29, 158, 117, 0.04);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-img-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-xl);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Cards Base */
.floating-card {
    position: absolute;
    z-index: 2;
    background-color: var(--white);
    border-radius: 1.25rem;
    padding: 0.875rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.bg-coral-light { background-color: var(--coral-light); }
.text-coral { color: var(--coral); }
.bg-plum-light { background-color: var(--plum-light); }
.text-plum { color: var(--plum); }

.card-details {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
}

.check-verified {
    color: var(--green);
    font-weight: bold;
    font-size: 0.75rem;
}

.card-sub {
    font-size: 0.75rem;
    color: var(--text-sub);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-top: 0.125rem;
}

.star-icon {
    width: 0.875rem;
    height: 0.875rem;
    color: #FFB800;
}

.rating-val {
    font-size: 0.75rem;
    font-weight: 700;
}

/* Positions & Floating Effects */
.card-driver-pierre {
    top: 2rem;
    left: -2rem;
    max-width: 180px;
}

.card-driver-aurelie {
    top: 7rem;
    right: -2rem;
    max-width: 180px;
}

.card-review {
    bottom: 7rem;
    right: -3rem;
    max-width: 200px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
}

.stars-row {
    display: flex;
    gap: 0.125rem;
}

.review-text {
    font-size: 0.75rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.3;
}

.review-author {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-sub);
    align-self: flex-end;
}

.card-route {
    bottom: -1.5rem;
    left: 2rem;
    right: 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
}

.route-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-block: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.route-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8C3F3F;
    letter-spacing: 0.05em;
}

.route-status {
    font-size: 0.625rem;
    font-weight: 700;
    background-color: var(--green-bg);
    color: var(--green-text);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.route-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.route-dots-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.icon-circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle svg {
    width: 0.875rem;
    height: 0.875rem;
}

.dotted-connector {
    width: 2px;
    height: 1.25rem;
    border-left: 2px dotted var(--border-color);
}

.route-texts-col {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.route-city {
    font-size: 0.875rem;
    color: var(--text-main);
}

.btn-start-route {
    background-color: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    padding: 0.625rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background-color 0.2s;
}

.btn-start-route:hover {
    background-color: var(--coral-hover);
}

/* Animations */
.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

/* --- TICKER RIBBON --- */
.ticker-banner {
    position: relative;
    width: 100%;
    background-color: var(--coral);
    padding: 1rem 0;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    overflow: hidden;
    white-space: nowrap;
    border-style: 1px solid #E24A4A;
    transform: rotate(-1deg);
    box-shadow: var(--shadow-lg);
    margin: 4rem 0;
    z-index: 5;
}

.ticker-inner {
    display: inline-flex;
    gap: 3rem;
    width: 200%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- COMMUNITY SECTION --- */
.community-section {
    padding: 5rem 0;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.community-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    max-width: 40rem;
    line-height: 1.2;
}

.community-orbit-outer {
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    padding: 0.5rem;
    background: linear-gradient(to top right, var(--coral), var(--plum));
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-orbit-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    background-color: var(--white);
}

.community-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-big {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--plum);
    letter-spacing: -0.05em;
    line-height: 1;
}

.stats-label {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-sub);
    letter-spacing: 0.15em;
}

/* --- ECO IMPACT SECTION --- */
.eco-section {
    padding: 3rem 1.5rem;
}

.eco-card {
    background-color: var(--green-bg);
    color: var(--green-text);
    border: 1px solid var(--green-border);
    border-radius: 2.5rem;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.eco-decor-1 {
    position: absolute;
    top: -3rem;
    left: -3rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(46, 204, 113, 0.05);
    border-radius: 50%;
    filter: blur(20px);
}

.eco-decor-2 {
    position: absolute;
    bottom: -3rem;
    right: -3rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(46, 204, 113, 0.05);
    border-radius: 50%;
    filter: blur(20px);
}

.eco-content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eco-icon-badge {
    width: 4rem;
    height: 4rem;
    background-color: var(--white);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--green);
    box-shadow: var(--shadow-md);
}

.eco-leaf {
    width: 2rem;
    height: 2rem;
}

.eco-subtitle {
    font-size: 1.75rem;
    font-weight: 800;
    color: #113022;
}

.eco-number-block {
    display: flex;
    flex-direction: column;
}

.eco-big-val {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
}

.eco-unit {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #113022;
    margin-top: 0.25rem;
}

.eco-desc {
    color: #3B5F4E;
    font-size: 1.125rem;
    max-width: 28rem;
    margin: 0 auto;
}

.eco-btn-wrapper {
    margin-top: 1rem;
}

.btn-eco-download {
    background-color: var(--plum);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 1.125rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-eco-download:hover {
    background-color: var(--plum-hover);
    transform: translateY(-2px);
}

/* --- FEATURES GRID --- */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.features-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-title {
    font-size: 2.25rem;
    font-weight: 900;
}

.features-subtitle {
    color: var(--text-sub);
    max-width: 32rem;
    margin: 0 auto;
}

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

.feat-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow 0.3s;
}

.feat-card:hover {
    box-shadow: var(--shadow-xl);
}

.feat-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
}

.bg-green-light { background-color: var(--green-light); }
.text-green { color: var(--green); }

.feat-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--plum);
}

.feat-desc {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* --- DOWNLOAD APP BANNER --- */
.download-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.download-banner {
    background-color: var(--plum);
    color: var(--bg);
    border-radius: 2.5rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.download-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    height: 20rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    filter: blur(40px);
}

.download-texts {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 32rem;
}

.download-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
}

.download-desc {
    color: rgba(248, 249, 250, 0.8);
    font-size: 1.125rem;
}

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

.store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    height: 40px;
    overflow: visible;
    cursor: pointer;
}

.store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-badge-img {
    display: block;
    pointer-events: none;
}

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

.store-badge-img.google-play {
    height: 60px; /* Compensate for the 10px built-in padding in Google Play SVG */
    width: auto;
    margin: -10px; /* Align visual boundaries with App Store badge */
}

/* Widget Card */
.stats-widget {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.widget-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-lbl {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.widget-val {
    font-size: 0.875rem;
    font-weight: 700;
}

.text-green {
    color: #2ECC71 !important;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg);
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--border-color);
}

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

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

.footer-about {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.6;
}

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

.footer-heading {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--plum);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--coral);
}

.flex-row {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.icon-xs {
    width: 0.875rem;
    height: 0.875rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    padding: 2rem 1.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-sub);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    text-decoration: none;
    color: var(--text-sub);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--coral);
}

/* --- RESPONSIVENESS (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }
    
    .hero-text-col {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-metrics {
        max-width: 100%;
    }
    
    .hero-visual-col {
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 3rem 2rem;
    }
    
    .download-texts {
        align-items: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .stats-widget {
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .desktop-ctas {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-img-card {
        max-width: 280px;
    }
    
    .card-driver-pierre {
        left: -1rem;
    }
    
    .card-driver-aurelie {
        right: -1rem;
    }
    
    .card-review {
        right: -1.5rem;
    }
    
    .card-route {
        left: 1rem;
        right: 1rem;
    }
    
    .stats-big {
        font-size: 4rem;
    }
    
    .eco-big-val {
        font-size: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- EXTRA MOBILE RESPONSIVENESS (<= 480px) --- */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
    
    .hero-container {
        gap: 3.5rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .btn-primary-hero, .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-img-card {
        max-width: 240px;
        border-radius: 2rem;
    }
    
    .floating-card {
        padding: 0.625rem;
        gap: 0.5rem;
        border-radius: 1rem;
    }
    
    .card-driver-pierre {
        left: -0.5rem;
        top: 1.5rem;
        max-width: 150px;
    }
    
    .card-driver-aurelie {
        right: -0.5rem;
        top: 5.5rem;
        max-width: 150px;
    }
    
    .card-review {
        right: -0.5rem;
        bottom: 5.5rem;
        max-width: 170px;
    }
    
    .card-route {
        left: 0.5rem;
        right: 0.5rem;
        bottom: -2rem;
        padding: 0.875rem;
    }
    
    .community-section {
        padding: 4rem 1rem;
    }
    
    .community-title {
        font-size: 2rem;
    }
    
    .stats-big {
        font-size: 3.25rem;
    }
    
    .stats-label {
        font-size: 0.875rem;
        letter-spacing: 0.1em;
    }
    
    .eco-section {
        padding: 2.5rem 1rem;
    }
    
    .eco-card {
        padding: 3rem 1.25rem;
        border-radius: 2rem;
    }
    
    .eco-subtitle {
        font-size: 1.125rem;
    }
    
    .eco-big-val {
        font-size: 3.25rem;
    }
    
    .eco-desc {
        font-size: 0.95rem;
    }
    
    .features-section {
        padding: 4rem 1rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .feat-card {
        padding: 1.5rem;
    }
    
    .download-section {
        padding: 2.5rem 1rem;
    }
    
    .download-banner {
        padding: 2.5rem 1.25rem;
        border-radius: 2rem;
        gap: 2.5rem;
    }
    
    .download-title {
        font-size: 2.25rem;
    }
    
    .download-desc {
        font-size: 1rem;
    }
    
    .stats-widget {
        padding: 1.5rem;
    }
    
    .footer {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    
    .footer-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem 0 1rem;
        margin-top: 2.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}
