/* ==========================================================================
   Wander — landing page styles
   Brand blue #185FA5. Plain CSS, no frameworks. Fast + responsive.
   ========================================================================== */

:root {
  --brand:        #185FA5;
  --brand-600:    #1a6dbd;
  --brand-400:    #3f8fdc;
  --brand-300:    #6fb0ef;
  --ink:          #0c1a2b;
  --ink-2:        #3a4a5e;
  --ink-3:        #6b7a8d;
  --bg:           #ffffff;
  --bg-soft:      #f4f8fc;
  --bg-tint:      #eaf2fb;
  --line:         #e2e8f0;
  --white:        #ffffff;
  --radius:       18px;
  --radius-lg:    26px;
  --radius-sm:    12px;
  --shadow-sm:    0 1px 2px rgba(12,26,43,.06), 0 2px 8px rgba(12,26,43,.05);
  --shadow-md:    0 8px 24px rgba(12,26,43,.10);
  --shadow-lg:    0 24px 60px rgba(16,64,120,.18);
  --shadow-brand: 0 20px 50px rgba(24,95,165,.35);
  --grad:         linear-gradient(135deg, #2b7fd4 0%, #185FA5 55%, #0f4c86 100%);
  --grad-soft:    linear-gradient(160deg, #eaf2fb 0%, #ffffff 60%);
  --maxw:         1140px;
  --nav-h:        66px;
  --font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 48px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); background: var(--bg-tint);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 18px;
}
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(38px, 5vw, 60px); }
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800;
}
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px rgba(24,95,165,.45); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Promo bar ---------- */
.promo {
  position: relative; z-index: 60; background: linear-gradient(90deg, #0f4c86, #185FA5 45%, #2b7fd4);
  color: #fff; text-align: center; font-size: .92rem; font-weight: 600;
  padding: 9px 44px 9px 16px; display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.promo b { font-weight: 800; }
.promo .count { display: inline-flex; gap: 5px; font-variant-numeric: tabular-nums; font-weight: 800; }
.promo .count span {
  background: rgba(255,255,255,.18); border-radius: 7px; padding: 2px 7px; min-width: 30px;
  display: inline-block; text-align: center; letter-spacing: .5px;
}
.promo .pill { background: #fff; color: var(--brand); border-radius: 100px; padding: 3px 11px; font-weight: 800; font-size: .82rem; }
.promo-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); border: 0; color: #fff; width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; display: grid; place-items: center;
}
.promo-close:hover { background: rgba(255,255,255,.32); }
.promo.expired, .promo.dismissed { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 2px 20px rgba(12,26,43,.06); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 13px; border-radius: 10px;
  white-space: nowrap; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 20px; font-size: .95rem; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }  /* hidden on desktop; shown only in the mobile breakpoint */

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(54px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(63,143,220,.20), transparent 60%),
    radial-gradient(50% 50% at 12% 20%, rgba(24,95,165,.12), transparent 60%),
    var(--grad-soft);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.03; letter-spacing: -.03em; font-weight: 850; }
.hero .sub { margin-top: 20px; font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--ink-2); max-width: 30ch; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-3); font-size: .92rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--brand); }

/* Phone mockup */
.phone-stage { display: grid; place-items: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,143,220,.28), transparent 66%); filter: blur(8px); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: min(280px, 74vw); aspect-ratio: 9/19.3;
  background: #0c1a2b; border-radius: 42px; padding: 11px; box-shadow: var(--shadow-lg);
  border: 1px solid #223449; animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #dfe9f2; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #0c1a2b; border-radius: 16px; z-index: 4; }
.map-bg { position: absolute; inset: 0; background:
  linear-gradient(115deg, #cfe0f0 0%, #dbe9f5 40%, #c9ddef 100%); }
.map-bg::before { /* faux roads */
  content: ""; position: absolute; inset: -20%;
  background:
    linear-gradient(90deg, transparent 48.5%, #ffffff 48.5%, #ffffff 51.5%, transparent 51.5%),
    linear-gradient(24deg, transparent 39%, #eef5fb 39%, #eef5fb 42%, transparent 42%),
    linear-gradient(-40deg, transparent 63%, #ffffff 63%, #ffffff 65%, transparent 65%),
    linear-gradient(0deg, transparent 70%, #e7f0f8 70%, #e7f0f8 73%, transparent 73%);
  opacity: .9;
}
.map-blob { position: absolute; border-radius: 40% 60% 55% 45%; background: #b9d6c4; opacity: .55; }
.map-pin {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-100%); z-index: 3;
  width: 30px; height: 30px; filter: drop-shadow(0 6px 8px rgba(24,95,165,.4));
}
.map-pulse { position: absolute; top: 42%; left: 50%; width: 12px; height: 12px; transform: translate(-50%,-50%);
  border-radius: 50%; background: rgba(24,95,165,.35); z-index: 2; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(24,95,165,.45) } 100% { box-shadow: 0 0 0 34px rgba(24,95,165,0) } }
.phone-card {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 18px; padding: 13px 14px;
  box-shadow: 0 10px 30px rgba(12,26,43,.18);
}
.phone-card .row { display: flex; align-items: center; justify-content: space-between; }
.phone-card .t { font-weight: 800; font-size: .82rem; color: var(--ink); }
.phone-card .s { font-size: .68rem; color: var(--ink-3); }
.phone-card .go { background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: 8px 14px; border-radius: 100px; }
.phone-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }

/* ---------- Marquee / trust ---------- */
.trust { padding: 26px 0 8px; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 60px); flex-wrap: wrap; color: var(--ink-3); font-weight: 700; font-size: .9rem; }
.trust-inner b { color: var(--ink); }
.trust-inner .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 16px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.feature p { margin-top: 7px; color: var(--ink-2); font-size: .96rem; }
.feature.wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 0; overflow: hidden; }
.feature.wide .txt { padding: clamp(26px, 4vw, 44px); }
.feature.wide .txt h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.feature.wide .txt p { font-size: 1.05rem; margin-top: 12px; }
.feature.wide .shot { background: var(--grad); min-height: 260px; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; }
.feature.wide .shot .phone { width: 190px; box-shadow: var(--shadow-lg); animation: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .n {
  counter-increment: step; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--shadow-brand);
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: .93rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.plan.popular { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.plan h3 { font-size: 1.1rem; color: var(--ink-2); }
.plan .price { margin: 10px 0 2px; font-size: 2.6rem; font-weight: 850; letter-spacing: -.03em; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.plan .save { font-size: .84rem; font-weight: 700; color: var(--brand); }
.plan ul { margin: 20px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.plan li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.price-note { text-align: center; margin-top: 26px; color: var(--ink-3); font-size: .9rem; }

/* ---------- Instructions ---------- */
.acc { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.acc summary { cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { transition: transform .2s ease; color: var(--brand); }
.acc details[open] summary .chev { transform: rotate(180deg); }
.acc .body { padding: 0 22px 20px; color: var(--ink-2); }
.acc .body ol { margin-left: 18px; display: grid; gap: 8px; }
.acc .body code { background: var(--bg-tint); color: var(--brand); padding: 2px 7px; border-radius: 7px; font-size: .88em; }

/* ---------- FAQ same as acc ---------- */

/* ---------- About ---------- */
.about { max-width: 760px; margin: 0 auto; text-align: center; }
.about p { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink-2); }
.about .sig { margin-top: 20px; font-weight: 800; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(63,143,220,.15); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-msg { font-size: .9rem; font-weight: 600; min-height: 20px; }
.form-msg.ok { color: #14804a; } .form-msg.err { color: #c0392b; }
.socials { display: grid; gap: 12px; }
.social {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .16s ease, border-color .16s ease;
}
.social:hover { transform: translateX(4px); border-color: var(--brand-300); }
.social .si { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.social .si svg { width: 21px; height: 21px; }
.social b { display: block; font-size: .97rem; }
.social span { font-size: .85rem; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 66px); text-align: center; box-shadow: var(--shadow-brand); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(255,255,255,.18), transparent 70%); }
.cta-band h2 { position: relative; font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.cta-band p { position: relative; margin: 12px auto 26px; max-width: 46ch; opacity: .92; font-size: 1.08rem; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9c6d6; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: #fff; }
.footer p { margin-top: 12px; font-size: .92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer a { font-size: .93rem; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #7f90a3; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { max-width: none; margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .phone-stage { margin-top: 20px; }
  .feature.wide { grid-template-columns: 1fr; }
  .feature.wide .shot { min-height: 300px; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: block; }
  .nav-mobile {
    display: block; position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .28s ease; z-index: 49; padding: 14px 0;
  }
  .nav-mobile.open { transform: none; }
  .nav-mobile a { display: block; padding: 13px 6vw; font-weight: 600; color: var(--ink-2); }
  .nav-mobile a:hover { background: var(--bg-soft); }
}
@media (max-width: 820px) {
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
