/* ===== TOKENS — Workforce Intelligence Group Brand ===== */
:root {
  --navy:        #0f1b2d;
  --navy-mid:    #1a2d47;
  --navy-light:  #243d5c;
  --gold:        #f0a500;
  --gold-light:  #fdb83b;
  --gold-pale:   #fff8e7;
  --white:       #ffffff;
  --off-white:   #f4f7fb;
  --text:        #1a2d47;
  --text-light:  #4a5a6b;
  --text-muted:  #8a9ab0;
  --border:      #dde4ee;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 2px 8px rgba(26,45,71,.08);
  --shadow-md:   0 6px 24px rgba(26,45,71,.12);
  --shadow-lg:   0 16px 48px rgba(26,45,71,.16);
  --transition:  .22s cubic-bezier(.4,0,.2,1);
  --max-w:       1120px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(240,197,80,.2);
  border-radius: 20px;
  padding: .3rem .85rem;
  margin-bottom: 1rem;
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,27,45,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .01em;
  line-height: 1;
}

.nav-brand img { border-radius: 6px; }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy) !important;
  font-size: .88rem;
  font-weight: 700;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,165,0,.35);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--white); }

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(240,165,0,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(36,61,92,.8) 0%, transparent 60%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero h1 em { color: var(--gold); font-style: normal; }

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-white {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-white:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Features ===== */
.features { padding: 80px 0; background: var(--white); }
.features .section-label { display: block; text-align: center; }
.features h2 {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}
.features .section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240,165,0,.35);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(240,165,0,.12));
  border: 1px solid rgba(240,165,0,.2);
  color: var(--gold);
}

/* All icon color variants → gold palette */
.feature-icon.blue,
.feature-icon.green,
.feature-icon.orange,
.feature-icon.purple { background: linear-gradient(135deg, var(--gold-pale), rgba(240,165,0,.12)); border-color: rgba(240,165,0,.2); color: var(--gold); }

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.feature-card p  { font-size: .9rem; color: var(--text-light); line-height: 1.65; }

/* ===== How It Works ===== */
.how-it-works { padding: 80px 0; background: var(--off-white); }
.how-it-works h2 {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--navy);
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.steps > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.steps > div:hover { border-color: rgba(240,165,0,.4); box-shadow: var(--shadow-sm); }

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', Georgia, serif;
}

.steps h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.steps p  { font-size: .9rem; color: var(--text-light); line-height: 1.65; }

/* ===== Pricing ===== */
.pricing { padding: 80px 0; background: var(--white); }
.pricing h2 {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}
.pricing .section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(240,165,0,.4); }

.price-card.featured {
  background: var(--navy);
  border-color: rgba(240,165,0,.4);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured::before {
  content: 'Best Value';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 16px; border-radius: 100px;
}
.price-card.featured h3 { color: var(--gold); }
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .note { color: rgba(255,255,255,.55); }
.price-card.featured li { color: rgba(255,255,255,.8); }
.price-card.featured li::before { color: var(--gold); }

.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.price-amount { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin: 16px 0 4px; color: var(--navy); font-family: 'Playfair Display', Georgia, serif; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.price-card .note { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.price-card ul { text-align: left; margin-bottom: 24px; }
.price-card li {
  padding: 6px 0;
  font-size: .88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.btn-price {
  display: block;
  width: 100%;
  padding: .75rem 0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
}
.btn-price:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,.35);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--navy);
  background-image: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(240,165,0,.07), transparent);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  margin: 0 24px 80px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: 1.05rem; line-height: 1.75; }

/* ===== Footer ===== */
.site-footer {
  background: #080f1a;
  color: rgba(255,255,255,.45);
  padding: 60px 0 32px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.footer-brand .nav-brand { color: rgba(255,255,255,.9); }
.footer-brand p { margin-top: 12px; font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.45); }

.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); margin-left: 20px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Legal Pages ===== */
.legal-page { padding: 60px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.legal-page .effective { font-size: .95rem; color: var(--text-muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.35rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: var(--navy); }
.legal-page p, .legal-page li { font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { margin-left: 24px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--gold); }
.legal-page a:hover { color: var(--gold-light); }
.legal-page .info-item { margin-bottom: 20px; }
.legal-page .info-item strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }

/* ===== FAQ Page ===== */
.faq-page { padding: 60px 0 80px; background: var(--off-white); }
.faq-page .container { max-width: 800px; }
.faq-page h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: var(--navy);
}
.faq-page .faq-sub { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 1.05rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(240,165,0,.35); }
.faq-item[open] { border-color: rgba(240,165,0,.4); box-shadow: var(--shadow-sm); }

.faq-item summary {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: var(--navy);
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform var(--transition); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.75;
  font-size: .95rem;
}
.faq-item a { color: var(--gold); }
.faq-item a:hover { color: var(--gold-light); }

/* ===== Responsive ===== */

/* ── Tablet / iPad (768px – 1024px) ── */
@media (max-width: 1024px) {
  /* Pricing: 3 cards fit cleanly as 3-col on tablet */
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }

  /* Steps: prevent 3+1 orphan row */
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Features: 2 cols on smaller tablets */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer: 2-col on tablet */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── iPad landscape / small desktop restore ── */
@media (min-width: 1025px) {
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile (≤767px) — collapse nav, single-column adjustments ── */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open a { padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero { padding: 72px 0 64px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .steps > div { text-align: center; }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-banner { margin: 0 12px 60px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
