/* ===== RideUz landing v2 =====
   Brand (R-Road concept): blue #0071e3, navy #0a2540, ink #101828
   Motion: hero entrance, animated route line, floating phone, scroll reveal */

/* ---- Fonts (self-hosted Inter variable, 400-800) ---- */

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --brand: #0071e3;
    --brand-hi: #3ea0ff;
    --navy: #0a2540;
    --deep: #061a33;
    --ink: #101828;
    --bg-tint: #f5f8fc;
    --muted: #5d6b82;
    --line: rgba(16, 24, 40, 0.08);
    --radius: 20px;
    --shadow: 0 12px 34px rgba(16, 24, 40, 0.09);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll reveal ===== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Header ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}
.main-nav > a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
.main-nav > a:hover { color: var(--brand); }
.main-nav > a:hover::after { transform: scaleX(1); }

/* language dropdown */
.lang { position: relative; }
.lang summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid rgba(16, 24, 40, 0.18);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    transition: border-color 0.2s ease, background 0.2s ease;
    user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--brand); background: rgba(0, 113, 227, 0.06); }
.lang summary .globe { width: 15px; height: 15px; }
.lang summary .chev { width: 10px; height: 10px; transition: transform 0.25s var(--ease-out); }
.lang[open] summary .chev { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
    list-style: none;
    padding: 6px;
    min-width: 160px;
    z-index: 60;
    animation: menu-in 0.25s var(--ease-out);
}
@keyframes menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}
.lang-menu a:hover { background: rgba(0, 113, 227, 0.07); color: var(--brand); }
.lang-menu a[aria-current="true"]::after { content: "✓"; color: var(--brand); font-weight: 800; }

/* ===== Hero ===== */

.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(1100px 560px at 78% -18%, rgba(0, 113, 227, 0.5), transparent 65%),
        radial-gradient(900px 520px at -12% 115%, rgba(0, 113, 227, 0.35), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--deep) 100%);
}

/* dotted texture */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, transparent 90%);
    pointer-events: none;
}

/* animated route line */
.hero-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-route path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 2 14;
    animation: route-march 1.4s linear infinite;
}
@keyframes route-march { to { stroke-dashoffset: -16; } }

.route-traveler {
    position: absolute;
    top: 0; left: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--brand-hi);
    box-shadow: 0 0 0 5px rgba(62, 160, 255, 0.22), 0 0 22px 6px rgba(62, 160, 255, 0.55);
    offset-path: path("M-60,430 C240,340 420,560 760,440 S1210,240 1560,330");
    offset-rotate: 0deg;
    animation: route-travel 11s linear infinite;
}
@keyframes route-travel {
    0%   { offset-distance: 0%;   opacity: 0; }
    4%   { opacity: 1; }
    96%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* floating orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.55;
}
.orb-1 {
    width: 420px; height: 420px;
    background: rgba(0, 113, 227, 0.55);
    top: -140px; right: 6%;
    animation: drift 13s ease-in-out infinite alternate;
}
.orb-2 {
    width: 300px; height: 300px;
    background: rgba(62, 160, 255, 0.35);
    bottom: -120px; left: -60px;
    animation: drift 17s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(46px, 34px) scale(1.12); }
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 96px;
}

/* staggered entrance */
.hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.14s; }
.hero-copy > :nth-child(3) { animation-delay: 0.23s; }
.hero-copy > :nth-child(4) { animation-delay: 0.32s; }
.hero-copy > :nth-child(5) { animation-delay: 0.41s; }
.hero-copy > :nth-child(6) { animation-delay: 0.52s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bcd9ff;
    background: rgba(62, 160, 255, 0.14);
    border: 1px solid rgba(62, 160, 255, 0.3);
    border-radius: 999px;
    padding: 7px 16px;
}
.eyebrow .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-hi);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(62, 160, 255, 0.6); }
    70%  { box-shadow: 0 0 0 9px rgba(62, 160, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 160, 255, 0); }
}

.hero h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 22px 0 18px;
}
.hero h1 .grad {
    background: linear-gradient(92deg, #9ccaff, #3ea0ff 55%, #7cc0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .tagline {
    font-size: 18px;
    max-width: 32em;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
}

.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    padding: 12px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 14px 30px rgba(2, 12, 27, 0.45);
}
.badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge .small { display: block; font-size: 10.5px; opacity: 0.7; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.3; }
.badge .big { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; }

.hero-note { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.hero-note a { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 3px; }
.hero-note a:hover { text-decoration-color: #fff; }

/* hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.stat {
    flex: 1;
    min-width: 130px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 18px;
    backdrop-filter: blur(6px);
}
.stat b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(92deg, #fff, #9ccaff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.68); font-weight: 600; }

/* ===== Phone (real app screenshot) ===== */

.phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    animation: rise 1s var(--ease-out) 0.35s both;
}

.phone-glow {
    position: absolute;
    width: 74%;
    height: 82%;
    top: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 113, 227, 0.55), transparent);
    filter: blur(46px);
    animation: glow-breathe 6s ease-in-out infinite;
}
@keyframes glow-breathe {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.07); }
}

.phone {
    position: relative;
    width: 302px;
    border-radius: 46px;
    background: #0b1220;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 40px 80px rgba(2, 10, 24, 0.6),
        0 12px 28px rgba(2, 10, 24, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transform: rotate(-4deg);
    animation: levitate 7s ease-in-out infinite;
}
@keyframes levitate {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50%      { transform: rotate(-4deg) translateY(-14px); }
}


/* in-phone app screen — HTML recreation of assets/screen.svg (its text is
   outlined, so we rebuild it as markup to keep it localizable per page) */

.screen {
    background: #fff;
    border-radius: 36px;
    padding: 48px 12px 12px;
    height: 664px;
    overflow: hidden;
    font-size: 12px;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
}
.screen > * { flex-shrink: 0; }

.s-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.s-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #f5f5f7;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.s-btn svg { width: 15px; height: 15px; }
.s-route { flex: 1; text-align: center; line-height: 1.35; }
.s-route b { font-size: 13.5px; font-weight: 800; }
.s-route b .to { color: var(--brand); }
.s-route small {
    display: block;
    font-size: 8px; font-weight: 700; letter-spacing: 0.08em;
    color: #86868b; text-transform: uppercase;
}

.s-pills { display: flex; gap: 7px; margin-bottom: 12px; overflow: hidden; }
.pill {
    border-radius: 999px;
    padding: 8px 13px;
    background: #f5f5f7;
    font-size: 11px; font-weight: 700;
    white-space: nowrap;
}
.pill.active { background: var(--brand); color: #fff; }
.pill .v { color: #86868b; font-size: 8px; }

.trip {
    background: #f5f5f7;
    border: 1px solid rgba(210, 210, 215, 0.5);
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 10px;
}
.trip-head { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; }
.avatar {
    width: 40px; height: 40px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--brand-hi), var(--brand));
    flex-shrink: 0;
}
.avatar.a2 { background: linear-gradient(135deg, #f5a623, #e07b12); }
.trip-head .who { flex: 1; line-height: 1.4; }
.trip-head .who b { display: block; font-size: 13px; font-weight: 800; }
.trip-head .who .star { font-size: 10px; color: #f5a623; }
.trip-head .who small { font-size: 10.5px; color: #86868b; font-weight: 600; }
.trip-head .cost { text-align: right; line-height: 1.35; }
.trip-head .cost b { display: block; font-size: 15px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.trip-head .cost small {
    font-size: 7.5px; font-weight: 800; letter-spacing: 0.06em;
    color: #86868b; text-transform: uppercase;
}

.times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.time-box { background: #fff; border-radius: 12px; padding: 8px 10px; }
.time-box small {
    display: block;
    font-size: 7.5px; font-weight: 800; letter-spacing: 0.07em;
    color: #86868b; text-transform: uppercase;
    margin-bottom: 4px;
}
.time-box .tv { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 800; }
.tv .mark {
    width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.tv .mark.o { background: rgba(0, 113, 227, 0.14); }
.tv .mark.o::after { content: ""; width: 5px; height: 5px; border: 2px solid var(--brand); border-radius: 50%; }
.tv .mark.d { background: rgba(18, 161, 80, 0.15); }
.tv .mark.d::after { content: ""; width: 7px; height: 7px; background: #12a150; border-radius: 50%; }

.trip-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 9px;
    font-size: 10px; font-weight: 700; color: #86868b;
}
.chip-flash { color: #0d9152; font-weight: 800; font-size: 10px; }
.chip-green {
    background: #d9f2e3; color: #0d9152;
    border-radius: 999px; padding: 4px 9px;
    font-size: 8px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}

.s-alert {
    background: #d9e9fb;
    border-radius: 18px;
    padding: 13px;
    display: flex; gap: 10px; align-items: flex-start;
    margin-bottom: 10px;
}
.s-alert .i {
    width: 34px; height: 34px;
    border-radius: 11px; flex-shrink: 0;
    background: rgba(0, 113, 227, 0.16);
    display: flex; align-items: center; justify-content: center;
}
.s-alert .i svg { width: 16px; height: 16px; }
.s-alert b { display: block; font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.s-alert p { font-size: 9.5px; color: #55606e; line-height: 1.5; }
.s-alert .link {
    display: inline-block; margin-top: 5px;
    color: var(--brand);
    font-weight: 800; font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase;
}

.s-nav {
    margin-top: auto;
    background: #1d1d1f;
    border-radius: 20px;
    display: flex;
    padding: 10px 6px 8px;
}
.s-nav span {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #9a9aa0;
    font-size: 8.5px; font-weight: 700;
}
.s-nav span.on { color: #fff; }
.s-nav svg { width: 15px; height: 15px; }

.phone .island {
    position: absolute;
    top: 22px; left: 50%;
    transform: translateX(-50%);
    width: 86px; height: 24px;
    border-radius: 14px;
    background: #0b1220;
}

/* floating chips around phone */
.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 9px 16px;
    box-shadow: 0 16px 36px rgba(2, 10, 24, 0.4);
    animation: chip-float 6s ease-in-out infinite;
    white-space: nowrap;
}
.float-chip svg { width: 18px; height: 18px; }
.chip-a { top: 12%; left: -4%; animation-delay: 0.8s; }
.chip-b { bottom: 14%; right: -6%; animation-delay: 2s; }
@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ===== Sections ===== */

section { padding: 96px 0; }
section.tinted { background: var(--bg-tint); }

.section-head { text-align: center; margin-bottom: 56px; }

.kicker {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(0, 113, 227, 0.09);
    border-radius: 999px;
    padding: 6px 15px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-sub {
    color: var(--muted);
    max-width: 46em;
    margin: 0 auto;
    font-size: 16.5px;
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-hi), var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}
.feature:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 24px 50px rgba(0, 63, 125, 0.14);
}
.feature:hover::before { transform: scaleX(1); }

.feature .icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.14), rgba(62, 160, 255, 0.07));
    color: var(--brand);
    margin-bottom: 18px;
    transition: transform 0.35s var(--ease-out);
}
.feature:hover .icon { transform: scale(1.1) rotate(-5deg); }
.feature .icon svg { width: 26px; height: 26px; }

.feature h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* Steps */

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}
/* dashed connector behind the cards (desktop) */
.steps::before {
    content: "";
    position: absolute;
    top: 56px; left: 10%; right: 10%;
    border-top: 2px dashed rgba(0, 113, 227, 0.35);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 26px 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 63, 125, 0.13); }
.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-hi), var(--brand));
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
}
.step h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Routes */

.routes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid rgba(0, 113, 227, 0.22);
    color: var(--navy);
    border-radius: 999px;
    padding: 13px 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.route .arr {
    display: inline-block;
    color: var(--brand);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.route:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    background: rgba(0, 113, 227, 0.05);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.14);
}
.route:hover .arr { opacity: 1; transform: translateX(0); }

.routes-note {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 26px;
}

/* Drivers */

.drivers {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(760px 380px at 88% -12%, rgba(0, 113, 227, 0.5), transparent 65%),
        radial-gradient(500px 300px at 0% 115%, rgba(62, 160, 255, 0.25), transparent 60%),
        linear-gradient(150deg, var(--navy), var(--deep));
    color: #fff;
    border-radius: 28px;
    padding: 60px 54px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.drivers::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px);
    background-size: 24px 24px;
    mask-image: linear-gradient(120deg, transparent 40%, #000);
    -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000);
    pointer-events: none;
}
.drivers h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.drivers > div { position: relative; }
.drivers p  { color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.drivers ul { list-style: none; margin: 20px 0 0; }
.drivers li { padding-left: 32px; position: relative; margin-bottom: 13px; font-weight: 600; }
.drivers li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(62, 160, 255, 0.18) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233ea0ff" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-11"/></svg>') center / 11px no-repeat;
}

.cta {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-hi), var(--brand));
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    border-radius: 15px;
    padding: 17px 36px;
    box-shadow: 0 14px 30px rgba(0, 113, 227, 0.45);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
    animation: cta-glow 3.2s ease-in-out infinite;
}
.cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 42px rgba(0, 113, 227, 0.55); }
.cta:active { transform: scale(0.98); }
@keyframes cta-glow {
    0%, 100% { box-shadow: 0 14px 30px rgba(0, 113, 227, 0.45); }
    50%      { box-shadow: 0 14px 42px rgba(62, 160, 255, 0.6); }
}

.drivers .cta-box { text-align: center; }
.drivers .cta-box .hint { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 14px; }

/* FAQ */

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

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 13px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] { border-color: rgba(0, 113, 227, 0.35); box-shadow: 0 12px 30px rgba(0, 63, 125, 0.08); }
.faq summary {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 2px; top: 2px;
    width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230071e3" stroke-width="2.6" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>') center / contain no-repeat;
    transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin-top: 13px; color: var(--muted); font-size: 15px; }
.faq details[open] p { animation: faq-in 0.4s var(--ease-out); }
@keyframes faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* Footer */

.site-footer {
    background: var(--bg-tint);
    border-top: 1px solid var(--line);
    padding: 42px 0 34px;
    font-size: 14px;
    color: var(--muted);
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.site-footer a { color: var(--brand); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; }

.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.1);
    color: var(--ink);
    transition: transform 0.2s var(--ease-out), color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
    color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; }

/* ===== Responsive ===== */

@media (max-width: 960px) {
    .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
    .phone { transform: rotate(0deg); }
    @keyframes levitate {
        0%, 100% { transform: rotate(0deg) translateY(0); }
        50%      { transform: rotate(0deg) translateY(-14px); }
    }
    .float-chip { display: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .routes { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .drivers { grid-template-columns: 1fr; padding: 44px 30px; }
    .main-nav > a { display: none; }
    section { padding: 68px 0; }
}

@media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    .badge { min-width: 160px; flex: 1; }
    .hero-stats .stat { min-width: 100px; padding: 12px 14px; }
    .stat b { font-size: 21px; }
}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .route-traveler { display: none; }
}
