:root {
  --navy: #0B2D4A;
  --navy-light: #123a5e;
  --orange: #FF8A00;
  --bg: #E5E7EB;
  --body-text: #4B5563;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body-text);
  background: var(--white);
  scroll-behavior: smooth;
}

h1, h2, h3 { color: var(--navy); font-weight: 800; margin: 0; }
.accent { color: var(--orange); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 12px 26px; }
.btn-nav { background: var(--orange); color: var(--white); padding: 10px 20px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 34px; width: auto; }
.brand-word {
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--white); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 32px;
}
.hero-copy h1 {
  color: var(--white);
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-actions .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero-art {
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center center;
  border-radius: 16px;
  height: 340px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Sections */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 88px 24px; text-align: center; }
.section-inner h2 { font-size: 34px; margin-bottom: 12px; }
.section-sub { font-size: 16px; max-width: 560px; margin: 0 auto 48px; line-height: 1.6; }

/* Features */
.features { background: var(--bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: left;
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; margin: 0; }

/* How it works — interactive demo */
.demo {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  text-align: left;
  margin-top: 32px;
}
.demo-steps { display: flex; flex-direction: column; gap: 8px; }
.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.demo-step:hover { background: rgba(11,45,74,0.04); }
.demo-step.active { background: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,0.08); }
.demo-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.demo-step.active .demo-step-num { background: var(--orange); color: var(--white); }
.demo-step-copy { display: flex; flex-direction: column; gap: 4px; }
.demo-step-title { font-weight: 700; color: var(--navy); font-size: 16px; }
.demo-step-body { font-size: 13px; line-height: 1.5; color: var(--body-text); }

.demo-phone-wrap { display: flex; justify-content: center; }
.demo-phone {
  width: 300px;
  height: 610px;
  background: var(--navy);
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(11,45,74,0.35);
  position: relative;
}
.demo-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.demo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
}
.demo-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
}
.demo-panel.active { opacity: 1; visibility: visible; }
.demo-app-header {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 40px 16px 14px;
}
.demo-app-body { flex: 1; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.demo-app-body-center { align-items: center; justify-content: center; text-align: center; }

.demo-mic-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.demo-mic { font-size: 34px; }
.demo-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-text);
  font-style: italic;
  margin: 0;
}
.demo-caption-small { font-size: 12px; margin-top: 4px; }
.demo-waveform { display: flex; align-items: flex-end; gap: 4px; height: 24px; margin-top: 8px; }
.demo-waveform span {
  width: 4px;
  border-radius: 2px;
  background: var(--orange);
  opacity: 0.7;
  animation: demo-wave 1.1s ease-in-out infinite;
}
.demo-waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.demo-waveform span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.demo-waveform span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.demo-waveform span:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.demo-waveform span:nth-child(5) { height: 12px; animation-delay: 0.4s; }
.demo-waveform span:nth-child(6) { height: 20px; animation-delay: 0.5s; }
.demo-waveform span:nth-child(7) { height: 9px; animation-delay: 0.6s; }
@keyframes demo-wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.demo-field {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.demo-field-label { font-size: 11px; color: var(--body-text); opacity: 0.7; }
.demo-field-value { font-size: 14px; color: var(--navy); font-weight: 600; }

.demo-invoice-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--body-text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.demo-invoice-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  padding: 10px 0 4px;
}

.demo-confirm-btn {
  margin-top: auto;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}
.demo-confirm-btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.demo-confirm-btn-small { margin-top: 12px; padding: 8px; font-size: 13px; }

.demo-reminder-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
}
.demo-reminder-title { font-weight: 700; color: var(--navy); font-size: 15px; }
.demo-reminder-sub { font-size: 12px; color: var(--body-text); margin-top: 2px; }

/* Pilot */
.pilot { background: var(--navy); }
.pilot h2, .pilot .section-sub { color: var(--white); }
.pilot .section-sub { color: rgba(255,255,255,0.8); }
.pilot-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.pilot-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 15px;
}
.pilot-note { margin-top: 16px; color: rgba(255,255,255,0.75); font-size: 14px; min-height: 20px; }

/* Footer */
.footer { background: var(--navy-light); }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.footer-inner a { color: rgba(255,255,255,0.85); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-art { height: 260px; margin-top: 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
  .demo-phone-wrap { order: -1; margin-bottom: 8px; }
  .demo-phone { width: 260px; height: 528px; }
  .section-inner { padding: 56px 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* Get the app */
.get-app { background: var(--white); }
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 10px;
  opacity: 0.55;
  cursor: default;
  position: relative;
}
.store-badge-icon { display: flex; }
.store-badge-text { display: flex; flex-direction: column; text-align: left; }
.store-badge-small { font-size: 10px; letter-spacing: 0.3px; color: rgba(255,255,255,0.75); }
.store-badge-big { font-size: 16px; font-weight: 700; line-height: 1.2; }
.store-badge.is-live {
  opacity: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-badge.is-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.store-note {
  font-size: 13px;
  color: var(--body-text);
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto 8px;
}
.pricing-note {
  font-size: 14px;
  color: var(--body-text);
  max-width: 480px;
  margin: 0 auto;
}

/* Real demo section */
.real-demo { background: var(--bg); }
.real-demo-video {
  max-width: 380px;
  margin: 0 auto 56px;
}
.real-demo-video video {
  width: 100%;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 20px 40px rgba(11, 45, 74, 0.18);
}
.real-demo-output h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.real-demo-docs {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.real-demo-doc {
  display: block;
  width: 220px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 45, 74, 0.12);
  transition: transform 0.15s ease;
}
.real-demo-doc:hover { transform: translateY(-4px); }
.real-demo-doc img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--bg);
}
.real-demo-doc span {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 860px) {
  .real-demo-docs { gap: 16px; }
  .real-demo-doc { width: 45%; min-width: 150px; }
}

/* Real app screenshots inside the interactive demo phone */
.demo-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ===== Added for multipage SEO build (2026-10-08) ===== */

/* Secondary page hero (compact) — features/invoicing/quoting/job-tracking/resources/contact/404 */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.page-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 52px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 40px; line-height: 1.15; margin-bottom: 16px; }
.page-hero .page-hero-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto; }
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: var(--white); }

/* Long-form content sections */
.content-section { background: var(--white); }
.content-section.alt { background: var(--bg); }
.content-inner { max-width: 760px; margin: 0 auto; padding: 64px 24px; text-align: left; }
.content-inner h2 { font-size: 26px; margin: 40px 0 14px; }
.content-inner h2:first-child { margin-top: 0; }
.content-inner h3 { font-size: 18px; margin: 24px 0 10px; }
.content-inner p { font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.content-inner ul, .content-inner ol { padding-left: 22px; margin: 0 0 16px; }
.content-inner li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.content-inner a.inline-link,
.inline-link { color: var(--orange); text-decoration: underline; font-weight: 600; }

/* Resource cards (hub page) */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.resource-card { background: var(--white); border-radius: 14px; padding: 28px 22px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-align: left; display: flex; flex-direction: column; }
.resource-card h3 { font-size: 18px; margin-bottom: 10px; }
.resource-card p { font-size: 14px; line-height: 1.6; color: var(--body-text); margin: 0 0 16px; flex: 1; }
.resource-card .inline-link { font-size: 14px; }

/* Feature link cards (used on /features) */
.feature-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-link-card { background: var(--bg); border-radius: 14px; padding: 26px 24px; text-align: left; }
.feature-link-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-link-card p { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }

/* CTA band (reused across subpages) */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band h2 { color: var(--white); }

/* 404 page */
.notfound-inner { padding: 120px 24px; }
.notfound-inner h1 { font-size: 64px; margin-bottom: 12px; color: var(--navy); }
.notfound-inner p { font-size: 17px; line-height: 1.6; margin-bottom: 28px; }

/* Feature-card link added inside homepage #features cards */
.feature-card .inline-link { font-size: 13px; display: inline-block; margin-top: 10px; }

@media (max-width: 860px) {
  .resource-grid { grid-template-columns: 1fr; }
  .feature-link-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}
