:root {
  --bg-color: #0f172a;
  --bg-alt: rgba(30, 41, 59, 0.4);
  --surface-color: rgba(15, 23, 42, 0.8);
  --surface-hover: rgba(15, 23, 42, 0.98);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Effects */
.bg-glow, .bg-glow-2 {
  position: fixed;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}
.bg-glow {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  top: -100px;
  left: -200px;
}
.bg-glow-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(15, 23, 42, 0) 70%);
  bottom: -200px;
  right: -300px;
}

/* Utilities */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.bg-alt { background-color: var(--bg-alt); }
.border-top { border-top: 1px solid var(--surface-border); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); color: #fff; line-height: 1.3; }
h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1.2rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 1.05rem; }
strong { color: var(--text-primary); font-weight: 600; }
a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-secondary); }

/* Components */
.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #000;
  padding: 0.875rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2rem;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); color: #000; }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateY(3px); }

.glass-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 2.5rem;
  transition: var(--transition);
}
.glass-card:hover { border-color: rgba(59, 130, 246, 0.3); }

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 4rem;
}
.hero h1 {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Grids & Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Role List (Intro) */
.role-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.role-list li { display: flex; gap: 1rem; align-items: flex-start; }
.role-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent-primary);
  flex-shrink: 0; font-family: var(--font-heading);
}
.role-content strong { display: block; margin-bottom: 0.2rem; font-size: 1.1rem; }
.role-content span { color: var(--text-secondary); font-size: 0.95rem; }

/* Callout Card */
.two-columns { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: center; }
.callout-card {
  background: linear-gradient(180deg, var(--surface-color), transparent);
  border: 1px solid var(--accent-primary);
  border-radius: 1rem; padding: 2rem;
  position: relative; overflow: hidden;
}
.callout-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--accent-gradient);
}
.callout-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.callout-header .icon { font-size: 1.5rem; }
.callout-header h4 { margin: 0; font-size: 1.25rem; color: #fff; }
.callout-card p { font-size: 0.95rem; margin-bottom: 0.8rem; }
.callout-card p:last-child { margin-bottom: 0; }

/* Features Grid */
.feature-card { position: relative; padding: 2rem; }
.feature-number {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.05); position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1;
}
.feature-card h3 { margin-top: 1rem; font-size: 1.25rem; }
.feature-card p { font-size: 0.95rem; }

/* Table Styles */
.table-wrapper { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 1.25rem; border-bottom: 1px solid var(--surface-border); }
th { background: rgba(0,0,0,0.2); color: var(--accent-secondary); font-size: 1rem; font-weight: 500; }
td { font-size: 0.95rem; vertical-align: top; color: var(--text-secondary); }
td:first-child { font-weight: 600; color: #fff; width: 20%; }
.highlight-cell { color: var(--text-primary); }
tr:hover td { background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: none; }

/* Check List */
.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: 0.8rem;
  color: var(--text-primary);
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent-primary);
  font-weight: bold;
}

/* Pathways Layout */
.pathways-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.pathways-image { text-align: center; border-color: rgba(139, 92, 246, 0.3); }

/* Synthesis Card */
.synthesis-card { text-align: center; max-width: 900px; margin: 0 auto; padding: 4rem 3rem; }
.synthesis-card h2 { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border); padding: 1rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.2rem; }
.logo strong { color: var(--accent-primary); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }
.btn-outline {
  border: 1px solid var(--surface-border); color: var(--text-primary);
  padding: 0.5rem 1.25rem; border-radius: 2rem; font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent-primary); color: #fff; }

.hamburger {
  display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001;
}
.hamburger span {
  width: 25px; height: 2px; background-color: var(--text-primary); transition: 0.3s;
}
.d-mobile-only { display: none; }

/* Main Footer */
.main-footer { padding: 5rem 0 2rem; background-color: rgba(15, 23, 42, 0.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; max-width: 400px; margin-top: 1rem; }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-primary); padding-left: 5px; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.pt-4 { padding-top: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
section { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
section.visible { opacity: 1; transform: translateY(0); }

/* Responsive Design */
@media (max-width: 992px) {
  .intro-grid, .two-columns, .pathways-layout, .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.75rem; }
  .callout-card { grid-row: 1; }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section-padding { padding: 4rem 0; }
  h1 { font-size: 2.25rem; }
  .glass-card { padding: 1.5rem; }
  .hero { min-height: 80vh; padding-top: 6rem; }
  .d-none-mobile { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Mobile Nav */
  .hamburger { display: flex; }
  .nav-links { 
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--surface-border);
    padding: 2rem; gap: 1.5rem; text-align: center;
    transform: translateY(-150%); opacity: 0; transition: 0.4s ease-in-out; z-index: -1; pointer-events: none;
  }
  .nav-links.active {
    transform: translateY(0); opacity: 1; z-index: 999; pointer-events: all;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .d-mobile-only { display: block; }
}
