/* ──────────────────────────────────────────────────────
   Capable Colleagues — AI Staffing Website
   Palette: warm navy + teal accents. Recruitment agency
   feel, not tech startup. Trustworthy, professional.
   Typography: Playfair Display (headings) + Inter (body)
   ────────────────────────────────────────────────────── */

:root {
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --navy-pale: #3d5280;
  --teal: #2a9d8f;
  --teal-light: #3dbdad;
  --teal-pale: #e0f5f1;
  --warm-white: #faf9f7;
  --warm-cream: #f5f0eb;
  --text: #1a2744;
  --text-mid: #4a5568;
  --text-light: #8892a8;
  --white: #ffffff;
  --card-shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
  --card-hover: 0 8px 40px rgba(26, 39, 68, 0.14);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.6rem 1.5rem !important; border-radius: 6px;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.9rem 2.2rem; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.25s;
}
.btn-primary {
  background: var(--teal); color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-light); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.3);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3); color: var(--white); background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/hero-bg.png') center/cover no-repeat;
  opacity: 0.25; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.9) 0%, rgba(42, 58, 92, 0.7) 50%, rgba(42, 157, 143, 0.3) 100%);
  z-index: 1;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 8rem 2rem 6rem;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 20px;
  background: rgba(42, 157, 143, 0.2); color: var(--teal-light);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 1.5rem; text-transform: uppercase;
  animation: fadeUp 0.8s ease forwards; opacity: 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem); color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease 0.15s forwards; opacity: 0;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.75);
  max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s forwards; opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Problem ───────────────────────────────────────── */
.problem { background: var(--warm-cream); }
.problem .section-inner { max-width: 800px; }
.problem-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--navy);
  margin-bottom: 1.5rem; line-height: 1.3;
}
.problem-text em { color: var(--teal); font-style: normal; font-weight: 600; }
.problem-text p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 1.2rem; }
.problem-text strong { color: var(--navy); }

/* ── How it works ──────────────────────────────────── */
.how-it-works { background: var(--warm-white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.step {
  padding: 2rem; border-radius: 14px; border: 1px solid rgba(26, 39, 68, 0.06);
  background: var(--white); transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.step-number {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
  color: var(--teal); margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem; }
.step p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ── Roles ─────────────────────────────────────────── */
.roles { background: var(--navy); color: var(--white); }
.roles .section-title { color: var(--white); }
.roles .section-sub { color: rgba(255,255,255,0.6); }
.roles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.role-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 2rem; transition: all 0.3s;
}
.role-card:hover {
  background: rgba(255,255,255,0.1); border-color: var(--teal);
  transform: translateY(-4px);
}
.role-icon { font-size: 2rem; margin-bottom: 1rem; }
.role-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.role-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.roles-custom {
  text-align: center; margin-top: 2.5rem; color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
}
.roles-custom a { color: var(--teal-light); text-decoration: none; }
.roles-custom a:hover { text-decoration: underline; }

/* ── Why us ────────────────────────────────────────── */
.why-us { background: var(--warm-white); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
  margin-top: 2rem;
}
.why-card {
  padding: 2rem; border-radius: 14px; background: var(--white);
  border: 1px solid rgba(26, 39, 68, 0.06); transition: all 0.3s;
  border-left: 4px solid var(--teal);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.why-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ── Credibility ───────────────────────────────────── */
.credibility { background: var(--warm-cream); }
.credibility-inner {
  max-width: 700px; margin: 0 auto; text-align: center;
}
.credibility h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 1.5rem;
}
.credibility p {
  font-size: 1.05rem; color: var(--text-mid); line-height: 1.8;
}
.credibility a { color: var(--teal); text-decoration: none; font-weight: 600; }
.credibility a:hover { text-decoration: underline; }

/* ── Contact ───────────────────────────────────────── */
.contact { background: var(--warm-white); }
.contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin-bottom: 1rem;
}
.contact p { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 1.5rem; }
.contact .btn { margin-bottom: 1.5rem; }
.contact-note { font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* ── Footer ────────────────────────────────────────── */
.footer { padding: 2rem; background: var(--navy); color: rgba(255,255,255,0.5); }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif; font-size: 1rem; color: rgba(255,255,255,0.8);
}
.footer-sub { margin-left: 0.75rem; }
.footer a { color: var(--teal-light); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .steps-grid, .roles-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 7rem 1.5rem 5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-cta { flex-direction: column; }
  .btn { text-align: center; }
}
