/* =====================================================
   Zentryx TalentLabs – Professional Design
   Built to match Zentryx Global Standards
   ===================================================== */

:root {
  /* Colors */
  --primary: #1e40af;
  --primary-dark: #0f1f47;
  --accent: #06b6d4;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  
  /* Spacing */
  --spacing: 1rem;
  
  /* Fonts */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-gray); font-size: 1.0625rem; }

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section.dark { background: var(--primary-dark); color: white; }
.section.light { background: var(--bg-light); }

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img { height: 40px; width: auto; }

nav { display: flex; gap: 2.5rem; align-items: center; }
nav a { color: var(--text-gray); font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--primary); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(30, 64, 175, 0.05);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a3a52 0%, #0f1f47 50%, #1e40af 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 { color: white; font-size: 3.5rem; line-height: 1.1; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.25rem; }

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-card h4 { font-size: 0.875rem; text-transform: uppercase; opacity: 0.8; margin-bottom: 0.5rem; }
.hero-card p { font-size: 1rem; margin: 0; }

/* Grid Sections */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Cards */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
  transform: translateY(-4px);
}

.card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.25rem; }
.card p { margin: 0; font-size: 1rem; }

/* Section Header */
.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-number {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-number.dark { color: var(--accent); }

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.8); }
.footer-col a:hover { color: var(--accent); }

.footer-logo { height: 40px; margin-bottom: 1rem; }

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content { flex-direction: column; gap: 1rem; }
  nav { flex-direction: column; gap: 1rem; width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
}
