/* ═══════════════════════════════════════
   ToolSnipe Landing Page — Styles
   Dark theme, Bootstrap-5 inspired palette
════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0f1117;
  --bg-card:     #1c1f2a;
  --bg-elevated: #242838;
  --border:      #2d3347;
  --accent:      #f97316;
  --accent-dark: #ea6906;
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --green:       #22c55e;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-primary:active { transform: scale(0.98); }
.btn-full { width: 100%; text-align: center; padding: 14px; }

/* ═══════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn-nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 7px;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.btn-nav-cta:hover { background: var(--accent-dark) !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  padding: 72px 0 80px;
  background: radial-gradient(ellipse at 70% 40%, rgba(249,115,22,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(249,115,22,0.04) 0%, transparent 50%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 14px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-text h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-form { max-width: 440px; }
.hero-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-form input[type="email"] {
  flex: 1;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.hero-form input[type="email"]:focus { border-color: var(--accent); }
.hero-form input[type="email"]::placeholder { color: var(--text-dim); }
.hero-form-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 0;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.retailer-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Hero Mockup ── */
.hero-mockup { position: relative; }
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(249,115,22,0.06);
}
.mockup-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.mockup-product-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #2d3347;
}
.mockup-product-info { flex: 1; min-width: 0; }
.mockup-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.mockup-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 3px;
}
.mockup-model {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.mockup-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: #f59e0b; font-size: 0.8125rem; letter-spacing: 1px; }
.review-count { font-size: 0.8125rem; color: var(--text-muted); }

.mockup-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.mockup-price-table { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.mockup-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.mockup-price-row.best {
  border-color: rgba(249,115,22,0.4);
  background: rgba(249,115,22,0.07);
}
.mockup-retailer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.retailer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.retailer-dot.hd  { background: #f96302; }
.retailer-dot.amz { background: #ff9900; }
.retailer-dot.lowes { background: #004990; }
.mockup-price-col {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
.mockup-price-col .price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.badge-best {
  background: rgba(34,197,94,0.15);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mockup-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  padding: 4px 0;
}
.mockup-btn:hover { text-decoration: none; color: var(--accent-dark); }
.mockup-btn.muted { color: var(--text-muted); }
.mockup-btn.muted:hover { color: var(--text); }

/* Sparkline chart */
.mockup-chart { margin-bottom: 14px; }
.sparkline { width: 100%; height: 60px; }
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat {
  background: var(--bg-elevated);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-val { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ═══════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how-it-works {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 52px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}
.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(249,115,22,0.02) 0%, transparent 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(249,115,22,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.feature-icon-wrap svg { width: 18px; height: 18px; }
.feature-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   RETAILERS
════════════════════════════════════════ */
.retailers {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.retailers-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.retailers-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.retailer-logo-card {
  opacity: 0.7;
  transition: opacity 0.2s;
}
.retailer-logo-card:hover { opacity: 1; }
.coming-soon-retailer { opacity: 0.4; }
.retailer-logo-card svg { width: 140px; height: 48px; }

/* ═══════════════════════════════════════
   EMAIL SIGNUP
════════════════════════════════════════ */
.signup {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1e2e 100%);
  box-shadow: var(--shadow);
}
.signup-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.signup-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.signup-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signup-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}
.signup-bullets svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}
.signup-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.signup-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.signup-form input[type="email"] {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
  display: block;
}
.signup-form input[type="email"]:focus { border-color: var(--accent); }
.signup-form input[type="email"]::placeholder { color: var(--text-dim); }
.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.5;
}
.form-disclaimer a { color: var(--text-dim); text-decoration: underline; }
.form-disclaimer a:hover { color: var(--text-muted); }

/* ═══════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.about-icon svg { width: 64px; height: 64px; }
.about-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.about-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-contact a {
  color: var(--accent);
  font-weight: 600;
}

/* ═══════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 220px;
}
.footer-links { display: flex; gap: 48px; }
.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8125rem; color: var(--text-dim); }
.footer-legal { max-width: 480px; text-align: right; }

/* ═══════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup { display: none; }
  .signup-card { grid-template-columns: 1fr; gap: 36px; padding: 32px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 720px) {
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 56px; }
  .how-it-works, .features, .signup, .about { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: flex; }
  .hero-form-row { flex-direction: column; }
  .hero-form-row .btn-primary { width: 100%; text-align: center; }
  .mockup-stats { grid-template-columns: repeat(3, 1fr); }
}
