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

:root {
  --bg: #faf8f4;
  --bg-alt: #f2ede5;
  --fg: #1a2e1a;
  --fg-muted: #5a6b55;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --green: #1a4d2e;
  --green-light: #2a6b3e;
  --green-pale: #e8f0eb;
  --red: #c0392b;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .headline {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 46, 26, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--green);
  letter-spacing: -0.02em;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #faf8f4 0%, #e8f0eb 40%, #f5a62315 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f5a62320 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1a4d2e15 0%, transparent 70%);
  bottom: 50px;
  left: 100px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f5a62310 0%, transparent 70%);
  top: 40%;
  left: 30%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 46, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 46, 26, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-line {
  display: block;
}

.hero-accent {
  color: var(--accent);
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(245, 166, 35, 0.25);
  border-radius: 2px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 460px;
}

/* ===== PHONE MOCKUP ===== */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.phone-frame {
  width: 280px;
  background: #111;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(26, 46, 26, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #111;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #faf8f4;
  border-radius: 28px;
  overflow: hidden;
  padding: 40px 16px 16px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
}

.app-wallet {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
}

.app-gig-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(26, 46, 26, 0.06);
  border: 2px solid transparent;
}

.app-gig-card.active {
  border-color: var(--accent);
  background: #fffbf2;
}

.gig-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.gig-icon.clean { background: linear-gradient(135deg, #1a4d2e, #2a6b3e); }
.gig-icon.event { background: linear-gradient(135deg, #f5a623, #d4891a); }
.gig-icon.municipal { background: linear-gradient(135deg, #6b7280, #9ca3af); }

.gig-info { flex: 1; }

.gig-title {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--fg);
  margin-bottom: 2px;
}

.gig-pay {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
}

.gig-dist {
  font-size: 0.65rem;
  color: var(--fg-muted);
}

.gig-badge {
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.app-footer {
  display: flex;
  justify-content: space-around;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 46, 26, 0.08);
  margin-top: 4px;
}

.app-nav-item {
  color: var(--fg-muted);
}

.app-nav-item.active {
  color: var(--green);
}

/* ===== HERO STATS ===== */
.hero-stats {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(26, 46, 26, 0.1);
  padding-top: 40px;
}

.stat {
  flex: 1;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(26, 46, 26, 0.15);
  margin: 0 40px;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label.light { color: rgba(245, 166, 35, 0.7); }

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  background: var(--green);
  color: white;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  line-height: 1.2;
  padding-top: 40px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-x { flex-shrink: 0; margin-top: 2px; }

.problem-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 4px;
}

.problem-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  background: var(--bg);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--green);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  border: 1px solid rgba(26, 46, 26, 0.08);
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 46, 26, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  padding: 100px 24px;
  background: var(--bg-alt);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.how-header {
  margin-bottom: 64px;
}

.how-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--green);
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: left;
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(26, 46, 26, 0.08);
  position: relative;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  align-self: center;
  margin: 0 -1px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
}

.closing-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
  margin-bottom: 24px;
  line-height: 1.15;
}

.closing-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 24px 32px;
  background: #111;
  color: rgba(255,255,255,0.4);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  margin-bottom: 40px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-sub { margin: 0 auto; }

  .hero-right { order: -1; }

  .hero-phone { transform: scale(0.85); }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .stat-divider { display: none; }

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

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

  .how-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .step-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent), var(--green));
  }
}

@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .phone-frame { width: 240px; }
}
