/* ─────────────────────────────────────────
   AssetAlign v2.0 — Design Tokens
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy:       #0d1f33;
  --navy2:      #162b45;
  --navy3:      #1a3a5c;
  --gold:       #f5a623;
  --gold2:      #e8c56a;
  --gold3:      #c9843a;
  --gold-bg:    #fffbeb;
  --cream:      #faf8f4;
  --bg:         #f4f6f9;
  --white:      #ffffff;
  --border:     #e2e6ea;
  --text:       #1a2d42;
  --muted:      #6b7c93;
  --green:      #16a34a;
  --red:        #dc2626;
  --blue:       #2563eb;
  --orange:     #d97706;
  --light:      #f2f4f7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, .display-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold3);
  margin-bottom: 16px;
}

.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
}

/* ─── BUTTONS ─── */
.btn-v2-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-v2-primary:hover { background: var(--navy2); color: var(--white); }

.btn-v2-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-v2-gold:hover { background: var(--gold2); color: var(--navy); }

.btn-v2-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-v2-outline:hover { background: var(--navy); color: var(--white); }

.btn-v2-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-v2-gold:hover { background: var(--gold2); color: var(--navy); }

/* ─── CARD ─── */
.v2-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ─── BLAZOR UTILITIES ─── */
.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after { content: "An error has occurred."; }

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* ─── VALIDATION ─── */
.valid.modified:not([type=checkbox]) { outline: 1px solid var(--green); }
.invalid { outline: 1px solid var(--red); }
.validation-message { color: var(--red); }

/* ═══════════════════════════════════════════════
   LANDING PAGE — all lp-* styles (moved from
   LandingPage.razor.css to use standard @media)
═══════════════════════════════════════════════ */

/* ─── HERO ─── */
.lp-hero {
    background: var(--navy);
    padding: 140px 60px 100px;
}
.lp-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
    align-items: center;
}
.lp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.lp-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
}
.lp-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.lp-hero h1 em { color: var(--gold); font-style: normal; }
.lp-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.62);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
}
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-hero-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
}
.lp-panel-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.lp-stat-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-stat-row:last-child { border-bottom: none; }
.lp-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    min-width: 90px;
}
.lp-stat-desc { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.6; }

/* ─── TRUST BAR ─── */
.lp-trust-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-trust-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.lp-trust-div { width: 1px; height: 20px; background: var(--border); }
.lp-trust-items { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.lp-trust-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ─── SECTIONS ─── */
.lp-section { padding: 80px 60px; }
.lp-problem { background: var(--white); }
.lp-services { background: var(--cream); }
.lp-how { background: var(--white); }
.lp-employers { background: var(--light); }
.lp-audience { background: var(--white); }
.lp-contact { background: var(--cream); }

/* ─── PROBLEM ─── */
.lp-problem-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 56px;
}
.lp-problem-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.lp-stat-box { background: var(--white); padding: 28px 24px; }
.lp-stat-big {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.lp-stat-caption { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── SERVICES ─── */
.lp-services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}
.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lp-service-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.lp-service-tile:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.lp-service-icon {
    width: 44px; height: 44px;
    background: var(--gold-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.lp-service-tile h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
}
.lp-service-tile p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}
.lp-tile-link { font-size: 13px; font-weight: 600; color: var(--gold3); margin-top: auto; }

/* ─── HOW IT WORKS ─── */
.lp-how-header { text-align: center; margin-bottom: 48px; }
.lp-how-header .section-sub { margin: 0 auto; }
.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.lp-step-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
}
.lp-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}
.lp-step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
}
.lp-step-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ─── EMPLOYERS ─── */
.lp-employer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.lp-bullets { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.lp-bullet { display: flex; gap: 12px; align-items: flex-start; }
.lp-bullet-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 6px;
}
.lp-bullet p { font-size: 15px; color: var(--text); line-height: 1.6; margin: 0; }
.lp-employer-card {
    background: var(--navy);
    border-radius: 16px;
    padding: 36px;
    color: var(--white);
}
.lp-employer-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.lp-employer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}
.lp-employer-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.lp-employer-cta {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
}
.lp-employer-cta:hover { color: var(--gold2); }

/* ─── AUDIENCE ─── */
.lp-audience-header { text-align: center; margin-bottom: 48px; }
.lp-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.lp-audience-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    background: var(--white);
}
.lp-audience-card.dark {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.lp-audience-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold3);
    background: var(--gold-bg);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.lp-audience-card.dark .lp-audience-tag { background: rgba(245,166,35,0.12); color: var(--gold); }
.lp-audience-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
}
.lp-audience-card.dark h3 { color: var(--white); }
.lp-audience-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.lp-audience-card.dark p { color: rgba(255,255,255,0.55); }
.lp-audience-list { list-style: none; padding: 0; margin: 0 0 28px; }
.lp-audience-list li {
    font-size: 14px;
    color: var(--text);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.lp-audience-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold3);
    font-weight: 700;
    font-size: 12px;
}
.lp-audience-card.dark .lp-audience-list li { color: rgba(255,255,255,0.7); }
.lp-audience-card.dark .lp-audience-list li::before { color: var(--gold); }

/* ─── CONTACT ─── */
.lp-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: start;
}
.lp-contact-details { margin-top: 8px; }
.lp-contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.lp-contact-detail i { font-size: 20px; color: var(--gold3); }
.lp-contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}
.lp-contact-form-wrap h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
    font-family: 'DM Sans', sans-serif;
}
.lp-contact-form { display: flex; flex-direction: column; gap: 16px; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

/* ─── DISCLOSURE ─── */
.lp-disclosure { background: var(--navy); padding: 32px 60px; }
.lp-disclosure p {
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    line-height: 1.75;
    max-width: 900px;
    margin: 0 auto;
}

/* ─── LANDING PAGE RESPONSIVE ─── */
@media (max-width: 1024px) {
    .lp-hero, .lp-section, .lp-trust-bar, .lp-disclosure { padding-left: 40px; padding-right: 40px; }
    .lp-problem-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .lp-hero { padding: 110px 24px 72px; }
    .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-section { padding: 56px 24px; }
    .lp-trust-bar { padding: 16px 24px; }
    .lp-problem-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
    .lp-problem-stats { grid-template-columns: 1fr 1fr; }
    .lp-services-header { grid-template-columns: 1fr; gap: 24px; }
    .lp-services-grid { grid-template-columns: 1fr 1fr; }
    .lp-steps-grid { grid-template-columns: 1fr; }
    .lp-employer-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-audience-grid { grid-template-columns: 1fr; }
    .lp-contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-form-row { grid-template-columns: 1fr; }
    .lp-disclosure { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 480px) {
    .lp-services-grid { grid-template-columns: 1fr; }
    .lp-problem-stats { grid-template-columns: 1fr; }
    .lp-trust-items { flex-direction: column; align-items: flex-start; gap: 10px; }
    .lp-trust-item { white-space: normal; }
    .lp-employer-card { padding: 24px; }
    .lp-audience-card, .lp-audience-card.dark { padding: 24px; }
    .lp-contact-form-wrap { padding: 24px; }
    .lp-hero-panel { padding: 20px; }
    .lp-stat-box { padding: 20px 16px; }
}
