/* ===== ROOT VARIABLES ===== */
:root {
    --bg: #0A0A0F;
    --bg-card: #111118;
    --bg-card2: #16161F;
    --purple: #6D28D9;
    --purple-light: #7C3AED;
    --purple-glow: rgba(109, 40, 217, 0.35);
    --blue: #3B82F6;
    --blue-light: #60A5FA;
    --blue-dark: #2563EB;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --cyan: #22D3EE;
    --text: #F5F5F7;
    --text-muted: #8A8A9A;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(59, 130, 246, 0.5);
    --radius: 16px;
    --radius-sm: 10px;
    --nav-height: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
input, select, textarea, button { font-family: 'Outfit', sans-serif; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
p { color: var(--text-muted); }
.blue-text { color: var(--blue-light); }
.mt-1 { margin-top: 1.5rem; display: inline-block; }

/* ===== BUTTONS ===== */
.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--blue-glow);
    white-space: nowrap;
}
.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--blue-glow);
    filter: brightness(1.15);
    color: white;
}
.btn-blue.full-width { width: 100%; font-size: 1.1rem; padding: 1.1rem; border-radius: var(--radius-sm); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: var(--blue-light);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10, 10, 15, 0.98); box-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 1.5rem; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.logo-text { font-size: 1.6rem; font-weight: 900; letter-spacing: 1px; color: var(--text); }
.logo-text span { color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { color: var(--text-muted); font-weight: 500; padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: all 0.2s ease; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.lang-toggle {
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--text); font-size: 0.9rem; font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 9999px;
    cursor: pointer; transition: all 0.3s ease;
}
.lang-toggle:hover { background: rgba(59, 130, 246, 0.25); border-color: var(--blue-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== CINEMATIC HERO BACKGROUND ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--nav-height) + 4rem) 1.5rem 5rem;
    position: relative; overflow: hidden;
}

.cinematic-bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

/* Night sky gradient */
.sky-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        #02020A 0%,
        #050510 30%,
        #0A0520 60%,
        #10081A 80%,
        #0E0C14 100%
    );
}

/* Road container - vanishing point perspective */
.road-container {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 65%; display: flex; justify-content: center; align-items: flex-end;
}
.road {
    width: 100%; height: 100%;
    background: linear-gradient(to bottom,
        #0A0814 0%,
        #141220 40%,
        #1A1828 70%,
        #1E1C2C 100%
    );
    clip-path: polygon(35% 0%, 65% 0%, 100% 100%, 0% 100%);
    position: relative; overflow: hidden;
}

/* Animated center road markings */
.road-lines {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 6px;
    display: flex; flex-direction: column; gap: 20px;
    animation: roadMove 1.2s linear infinite;
}
.dash {
    flex-shrink: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.1));
    border-radius: 3px;
}

@keyframes roadMove {
    0% { transform: translateX(-50%) translateY(-80px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

/* Light streaks — oncoming and passing headlights */
.light-streaks {
    position: absolute; inset: 0;
    pointer-events: none;
}
.streak {
    position: absolute;
    height: 1px;
    border-radius: 9999px;
    opacity: 0;
    animation: streakAnim var(--dur, 3s) var(--delay, 0s) ease-in infinite;
}
.s1 { width: 200px; top: 48%; left: 10%; background: linear-gradient(to right, transparent, #4FC3F7, transparent); --dur: 2.8s; --delay: 0s; }
.s2 { width: 150px; top: 52%; left: 5%; background: linear-gradient(to right, transparent, #81D4FA, transparent); --dur: 3.2s; --delay: 0.8s; }
.s3 { width: 180px; top: 50%; left: 3%; background: linear-gradient(to right, transparent, #B3E5FC, transparent); --dur: 2.5s; --delay: 1.5s; }
.s4 { width: 120px; top: 46%; left: 8%; background: linear-gradient(to right, transparent, #E1F5FE, transparent); --dur: 3.5s; --delay: 2.2s; }
.s5 { width: 200px; top: 48%; right: 10%; background: linear-gradient(to left, transparent, #4FC3F7, transparent); --dur: 2.6s; --delay: 0.4s; }
.s6 { width: 160px; top: 52%; right: 6%; background: linear-gradient(to left, transparent, #81D4FA, transparent); --dur: 3.1s; --delay: 1.2s; }
.s7 { width: 190px; top: 50%; right: 4%; background: linear-gradient(to left, transparent, #B3E5FC, transparent); --dur: 2.9s; --delay: 1.9s; }
.s8 { width: 130px; top: 46%; right: 9%; background: linear-gradient(to left, transparent, #E1F5FE, transparent); --dur: 3.4s; --delay: 2.7s; }

@keyframes streakAnim {
    0% { opacity: 0; transform: scaleX(0.2); }
    20% { opacity: 0.8; transform: scaleX(1); }
    80% { opacity: 0.6; transform: scaleX(1.2); }
    100% { opacity: 0; transform: scaleX(1.4) translateX(30px); }
}

/* Horizon glow - headlights glow on road */
.horizon-glow {
    position: absolute;
    bottom: 30%; left: 50%; transform: translateX(-50%);
    width: 400px; height: 200px;
    background: radial-gradient(ellipse at center bottom,
        rgba(59, 130, 246, 0.25) 0%,
        rgba(109, 40, 217, 0.1) 40%,
        transparent 70%
    );
    filter: blur(30px);
    animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Dark overlay so text is readable */
.overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 2, 10, 0.55) 0%,
        rgba(5, 5, 16, 0.35) 40%,
        rgba(10, 8, 20, 0.6) 80%,
        rgba(10, 10, 15, 0.85) 100%
    );
}

/* Stars */
.cinematic-bg::before {
    content: '';
    position: absolute; inset: 0; top: 0; height: 45%;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 20% 8%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 33% 25%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 45% 5%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 55% 18%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 67% 12%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 75% 22%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 88% 7%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 15% 35%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 28% 42%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 40% 38%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 92% 28%, rgba(255,255,255,0.5), transparent);
    animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ===== HERO CONTENT ===== */
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--blue-light);
    font-size: 0.9rem; font-weight: 600;
    padding: 0.5rem 1.2rem; border-radius: 9999px;
    margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle {
    font-size: 1.2rem; color: rgba(245,245,247,0.75);
    max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(245,245,247,0.6); }

/* ===== PHONE BANNER ===== */
.phone-banner {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(109,40,217,0.1));
    border-top: 1px solid rgba(59,130,246,0.25);
    border-bottom: 1px solid rgba(59,130,246,0.25);
    padding: 1rem 1.5rem; text-align: center; font-size: 1rem; font-weight: 500;
}
.phone-banner a { color: var(--blue-light); font-weight: 700; }
.phone-banner a:hover { color: var(--cyan); }

/* ===== SECTIONS ===== */
.section { padding: 7rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.3);
    color: var(--blue-light);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 9999px; margin-bottom: 1rem;
}
.section-header p { font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

/* ===== AUTOCOMPLETE ===== */
.autocomplete-wrapper { position: relative; }
.autocomplete-dropdown {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #1A1A28;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: var(--radius-sm);
    max-height: 220px; overflow-y: auto;
    z-index: 500; display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.autocomplete-dropdown.open { display: block; }
.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.active { background: rgba(59,130,246,0.15); color: var(--blue-light); }
.autocomplete-item span.state { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.4rem; }

/* ===== QUOTE CARD ===== */
.quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px; overflow: hidden;
}
.quote-form { padding: 2.5rem; }
.form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-bottom: 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.6rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; }
input, select, textarea {
    background: var(--bg-card2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text); padding: 0.85rem 1rem;
    font-size: 1rem; transition: all 0.3s ease;
    outline: none; width: 100%;
    -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    background: rgba(59,130,246,0.04);
}
input::placeholder, textarea::placeholder { color: rgba(138,138,154,0.45); }
select option { background: var(--bg-card2); }
textarea { resize: vertical; min-height: 100px; }
.readonly-field { cursor: not-allowed; opacity: 0.7; }

.quote-result {
    border-top: 1px solid var(--border); padding: 3rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(109,40,217,0.04));
    animation: fadeInUp 0.5s ease;
}
.result-icon { font-size: 3rem; margin-bottom: 1rem; }
.result-label { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.result-price { font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; color: var(--blue-light); line-height: 1; margin-bottom: 0.5rem; }
.result-route { color: var(--text-muted); margin-bottom: 1rem; font-size: 1rem; font-weight: 500; }
.result-note { font-size: 0.8rem; color: rgba(138,138,154,0.5); margin-bottom: 1.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ===== HOW IT WORKS ===== */
.how-section {
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.steps-grid { display: flex; align-items: center; gap: 1rem; }
.step-card {
    flex: 1; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 2.5rem 2rem; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.step-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.07), transparent);
    opacity: 0; transition: 0.4s;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(59,130,246,0.12); }
.step-card:hover::before { opacity: 1; }
.step-card > * { position: relative; z-index: 1; }
.step-number { font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; color: var(--blue-light); opacity: 0.6; margin-bottom: 1rem; }
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-card p { font-size: 0.95rem; }
.step-arrow { font-size: 1.5rem; color: var(--blue); opacity: 0.4; flex-shrink: 0; }

/* ===== BOOKING ===== */
.book-section { background: transparent; }
.booking-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 2.5rem; }
.form-disclaimer { text-align: center; font-size: 0.8rem; color: rgba(138,138,154,0.5); margin-top: 1rem; }
.booking-success { text-align: center; padding: 3rem; animation: fadeInUp 0.5s ease; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.booking-success h3 { font-size: 1.8rem; color: var(--blue-light); margin-bottom: 1rem; }

/* ===== WHY SECTION ===== */
.why-section { background: rgba(59,130,246,0.02); border-top: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem; transition: all 0.4s ease;
}
.why-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(59,130,246,0.1); }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card p { font-size: 0.9rem; }

/* ===== FOOTER ===== */
footer { background: #06060B; border-top: 1px solid var(--border); padding: 4rem 1.5rem 2rem; }
.footer-container {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { font-size: 1.8rem; margin-bottom: 0.75rem; }
.footer-brand > p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn { padding: 0.6rem 1.2rem; border-radius: 9999px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.social-btn.whatsapp { background: #25D366; color: white; }
.social-btn.whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.social-btn.call { background: var(--bg-card2); border: 1px solid var(--border); }
.social-btn.call:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--blue-light); }
.contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; color: var(--text-muted); font-size: 0.95rem; }
.contact-item a { color: var(--text-muted); }
.contact-item a:hover { color: var(--blue-light); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.85rem; color: rgba(138,138,154,0.4); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(10,10,15,0.98); border-bottom: 1px solid var(--border); padding: 1.5rem; gap: 0.5rem; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }
    .quote-form, .booking-card { padding: 1.5rem; }
    .road { clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%); }
}
