/* MyRide public website (landing page). Builds on app.css tokens. */
body.site { background: #fff; overflow-x: hidden; }
.site .wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.wordmark { font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.wordmark span { color: var(--brand); }
.logo-link { display: flex; align-items: center; gap: 10px; font-size: 25px; }
.logo-link img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 6px 16px rgba(227,30,36,.3); }
.logo-link small { display: block; font: 500 11px/1.1 'Poppins', sans-serif; color: var(--muted); letter-spacing: 0; margin-top: 2px; }

/* top strip + header */
.strip { background: var(--ink); color: #C9CDD3; font-size: 13.5px; }
.strip .wrap { display: flex; gap: 22px; align-items: center; height: 38px; }
.strip a { color: #E5E7EB; }
.strip a:hover { color: #fff; }
.strip .sp { margin-left: auto; }
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.hdr .wrap { display: flex; align-items: center; gap: 26px; height: 72px; }
.hdr nav { display: flex; gap: 4px; margin-left: auto; }
.hdr nav a { white-space: nowrap; color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.hdr nav a:hover, .hdr nav a.on { color: var(--brand); background: var(--brand-soft); }
.hdr .cta { display: flex; gap: 8px; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.mnav { display: none; }
@media (max-width: 1140px) {
  .hdr nav, .hdr .cta .ghost { display: none; }
  .burger { display: grid; place-items: center; margin-left: 0; }
  .hdr .cta { margin-left: auto; }
  .mnav { display: block; position: fixed; inset: 72px 0 auto 0; z-index: 59; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px 20px 20px; transform: translateY(-120%); transition: transform .25s ease; }
  .mnav.open { transform: none; }
  .mnav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 17px; }
  .mnav .btn { margin-top: 14px; width: 100%; }
}
@media (max-width: 640px) { .strip .hide-sm { display: none; } .strip .wrap { justify-content: center; } .strip .sp { margin-left: 0; } }
@media (max-width: 420px) { .hdr .cta { display: none; } .burger { margin-left: auto; } .logo-link { font-size: 22px; } }

/* hero */
.hero2 { position: relative; padding: 56px 0 90px; background:
  radial-gradient(900px 400px at 0% 0%, #FFF4F4 0%, transparent 60%), #fff; }
.hero2 .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 14.5px; }
.pill b { background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.hero2 h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.12; margin: 18px 0 0; letter-spacing: -.5px; }
.hero2 h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero2 h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--brand-soft); z-index: -1; border-radius: 6px; }
.hero2 .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); margin: 18px 0 28px; max-width: 540px; }
.hero2 .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero2 .ctas .btn { padding: 15px 24px; font-size: 16.5px; border-radius: 14px; }
.trust { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.trust div b { display: block; font-size: 26px; color: var(--ink); }
.trust div span { color: var(--muted); font-size: 14px; }

.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-art .blob { position: absolute; inset: 20px -40px 10px 30px; border-radius: 46% 54% 40% 60% / 52% 38% 62% 48%;
  background: linear-gradient(145deg, #FF4A4F 0%, var(--brand) 45%, #A50D16 100%); box-shadow: 0 40px 80px rgba(227,30,36,.28); }
.hero-art .blob::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .18;
  background: radial-gradient(circle at 20% 30%, #fff 0 2px, transparent 3px) 0 0 / 26px 26px; }
.phone2 { position: relative; z-index: 2; width: 280px; height: 560px; background: #0F1115; border-radius: 44px; padding: 11px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-3deg); }
.phone2 .scr { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background:
  linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px) 0 0 / 34px 34px, #EEF2EA; }
.phone2 .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0F1115; border-radius: 99px; z-index: 3; }
.phone2 .road { position: absolute; background: #fff; box-shadow: 0 0 0 2px #E1E5DC; }
.phone2 .river { position: absolute; left: -40px; right: -40px; top: 40px; height: 46px; background: #BFDDF3; transform: rotate(-18deg); }
.phone2 .v { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 19px; box-shadow: 0 3px 8px rgba(0,0,0,.2); animation: drift 6s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(8px, -10px); } }
.phone2 .route { position: absolute; left: 130px; top: 150px; width: 4px; height: 120px; background: repeating-linear-gradient(var(--brand) 0 8px, transparent 8px 14px); transform: rotate(28deg); transform-origin: top; }
.phone2 .ui { position: absolute; left: 9px; right: 9px; bottom: 9px; background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 -4px 20px rgba(0,0,0,.1); }
.phone2 .ui .s { background: var(--bg); border-radius: 12px; padding: 9px 12px; color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.phone2 .ui .o { display: flex; gap: 6px; margin-top: 10px; }
.phone2 .ui .o span { flex: 1; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 5px 0; font-size: 19px; }
.phone2 .ui .o span:first-child { border-color: var(--brand); background: var(--brand-soft); }
.phone2 .ui .go { margin-top: 10px; background: var(--brand); color: #fff; text-align: center; border-radius: 12px; padding: 9px; font-weight: 700; font-size: 14px; }
.float { position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 11px 14px; display: flex; gap: 10px; align-items: center; font-size: 14px; animation: drift 7s ease-in-out infinite; }
.float .i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--ok-soft); }
.float small { display: block; color: var(--muted); font-size: 12px; }
.float.f1 { left: -6px; top: 90px; }
.float.f2 { right: -10px; bottom: 110px; animation-delay: -3s; }
.float.f2 .i { background: var(--brand-soft); }
@media (max-width: 980px) {
  .hero2 { padding-top: 34px; }
  .hero2 .wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero2 .copy { text-align: center; }
  .hero2 .lead { margin-left: auto; margin-right: auto; }
  .hero2 .ctas, .trust { justify-content: center; }
  .hero-art { min-height: 520px; }
  .hero-art .blob { inset: 30px 6% 0 6%; }
}
@media (max-width: 480px) {
  .hero2 .ctas .btn { width: 100%; }
  .hero-art { min-height: 470px; }
  .phone2 { width: 236px; height: 470px; border-radius: 38px; }
  .phone2 .scr { border-radius: 29px; }
  .float { font-size: 12.5px; padding: 8px 10px; }
  .float .i { width: 30px; height: 30px; font-size: 16px; }
  .float.f1 { left: 0; top: 50px; }
  .float.f2 { right: 0; bottom: 70px; }
  .trust { gap: 18px; }
  .trust div b { font-size: 22px; }
}

/* sections */
.sec2 { padding: 90px 0 0; scroll-margin-top: 70px; }
.sec2 .head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.sec2 .kicker { color: var(--brand); font-weight: 700; letter-spacing: .5px; font-size: 14px; }
.sec2 h2 { font-size: clamp(27px, 3.6vw, 40px); margin-top: 6px; }
.sec2 .head p { color: var(--muted); font-size: 17px; margin: 12px 0 0; }
@media (max-width: 640px) { .sec2 { padding-top: 64px; } .sec2 .head { margin-bottom: 28px; } }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc2 { position: relative; border-radius: 22px; padding: 26px 22px; background: var(--bg); overflow: hidden; transition: transform .2s, box-shadow .2s, background .2s; }
.svc2:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: #fff; }
.svc2 .ic { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: var(--shadow); }
.svc2 h3 { margin: 16px 0 6px; font-size: 21px; }
.svc2 p { margin: 0; color: var(--muted); }
.svc2 .from { margin-top: 14px; font-weight: 700; color: var(--brand); }
.svc2.amb { background: linear-gradient(160deg, #FFF0F0, #FFE1E2); }
.svc2.amb::after { content: '২৪/৭'; position: absolute; right: 16px; top: 16px; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* fare checker */
.fare-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.fare-box .l { background: var(--ink); color: #fff; padding: 34px; }
.fare-box .l h3 { font-size: 24px; }
.fare-box .l p { color: #B8BDC6; margin: 8px 0 20px; }
.fare-box .l .field > span { color: #D1D5DB; }
.fare-box .l .input { background: #1D2028; border-color: #2D313B; color: #fff; }
.fare-box .l .input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227,30,36,.25); }
.fare-box .l select.input option { color: var(--ink); background: #fff; }
.fare-box .l .or { text-align: center; color: #8B919C; font-size: 13px; margin: 6px 0; }
.fare-box .r { padding: 30px; background: #fff; }
.fare-res .row2 { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.fare-res .row2:last-child { border-bottom: 0; }
.fare-res .vi { width: 52px; height: 52px; border-radius: 16px; background: var(--bg); display: grid; place-items: center; font-size: 28px; flex: none; }
.fare-res .amt { margin-left: auto; font-size: 24px; font-weight: 700; }
.fare-res .dist { background: var(--brand-soft); color: var(--brand-dark); border-radius: 12px; padding: 10px 14px; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 860px) { .fare-box { grid-template-columns: 1fr; } .fare-box .l, .fare-box .r { padding: 24px 20px; } }

/* steps */
.steps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step2 { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; position: relative; }
.step2 .n { width: 50px; height: 50px; border-radius: 15px; background: var(--brand); color: #fff; font-size: 22px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(227,30,36,.3); }
.step2 h3 { margin: 16px 0 6px; font-size: 20px; }
.step2 p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps2 { grid-template-columns: 1fr; } }

/* coverage */
.cover { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(160deg, #FFF7F7, #fff); border: 1px solid #FBE3E4; border-radius: 30px; padding: 30px; }
#divMap svg { width: 100%; height: auto; display: block; }
#divMap .dist { transition: fill .2s, transform .2s; cursor: pointer; }
#divMap .dist:hover, #divMap .dist.on { fill: #FF9EA2; }
.dlist { display: grid; gap: 12px; }
.dcard { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, transform .15s; }
.dcard:hover, .dcard.on { border-color: var(--brand); transform: translateX(4px); }
.dcard .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.dcard b { font-size: 18px; }
.dcard span { color: var(--muted); font-size: 14px; display: block; }
@media (max-width: 860px) { .cover { grid-template-columns: 1fr; padding: 18px; gap: 20px; } }

/* apps */
.apps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app2 { border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: box-shadow .2s, transform .2s; }
.app2:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.app2 img { width: 68px; height: 68px; border-radius: 18px; box-shadow: var(--shadow); }
.app2 h3 { font-size: 20px; margin-top: 4px; }
.app2 p { color: var(--muted); margin: 0; flex: 1; }
.app2 .os { display: flex; gap: 6px; font-size: 12.5px; }
.app2 .os span { background: var(--bg); color: var(--ink-2); padding: 2px 10px; border-radius: 999px; }
.app2 .btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
@media (max-width: 1080px) { .apps2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .apps2 { grid-template-columns: 1fr; } }
.guide { margin-top: 22px; border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: var(--bg); }
.guide .tabs2 { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.guide .tabs2 button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--muted); }
.guide .tabs2 button.on { background: var(--ink); color: #fff; }
.guide ol { margin: 14px 0 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; }

/* driver band */
.band { margin-top: 90px; background: var(--ink); color: #fff; border-radius: 30px; padding: 46px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--brand); opacity: .9; }
.band > * { position: relative; }
.band h2 { font-size: clamp(26px, 3.4vw, 36px); }
.band p { color: #C9CDD3; font-size: 17px; }
.band ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: #E5E7EB; }
.band .big { text-align: center; font-size: 110px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.3)); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 30px 22px; } .band .big { display: none; } .band::before { width: 200px; height: 200px; right: -90px; top: -90px; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; background: #fff; }
.faq details[open] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 16px; color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.cinfo { display: grid; gap: 14px; align-content: start; }
.cinfo a, .cinfo div.ci { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: 18px; padding: 18px; color: var(--ink); border: 1px solid transparent; transition: border-color .15s; }
.cinfo a:hover { border-color: var(--brand); }
.cinfo .ic { width: 50px; height: 50px; border-radius: 15px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.cinfo small { display: block; color: var(--muted); }
.cinfo b { font-size: 17.5px; }
.cform { border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.cform .ok-box { text-align: center; padding: 30px 10px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .cform { padding: 20px; } }

/* footer */
.foot2 { margin-top: 96px; background: #0F1115; color: #A3A9B4; padding: 54px 0 26px; }
.foot2 .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.foot2 .wordmark { color: #fff; }
.foot2 h4 { color: #fff; margin-bottom: 12px; font-size: 16px; }
.foot2 a { color: #A3A9B4; display: block; padding: 4px 0; }
.foot2 a:hover { color: #fff; }
.foot2 .bottom { margin-top: 36px; border-top: 1px solid #23262D; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 860px) { .foot2 .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot2 .cols { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 20px; box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float, .phone2 .v { animation: none; } }

/* district-town routes */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-card { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: #fff; display: grid; gap: 8px; transition: box-shadow .2s, transform .2s; }
.route-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.rc-head b { font-size: 18px; }
.rc-head span { color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }
.rc-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.route-card .btn { margin-top: 6px; }
@media (max-width: 900px) { .route-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .route-grid { grid-template-columns: 1fr; } }
