/* BusyDad Landing Page */

:root {
  --green-dark: #1B5E20;
  --green-primary: #2E7D32;
  --green-light: #4CAF50;
  --green-pale: #E8F5E9;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-light: #fff;
  --bg-white: #fff;
  --bg-light: #f9fafb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-white);
}

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

/* --- NAV --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
  padding: 16px 0;
}

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

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-primary);
  text-decoration: none;
}

.nav-logo span {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-primary);
}

/* --- HERO --- */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--bg-white) 100%);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero h1 em {
  font-style: normal;
  color: var(--green-primary);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--green-primary);
  color: var(--text-light);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}

/* --- EMAIL FORM --- */
.email-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus {
  border-color: var(--green-primary);
}

.email-form button {
  padding: 14px 28px;
}

.form-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-msg.success {
  color: var(--green-primary);
}

.form-msg.error {
  color: #d32f2f;
}

/* --- PROBLEM --- */
.problem {
  padding: 80px 0;
  background: var(--bg-light);
}

.problem .container {
  max-width: 720px;
  text-align: center;
}

.problem h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.problem p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- FEATURES --- */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-light);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* --- FOOTER --- */
footer {
  padding: 48px 0;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .email-form {
    flex-direction: column;
    align-items: stretch;
  }

  .email-form input {
    min-width: unset;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
