/* ===== BASE ===== */
:root {
  --bg: #0d0d1a;
  --surface: #16162a;
  --surface2: #1e1e38;
  --accent: #FF5A1F;
  --accent-light: #ff7a47;
  --text: #f0f0f8;
  --text-muted: #8888aa;
  --text-dim: #55557a;
  --border: #2a2a4a;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; font-weight: 700; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: rgba(255,90,31,0.1); }
.btn-ghost { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== FORM ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,31,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888aa' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 4px; }

/* ===== CARD ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.card-header { margin-bottom: 24px; }
.card-title { font-size: 1.25rem; font-weight: 700; }
.card-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-new { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.badge-contacted { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.badge-qualified { background: rgba(255,90,31,0.15); color: var(--accent); border: 1px solid rgba(255,90,31,0.3); }
.badge-booked { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.badge-won { background: rgba(34,197,94,0.25); color: #4ade80; border: 2px solid rgba(34,197,94,0.5); }
.badge-lost { background: rgba(100,100,120,0.15); color: var(--text-dim); border: 1px solid var(--border); }

/* ===== SECTION HEADER ===== */
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
  background: rgba(255,90,31,0.12); border: 1px solid rgba(255,90,31,0.3);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.section-title { font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; }

/* ===== HERO ===== */
.hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,90,31,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-title span { color: var(--accent); }
.hero-body { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-dim); }

/* ===== INTAKE SECTION ===== */
.intake-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intake-info { position: sticky; top: 100px; }
.intake-form-wrap { background: var(--surface2); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.intake-form { display: flex; flex-direction: column; gap: 24px; }
.intake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intake-success { display: none; text-align: center; padding: 40px; }
.intake-success.show { display: block; }
.intake-success-icon { font-size: 3rem; margin-bottom: 16px; }
.intake-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.intake-success p { color: var(--text-muted); }
.form-error-msg { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--error); padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; display: none; }
.form-error-msg.show { display: block; }

/* ===== WHAT TO EXPECT ===== */
.expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.expect-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.expect-number { font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.expect-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.expect-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.testimonial-text { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; color: var(--text); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent); font-size: 0.9rem; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ===== CTA ===== */
.cta-section { text-align: center; }
.cta-section .section-title { max-width: 600px; margin: 0 auto 16px; }
.cta-section .section-subtitle { margin: 0 auto 40px; text-align: center; }

/* ===== PIPELINE / ADMIN ===== */
.pipeline-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.lead-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.lead-table { width: 100%; border-collapse: collapse; }
.lead-table th { text-align: left; padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.lead-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.lead-table tr:last-child td { border-bottom: none; }
.lead-table tr:hover td { background: rgba(255,255,255,0.02); }
.lead-name { font-weight: 600; }
.lead-email { color: var(--text-muted); font-size: 0.8rem; }
.lead-meta { color: var(--text-dim); font-size: 0.8rem; }
.lead-challenge { color: var(--text-muted); font-size: 0.85rem; max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipeline-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-form-group { display: flex; flex-direction: column; gap: 4px; }
.admin-select { padding: 6px 32px 6px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 0.85rem; cursor: pointer; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-dim); font-size: 0.85rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.5rem; }
  .intake-grid { grid-template-columns: 1fr; }
  .intake-info { position: static; }
  .expect-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pipeline-stats { grid-template-columns: repeat(3, 1fr); }
  .intake-row { grid-template-columns: 1fr; }
  .nav-inner { padding: 16px 20px; }
  .container { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
