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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
}

/* ===== Layout ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: #6b7280;
  line-height: 1.7;
}

a {
  color: #0d9488;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: #0d9488;
  color: #fff;
  border: 2px solid #0d9488;
}

.btn-secondary {
  background: transparent;
  color: #0d9488;
  border: 2px solid #0d9488;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

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

.subhead {
  font-size: 1.15rem;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ===== Problem ===== */
.problem {
  background: #f8fafb;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pain-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.pain-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.95rem;
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
}

.feature-card h3 {
  color: #0d9488;
}

/* ===== Comparison ===== */
.comparison {
  background: #f8fafb;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  max-width: 720px;
  margin: 0 auto;
}

.comparison-header {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-header.comparison-old {
  background: #f3f4f6;
  color: #6b7280;
}

.comparison-header.comparison-new {
  background: #ccfbf1;
  color: #0d9488;
}

.comparison-cell {
  padding: 14px 20px;
  font-size: 0.95rem;
  border-top: 1px solid #e5e7eb;
}

.comparison-cell.comparison-old {
  color: #6b7280;
  background: #fff;
}

.comparison-cell.comparison-new {
  color: #1a1a2e;
  background: #f0fdfa;
  font-weight: 500;
}

/* ===== Waitlist ===== */
.waitlist {
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 20px;
}

.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-form input[type="email"]:focus {
  border-color: #0d9488;
}

.waitlist-form .btn {
  flex-shrink: 0;
}

.waitlist-alt {
  font-size: 0.95rem;
}

.waitlist-alt a {
  font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid #e5e7eb;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 1.1rem;
}

.footer-copy {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ===== Desktop (768px+) ===== */
@media (min-width: 768px) {
  section {
    padding: 96px 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 48px;
  }

  .hero {
    padding: 120px 0 96px;
  }

  .subhead {
    font-size: 1.25rem;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .comparison-cell,
  .comparison-header {
    padding: 16px 28px;
  }
}
