:root {
    /* Advanced Color System - Radiant Light */
    --primary: #FF2E2E;
    /* Radiant Red */
    --primary-glow: rgba(255, 46, 46, 0.15);
    --secondary: #FF8C00;
    /* Energy Orange */

    --bg-deep: #FFFFFF;
    --bg-card: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.9);

    --text-main: #0F172A;
    --text-dim: #475569;
    --text-muted: #94A3B8;

    --border-glass: rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-neon: 0 10px 30px var(--primary-glow);
}

/* Base Level Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* Moving Background Motion */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 46, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: bgMovement 20s ease-in-out infinite alternate;
}

@keyframes bgMovement {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Modern Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation - Floating Glass */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
    padding: 0.8rem 5%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}

.nav-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-smooth);
}

.menu-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.accent-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 46, 46, 0.1);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.section-header .header-line {
    margin: 1.5rem auto;
}

/* Hero Section - The "Motion" Core */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    z-index: 10;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 3rem;
}

.btn-main {
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-neon);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1rem;
}

.btn-main:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--text-main);
    color: white;
}

/* Distinct Rider Backdrop - "Speed Entry" Style */
.rider-background-visual {
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 700px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    /* Subtly integrated */
    transition: var(--transition-smooth);
}

.speed-rider {
    width: 100%;
    height: auto;
    filter: grayscale(1) contrast(1.1);
    /* Artistic tech look */
    animation: speedEntrance 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes speedEntrance {
    from {
        transform: translateX(-200px) rotate(-2deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) rotate(0);
        opacity: 0.15;
    }
}

@media (max-width: 1200px) {
    .rider-background-visual {
        width: 500px;
        left: -100px;
    }
}

/* About Us Section */
.about {
    padding: 10rem 0;
    background: linear-gradient(to bottom, transparent, #F8FAFC);
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* Service Cards - Modern Tech */
.services {
    padding: 10rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 46, 46, 0.05));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-20px);
    border-color: var(--primary);
}

.service-card:hover::after {
    opacity: 1;
}

/* Contact Form - High Contrast Tech */
.contact {
    padding: 10rem 0;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 5rem;
    border-radius: 40px;
    border: 1px solid var(--primary);
    box-shadow: 0 20px 50px rgba(255, 46, 46, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-glass);
    padding: 1rem 0;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Utility Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Ensure JS-less users can see content */
.scroll-reveal.visible,
.no-js .scroll-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Autocomplete Styles */
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.result-item {
    padding: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: rgba(255, 46, 46, 0.05);
    color: var(--primary);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        padding: 1rem 5%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-glass);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-actions {
        display: none;
    }

    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-booking-container {
        padding: 1.5rem;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .btn-main {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .rider-background-visual {
        display: block;
        width: 320px;
        left: -50px;
        bottom: 50px;
        opacity: 0.25;
        z-index: 0;
    }
}