/* ============================================================
   AutoGarage — SaaS marketing site for a WhatsApp-native,
   video-first garage CRM & job management platform.
   Display: Outfit. Body: Inter.
   ============================================================ */

:root {
  --ink: #1A1D21;
  --ink-soft: #52565C;
  --ink-faint: #8B8F96;

  --paper: #FFFFFF;
  --bg-soft: #F7F5F2;
  --line: #E7E4DF;

  --accent: #E8622C;
  --accent-deep: #C74F1F;
  --accent-pale: #FDEEE6;

  --whatsapp: #25D366;
  --whatsapp-pale: #E8FBF0;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---------- Eyebrow / pill ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--accent); display: inline-block; }

.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-deep); background: var(--accent-pale); border: 1px solid rgba(232,98,44,0.25); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill.wa { color: #17A452; background: var(--whatsapp-pale); border-color: rgba(37,211,102,0.3); }
.pill.wa .dot { background: var(--whatsapp); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; max-width: var(--max); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); position: relative; flex-shrink: 0; }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 3px; background: #fff; }

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: inline-block; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 999px; transition: all .2s ease; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232,98,44,0.32); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.desktop-only { display: none; }
  .nav { padding: 14px 20px; }
  .mobile-panel { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 20px 22px; }
  .mobile-panel.open { display: flex; }
  .mobile-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
  .mobile-panel .nav-cta { margin-top: 16px; text-align: center; }
}
@media (min-width: 941px) { .mobile-panel { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 999px; transition: all .2s ease; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232,98,44,0.34); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 40px; position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hero .lede { font-size: 18px; color: var(--ink-soft); margin: 20px 0 30px; max-width: 54ch; }

/* ---------- Phone / WhatsApp thread mockup ---------- */
.phone-frame {
  background: #fff; border-radius: 30px; border: 8px solid var(--ink);
  width: 300px; margin: 0 auto; box-shadow: 0 40px 80px rgba(26,29,33,0.22);
  overflow: hidden;
}
.phone-top { background: var(--whatsapp); padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
.phone-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 13px; }
.phone-top .name { color: #fff; font-weight: 700; font-size: 14px; }
.phone-top .status { color: rgba(255,255,255,0.8); font-size: 11px; }
.phone-body { background: #EDEBE4; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.msg.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.msg.out { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg .t { display: block; font-size: 9.5px; color: var(--ink-faint); margin-top: 4px; text-align: right; }
.msg .thumb { width: 100%; height: 70px; border-radius: 8px; background: linear-gradient(135deg, var(--ink), #3A3F45); margin-bottom: 6px; position: relative; }
.msg .thumb::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }

/* ---------- Ops dashboard mockup ---------- */
.ops-frame {
  background: var(--ink);
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(26,29,33,0.28);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.ops-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ops-bar span:not(.ops-url) { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.ops-url { flex: 1 1 auto; font-size: 11.5px; color: rgba(255,255,255,0.4); margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ops-body { display: grid; grid-template-columns: 160px 1fr; min-height: 360px; }
.ops-side { background: rgba(255,255,255,0.03); border-right: 1px solid rgba(255,255,255,0.08); padding: 18px 14px; display: none; }
.ops-side-item { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.55); padding: 10px 12px; border-radius: 8px; margin-bottom: 3px; }
.ops-side-item.active { background: rgba(232,98,44,0.16); color: #fff; }
.ops-main { padding: 24px 26px; background: #fff; }
.ops-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ops-row h4 { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; margin: 0; }
.ops-chip { font-size: 10.5px; font-weight: 700; color: var(--accent-deep); background: var(--accent-pale); padding: 4px 10px; border-radius: 999px; }
.ops-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.ops-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.ops-stat .num { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); }
.ops-stat .lbl { font-size: 10.5px; color: var(--ink-faint); margin-top: 2px; }
.ops-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ops-col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.ops-col .col-title { font-size: 10.5px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.ops-card { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; margin-bottom: 7px; font-size: 11px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ops-card .reg { font-size: 9.5px; font-weight: 700; color: var(--accent-deep); display: block; margin-top: 2px; }
@media (min-width: 700px) { .ops-side { display: block; } }
@media (max-width: 700px) { .ops-body { grid-template-columns: 1fr; } .ops-board { grid-template-columns: repeat(2,1fr); } .ops-stats { grid-template-columns: repeat(2,1fr); } }

.float-badge {
  position: absolute; z-index: 5;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 17px;
  box-shadow: 0 18px 40px rgba(26,29,33,0.14);
}
.float-badge .k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 3px; }
.float-badge .v { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent-deep); }
.ops-stage { position: relative; padding: 24px 20px 20px; }
.ops-stage .float-badge.a { top: 0; left: -4px; }
.ops-stage .float-badge.b { bottom: 4px; right: -4px; }
@media (max-width: 900px) { .ops-stage .float-badge { display: none; } }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.68); }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 16.5px; margin-top: 14px; }

/* ---------- Problem list ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start; }
.problem-card .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); flex-shrink: 0; }
.problem-card h4 { font-size: 16px; margin-bottom: 6px; }
.problem-card p { font-size: 14px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(26,29,33,0.08); }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-pale); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 19px; height: 19px; stroke: var(--accent-deep); }
.feature-icon.wa { background: var(--whatsapp-pale); }
.feature-icon.wa svg { stroke: #17A452; }
.feature-card h4 { font-size: 15.5px; margin-bottom: 7px; }
.feature-card p { font-size: 13.5px; }

/* ---------- Journey pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
@media (max-width: 980px) { .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } }
.pipeline-step { text-align: center; padding: 0 10px; position: relative; }
.pipeline-step .num-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--whatsapp-pale); color: #17A452; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 auto 14px; position: relative; z-index: 1; border: 2px solid var(--paper); }
.pipeline-step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
@media (max-width: 980px) { .pipeline-step:nth-child(3n)::after { display: none; } }
@media (max-width: 560px) { .pipeline-step::after { display: none !important; } }
.pipeline-step h4 { font-size: 13.5px; margin-bottom: 5px; }
.pipeline-step p { font-size: 11.5px; }

/* ---------- Video highlight ---------- */
.video-panel { background: var(--ink); border-radius: 22px; padding: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; color: #fff; }
@media (max-width: 860px) { .video-panel { grid-template-columns: 1fr; padding: 34px; } }
.video-panel h2 { color: #fff; font-size: 30px; }
.video-panel p { color: rgba(255,255,255,0.7); }
.video-mock { aspect-ratio: 16/10; border-radius: 14px; background: linear-gradient(135deg, #2A2E33, #101214); position: relative; border: 1px solid rgba(255,255,255,0.1); }
.video-mock::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); font-size: 34px; width: 64px; height: 64px; margin: auto; background: rgba(232,98,44,0.9); border-radius: 50%; }
.video-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.video-tags span { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 7px 14px; border-radius: 999px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 24px 50px rgba(232,98,44,0.14); position: relative; }
.price-card.featured::before { content: "MOST POPULAR"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 5px 14px; border-radius: 999px; }
.price-card .tier-name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.price-card .tier-bays { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.price-card .price { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--ink); }
.price-card .price span { font-size: 15px; font-weight: 500; color: var(--ink-faint); }
.price-card ul { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- Why us strip ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .strength-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .strength-grid { grid-template-columns: 1fr; } }
.strength-tile { border-top: 2px solid var(--accent); padding: 18px 0 0; }
.strength-tile h4 { font-size: 15px; margin-bottom: 6px; }
.strength-tile p { font-size: 13.5px; }

/* ---------- CTA banner ---------- */
.cta-banner { border-radius: 22px; padding: 60px 52px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); max-width: 22ch; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 46ch; margin-top: 10px; }
.cta-banner .btn-primary { background: #fff; color: var(--accent-deep); }
.cta-banner .btn-primary:hover { background: var(--bg-soft); }

/* ---------- Trial form ---------- */
.trial-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.trial-form input { flex: 1; min-width: 220px; font-family: var(--font-body); font-size: 14.5px; padding: 14px 18px; border-radius: 999px; border: none; background: rgba(255,255,255,0.95); color: var(--ink); }
.trial-form input:focus { outline: 2px solid #fff; outline-offset: 2px; }
.form-note { font-size: 12.5px; margin-top: 12px; color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { color: #fff; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 12px; max-width: 30ch; }
.footer-col h5 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 15px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.68); transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ---------- Utility ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.two-col { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 13px; font-weight: 600; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); }
.mt-lg { margin-top: 52px; }
.center { text-align: center; }
