/* JobEscape – shared styles for landing + quiz (light theme, jobescape.me–aligned) */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-warm: #fefce8;
  --card: #ffffff;
  --card-bg: #f8fafc;
  --muted: #64748b;
  --text: #1e293b;
  --text-strong: #0f172a;
  --brand: #10b981;
  --brand-hover: #059669;
  --brand-light: rgba(16, 185, 129, 0.08);
  --accent: #3b82f6;
  --accent-light: rgba(59, 130, 246, 0.08);
  --border: #e2e8f0;
  --link: #3b82f6;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 12%, var(--bg) 88%, var(--bg-alt) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-strong);
}

.site-logo:hover {
  color: var(--text-strong);
}

.site-logo img {
  max-height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--link);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: filter 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  color: #fff;
  text-decoration: none;
}

/* Header nav: primary button keeps white text */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-alt);
  text-decoration: none;
  color: var(--text);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-strong);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .site-header .container {
    flex-wrap: wrap;
  }
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(180deg, var(--brand-light) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text-strong);
  font-weight: 700;
}

.hero h1 .hero-h1-line {
  display: block;
}

.hero .sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 28px;
}

.hero-choices {
  margin: 24px 0 28px;
}

.hero-choices-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-choices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-choices-list li a,
.hero-choices-list li span {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-choices-list li a:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  text-decoration: none;
  color: var(--text);
}

.hero .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-image {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 32px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.trust-item strong {
  color: var(--text-strong);
}

/* Sections */
section {
  padding: 56px 0;
}

section.alt-bg {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #f1f5f9 100%);
}

section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 16px;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
}

section .subtitle {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 60ch;
}

/* What you get / bullets */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
  flex-shrink: 0;
}

/* Course cards */
.course-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border-left: 4px solid var(--brand);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--brand-hover);
}

.course-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.course-card .content {
  padding: 20px;
}

.course-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.course-card .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.course-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* How it works – steps (01, 02, 03) */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.step-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text);
}

.step-card .btn {
  margin-top: 4px;
}

/* What you'll build – agent cards */
.agent-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .agent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.agent-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.agent-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.agent-card .content {
  padding: 20px;
}

.agent-card h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
}

.agent-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text);
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.stat-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.stat-item .value {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1.2;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

/* Benefits (Online & Part-Time, No Coding, Career Guarantee) */
.benefits-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.benefit-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.benefit-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.benefit-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
  border-top: 3px solid var(--brand);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
}

.testimonial-card .quote {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-strong);
}

.testimonial-card .date {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ accordion */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item button:hover {
  color: var(--brand);
}

.faq-item .answer {
  padding: 0 0 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.is-open .answer {
  display: block;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--accent-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-cta h2 {
  margin-top: 0;
}

.contact-cta a[href^="mailto"] {
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #f1f5f9 100%);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--link);
}

.footer-contact {
  font-size: 0.9rem;
  color: var(--text);
}

.footer-contact a {
  color: var(--link);
}
