:root {
    /* Light Mode Variables */
    --primary-red: #E60000;
    --primary-blue: #0052FF;
    --light-blue: #E5EEFF;
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-light: #475569;
    --hero-grad-start: #F0F4FF;
    --hero-grad-end: #FFFFFF;
    --route-bg-color: #d5deef;
    --route-dash-color: #aabcea;
    --nav-bg: transparent;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-shadow: rgba(0, 82, 255, 0.25);
    --card-border: rgba(255, 255, 255, 0.5);
    --road-asphalt: #333333;
    --road-dash: #FFFFFF;
}

body.dark-mode {
    /* Dark Mode Variables */
    --primary-red: #ff3333;
    --primary-blue: #4d88ff;
    --light-blue: #111111;
    --bg-white: #000000;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --hero-grad-start: #000000;
    --hero-grad-end: #000000;
    --route-bg-color: #1a1a1a;
    --route-dash-color: #555555;
    --nav-bg: transparent;
    --card-bg: #000000;
    --card-shadow: rgba(0, 82, 255, 0.15);
    --card-border: rgba(255, 255, 255, 0.1);
    --road-asphalt: #111111;
    --road-dash: #555555;
}

body.dark-mode .btn-secondary {
    background: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Intro Animation Overlay --- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s ease;
}

.intro-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.car-draw {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Stroke Animations */
.car-path,
.car-path-blue {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.car-wheel {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.honda-img-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    z-index: 1;
    opacity: 0;
}

.honda-img-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 82, 255, 0.2));
}

.intro-text {
    position: absolute;
    bottom: -50px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.intro-text h1 {
    font-weight: 900;
    font-size: 3rem;
    color: var(--primary-red);
    letter-spacing: 2px;
}

.intro-text h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Animations Triggered by JS classes */
.animate-draw .car-path {
    animation: drawLine 2s ease forwards;
}

.animate-draw .car-wheel {
    animation: drawLine 1.5s 0.5s ease forwards;
}

.animate-draw .intro-text {
    animation: fadeUp 1s 1.5s forwards;
}

.animate-drive-away .car-draw {
    animation: driveAway 1.5s ease-in forwards;
}

.animate-drive-away .car-fire {
    animation: fireFlicker 1.5s ease-in forwards;
}

.animate-drive-away .intro-text {
    animation: fadeOutFast 1s forwards;
}

.car-fire {
    opacity: 0;
    transform-origin: 150px 250px;
}

.zoom-out {
    transform: scale(3) translateY(50%);
    opacity: 0;
    pointer-events: none;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes driveAway {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-30px);
    }

    100% {
        transform: translateX(2000px);
    }
}

@keyframes fireFlicker {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    15% {
        opacity: 1;
        transform: scale(1.5);
    }

    30% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    45% {
        opacity: 1;
        transform: scale(1.8);
    }

    100% {
        opacity: 1;
        transform: scale(2);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutFast {
    to {
        opacity: 0;
    }
}

/* --- Main Content Layout --- */
.hidden {
    display: none !important;
}

#main-content {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

#main-content.visible {
    opacity: 1;
    transform: scale(1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--nav-bg);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.theme-btn:hover {
    background: var(--light-blue);
}

.theme-btn svg {
    width: 24px;
    height: 24px;
}

.logo .ticker {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    font-family: 'Roboto Mono', monospace;
    position: relative;
}

.logo .ticker::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover .ticker::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3);
}

.buy-btn:hover {
    background: var(--primary-red);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding: 180px 5% 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 40%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-bg.winding-roadmap-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--hero-grad-start) 100%);
    box-shadow: inset 0 0 100px rgba(0, 82, 255, 0.1);
    z-index: 5;
    pointer-events: none;
}

.roadmap-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.route-bg {
    stroke: var(--route-bg-color);
}

.route-dash {
    stroke: var(--route-dash-color);
}

.headlight-glow {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.dark-mode .headlight-glow {
    opacity: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    z-index: 10;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-blue);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 82, 255, 0.15);
    letter-spacing: 0.5px;
}

.badge .text-blue {
    color: var(--primary-blue);
}

.badge .highlight {
    color: var(--primary-red);
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn-icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 82, 255, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--light-blue);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px var(--card-shadow), 0 0 0 1px var(--card-border);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--card-bg);
    max-width: 600px;
    width: 100%;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.image-wrapper:hover {
    transform: translateY(-10px) scale(1.02) rotateY(-5deg);
    box-shadow: 0 50px 100px -20px rgba(0, 82, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.hero-honda {
    width: 100%;
    display: block;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-wrapper:hover .hero-honda {
    transform: scale(1.08);
}

.hero-art {
    position: absolute;
    width: 40%;
    top: 10%;
    right: 5%;
    z-index: 1;
    opacity: 0.8;
    filter: hue-rotate(15deg);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.deco-animation {
    animation: slowSpin 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Marquee Section */
.marquee-section {
    background: var(--primary-red);
    color: white;
    padding: 1.5rem 0;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.05);
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(230, 0, 0, 0.2);
}

.marquee {
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
}

.marquee-content span {
    margin: 0 2rem;
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Milestones Section */
.milestones {
    padding: 100px 5%;
    background: var(--bg-white);
}

.milestones-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 700;
}

.milestones-footer {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 60px;
    font-family: 'Roboto Mono', monospace;
}

.milestones-footer strong {
    color: var(--primary-red);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
}

.text-blue {
    color: var(--primary-blue);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 60px;
    background: var(--road-asphalt);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    border-radius: 10px;
    z-index: 0;
}

/* Road Dashed Line */
.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background-image: linear-gradient(to bottom, var(--road-dash) 50%, transparent 50%);
    background-size: 100% 40px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 1;
}

.scroll-car-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: top 0.1s ease-out;
}

.tail-fire {
    animation: fireFlicker 0.2s infinite alternate;
}

.timeline-item {
    padding: 10px 60px;
    position: relative;
    background: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    z-index: 3;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    right: -42px;
    background-color: var(--primary-red);
    border: 4px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 4px #333;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -42px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 2px solid var(--light-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.timeline-content h3 {
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #000000;
    /* Explicit dark to stay dark */
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-left h3 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 700;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.x-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.x-link:hover {
    color: var(--primary-red) !important;
}

.x-logo {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 900px) {
    .marquee-section {
        padding: 1rem 0;
        margin: 20px 0;
    }

    .marquee-content {
        font-size: 0.9rem;
    }

    .marquee-content span {
        margin: 0 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .timeline {
        padding: 50px 0;
    }

    .timeline::after {
        left: 40px;
    }

    .timeline::before {
        left: 40px;
    }

    .scroll-car-container {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 90px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-dot {
        left: 28px !important;
        right: auto;
    }


    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        margin-top: 10px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}