/* CrewBonusApp Marketing Site */

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

:root {
  --primary: #2d7d46;
  --primary-dark: #1e5c32;
  --primary-light: #d4edda;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --border: #e0e0e0;
  --accent: #4a90d9;
  --max-width: 1100px;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Header / Nav ────────────────────────────── */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.site-logo:hover { text-decoration: none; }

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

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

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.btn:hover { text-decoration: none; }

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: #f0f0f0; }

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1rem; }
}

/* ── Hero ─────────────────────────────────────── */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

@media (max-width: 768px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
}

/* ── Sections ─────────────────────────────────── */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark .text-muted { color: #aaa; }

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section .subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section h2 { font-size: 1.5rem; }
}

/* ── Cards Grid ───────────────────────────────── */

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

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

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

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ── Steps ────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ── Pricing ──────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(45,125,70,0.15);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.pricing-card .workers {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .btn {
  margin-top: 1.25rem;
  width: 100%;
}

/* ── Who It's For ─────────────────────────────── */

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.audience-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── CTA Banner ───────────────────────────────── */

.cta-banner {
  padding: 4rem 0;
  text-align: center;
  background: var(--primary);
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cta-banner .btn-white { margin: 0 0.5rem; }

/* ── Footer ───────────────────────────────────── */

.site-footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 3rem 0;
  font-size: 0.85rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-grid a {
  color: #ccc;
  text-decoration: none;
}

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

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

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  color: #666;
}

/* ── How It Works page ────────────────────────── */

.role-section {
  margin-bottom: 2.5rem;
}

.role-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.role-section ul {
  list-style: none;
  padding: 0;
}

.role-section li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.role-section li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── Contact ──────────────────────────────────── */

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Legal pages ──────────────────────────────── */

.legal-content {
  max-width: 700px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  text-align: left;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ── FAQ ──────────────────────────────────────── */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ── Social proof placeholder ─────────────────── */

.testimonial-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-style: italic;
}
