/* ===================== TOWMATIC LANDING ===================== */
:root {
  --navy: #050A1A;
  --navy-2: #0A1428;
  --navy-3: #0E1A36;
  --cyan: #00D4FF;
  --purple: #7B2FFF;
  --white: #FFFFFF;
  --ink-80: rgba(255, 255, 255, 0.80);
  --ink-60: rgba(255, 255, 255, 0.58);
  --ink-40: rgba(255, 255, 255, 0.40);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(0, 212, 255, 0.45);
  --red: #FF5470;
  --maxw: 1200px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: "Bebas Neue", "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-wrap: balance;
  padding-bottom: 0.04em;
}

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow.purple { color: var(--purple); }

.gradient-text {
  background: linear-gradient(100deg, var(--cyan) 10%, var(--purple) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

p { color: var(--ink-60); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 120px 0; }
.section-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.12rem; }
.center { text-align: center; }

/* ---------- Glow blobs ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.glow.cyan { background: radial-gradient(circle, rgba(0,212,255,0.55), transparent 70%); }
.glow.purple { background: radial-gradient(circle, rgba(123,47,255,0.5), transparent 70%); }

section > .wrap { position: relative; z-index: 2; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -30px rgba(0,0,0,0.6);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.glass:hover {
  border-color: var(--glass-border-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 1px rgba(0,212,255,0.25), 0 0 40px -6px rgba(0,212,255,0.35);
  transform: translateY(-4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-cyan {
  background: linear-gradient(180deg, #2ee2ff, var(--cyan));
  color: #021018;
  box-shadow: 0 0 30px -4px rgba(0,212,255,0.6);
}
.btn-cyan:hover { transform: translateY(-3px); box-shadow: 0 0 44px 0 rgba(0,212,255,0.8); }
.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(20px);
}
.btn-ghost:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 0 30px -8px rgba(0,212,255,0.5); }
.btn-lg { padding: 20px 44px; font-size: 1.15rem; }

/* ---------- Nav ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(5,10,26,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
}
.logo .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 2px var(--cyan);
  animation: pulse-dot 2.4s infinite ease-in-out;
}
@keyframes pulse-dot { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:0.5; transform:scale(0.8);} }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--ink-80); text-decoration: none; font-weight: 500; font-size: 0.96rem; transition: color 0.25s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta { padding: 11px 24px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding-top: 180px; padding-bottom: 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-80);
  margin-bottom: 28px;
}
.hero h1 { font-size: clamp(3.4rem, 8vw, 7rem); margin-bottom: 30px; }
.hero .sub { font-size: 1.2rem; max-width: 560px; margin-bottom: 36px; color: var(--ink-80); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.stat-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-80);
}

/* ---------- Hero mockup ---------- */
.mockup {
  padding: 26px;
  position: relative;
}
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mockup-head .brand { font-family: "Bebas Neue"; font-size: 1.3rem; letter-spacing: 0.06em; display:flex; align-items:center; gap:7px;}
.mockup-head .brand .dot { width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 10px var(--cyan);}
.mockup-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--cyan); padding: 5px 12px; border-radius: 100px; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); }
.mockup-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 8px; font-weight: 600; }
.mockup-field {
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink-80);
}
.mockup-field .ic { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; }
.mockup-field.gps { border-color: rgba(0,212,255,0.35); background: rgba(0,212,255,0.06); }
.mockup-field.gps .tick { margin-left: auto; color: var(--cyan); font-weight: 700; font-size: 0.8rem; }
.mockup-btn {
  width: 100%; text-align: center; padding: 15px; border-radius: 12px; border: none;
  background: linear-gradient(180deg, #2ee2ff, var(--cyan)); color: #021018;
  font-family: "DM Sans"; font-weight: 700; font-size: 1rem; margin-top: 6px;
  box-shadow: 0 0 26px -6px rgba(0,212,255,0.7);
}
.mockup-status { margin-top: 16px; display:flex; align-items:center; gap:10px; font-size:0.84rem; color: var(--ink-60);}
.mockup-status .live { width:8px;height:8px;border-radius:50%;background:#2ee27a;box-shadow:0 0 8px #2ee27a; animation: pulse-dot 1.8s infinite;}
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ---------- Hero product shot ---------- */
.hero-shot-col { display: flex; justify-content: center; }
.hero-shot {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.55)) drop-shadow(0 0 60px rgba(0,212,255,0.18));
}

/* ---------- Native app showcase ---------- */
.app-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}
.app-showcase .app-shot-col { display: flex; justify-content: center; }
.app-showcase .app-shot {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.55)) drop-shadow(0 0 60px rgba(123,47,255,0.22));
}
.app-showcase .app-cols { margin-top: 0; grid-template-columns: 1fr; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track { display: inline-flex; animation: scroll-left 38s linear infinite; }
.marquee-track span {
  font-family: "Bebas Neue"; font-size: 1.5rem; letter-spacing: 0.05em;
  color: var(--cyan); padding: 0 6px;
}
@keyframes scroll-left { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Problem section ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare-card { padding: 40px; }
.compare-card h3 { font-size: 1.9rem; margin-bottom: 24px; letter-spacing: 0.04em; }
.compare-card.bad h3 { color: var(--red); }
.compare-card.good h3 { color: var(--cyan); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.compare-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-80); font-size: 1.02rem; }
.compare-list .mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.9rem; margin-top:1px; }
.compare-list .mark.x { background: rgba(255,84,112,0.14); color: var(--red); }
.compare-list .mark.check { background: rgba(0,212,255,0.14); color: var(--cyan); }

/* ---------- Feature grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { padding: 34px; }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan); margin-bottom: 22px;
}
.feature-card.purple-ic .icon { background: rgba(123,47,255,0.12); border-color: rgba(123,47,255,0.3); color: #a06bff; }
.feature-card .icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.55rem; margin-bottom: 14px; letter-spacing: 0.03em; line-height: 1.06; }
.feature-card p { font-size: 0.98rem; }

/* ---------- Testimonial ---------- */
.testimonial { padding: 48px; text-align: center; max-width: 860px; margin: 56px auto 0; }
.testimonial .quote { font-family: "Bebas Neue"; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; color: var(--white); margin-bottom: 20px; letter-spacing: 0.02em; }
.testimonial .cite { font-size: 0.92rem; color: var(--cyan); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Steps flow ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.4; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Bebas Neue"; font-size: 1.7rem;
  background: var(--navy-2); border: 2px solid var(--cyan); color: var(--cyan);
  box-shadow: 0 0 22px -4px rgba(0,212,255,0.6);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: 0.03em; line-height: 1.06; }
.step p { font-size: 0.94rem; }
.big-cyan { font-family: "Bebas Neue"; font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--cyan); text-align: center; margin-top: 64px; letter-spacing: 0.02em; text-shadow: 0 0 40px rgba(0,212,255,0.4); }

/* ---------- App before/after ---------- */
.app-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.app-card { padding: 40px; }
.app-card .tag { font-family:"Bebas Neue"; font-size: 1.5rem; letter-spacing: 0.08em; margin-bottom: 16px; }
.app-card.before .tag { color: var(--red); }
.app-card.after .tag { color: var(--purple); }
.app-card p { font-size: 1.08rem; color: var(--ink-80); }
.section-quote { font-family: "Bebas Neue"; font-size: clamp(1.8rem, 4.4vw, 3rem); text-align: center; max-width: 900px; margin: 56px auto 0; line-height: 1.05; letter-spacing: 0.02em; }

/* ---------- Real estate pills ---------- */
.re-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 820px; margin: 0 auto; }
.re-pill {
  padding: 14px 26px; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-weight: 600; font-size: 0.98rem; color: var(--ink-80);
  transition: border-color 0.3s, color 0.3s;
}
.re-pill:hover { border-color: var(--purple); color: #fff; }

/* ---------- Truck photo ---------- */
.truck-shot {
  max-width: 920px;
  margin: 56px auto 0;
  text-align: center;
}
.truck-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
}
.truck-shot figcaption {
  margin-top: 18px;
  font-size: 0.96rem;
  color: var(--ink-60);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 52px; }
.faq-group-label { font-family: "Bebas Neue"; font-size: 2rem; letter-spacing: 0.05em; color: var(--cyan); margin-bottom: 18px; }
.faq-group-label.purple { color: #a06bff; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { padding: 0; }
.faq-item:hover { transform: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 1.08rem;
  color: #fff; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-ico { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.faq-ico.purple::before, .faq-ico.purple::after { background: #a06bff; }
.faq-ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-ico::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 26px 24px; }
.faq-a p { font-size: 1rem; color: var(--ink-80); }
.faq-a p + p { margin-top: 14px; }

/* ---------- Forms grid small ---------- */
.form-card { padding: 26px; }
.form-card h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: 0.03em; color: var(--cyan); line-height: 1.08; }
.form-card p { font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.price-card { padding: 44px; }
.price-card .ptag { font-family:"Bebas Neue"; font-size: 1.8rem; letter-spacing: 0.06em; margin-bottom: 6px; }
.price-card.web .ptag { color: var(--cyan); }
.price-card.app .ptag { color: var(--purple); }
.price-tiers { display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.tier { padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); }
.tier .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tier .name { font-weight: 700; font-size: 1.05rem; }
.tier .price { font-family:"Bebas Neue"; font-size: 1.6rem; color: #fff; white-space: nowrap; }
.tier .price small { font-family: "DM Sans"; font-size: 0.8rem; color: var(--ink-40); font-weight: 500; white-space: nowrap; }
.tier .alt { font-size: 0.82rem; color: var(--ink-40); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { font-size: 0.92rem; color: var(--ink-80); display: flex; gap: 10px; }
.price-feats li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.max-banner { text-align: center; max-width: 880px; margin: 40px auto 0; padding: 32px; }
.max-banner p { font-size: 1.25rem; color: var(--white); margin-bottom: 24px; }
.max-banner .max-name { color: var(--cyan); font-weight: 700; }
.fine { font-size: 0.86rem; color: var(--ink-40); margin-top: 20px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 160px 0; overflow: hidden; }
.final h2 { font-size: clamp(3rem, 8vw, 6rem); max-width: 1000px; margin: 0 auto 28px; }
.final p { font-size: 1.2rem; max-width: 620px; margin: 0 auto 44px; color: var(--ink-80); }
.btn-pulse { animation: pulse-btn 2.4s infinite; }
@keyframes pulse-btn {
  0%,100% { box-shadow: 0 0 30px -4px rgba(0,212,255,0.6); }
  50% { box-shadow: 0 0 60px 4px rgba(0,212,255,0.9); }
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-2);
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 40px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-60); text-decoration: none; font-size: 0.94rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--cyan); }
.footer-tag { text-align: center; margin-top: 40px; font-size: 0.88rem; color: var(--ink-40); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .sub { max-width: 100%; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps::before { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(5,10,26,0.95); backdrop-filter: blur(20px); padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }
}
@media (max-width: 640px) {
  .compare-grid, .grid-2, .grid-3, .app-cols, .pricing-grid { grid-template-columns: 1fr; }
  .app-showcase { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .compare-card, .price-card, .app-card, .feature-card { padding: 28px; }
  section { padding: 68px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .btn-pulse, .marquee-track, .pulse-dot { animation: none !important; }
}
