:root {
  --bg: #0a1628;
  --bg-alt: #0f1f3a;
  --bg-card: #142442;
  --fg: #e8ecf4;
  --fg-muted: #8a9bb8;
  --accent: #e8a838;
  --accent-glow: rgba(232, 168, 56, 0.15);
  --border: rgba(138, 155, 184, 0.12);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--bg) 0%, #0d1a30 40%, #111d35 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232, 168, 56, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── PROBLEM ─── */
.problem {
  padding: 120px 48px;
  background: var(--bg-alt);
}

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

.problem-left h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  position: sticky;
  top: 48px;
}

.problem-right p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.problem-right p:last-child { margin-bottom: 0; }

/* ─── SERVICES ─── */
.services {
  padding: 120px 48px;
  background: var(--bg);
}

.services-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.services-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.services-intro {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(232, 168, 56, 0.25);
}

.service-icon {
  color: var(--accent);
  font-size: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── TERRITORY ─── */
.territory {
  padding: 120px 48px;
  background: var(--bg-alt);
}

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

.territory-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.territory-content > p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.territory-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.territory-marker {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}

.territory-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.territory-item span {
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.territory-verticals h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.vertical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vtag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.vtag:hover {
  border-color: rgba(232, 168, 56, 0.3);
  color: var(--fg);
}

/* ─── CLOSING ─── */
.closing {
  padding: 140px 48px;
  background: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.88rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-align: right;
}

.footer-legal {
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
  line-height: 1.5;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 24px 40px;
  }

  .hero h1 { font-size: 2.4rem; }

  .hero-stat-row {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .hero-stat-divider { display: none; }

  .hero-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .problem { padding: 80px 24px; }

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

  .problem-left h2 { position: static; }

  .services { padding: 80px 24px; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .territory { padding: 80px 24px; }

  .territory-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .closing { padding: 80px 24px; }

  .site-footer { padding: 40px 24px; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-contact { text-align: left; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { gap: 12px; }
  .service-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════
   EMPLOYER PORTAL
   ═══════════════════════════════════════════ */

/* ─── NAV ─── */
.ep-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.ep-nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}

.ep-nav-back {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.ep-nav-back:hover { color: var(--fg); }

/* ─── EP HERO ─── */
.ep-hero {
  padding: 140px 48px 100px;
  background: linear-gradient(170deg, var(--bg) 0%, #0d1a30 40%, #111d35 100%);
  position: relative;
  overflow: hidden;
}

.ep-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.ep-hero-inner {
  max-width: 800px;
  position: relative;
}

.ep-hero-proof {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ep-proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--fg-muted);
}

.ep-proof-icon {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── SHARED EP SECTION LABELS ─── */
.ep-section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ─── BENEFITS SECTION ─── */
.ep-benefits {
  padding: 120px 48px;
  background: var(--bg-alt);
}

.ep-benefits-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ep-benefits-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ep-section-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 560px;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ep-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.ep-card:hover {
  border-color: rgba(232, 168, 56, 0.3);
  transform: translateY(-2px);
}

.ep-card-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.ep-card-icon svg {
  width: 100%;
  height: 100%;
}

.ep-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.ep-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
.ep-how {
  padding: 120px 48px;
  background: var(--bg);
}

.ep-how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ep-how-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 56px;
}

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

.ep-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ep-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}

.ep-step-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ep-step-body p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ep-step-connector {
  width: 64px;
  height: 1px;
  background: var(--border);
  margin-top: 22px;
  flex-shrink: 0;
}

/* ─── FORM SECTION ─── */
.ep-form-section {
  padding: 120px 48px;
  background: var(--bg-alt);
}

.ep-form-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.ep-form-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.ep-form-intro > p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.ep-form-contact-alt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-form-contact-alt p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.ep-contact-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.ep-contact-link:hover { opacity: 0.8; }

/* ─── FORM ─── */
.ep-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.ep-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ep-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

.ep-required { color: var(--accent); }
.ep-optional { color: var(--fg-muted); font-weight: 400; }

.ep-field input,
.ep-field select,
.ep-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.ep-field input:focus,
.ep-field select:focus,
.ep-field textarea:focus {
  border-color: rgba(232, 168, 56, 0.5);
}

.ep-field input::placeholder,
.ep-field textarea::placeholder {
  color: rgba(138, 155, 184, 0.45);
}

.ep-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.ep-field select option {
  background: var(--bg-card);
  color: var(--fg);
}

.ep-field textarea { resize: vertical; min-height: 100px; }

.ep-form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ep-submit {
  background: var(--accent);
  color: #0a1628;
  border: none;
  border-radius: 8px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
}

.ep-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.ep-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ep-form-disclaimer {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.6;
  line-height: 1.5;
}

.ep-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
}

.ep-success-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 168, 56, 0.12);
  border: 1px solid rgba(232, 168, 56, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.ep-form-success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

.ep-form-success p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ep-form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── CLOSING CTA (landing page) ─── */
.closing-cta {
  margin-top: 40px;
}

.closing-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a1628;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
}

.closing-cta-link:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── EMPLOYER PORTAL MOBILE ─── */
@media (max-width: 900px) {
  .ep-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-form-wrap { grid-template-columns: 1fr; gap: 48px; }
  .ep-form { position: static; }
}

@media (max-width: 768px) {
  .ep-nav { padding: 16px 24px; }
  .ep-hero { padding: 110px 24px 60px; }
  .ep-benefits { padding: 80px 24px; }
  .ep-how { padding: 80px 24px; }
  .ep-form-section { padding: 80px 24px; }
  .ep-form { padding: 28px 20px; }
  .ep-form-row { grid-template-columns: 1fr; gap: 20px; }

  .ep-steps {
    flex-direction: column;
    gap: 40px;
  }

  .ep-step-connector {
    width: 1px;
    height: 0;
    display: none;
  }
}

@media (max-width: 600px) {
  .ep-grid { grid-template-columns: 1fr; }
}