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

:root {
  --teal: #2bbbad;
  --teal-hover: #24a89c;
  --teal-light: #e6f7f5;
  --text: #49516f;
  --text-muted: #6d7794;
  --surface: #ffffff;
  --surface-muted: #f4f7fa;
  --border: #d5dce8;
  --shadow-sm: 0 1px 2px rgba(73, 81, 111, 0.05);
  --shadow-md: 0 4px 12px rgba(73, 81, 111, 0.08);
  --shadow-lg: 0 8px 24px rgba(73, 81, 111, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--surface-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--teal-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  min-height: 48px;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 2px 8px rgba(43, 187, 173, 0.25);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: white;
}

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

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Phone mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: 280px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.mock-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mock-stat {
  background: var(--surface-muted);
  border-radius: 8px;
  padding: 0.625rem;
  text-align: center;
}

.mock-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
}

.mock-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 1rem;
}

.mock-sticker {
  aspect-ratio: 3/4;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.mock-sticker.filled {
  background: linear-gradient(135deg, var(--teal-light), #b2dfdb);
  border-color: var(--teal);
}

.mock-sticker.missing {
  background: var(--surface-muted);
  border-style: dashed;
}

.mock-sticker.duplicate {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-color: #f7941d;
}

.mock-match {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--teal-light);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.8125rem;
}

.mock-match-badge {
  font-weight: 700;
  color: var(--teal);
}

/* Sections */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color) 12%, white);
  color: var(--color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* How it works */
.how-it-works {
  padding: 5rem 0;
  background: var(--surface-muted);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 56rem;
  margin: 3rem auto 0;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.step-connector {
  width: 2rem;
  height: 2px;
  background: var(--border);
  margin-top: 2.75rem;
}

/* CTA */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a8a80 0%, var(--teal) 50%, #29b6f6 100%);
}

.cta-inner {
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta .btn-primary {
  background: white;
  color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.cta .btn-primary:hover {
  background: var(--surface-muted);
  color: var(--teal-hover);
}

/* Footer */
.footer {
  padding: 3rem 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand .logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .features,
  .how-it-works,
  .cta {
    padding: 3rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
