/* Color tokens & base theme [web:13][web:25][web:28] */
:root {
  --woc-bg: #050816;
  --woc-bg-alt: #0b1021;
  --woc-surface: #111827;
  --woc-border-subtle: rgba(255, 255, 255, 0.06);
  --woc-primary: #38bdf8;
  --woc-primary-soft: rgba(56, 189, 248, 0.08);
  --woc-secondary: #a855f7;
  --woc-text-main: #e5e7eb;
  --woc-text-muted: #9ca3af;
  --woc-tag-bg: rgba(148, 163, 184, 0.18);
  --woc-danger: #f97373;
  --woc-radius-lg: 12px;
  --woc-radius-md: 10px;
  --woc-radius-sm: 8px;

  --woc-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --woc-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.9);

  --woc-spacing-1: 8px;
  --woc-spacing-2: 16px;
  --woc-spacing-3: 24px;
  --woc-spacing-4: 32px;
  --woc-spacing-5: 40px;
  --woc-spacing-6: 48px;

  --woc-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --woc-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global [web:13][web:36] */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
  color: var(--woc-text-main);
  line-height: 1.6;
}

/* Layout sections */
.woc-section {
  padding: 3.5rem 0;
}

.woc-section-alt {
  background: radial-gradient(circle at top center, #020617 0%, #020617 50%, #020617 100%);
}

/* Header & hero */
.woc-header {
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.woc-navbar {
  background: transparent;
  padding-top: var(--woc-spacing-2);
  padding-bottom: var(--woc-spacing-2);
}

.navbar-brand {
  letter-spacing: 0.04em;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--woc-text-muted);
  transition: color var(--woc-transition-fast);
}

.nav-link.active,
.nav-link:hover {
  color: var(--woc-primary);
}

.woc-hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top right, #1d4ed8 0%, #020617 55%, #000000 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle grid / glow over hero */
.woc-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 0, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 80% 0, rgba(59, 130, 246, 0.18), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.woc-hero-title {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.woc-hero-subtitle {
  color: #e5e7eb;
  max-width: 40rem;
}

/* Buttons */
.woc-btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  font-weight: 600;
}

.woc-btn-primary:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.woc-btn-secondary {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  font-weight: 600;
}

.woc-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.85);
}

/* Hero side card */
.woc-hero-card {
  background: radial-gradient(circle at top left, #020617 0%, #020617 45%, #020617 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.woc-hero-card-header {
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Shared metric styles (desktop + mobile) */
.woc-hero-card-metrics {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.6rem 1.75rem 1.4rem;
}

.woc-metric {
  padding: 0.9rem 1.0rem 1.1rem;   /* vertical + horizontal space inside each section */
}

.woc-metric-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #facc15;
  margin-bottom: 0.4rem;
}

.woc-metric-label {
  font-size: 1rem;
  line-height: 1.5;
  color: #e5e7eb;
}

/* Vertical dividers on ALL screen sizes */
.woc-hero-card-metrics > .col-12.col-md-4 + .col-12.col-md-4 {
  border-left: 1px solid rgba(148, 163, 184, 0.35);
}

/* Optional: center metrics on small screens so dividers look intentional */
@media (max-width: 767.98px) {
  .woc-hero-card-metrics {
    padding-inline: 1.5rem;
  }

  .woc-hero-card-metrics > .col-12.col-md-4 {
    display: flex;
    justify-content: center;
  }

  .woc-metric {
    text-align: center;
  }
}

.woc-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--woc-spacing-2);
}

.woc-hero-list li {
  position: relative;
  padding-left: 20px;
  color: var(--woc-text-muted);
  font-size: 0.95rem;
}

.woc-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--woc-primary);
  box-shadow: 0 0 0 3px var(--woc-primary-soft);
}

/* Section headings */
.woc-section-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--woc-spacing-2);
}

.woc-section-subtitle {
  font-size: 0.95rem;
  color: var(--woc-text-muted);
}

.woc-section-text {
  color: var(--woc-text-muted);
  max-width: 40rem;
}

/* Custom heading colors */
.h6 {
  color: #ca8a04;
}

.h5 {
  color: #22c55e;
}

/* Cards [web:19][web:24][web:26][web:29] */
.woc-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.5);
  color: #e5e7eb;
}

.woc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity var(--woc-transition);
  pointer-events: none;
}

.woc-card-elevated {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.85);
}

.woc-card-elevated:hover {
  transform: translateY(-4px);
  box-shadow: var(--woc-shadow-hover);
  border-color: rgba(148, 163, 184, 0.35);
}

.woc-card-elevated:hover::before {
  opacity: 1;
}

.woc-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: #d97706;
}

.woc-card .card-text {
  font-size: 0.94rem;
  color: var(--woc-text-muted);
}

/* Card footer */
.woc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--woc-spacing-2);
  background: radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-block: 12px;
  padding-inline: var(--woc-spacing-3);
}

.woc-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--woc-tag-bg);
  color: var(--woc-text-muted);
}

.woc-card-link {
  font-size: 0.85rem;
  color: var(--woc-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: opacity var(--woc-transition-fast), transform var(--woc-transition-fast);
}

.woc-card-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* Resource items & aside */
.woc-resource-list {
  display: grid;
  gap: var(--woc-spacing-2);
  margin-top: var(--woc-spacing-3);
}

.woc-resource-item {
  border-radius: var(--woc-radius-md);
  border: 1px solid var(--woc-border-subtle);
  background: rgba(15, 23, 42, 0.95);
  padding: var(--woc-spacing-2) var(--woc-spacing-3);
}

.woc-aside {
  border-radius: var(--woc-radius-md);
  border: 1px solid var(--woc-border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: var(--woc-spacing-3);
}

.woc-aside-list {
  padding-left: 1.1rem;
  color: var(--woc-text-muted);
  font-size: 0.95rem;
}

/* Next navigation */
.woc-next-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020617;
}

.woc-next-nav .btn {
  font-weight: 500;
}

/* Footer */
.woc-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #020617;
  padding-block: var(--woc-spacing-3);
  margin-top: var(--woc-spacing-4);
}

.woc-footer-link {
  font-size: 0.85rem;
  color: var(--woc-primary);
  text-decoration: none;
}

.woc-footer-link:hover {
  text-decoration: underline;
}

/* Responsiveness [web:36] */
@media (max-width: 767.98px) {
  .woc-section {
    padding: var(--woc-spacing-4) 0;
  }

  .woc-hero {
    padding-top: var(--woc-spacing-4);
  }

  .woc-hero-title {
    font-size: 1.8rem;
  }
}

/* Overall page background */
body {
  background: radial-gradient(circle at top left, #0b1736 0%, #020617 55%, #000000 100%);
  color: #e5e7eb;
}

/* Navbar background + subtle border */
.woc-navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Brand */
.woc-navbar .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Nav links */
.woc-navbar .nav-link {
  position: relative;
  padding-inline: 1.25rem;
  font-weight: 500;
  color: #cbd5f5;
}

.woc-navbar .nav-link:hover,
.woc-navbar .nav-link:focus {
  color: #ffffff;
}

/* Active link underline */
.woc-navbar .nav-link.active {
  color: #ffffff;
}

.woc-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -0.35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #f97316);
}

/* Vertical separators between items (desktop) */
@media (min-width: 768px) {
  .woc-navbar .navbar-nav .nav-item + .nav-item {
    border-left: 1px solid rgba(148, 163, 184, 0.35);
  }
}
