/* ===================================================
   True Projects — Global Stylesheet
   Colors: True White #f5f5f4, True Blue #0d00a4, True Plum #7f055f
   Fonts: Red Hat Display (headlines), Red Hat Text (body), Red Hat Mono (data)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&family=Red+Hat+Mono:wght@600&family=Red+Hat+Text:wght@400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #f5f5f4;
  --white-dark:  #e2e2df;
  --white-pure:  #ffffff;
  --blue:        #0d00a4;
  --blue-dark:   #0a007a;
  --blue-light:  #1100cc;
  --plum:        #7f055f;
  --plum-dark:   #620449;
  --plum-light:  #b00783;
  --black:       #000000;
  --black-soft:  #1f1f1f;
  --black-muted: #333333;
  --font-display: 'Red Hat Display', sans-serif;
  --font-body:    'Red Hat Text', sans-serif;
  --font-mono:    'Red Hat Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--black-soft);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 0, 122, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo svg,
.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover { opacity: 0.7; }

.nav-links .btn-nav {
  background: var(--plum);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.nav-links .btn-nav:hover { background: var(--plum-light); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 0, 122, 0.85) 0%,
    rgba(127, 5, 95, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 80px;
}

.hero-page {
  min-height: 50vh;
}

.hero-page .hero-content {
  padding: 140px 24px 60px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--plum-light);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(245, 245, 244, 0.85);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.btn-primary:hover {
  background: var(--plum-light);
  border-color: var(--plum-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 245, 244, 0.4);
}

.btn-outline:hover {
  background: rgba(245, 245, 244, 0.1);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.section-dark {
  background: var(--blue-dark);
  color: var(--white);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-plum {
  background: var(--plum);
  color: var(--white);
}

.section-light {
  background: var(--white);
  color: var(--black-soft);
}

.section-offwhite {
  background: var(--white-dark);
  color: var(--black-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-header p,
.section-blue .section-header p,
.section-plum .section-header p {
  color: rgba(245, 245, 244, 0.8);
}

.overline {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--plum-light);
  display: block;
  margin-bottom: 12px;
}

.section-dark .overline,
.section-blue .overline {
  color: var(--plum-light);
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white-pure);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 0, 122, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--plum));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--black-muted);
  line-height: 1.7;
}

/* Dark section cards */
.section-dark .card,
.section-blue .card {
  background: rgba(245, 245, 244, 0.06);
  border: 1px solid rgba(245, 245, 244, 0.1);
}

.section-dark .card h3,
.section-blue .card h3 {
  color: var(--white);
}

.section-dark .card p,
.section-blue .card p {
  color: rgba(245, 245, 244, 0.7);
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 3rem;
  color: var(--plum-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* --- Steps / Process --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 48px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 0;
  text-align: center;
}

.step-number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 3.5rem;
  color: var(--plum);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.section-dark .step-number {
  color: var(--plum-light);
  opacity: 0.4;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* --- Two-Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.two-col-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.85;
}

.two-col-image {
  border-radius: 12px;
  overflow: hidden;
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.85;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: rgba(245, 245, 244, 0.6);
  padding: 60px 0 40px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-brand .footer-logo {
  height: 28px;
  width: auto;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 244, 0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a { margin-left: 24px; }
.footer-bottom a:hover { color: var(--white); }

/* --- Careers-specific --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  padding: 36px 28px;
  border-radius: 12px;
  background: rgba(245, 245, 244, 0.06);
  border: 1px solid rgba(245, 245, 244, 0.1);
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: rgba(245, 245, 244, 0.7);
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--blue-dark);
    padding: 24px;
    gap: 16px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-content { padding: 100px 24px 60px; }
  .section { padding: 64px 0; }
}
