/* RouteCreation website: one stylesheet for every page */
:root {
  --ink: #0A1622;
  --ink-2: #10223A;
  --ink-3: #1D3550;
  --text: #E7EEF6;
  --muted: #8EA2B9;
  --teal: #3CE0C1;
  --teal-dark: #0E8C76;
  --amber: #FFC24D;
  --paper: #F5F7F4;
  --paper-2: #E9EFEA;
  --body: #3E4C5E;
  --radius: 20px;
  --wrap: 1200px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; overflow-wrap: break-word; }
p { margin: 0; overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(90deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); }
.dark .eyebrow { color: var(--teal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--ink); box-shadow: 0 8px 24px #3ce0c140; }
.btn-primary:hover { box-shadow: 0 12px 32px #3ce0c166; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--ink-3); }
.btn-ghost:hover { border-color: var(--teal); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: #0a1622e6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #1d355080; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; flex-shrink: 0; }
.logo svg { width: 34px; height: 34px; }
.logo .name { font-weight: inherit; }
.logo .name span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 0.95rem; }
.nav a { text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--ink); padding: 10px 18px; }
.drop { position: relative; }
.drop summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.drop summary::-webkit-details-marker { display: none; }
.drop summary:hover { color: var(--text); }
.drop summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 300px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 16px; padding: 10px; box-shadow: 0 20px 50px #00000066; }
.drop-menu a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); }
.drop-menu a:hover { background: var(--ink-3); }
.drop-menu small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.drop-menu .soon { padding: 10px 14px 6px; color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--ink-3); margin-top: 6px; }
.menu-btn { display: none; }

/* hero */
.hero { background: var(--ink); color: var(--text); position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#1d355055 1px, transparent 1px), linear-gradient(90deg, #1d355055 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, #3ce0c126, transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin: 18px 0 22px; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 540px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--ink-3); font-size: 0.88rem; color: var(--muted); }
.badge b { background: #3ce0c122; color: var(--teal); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 0.92rem; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #3ce0c122 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233CE0C1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex-shrink: 0; }

/* animated route map */
.map-card { position: relative; background: linear-gradient(160deg, #10223a, #0c1a2b); border: 1px solid var(--ink-3); border-radius: 28px; padding: 18px; box-shadow: 0 40px 80px #00000080, inset 0 1px 0 #ffffff0d; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 14px; font-size: 0.85rem; color: var(--muted); }
.map-bar strong { color: var(--text); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 600; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 #3ce0c1aa; animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px #3ce0c100; } 100% { box-shadow: 0 0 0 0 #3ce0c100; } }
.map { width: 100%; height: auto; border-radius: 18px; background: #0b1828; }
.route-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .45s ease-out forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.float { position: absolute; background: #10223af2; border: 1px solid var(--ink-3); border-radius: 14px; padding: 12px 14px; font-size: 0.82rem; color: var(--muted); box-shadow: 0 16px 40px #00000066; animation: bob 5s ease-in-out infinite; backdrop-filter: blur(8px); }
.float strong { display: block; color: var(--text); font-size: 0.95rem; }
.float .ok { color: var(--teal); font-weight: 600; }
.float-1 { left: -28px; bottom: 70px; }
.float-2 { right: -24px; top: 86px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* sections */
section { padding: 100px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin: 14px 0 16px; }
.sec-head p { color: var(--body); font-size: 1.12rem; }
.dark { background: var(--ink); color: var(--text); }
.dark .sec-head p { color: var(--muted); }
.alt { background: var(--paper-2); }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid #dfe6e1; transition: transform .2s, box-shadow .2s; min-width: 0; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px #0a16221a; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--body); font-size: 0.96rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 32px 28px; min-width: 0; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; display: block; margin-bottom: 18px; background: linear-gradient(90deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* split rows with phone + panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin: 14px 0 16px; }
.split p.lead { color: var(--body); font-size: 1.1rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; flex-shrink: 0; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233CE0C1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 14px; box-shadow: 0 40px 80px #0a162240, inset 0 0 0 2px #1d3550; }
.screen { background: #f7f9f8; border-radius: 32px; overflow: hidden; }
.screen-top { background: var(--ink-2); color: var(--text); padding: 22px 20px 18px; }
.screen-top small { color: var(--muted); font-size: 0.75rem; }
.screen-top b { display: block; font-family: var(--display); font-size: 1.3rem; margin-top: 2px; }
.prog { height: 6px; background: var(--ink-3); border-radius: 9px; margin-top: 12px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 9px; }
.stop-card { color: var(--ink); margin: 14px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 6px 18px #0a162214; }
.stop-card small { color: var(--teal-dark); font-weight: 600; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; }
.stop-card b { display: block; font-size: 1.02rem; margin: 4px 0 2px; }
.stop-card span { color: var(--body); font-size: 0.85rem; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pics div { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: end start; padding: 8px; font-size: 0.7rem; font-weight: 600; color: #fff; }
.pics .before { background: linear-gradient(140deg, #7b6a55, #4a3f33); }
.pics .after { background: linear-gradient(140deg, #3ce0c1, #0e8c76); }
.done-btn { margin: 12px 14px 18px; background: var(--ink); color: var(--teal); text-align: center; padding: 14px; border-radius: 14px; font-weight: 600; font-size: 0.95rem; }
.mini-row { display: flex; justify-content: space-between; gap: 8px; margin: 0 14px; padding: 10px 2px; border-top: 1px solid #e3e8e5; font-size: 0.82rem; color: var(--body); }
.mini-row b { color: var(--ink); }

.panel { background: #fff; border-radius: 24px; border: 1px solid #dfe6e1; padding: 26px; box-shadow: 0 30px 60px #0a16221a; }
.panel h4 { margin: 0 0 16px; font-family: var(--display); font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill { font-family: Inter, sans-serif; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #3ce0c122; color: var(--teal-dark); white-space: nowrap; }
.inv { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #edf1ee; font-size: 0.92rem; }
.inv span { color: var(--body); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag.paid { background: #3ce0c122; color: var(--teal-dark); }
.tag.auto { background: #ffc24d33; color: #8a5a00; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink); }
.total b { font-family: var(--display); font-size: 1.8rem; }

/* industries */
.inds { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.ind-main { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 340px; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, #10223a, #0e3a3a); color: var(--text); text-decoration: none; border: 1px solid var(--ink-3); transition: transform .2s; }
.ind-main:hover { transform: translateY(-4px); }
.ind-main h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.ind-main p { color: var(--muted); max-width: 440px; margin-top: 12px; }
.ind-main .go { color: var(--teal); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.ind-main svg.can { position: absolute; right: -10px; bottom: -10px; width: 220px; opacity: .9; }
.ind-more { padding: 36px; border-radius: 28px; background: #fff; border: 1px dashed #b9c7be; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ind-more h3 { font-size: 1.5rem; }
.ind-more p { color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--paper-2); font-size: 0.88rem; color: var(--body); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { padding: 26px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); min-width: 0; }
.trust h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.trust p { color: var(--muted); font-size: 0.94rem; }
.trust svg { width: 30px; height: 30px; }

/* demo form */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.demo h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin: 14px 0 18px; }
.demo .lead { color: var(--muted); font-size: 1.1rem; }
form.card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.card .full { grid-column: 1 / -1; }
form.card label { display: grid; gap: 7px; font-size: 0.88rem; font-weight: 600; color: var(--text); min-width: 0; }
form.card input, form.card select, form.card textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--ink-3); background: var(--ink); color: var(--text); font: inherit; font-size: 1rem; font-weight: 400; }
form.card textarea { resize: vertical; min-height: 96px; }
form.card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.card .btn { width: 100%; padding: 16px; font-size: 1.05rem; }
form.card .fine { color: var(--muted); font-size: 0.82rem; text-align: center; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; display: none; }
.form-msg.ok { display: block; background: #3ce0c122; color: var(--teal); }
.form-msg.err { display: block; background: #f08a7322; color: #F5A491; }

/* page hero (industry) */
.page-hero { padding: 72px 0 90px; }
.crumb { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; max-width: 560px; }
.stats div { border-left: 3px solid var(--teal); padding-left: 14px; min-width: 0; }
.stats b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--text); }
.stats span { color: var(--muted); font-size: 0.86rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid #dfe6e1; border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--body); padding: 0 0 20px; }

/* footer */
footer { background: #060e17; color: var(--muted); padding: 56px 0 40px; font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .route-line { stroke-dashoffset: 0; }
  .stop { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .features, .trust { grid-template-columns: repeat(2, 1fr); }
  .float-1 { left: 8px; }
  .float-2 { right: 8px; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .demo, .inds { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero { padding: 56px 0 72px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .split + .split { margin-top: 72px; }
}
@media (max-width: 768px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-3); background: transparent; color: var(--text); cursor: pointer; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--ink); border-bottom: 1px solid var(--ink-3); }
  .nav.open { display: flex; }
  .nav > a, .nav .drop summary { padding: 14px 0; border-bottom: 1px solid #1d355080; }
  .nav .btn { margin-top: 16px; padding: 14px; }
  .drop-menu { position: static; transform: none; width: auto; box-shadow: none; margin: 6px 0 8px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .features, .trust { grid-template-columns: 1fr; }
  form.card { grid-template-columns: 1fr; padding: 22px; }
  .float { display: none; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .ind-main { padding: 28px; min-height: 300px; }
  .ind-main svg.can { width: 150px; }
  .hero .ctas .btn { width: 100%; }
  .map-card { padding: 12px; border-radius: 22px; }
}
