/* ===== Variables ===== */
:root {
    --color-primary: #1e5a8e;
    --color-primary-dark: #154a75;
    --color-accent: #d4a84b;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #f8faf8;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-white);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212,168,75,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
}

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

.hero-bus-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #e0b85a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Sections ===== */
.section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* ===== Stats ===== */
.stats {
    padding: 3rem 1.5rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== About ===== */
.about {
    background: var(--color-white);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
}

.about-values {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.about-values h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.about-values li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.about-values li strong {
    color: var(--color-primary);
}

/* ===== Services ===== */
.services {
    background: var(--color-bg);
}

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

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== How It Works ===== */
.how-it-works {
    background: var(--color-white);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== FAQ ===== */
.faq {
    background: var(--color-bg);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.faq-item h4 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Why Us ===== */
.why-us {
    background: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 90, 142, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ===== Contact ===== */
.contact {
    background: var(--color-white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.contact-item strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--color-text);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-item p {
    color: var(--color-text);
    margin: 0;
}

/* ===== App Links ===== */
.app-links {
    background: var(--color-bg);
    padding: 5rem 1.5rem;
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.app-content {
    color: var(--color-white);
}

.app-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.app-desc {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.app-features {
    list-style: none;
    margin-bottom: 2rem;
}

.app-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    opacity: 0.95;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

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

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius);
    font-weight: 500;
    transition: all var(--transition);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-icon {
    font-size: 1.5rem;
}

.app-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.app-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-text small {
    font-size: 0.7rem;
}

.app-text strong {
    font-size: 1rem;
}

.app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-mockup {
    width: 220px;
    height: 420px;
    background: #1a1a1a;
    border-radius: 1.5rem;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.phone-screen-slider {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.phone-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.phone-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.app-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.slider-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-width: 100%;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.2s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 1.5rem;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer a {
    text-decoration: underline;
    opacity: 1;
}

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

.faq-item a {
    color: var(--color-primary);
    text-decoration: underline;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .logo-img {
        height: 52px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image-wrap {
        order: -1;
    }

    .hero-bus-image {
        max-width: 100%;
    }

    .section {
        padding: 3rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .app-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .app-visual {
        order: -1;
    }

    .app-phone-mockup {
        width: 180px;
        height: 340px;
    }

    .app-buttons {
        flex-direction: column;
    }

    .app-btn {
        justify-content: center;
    }
}
