*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn-primary { color: #ffffff; background: var(--primary); padding: 9px 20px; font-size: 0.9rem; }
.nav-links .btn-primary:hover { background: var(--primary-dark); color: #ffffff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

/* --- HERO --- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f0f7ff 0%, var(--white) 60%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Dashboard mock */
.dashboard-mock {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mock-bar {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #22c55e; }
.mock-title { color: #94a3b8; font-size: 0.75rem; margin-left: 8px; }
.mock-body { padding: 16px; }
.mock-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mock-widget {
  background: var(--surface);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--border);
}
.mock-widget.accent { background: var(--primary); color: var(--white); border-color: var(--primary); }
.mock-widget.accent .mock-label { color: rgba(255,255,255,0.8); }
.mock-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.mock-value { font-size: 1.1rem; font-weight: 700; }
.mock-jobs { display: flex; flex-direction: column; gap: 8px; }
.mock-job-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
}
.mock-job-name { flex: 1; font-weight: 500; color: var(--text); }
.mock-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
}
.mock-chip.active { background: #dbeafe; color: #1d4ed8; }
.mock-chip.completed { background: #dcfce7; color: #15803d; }
.mock-chip.bid { background: #fef9c3; color: #854d0e; }
.mock-chip.paid { background: #dcfce7; color: #15803d; }
.mock-chip.unpaid { background: #fee2e2; color: #b91c1c; }

/* --- SECTION COMMON --- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }

/* --- FEATURES --- */
.features { padding: 96px 0; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* --- HOW IT WORKS --- */
.how-it-works { padding: 96px 0; background: var(--surface); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }
.step-arrow { font-size: 1.5rem; color: var(--border); align-self: center; padding-top: 0; }

/* --- PRICING --- */
.pricing { padding: 96px 0; background: var(--white); }
.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 320px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; opacity: 0.7; }
.pricing-price { font-size: 2.8rem; font-weight: 800; margin-bottom: 8px; }
.pricing-period { font-size: 1rem; font-weight: 500; opacity: 0.7; }
.pricing-desc { font-size: 0.9rem; opacity: 0.75; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 0.9rem; }
.pricing-card.featured .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.pricing-card.featured .btn-outline:hover { background: rgba(255,255,255,0.15); }
.pricing-card.featured .btn-primary { background: var(--white); color: var(--primary); }
.pricing-card.featured .btn-primary:hover { background: var(--primary-light); }
.trial-note { text-align: center; margin: 32px 0 48px; font-size: 1rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 12px 24px; border-radius: 8px; display: inline-block; width: 100%; }

/* --- CONTACT --- */
.contact {
  padding: 96px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 100%);
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--primary-light); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.cta-note { text-align: center; color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 8px; }

/* --- COMPARE TABLE --- */
.compare-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table thead tr {
  background: var(--primary);
  color: var(--white);
}
.compare-table th {
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.compare-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-table tbody tr:nth-child(even) { background: var(--surface); }
.compare-table tbody tr:hover { background: var(--primary-light); }
.compare-table td:nth-child(2) { color: #15803d; font-weight: 600; }
.compare-table td:nth-child(3) { color: #15803d; font-weight: 600; }
.compare-table tr.pro-only td:nth-child(2) { color: #cbd5e1; }

/* --- FOOTER --- */
.footer { background: #0f172a; padding: 40px 0; }
.footer-inner { text-align: center; }
.footer .logo { color: var(--white); margin-bottom: 8px; display: inline-block; }
.footer-tagline { color: #64748b; font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact { color: #64748b; font-size: 0.9rem; margin-bottom: 16px; }
.footer-contact a { color: #94a3b8; text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: #475569; font-size: 0.8rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-visual { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav { position: relative; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.7rem; }
  .contact-form { padding: 24px; }
}
