/* Fleet Quote Manager landing page
   Brand palette matches the WordPress.org plugin assets (teal). */

:root {
  --teal-900: #0b3b39;
  --teal-800: #0f4c46;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #e6f7f5;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #e2e8f0;
  --bg-alt: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 118, 110, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
}

h1, h2, h3 { font-weight: 800; color: var(--ink-900); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--ink-700); margin: 0 0 16px; }

code {
  background: var(--teal-100);
  color: var(--teal-800);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-light {
  background: var(--white);
  color: var(--teal-800);
}
.btn-light:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.brand-mark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-name { font-weight: 800; font-size: 18px; color: var(--ink-900); }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--ink-700); font-size: 15px; }
.main-nav a:hover { color: var(--teal-700); }

.header-actions { display: flex; align-items: center; gap: 14px; }

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

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 100% 0%, var(--teal-100) 0%, var(--white) 55%);
  padding: 72px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-lede { font-size: 17px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--teal-800); font-weight: 600; }

.hero-visual { position: relative; }
.browser-frame {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(-0.6deg);
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--teal-900); padding: 32px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong { display: block; font-size: 30px; color: var(--white); font-weight: 800; }
.stat span { color: rgba(255, 255, 255, 0.72); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--teal-700);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Pill grid (industries) ---------- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill {
  background: var(--white);
  border: 1.5px solid var(--teal-600);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { text-align: left; }
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step p { font-size: 14.5px; }

/* ---------- Screenshots ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shot-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.shot-card img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.shot-card figcaption {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  border-top: 1px solid var(--line);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.price-card-featured {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-tag { font-size: 30px; font-weight: 800; color: var(--teal-700); margin-bottom: 6px; }
.price-sub { font-size: 14px; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; }
.price-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-700);
  padding-left: 26px;
  position: relative;
}
.price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 700;
}
.price-list li:first-child { border-top: none; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--teal-700);
  font-weight: 700;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 16px; margin: 0; font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-700), var(--teal-900));
  padding: 72px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  padding: 48px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: var(--white); font-size: 17px; }
.footer-tagline { font-size: 14px; max-width: 420px; color: rgba(255, 255, 255, 0.6); }
.footer-nav { display: flex; gap: 22px; margin: 6px 0; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
