:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #42A5F5;
    --primary-soft: #E8F1FC;
    --bg: #F5F7FB;
    --dark: #101828;
    --muted: #667085;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --success: #12B76A;
    --shadow: 0 18px 50px rgba(16, 24, 40, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top right, rgba(21,101,192,0.10), transparent 35%),
        var(--bg);
    color: var(--dark);
}

a {
    text-decoration: none;
}

button,
a {
    transition: all .25s ease;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(21,101,192,0.12);
    top: -210px;
    right: -180px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(18,183,106,0.10);
    left: -90px;
    bottom: 30px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: rgba(255,255,255,.75);
    color: var(--primary);
    border: 1px solid rgba(21,101,192,.18);
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(21,101,192,.08);
}

.pulse {
    width: 9px;
    height: 9px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(18,183,106,0.13);
}

.hero h1 {
    font-size: clamp(42px, 6vw, 74px);
    line-height: .96;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 18px 38px rgba(21,101,192,.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(21,101,192,.32);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border-color: #BBD7F4;
}

.btn-outline:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* STATS */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 570px;
}

.stat-card {
    background: rgba(255,255,255,.86);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card strong {
    display: block;
    font-size: 27px;
    color: var(--primary);
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

/* PHONE MOCKUP */
.phone-wrap {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.phone {
    width: 320px;
    min-height: 618px;
    background: #08111F;
    border-radius: 44px;
    padding: 14px;
    box-shadow: 0 34px 85px rgba(16,24,40,.30);
    transform: rotate(2deg);
}

.phone-screen {
    background: #F8FAFC;
    min-height: 590px;
    border-radius: 34px;
    overflow: hidden;
}

.map-ui {
    height: 320px;
    background:
        linear-gradient(90deg, rgba(21,101,192,.13) 1px, transparent 1px),
        linear-gradient(rgba(21,101,192,.13) 1px, transparent 1px),
        #EAF3FE;
    background-size: 38px 38px;
    position: relative;
}

.route {
    position: absolute;
    left: 58px;
    top: 92px;
    width: 190px;
    height: 122px;
    border: 7px solid var(--primary);
    border-left: none;
    border-bottom: none;
    border-radius: 0 75px 0 0;
}

.pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 7px 18px rgba(21,101,192,.35);
}

.pin.one {
    left: 50px;
    top: 83px;
}

.pin.two {
    right: 55px;
    bottom: 92px;
    background: var(--success);
}

.car {
    position: absolute;
    left: 144px;
    top: 140px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 17px;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 26px rgba(16,24,40,.16);
    font-size: 22px;
}

.trip-card {
    margin: -35px 18px 0;
    position: relative;
    background: white;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 20px 55px rgba(16,24,40,.16);
}

.trip-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.driver {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--primary);
}

.driver strong {
    display: block;
    font-size: 14px;
}

.driver span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.price {
    color: var(--primary);
    font-weight: 900;
    font-size: 18px;
}

.trip-line {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.place {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 800;
    font-size: 14px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-top: 4px;
    background: var(--primary);
}

.dot.green {
    background: var(--success);
}

.mini-btn {
    width: 100%;
    padding: 15px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: 0;
    font-weight: 900;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 17px 20px;
    box-shadow: var(--shadow);
    font-weight: 900;
}

.floating-card.left {
    left: 0;
    top: 90px;
}

.floating-card.right {
    right: 0;
    bottom: 135px;
}

.floating-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

/* SECTIONS */
.section {
    padding: 86px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 46px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -1.6px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 17px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(21,101,192,.25);
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 11px;
    font-size: 20px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

/* RIDER / DRIVER PANELS */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.panel {
    background: white;
    border-radius: 36px;
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow);
}

.panel.blue {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 35%),
        linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.panel h2 {
    font-size: 38px;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.panel p {
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 26px;
}

.panel.blue p {
    color: rgba(255,255,255,.88);
}

.check-list {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

.check {
    display: flex;
    gap: 10px;
    font-weight: 800;
}

.check::before {
    content: "✓";
    color: var(--success);
    font-weight: 900;
}

.panel.blue .check::before {
    color: white;
}

/* DOWNLOAD */
.download {
    background:
        radial-gradient(circle at top right, rgba(21,101,192,.45), transparent 32%),
        linear-gradient(135deg, #071527, #0B2442);
    color: white;
    border-radius: 38px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 70px rgba(7,21,39,.24);
}

.download-content {
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.download p {
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 26px;
}

.store-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.store {
    background: white;
    color: #071527;
    border-radius: 19px;
    padding: 14px 19px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 900;
}

.store:hover {
    transform: translateY(-4px);
}

.store small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .hero-grid,
    .split,
    .download {
        grid-template-columns: 1fr;
    }

    .phone-wrap {
        min-height: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding: 54px 0;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .phone {
        width: 292px;
        transform: none;
    }

    .download,
    .panel {
        padding: 30px;
        border-radius: 30px;
    }
}

body.modal-open {
    overflow: hidden;
}

.app-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 21, 39, 0.68);
    backdrop-filter: blur(10px);
}

.app-modal-overlay.show {
    display: flex;
}

.app-modal {
    width: min(620px, 100%);
    position: relative;
    background: #ffffff;
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.28);
    animation: appModalIn 0.35s ease;
}

.app-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #F2F4F7;
    color: #101828;
    font-size: 28px;
    cursor: pointer;
}

.app-modal-badge {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: #E8F1FC;
    color: #1565C0;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 16px;
}

.app-modal h2 {
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: #101828;
}

.app-modal p {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 24px;
}

.app-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.app-choice-card {
    display: block;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    color: #101828;
}

.app-choice-card:hover {
    transform: translateY(-5px);
    border-color: #1565C0;
    box-shadow: 0 18px 45px rgba(21,101,192,0.14);
}

.app-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 18px;
}

.rider-app .app-icon {
    background: #E8F1FC;
}

.driver-app .app-icon {
    background: #ECFDF3;
}

.app-choice-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.app-choice-card span {
    display: block;
    color: #667085;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 18px;
}

.app-choice-card strong {
    display: inline-flex;
    color: #1565C0;
    font-size: 14px;
}

.app-modal-later {
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    border: 0;
    border-radius: 18px;
    background: #F2F4F7;
    color: #101828;
    font-weight: 900;
    cursor: pointer;
}

.app-modal-later:hover {
    background: #E5E7EB;
}

@keyframes appModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 620px) {
    .app-modal {
        padding: 26px;
        border-radius: 28px;
    }

    .app-choice-grid {
        grid-template-columns: 1fr;
    }
}