/* ============================================
   Undercover — Mobile-first landing page
   ============================================ */

:root {
  --bg: #fafaf9;
  --fg: #1c1917;
  --muted: #78716c;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --border: #e7e5e4;
  --card-bg: #ffffff;
  --red: #ef4444;
  --yellow: #eab308;
  --green: #22c55e;
  --radius: 12px;
  --max-w: 640px;
}

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

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

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 48px 0;
}

/* ============================================
   Header
   ============================================ */

header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
  text-decoration: none;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 24px;
}

header nav a:hover {
  color: var(--fg);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 40px;
  }
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ============================================
   CTA Button
   ============================================ */

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

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

.cta-secondary {
  background: var(--fg);
}

.cta-secondary:hover {
  background: #292524;
}

.cta-phone {
  font-size: 24px;
  padding: 20px 40px;
  border-radius: 16px;
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================
   SMS Demo
   ============================================ */

.sms-demo {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  max-width: 360px;
  margin: 40px auto 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.sms-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 85%;
}

.sms-bubble.sent {
  background: #007aff;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.sms-bubble.received {
  background: #e5e5ea;
  color: #1c1c1e;
  border-bottom-left-radius: 4px;
}

.sms-bubble .photo-placeholder {
  background: #d1d5db;
  border-radius: 12px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 4px;
}

/* ============================================
   How It Works
   ============================================ */

.steps {
  display: grid;
  gap: 24px;
}

@media (min-width: 480px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 480px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.price-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.price-card .cta {
  width: 100%;
  display: block;
  font-size: 15px;
  padding: 12px;
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
}

/* ============================================
   Footer
   ============================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
}

/* ============================================
   Utility
   ============================================ */

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-32 {
  margin-top: 32px;
}

/* ============================================
   Welcome / Account Pages
   ============================================ */

.page-center {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-center h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-center p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}
