:root {
    --primary: #FFD400;
    --primary-dark: #E6BF00;
    --secondary: #0F0F10;
    --bg: #FFFFFF;
    --bg-alt: #F8F9FA;
    --text: #1D1D1F;
    --text-muted: #6E6E73;
    --white: #FFFFFF;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p { font-size: 1.1rem; color: var(--text-muted); }

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.topbar-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link { text-decoration: none; color: inherit; }

.brand {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.brand span { color: var(--primary-dark); }

.nav {
    display: flex;
    gap: 2rem;
}

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

.nav a:hover { color: var(--primary-dark); }

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
}

.btn-light {
    background: var(--bg-alt);
    color: var(--secondary);
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-light:hover { background: #E9ECEF; }

/* Search Widget (Carpooling) */
.search-widget {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    border: 1px solid rgba(0,0,0,0.05);
}

.search-field {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(0,0,0,0.1);
}
.search-field:last-child { border-right: none; }
.search-field label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.search-field input, .search-field select { border: none; font-size: 1.1rem; font-weight: 600; outline: none; padding-top: 0.5rem; font-family: inherit; color: var(--text); background: transparent; }

/* Hero Section */
.hero {
    padding: 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p { margin-bottom: 2rem; font-size: 1.25rem; }

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 80px rgba(0,0,0,0.1);
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--secondary); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 { margin-bottom: 1.5rem; }
.section-header-left { text-align: left; margin: 0 0 60px; }

/* Calculator */
.calc-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.calc-inputs { display: flex; flex-direction: column; gap: 1.5rem; }
.calc-result { 
    background: var(--bg-alt); 
    padding: 2.5rem; 
    border-radius: var(--radius); 
    text-align: center;
}

.calc-result h2 { font-size: 3.5rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.calc-result p { font-size: 1rem; }

.input-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.input-group input[type="range"] { width: 100%; height: 6px; background: #ddd; border-radius: 5px; outline: none; }
.input-group select, .input-group input[type="text"], .input-group input[type="number"] { width: 100%; padding: 1rem; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.1); font-size: 1rem; font-family: inherit; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    color: var(--primary-dark);
}

/* Route Cards */
.route-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer;
    gap: 1rem;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.route-cities { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-weight: 700; 
    font-size: 1.1rem; 
    flex-wrap: wrap;
}
.route-price { 
    font-weight: 800; 
    color: var(--primary-dark); 
    font-size: 1.25rem; 
    white-space: nowrap; 
    flex-shrink: 0; 
}

/* App Badges */
.app-badges { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.app-badge {
    height: 48px;
    transition: var(--transition);
}
.app-badge:hover { transform: scale(1.05); }

/* QR Section */
.qr-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    width: fit-content;
    margin-top: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}
.qr-code { width: 100px; height: 100px; background: #eee; border-radius: 8px; }

/* Cities Section */
.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.city-tag {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card-icon {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.card-icon svg { width: 48px; height: 48px; stroke-width: 1.5; }

/* Testimonials */
.testimonial-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0,0,0,0.05);
    font-family: Georgia, serif;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem 0;
}
.faq-item h4 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }

/* Responsive */
@media (max-width: 992px) {
    .calc-card { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .search-field { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); width: 100%; }
    .search-widget .btn { width: 100%; margin-top: 1rem; }
}

@media (max-width: 600px) {
    .steps-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 40px 40px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 1rem; }

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

.footer-nav h4 { margin-bottom: 1.5rem; font-size: 1.1rem; }

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.8rem; }

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 0.9rem; color: rgba(255,255,255,0.4); }

.social-links { display: flex; gap: 1.5rem; }
.social-links a { color: var(--white); text-decoration: none; opacity: 0.6; transition: var(--transition); }
.social-links a:hover { opacity: 1; color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hide-mobile { display: none; }
}
