/* Job Finder OS by Aidcos — cinematic dark, mobile-first, no frameworks. */

:root {
  --bg: #0a0a12;
  --bg-soft: #0e0e18;
  --surface: #12121d;
  --surface-raised: #171724;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #f5f5f8;
  --muted: #a8a8bc;
  --muted-dim: #7c7c90;
  --gold-1: #fbbf24;
  --gold-2: #f59e0b;
  --cyan: #22d3ee;
  --success: #34d399;
  --error: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --maxw-narrow: 680px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow { max-width: var(--maxw-narrow); }

section { scroll-margin-top: 96px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: 0.2px; }
.brand-text small { font-size: 12px; color: var(--muted); }

.site-nav { display: none; }
.site-nav a { color: var(--muted); font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { color: var(--text); text-decoration: none; background: rgba(255,255,255,0.05); }

.header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #1a1206;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.45);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.1); }

.btn-call {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
}
.btn-call:hover { background: rgba(34, 211, 238, 0.18); }

.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 15px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  text-align: center;
  overflow: clip;
}
.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(245, 158, 11, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 35% at 75% 55%, rgba(34, 211, 238, 0.09), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}

.hero-title {
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #ffffff 30%, #c9c9d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 4.5vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 32px;
}

.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 420px; margin: 0 auto; }
.hero-actions .btn { width: 100%; }

.hero-proof {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--muted-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-proof::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  flex: none;
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }

.section-kicker {
  font-size: 15px;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.9rem, 7vw, 3rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 32px;
}

/* ---------- Cards ---------- */
.steps-grid, .cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.card {
  background: linear-gradient(180deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  min-width: 0;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold-1), var(--cyan));
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: clip;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 17px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-1);
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; color: var(--cyan); }
.faq-item p { padding: 0 20px 20px; margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Lead form ---------- */
.section-cta { padding-top: 32px; }

.form-shell {
  background: linear-gradient(180deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: clip;
}
.form-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--cyan));
}
.form-shell .section-title { margin-bottom: 8px; text-align: center; }
.form-shell .section-kicker { text-align: center; margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field input {
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 17px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.field input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2); }
.field input[aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 8px 0 0; color: var(--error); font-size: 14px; font-weight: 600; }

.form-banner {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.form-banner-success { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #a7f3d0; }
.form-banner-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: #fecaca; }
.form-banner a { color: #fff; font-weight: 800; text-decoration: underline; }

.form-fallback { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.form-fallback a { color: var(--cyan); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding-bottom: 80px; }
.final-cta .hero-sub { margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-brand strong { font-size: 18px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 40em; margin: 10px 0 0; }
.footer-contact p { margin: 0 0 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
.footer-copy { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--border-soft); color: var(--muted-dim); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Tablet & up ---------- */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .hero-actions .btn { width: auto; }
}

@media (min-width: 720px) {
  .site-nav { display: flex; gap: 4px; }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-shell { padding: 44px 48px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-contact { text-align: right; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { padding: 110px 0 90px; }
}


/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; text-align: center; }
.price-card.highlight { border-color: var(--accent); box-shadow: 0 0 24px rgba(56,189,248,.15); }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--accent); margin: .5rem 0; }
.price-per { color: var(--dim); margin-bottom: 1rem; }
.pricing-note { text-align: center; color: var(--dim); margin-top: 1.5rem; font-size: .9rem; }

/* Free Access Banner */
.free-banner { background: linear-gradient(135deg, #059669, #10b981); color: #fff; padding: .9rem 0; text-align: center; }
.free-banner p { margin: 0; font-size: 1rem; }
.free-banner strong { font-weight: 800; }
