/* ==========================================================================
   Mobile JobCard — Landing Page
   Design language: the physical repair claim ticket — a perforated stub with
   notched edges and a dashed tear line — used throughout as the signature
   structural motif, because every job in the product really is a numbered
   ticket. Palette is drawn directly from the shipping app's own UI.
   ========================================================================== */

:root {
  /* ---- Color: pulled from the real app palette, tuned for the web ---- */
  --ink: #22262b;
  --ink-soft: #565b62;
  --canvas: #f6f4ef;
  --canvas-raised: #ffffff;
  --line: #dfdcd2;
  --line-strong: #c7c3b6;

  --navy: #2b5d82;
  --navy-deep: #16324a;
  --navy-tint: #e9f0f5;

  --amber: #a66418;
  --amber-tint: #f7ecdd;

  --green: #357a54;
  --green-tint: #e9f5ee;

  --rust: #b4503f;

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* ---- Shape & rhythm ---- */
  --radius: 18px;
  --radius-sm: 10px;
  --notch: 15px;
  --container: 1180px;
  --section-pad: clamp(64px, 9vw, 128px);
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(22, 50, 74, 0.55);
}
.btn-primary:hover { background: var(--navy); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.brand-mark .logo-tag { color: var(--navy); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  margin-top: 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--navy);
  position: relative;
}
.hero-copy p.lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trial-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.hero-visual { position: relative; }

/* ---- Signature element: the ticket stub ---- */
.ticket {
  position: relative;
  background: var(--canvas-raised);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(22, 50, 74, 0.35);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--canvas);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
}
.ticket::before { left: -15px; }
.ticket::after { right: -15px; }

.ticket-tear {
  border-top: 2px dashed var(--line-strong);
  position: relative;
  margin-inline: 28px;
}

.hero-ticket { padding: 30px 30px 26px; }
.hero-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hero-ticket-id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.hero-ticket-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green-tint);
  color: var(--green);
  padding: 5px 11px;
  border-radius: 100px;
}
.hero-ticket-device {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.hero-ticket-customer {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
}
.hero-ticket-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
}
.hero-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.hero-tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 55%;
  width: 90%;
  height: 2px;
  background: var(--line);
}
.hero-tl-step.done:not(:last-child)::after { background: var(--green); }
.hero-tl-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--line);
  z-index: 1;
}
.hero-tl-step.done .hero-tl-dot { background: var(--green); }
.hero-tl-step.current .hero-tl-dot {
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--navy-tint);
}
.hero-tl-label {
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
}
.hero-ticket-footer {
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-ticket-tech {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ticket-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
}
.hero-float-tag {
  position: absolute;
  background: var(--navy-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 30px -12px rgba(22, 50, 74, 0.5);
}
.hero-float-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-float-tag.tag-1 { top: -18px; right: 18px; }
.hero-float-tag.tag-2 { bottom: -16px; left: -8px; background: var(--canvas-raised); color: var(--ink); border: 1px solid var(--line); }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas-raised);
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: clamp(28px, 4vw, 40px);
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--navy-deep);
}
.stat .num span { font-size: 0.5em; color: var(--ink-soft); margin-left: 3px; }
.stat .lbl {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ==========================================================================
   Features
   ========================================================================== */
.section { padding-block: var(--section-pad); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px 28px;
}
.feature-card {
  position: relative;
  padding: 30px 26px 26px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 18px;
  margin-top: 20px;
}
.feature-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ==========================================================================
   Screenshots — CSS-drawn phone mockups matching the real app's UI
   ========================================================================== */
.screens-section { background: var(--navy-deep); color: #fff; }
.screens-section .section-head h2 { color: #fff; }
.screens-section .section-head p { color: #b9c8d4; }
.screens-section .eyebrow { color: #8fb4cd; }
.screens-section .eyebrow::before { background: var(--amber); }

.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.screen-item { text-align: center; }
.phone {
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  background: #0e2233;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.6);
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--canvas);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  font-size: 8px;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 16px;
  background: #0e2233;
  border-radius: 0 0 10px 10px;
  z-index: 5;
}
.screen-caption {
  margin-top: 20px;
  font-size: 13.5px;
  color: #cdd9e2;
}
.screen-caption strong { display: block; color: #fff; font-size: 14.5px; margin-bottom: 3px; font-family: var(--font-display); }

/* mock UI inside phones */
.mock-header { background: var(--navy); color: #fff; padding: 18px 10px 10px; }
.mock-greeting { font-size: 9px; opacity: 0.85; }
.mock-shopname { font-size: 11px; font-weight: 700; margin-top: 2px; font-family: var(--font-display); }
.mock-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 8px; }
.mock-tile { border-radius: 8px; padding: 8px 6px; color: #fff; font-size: 7px; font-weight: 600; }
.mock-tile .dot { width: 14px; height: 14px; border-radius: 5px; background: rgba(255,255,255,0.35); margin-bottom: 10px; }
.mock-body { padding: 8px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.mock-line { height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 4px; }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }
.mock-pill { display: inline-block; font-size: 6px; padding: 2px 6px; border-radius: 20px; font-weight: 700; }
.mock-timeline { display: flex; justify-content: space-between; padding: 4px 2px; }
.mock-tl-dot { width: 6px; height: 6px; border-radius: 50%; }
.mock-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; }
.mock-avatar-sm { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 7px; font-weight: 700; margin-right: 6px; }

/* ==========================================================================
   Advantages
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.advantage {
  border-left: 2px solid var(--navy);
  padding-left: 22px;
}
.advantage h3 {
  font-size: 19px;
}
.advantage p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pricing-card.highlight {
  border-color: var(--navy);
  box-shadow: 0 30px 55px -30px rgba(22, 50, 74, 0.4);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: 18px; right: -15px;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 5px 16px 5px 12px;
  border-radius: 4px 0 0 4px;
}
.pricing-head { padding: 30px 26px 24px; }
.pricing-plan-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
}
.pricing-price .amount { font-size: 40px; font-weight: 600; }
.pricing-price .period { font-size: 14px; color: var(--ink-soft); }
.pricing-desc { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

.pricing-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-features { display: flex; flex-direction: column; gap: 12px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.pricing-features li svg {
  width: 16px; height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-body .btn { margin-top: auto; }

/* ==========================================================================
   Privacy teaser (home page) + full page
   ========================================================================== */
.privacy-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--canvas-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.privacy-points { display: flex; flex-direction: column; gap: 16px; }
.privacy-point { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.privacy-point svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }

.privacy-page-hero {
  padding-block: clamp(50px, 7vw, 80px) clamp(20px, 4vw, 40px);
}
.privacy-doc {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 760px;
}
.privacy-block h2 {
  font-size: 21px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.privacy-block h2 .idx { font-family: var(--font-mono); font-size: 14px; color: var(--navy); }
.privacy-block ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.privacy-block li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.privacy-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.privacy-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ==========================================================================
   Developer / Support
   ========================================================================== */
.contact-panel {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.contact-panel .section-head p { color: #b9c8d4; }
.contact-panel .eyebrow { color: #8fb4cd; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: background 0.15s ease;
}
.contact-method:hover { background: rgba(255,255,255,0.12); }
.contact-method svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.contact-method .cm-label { font-size: 11px; color: #9fb4c2; }
.contact-method .cm-value { font-size: 14.5px; font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-block: 48px;
  flex-wrap: wrap;
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .privacy-teaser { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.highlight { transform: none; }
  .screens-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: none;
  }
  .stats-strip .container { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.highlight { order: -1; }
  .screens-row { grid-template-columns: 1fr; max-width: 260px; margin-inline: auto; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-float-tag { display: none; }
}

/* Ultra-wide guard so the layout never over-stretches on very wide screens */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
