/* ============================================
   Small Fleet Fuel — Styles
   smallfleetfuel.com
   ============================================ */

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

:root {
  --bg-deep: #0f1720;
  --bg-card: #1a2536;
  --bg-card-hover: #1f2e42;
  --bg-surface: #141e2b;
  --accent: #e8a020;
  --accent-hover: #f0b040;
  --accent-glow: rgba(232, 160, 32, 0.15);
  --text-primary: #eaf0f6;
  --text-secondary: #8a9bb0;
  --text-muted: #5a6b80;
  --border: #2a3a4e;
  --success: #34d399;
  --danger: #ef4444;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --container-max: 580px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.35s;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,160,32,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(232,160,32,0.03) 0%, transparent 50%);
}

/* ---- Header ---- */
.site-header {
  position: relative; z-index: 10; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border); background: rgba(15,23,32,0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-inner { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; gap: 0.625rem; }
.logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.logo-text span { color: var(--accent); }

/* ---- Layout ---- */
main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 2rem 1.25rem 4rem; }
.container { width: 100%; max-width: var(--container-max); }
.screen { display: none; opacity: 0; transform: translateY(12px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease); }
.screen.active { display: block; }
.screen.visible { opacity: 1; transform: translateY(0); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 1rem 0 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.875rem;
  background: var(--accent-glow); border: 1px solid rgba(232,160,32,0.25); border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1.5rem;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-family: var(--font-display); font-size: clamp(1.625rem, 5vw, 2.25rem); font-weight: 700; line-height: 1.2; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero-subhead { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.55; max-width: 460px; margin: 0 auto 1.5rem; }

/* ---- Social Proof ---- */
.social-proof {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  background: rgba(52,211,153,0.06); border: 1px solid rgba(52,211,153,0.15);
  border-radius: 100px; font-size: 0.8125rem; color: var(--success); margin-bottom: 1.75rem;
}
.social-proof .pulse {
  width: 8px; height: 8px; background: var(--success); border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* ---- Trust Strip ---- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; padding: 1rem 0; margin-bottom: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }
.trust-strip span { display: flex; align-items: center; gap: 0.375rem; white-space: nowrap; }
.trust-strip span::before { content: ''; width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; flex-shrink: 0; }
.trust-strip span:first-child::before { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600;
  border: none; border-radius: var(--radius); cursor: pointer; transition: all 0.2s var(--ease);
  text-decoration: none; line-height: 1.3; width: 100%; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(232,160,32,0.25), 0 0 0 0 rgba(232,160,32,0);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,160,32,0.35), 0 0 0 3px rgba(232,160,32,0.1);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary .arrow { transition: transform 0.2s var(--ease); }
.btn-primary:hover:not(:disabled) .arrow { transform: translateX(3px); }
.btn-secondary { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-secondary:hover { color: var(--text-primary); border-color: var(--text-muted); background: rgba(255,255,255,0.03); }
.btn-ghost { background: none; border: none; color: var(--text-muted); font-size: 0.875rem; padding: 0.5rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-family: var(--font-body); }
.btn-ghost:hover { color: var(--text-secondary); }
.btn-micro { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; display: block; text-align: center; }

/* ---- Progress ---- */
.progress-wrap { margin-bottom: 2rem; }
.progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.625rem; font-size: 0.8125rem; color: var(--text-muted); }
.progress-label strong { color: var(--text-secondary); font-weight: 600; }
.progress-track { width: 100%; height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 100px; transition: width 0.5s var(--ease); box-shadow: 0 0 8px rgba(232,160,32,0.3); }

/* ---- Card / Quiz ---- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.card-question { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-primary); line-height: 1.35; }
.options-list { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; list-style: none; }
.option-btn {
  display: flex; align-items: center; gap: 0.875rem; width: 100%; padding: 1rem 1.25rem;
  background: var(--bg-surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s var(--ease); text-align: left; line-height: 1.4;
}
.option-btn:hover { background: var(--bg-card-hover); border-color: var(--text-muted); }
.option-btn.selected { border-color: var(--accent); background: rgba(232,160,32,0.08); box-shadow: 0 0 0 1px var(--accent); }
.option-radio { width: 20px; height: 20px; border: 2px solid var(--text-muted); border-radius: 50%; flex-shrink: 0; position: relative; transition: all 0.2s var(--ease); }
.option-btn.selected .option-radio { border-color: var(--accent); }
.option-btn.selected .option-radio::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%; animation: pop-in 0.25s var(--ease);
}
@keyframes pop-in { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---- Disqualified ---- */
.dq-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(239,68,68,0.1); border: 2px solid rgba(239,68,68,0.25); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; }
.dq-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 0.75rem; color: var(--text-primary); }
.dq-body { text-align: center; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* ---- Results ---- */
.results-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-glow); border: 2px solid rgba(232,160,32,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.75rem; }
.results-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; color: var(--text-primary); }
.results-subheading { font-size: 0.875rem; color: var(--success); text-align: center; margin-bottom: 1.25rem; font-weight: 600; }
.results-body { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.25rem; text-align: center; }
.savings-callout { background: rgba(232,160,32,0.08); border: 1px solid rgba(232,160,32,0.2); border-radius: var(--radius); padding: 1.25rem 1.25rem; text-align: center; margin-bottom: 0.75rem; }
.savings-callout .label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.375rem; }
.savings-callout .amount { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.savings-callout .disclaimer { font-size: 0.75rem; color: var(--text-muted); }

.pain-callout {
  background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.12);
  border-radius: var(--radius); padding: 0.875rem 1rem; margin-bottom: 1.5rem;
  font-size: 0.8125rem; color: var(--text-secondary); text-align: center; line-height: 1.6;
}
.pain-callout strong { color: var(--danger); font-weight: 600; }

.what-you-get { margin-bottom: 1.75rem; }
.what-you-get-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; text-align: center; }
.benefit-list { list-style: none; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.625rem 0;
  font-size: 0.9375rem; color: var(--text-secondary); border-bottom: 1px solid rgba(42,58,78,0.4);
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li .b-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-list li .b-text strong { color: var(--text-primary); font-weight: 600; }

.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0; font-size: 0.9375rem; color: var(--text-secondary); }
.check-list li::before { content: '✓'; color: var(--success); font-weight: 700; font-size: 0.875rem; width: 22px; height: 22px; background: rgba(52,211,153,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.redirect-note { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.75rem; }
.start-over-wrap { text-align: center; margin-top: 1.25rem; }

.urgency-bar {
  display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  padding: 0.5rem; margin-bottom: 1rem; border-radius: var(--radius-sm);
  background: rgba(232,160,32,0.06); font-size: 0.75rem; color: var(--accent); font-weight: 500;
}
.urgency-bar .clock { animation: tick 1s steps(1) infinite; }
@keyframes tick { 50% { opacity: 0.4; } }

/* ---- Testimonial ---- */
.mini-testimonial {
  margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--bg-surface);
  border-radius: var(--radius); border-left: 3px solid var(--accent);
}
.mini-testimonial .quote { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; font-style: italic; margin-bottom: 0.5rem; }
.mini-testimonial .author { font-size: 0.75rem; color: var(--text-muted); font-style: normal; }
.mini-testimonial .stars { color: var(--accent); font-size: 0.75rem; letter-spacing: 1px; }

/* ---- Trusted Strip ---- */
.trusted-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 1.5rem 0; margin-top: 1.5rem; border-top: 1px solid var(--border); }
.trusted-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.trusted-item .trusted-icon { font-size: 1.25rem; margin-bottom: 0.125rem; }
.trusted-item .trusted-label { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; line-height: 1.3; }

/* ---- Sticky CTA ---- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  padding: 0.875rem 1.25rem; background: rgba(15,23,32,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.sticky-cta.visible { display: block; animation: slide-up 0.35s var(--ease); }
@keyframes slide-up { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.sticky-cta .btn { width: 100%; }
.sticky-cta .sticky-sub { text-align: center; font-size: 0.6875rem; color: var(--text-muted); margin-top: 0.375rem; }

/* ---- Footer ---- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 2rem 1.25rem; background: rgba(15,23,32,0.6); }
.footer-inner { max-width: var(--container-max); margin: 0 auto; }
.footer-disclaimer { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.6875rem; color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ---- Utility ---- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  main { padding: 1.5rem 1rem 6rem; }
  .card { padding: 1.5rem 1.125rem; }
  .hero h1 { font-size: 1.5rem; }
  .option-btn { padding: 0.875rem 1rem; }
}
@media (min-width: 641px) {
  .sticky-cta { display: none !important; }
}
