:root {
  --primary: #111827;
  --muted: #6b7280;
  --bg-soft: #f7f9fc;
  --border: #e5e7eb;
  --success: #10b981;
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  color: var(--primary);
  background: white;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.topbar a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 120px 20px 90px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.search-box input {
  padding: 14px 16px;
  width: 300px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
}

.search-box button {
  padding: 14px 22px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 500;
  cursor: pointer;
}

.search-box button:disabled {
  opacity: 0.6;
}

/* Trust */
.trust-section {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 40px 20px;
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* Sections */
section {
  padding: 90px 20px;
}

.about-section,
.how-section {
  background: var(--bg-soft);
  text-align: center;
}

.about-section p {
  max-width: 700px;
  margin: 16px auto;
  color: var(--muted);
}

/* Steps */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.step {
  background: white;
  padding: 34px;
  border-radius: 16px;
  width: 220px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.step:hover {
  transform: translateY(-6px);
}

.step span {
  display: inline-block;
  background: var(--primary);
  color: white;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  margin-bottom: 12px;
}

/* Results */
.results {
  max-width: 820px;
  margin: auto;
}

.results.hidden {
  display: none;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timestamp {
  font-size: 13px;
  color: var(--muted);
}

.highlight {
  font-weight: 600;
  margin: 12px 0;
}

.savings {
  color: var(--success);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

th, td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

tr.best {
  background: #ecfdf5;
}

.badge {
  background: var(--success);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 8px;
}

/* Disclaimer */
.disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}

/* CTA */
.cta {
  text-align: center;
  background: var(--primary);
  color: white;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: var(--muted);
}
