/* Viqora marketing site – aligned with pitch deck */
:root {
  --bg: #fafafa;
  --surface: #fff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --font: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  background-image: url("images/banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-tagline {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.hero-sub {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-byline {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section:nth-child(even) {
  background: var(--surface);
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.problem-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.problem-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.problem-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Solution / How it works */
.steps-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

.steps {
  max-width: 560px;
  margin: 0 auto;
  padding-left: 1.5rem;
}

.steps li {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.steps li strong {
  color: var(--text);
}

/* Features */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* State law */
.state-law-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .state-law-content {
    grid-template-columns: 1fr;
  }
}

.state-pack h3,
.roadmap h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.state-pack ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.state-pack li {
  margin-bottom: 0.35rem;
}

.roadmap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.roadmap-table td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.roadmap-table td:last-child {
  text-align: right;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge.live {
  background: #dcfce7;
  color: #166534;
}

.badge.soon {
  background: #dbeafe;
  color: #1e40af;
}

.badge.planned {
  background: #f3f4f6;
  color: var(--text-muted);
}

.state-packs-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.state-packs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
}

.state-packs-table thead {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}

.state-packs-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.state-packs-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.state-packs-table tbody tr:last-child td {
  border-bottom: none;
}

.state-packs-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.state-packs-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

.state-packs-table .badge {
  white-space: nowrap;
}

.state-packs-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Pricing */
.pricing-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-overage {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.pricing-card .price {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-card .amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card li {
  margin-bottom: 0.35rem;
}

.pricing-card .btn {
  display: block;
  text-align: center;
}

/* Market */
.market-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gtm h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.gtm-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gtm-list li {
  margin-bottom: 0.75rem;
}

/* Why now */
.why-list {
  margin: 0 0 2rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.why-list li {
  margin-bottom: 1rem;
}

.competitive {
  margin-top: 2rem;
}

.competitive h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  max-width: 520px;
  margin: 0 auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comp-table th,
.comp-table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  text-align: center;
}

.comp-table th {
  background: var(--bg);
  font-weight: 600;
}

.comp-table td:first-child {
  text-align: left;
}

.comp-table .viqora-row {
  background: #eff6ff;
  font-weight: 500;
}

.comp-table .viqora-row td:first-child {
  color: var(--accent);
}

/* Contact */
.contact-tagline {
  text-align: center;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.contact-cta {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.contact p {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact-placeholder {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-byline {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  background: var(--surface);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 4rem;
  }
  .section {
    padding: 2.5rem 0;
  }
  .nav {
    gap: 0.5rem;
  }
}
