/* ============================================
   NODE40 Static Site - Combined Stylesheet
   ============================================ */

/* ----------------------------------------
   Reset & Custom Properties
   ---------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* NODE40 Brand Colors - Navy Variant */
  --color-accent-primary: #122448;
  --color-accent-light: #e8eaf2;
  --color-accent-lighter: #f4f5fa;
  --color-accent-dark: #060b18;
  --color-navy-primary: #132348;
  --color-navy-light: #f8f9fe;
  --color-navy-lighter: #fcfcff;
  --color-navy-dark: #060b18;
  --color-navy-900: #0a1628;
  --color-navy-800: #122448;
  --color-navy-700: #1a3368;
  --color-navy-600: #224188;

  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #dddddd;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #5c616d;
  --color-gray-700: #525257;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  /* Fonts */
  --font-mono: 'JetBrains Mono', 'Monaco', monospace;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Glass effects for light mode */
  --glass-bg-light: rgba(255, 255, 255, 0.7);
  --glass-border-light: rgba(18, 36, 72, 0.2);
  --glass-border-navy: rgba(19, 35, 72, 0.15);
}

body {
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------
   Animated Background - Light Mode
   ---------------------------------------- */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--color-navy-lighter) 0%,
    var(--color-white) 50%,
    var(--color-navy-lighter) 100%
  );
  overflow: hidden;
}

/* Particle Network */
.particle-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 25s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(18, 36, 72, 0.3);
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(120px, -80px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(-80px, -120px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(80px, 80px) scale(1.1);
    opacity: 0.5;
  }
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 25s infinite ease-in-out;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-navy-primary) 0%, transparent 70%);
  top: -350px;
  left: -200px;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
  top: 40%;
  right: -400px;
  animation-delay: 8s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-navy-primary) 0%, transparent 70%);
  bottom: -300px;
  left: 30%;
  animation-delay: 16s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(180px, -180px) scale(1.3);
  }
  66% {
    transform: translate(-120px, 120px) scale(0.9);
  }
}

/* Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(18, 36, 72, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 36, 72, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridSlide 40s linear infinite;
}

@keyframes gridSlide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Data Points */
.data-point {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-navy-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: dataFloat 20s infinite ease-in-out;
}

@keyframes dataFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(100px, -100px);
    opacity: 0.6;
  }
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.page-content {
  padding-top: 200px;
  padding-bottom: 60px;
}

.page-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 48px 0 16px;
}

.page-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 36px 0 12px;
}

.page-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-gray-700);
  margin-bottom: 20px;
}

.page-content ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 24px;
}

.page-content ul > li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.page-content ul > li::after {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: var(--color-accent-primary);
  transform: rotate(45deg);
}

.page-content ol {
  margin: 16px 0 24px 24px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--glass-border-light);
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.page-content th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy-primary);
  background: var(--color-gray-50);
  border: 1px solid var(--glass-border-light);
}

.page-content td {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--glass-border-light);
  color: var(--color-gray-700);
}

.page-content tr:nth-child(even) {
  background: var(--color-gray-50);
}

.page-content hr {
  border: none;
  border-top: 1px solid var(--glass-border-light);
  margin: 40px 0;
}

.page-content strong {
  color: var(--color-navy-primary);
}

.page-content a {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.meetings-iframe-container {
  min-height: 900px;
}

.meetings-iframe-container iframe {
  min-height: 900px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header container - matches homepage width */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   Header - Light Glassmorphism
   ---------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo svg {
  height: 32px;
  width: auto;
  transition: opacity 0.3s;
}

.logo:hover svg {
  opacity: 0.8;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

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

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--color-gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-body);
  text-transform: lowercase;
  transition: all 0.3s;
  position: relative;
  padding: 8px 0;
  display: block;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width 0.3s;
}

.nav-links > li > a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-navy-primary);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Dropdown arrow */
.has-dropdown > a::before {
  content: '\25BE';
  margin-left: 4px;
  font-size: 10px;
  transition: transform 0.3s;
}

.has-dropdown:hover > a::before {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 12px;
  padding: 16px 0;
  min-width: 240px;
  box-shadow: 0 12px 32px rgba(18, 36, 72, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  padding: 12px 24px;
  color: var(--color-gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--color-gray-50);
  color: var(--color-navy-primary);
  border-left-color: var(--color-accent-primary);
  padding-left: 28px;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-login {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
}

.btn-login:hover {
  border-color: var(--color-navy-primary);
  color: var(--color-navy-primary);
  transform: translateY(-1px);
}

.btn-login:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

.btn-contact {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-navy-primary));
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(18, 36, 72, 0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 36, 72, 0.35);
}

.btn-contact:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

/* ----------------------------------------
   Mobile Nav
   ---------------------------------------- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy-primary);
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 24px 40px;
    z-index: 999;
    gap: 0;
  }

  .nav-links.mobile-open > li {
    border-bottom: 1px solid var(--glass-border-light);
    padding: 16px 0;
  }

  .nav-links.mobile-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 0 16px;
    margin-top: 0;
    min-width: auto;
  }
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  padding: 180px 0 100px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-navy-primary);
  animation: fadeInUp 0.6s ease-out 0.2s both;
  font-family: var(--font-heading);
}

.hero-text h1 .highlight-green {
  color: #85c54d;
}

.hero-text .tech-highlight {
  font-family: var(--font-mono);
  font-size: 0.35em;
  display: block;
  margin-top: 16px;
  color: var(--color-accent-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-text p {
  font-size: 20px;
  color: var(--color-gray-600);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.primary-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-navy-primary));
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 36, 72, 0.25);
  text-decoration: none;
}

.primary-btn::after {
  content: ' \2192';
  margin-left: 8px;
  transition: margin-left 0.3s;
}

.primary-btn:hover::after {
  margin-left: 12px;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(18, 36, 72, 0.35);
}

.secondary-btn {
  padding: 18px 40px;
  background: transparent;
  border: 2px solid var(--color-navy-primary);
  border-radius: 10px;
  color: var(--color-navy-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-decoration: none;
}

.secondary-btn:hover {
  background: var(--color-navy-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(19, 35, 72, 0.2);
}

.outline-btn {
  padding: 18px 40px;
  background: transparent;
  border: 2px solid var(--color-navy-primary);
  border-radius: 10px;
  color: var(--color-navy-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-decoration: none;
}

.outline-btn:hover {
  background: var(--color-navy-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(19, 35, 72, 0.2);
}

/* ----------------------------------------
   Hero Section - Internal Pages
   ---------------------------------------- */
.hero-section {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.hero-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-section-text .section-tag {
  margin-bottom: 16px;
}

.hero-section-text h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-section-desc {
  font-size: 18px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-section-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(18, 36, 72, 0.12);
}

/* ----------------------------------------
   Terminal Window - Light Theme
   ---------------------------------------- */
.terminal-window {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(18, 36, 72, 0.15);
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.terminal-header {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, rgba(249, 250, 251, 0.5) 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--glass-border-light);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: var(--color-accent-primary);
}

.terminal-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-600);
  font-weight: 600;
}

.terminal-body {
  padding: 32px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(249, 250, 251, 0.95) 100%
  );
}

.terminal-line {
  margin-bottom: 10px;
  opacity: 0;
  animation: terminalType 0.5s ease-out forwards;
}

.terminal-line:nth-child(1) {
  animation-delay: 0.7s;
}
.terminal-line:nth-child(2) {
  animation-delay: 0.9s;
}
.terminal-line:nth-child(3) {
  animation-delay: 1.1s;
}
.terminal-line:nth-child(4) {
  animation-delay: 1.3s;
}
.terminal-line:nth-child(5) {
  animation-delay: 1.5s;
}
.terminal-line:nth-child(6) {
  animation-delay: 1.7s;
}
.terminal-line:nth-child(7) {
  animation-delay: 1.9s;
}
.terminal-line:nth-child(8) {
  animation-delay: 2.1s;
}

@keyframes terminalType {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.terminal-prompt {
  color: var(--color-accent-primary);
  font-weight: 600;
}

.terminal-command {
  color: var(--color-navy-primary);
  font-weight: 600;
}

.terminal-output {
  color: var(--color-accent-dark);
}

.terminal-hash {
  color: var(--color-gray-600);
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--color-accent-primary);
  animation: blink 1s infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* ----------------------------------------
   Stats Cards with 3D Effects
   ---------------------------------------- */
.stats {
  padding: 100px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.stat-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(133, 197, 77, 0.15), rgba(18, 36, 72, 0.12));
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-16px) rotateX(5deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(18, 36, 72, 0.25);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 700;
}

.stat-number {
  font-size: 64px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--color-navy-primary), var(--color-accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-change {
  font-size: 14px;
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-weight: 600;
}

.stat-change::before {
  content: '\2197 ';
}

/* ----------------------------------------
   Network Visualization
   ---------------------------------------- */
.network-viz {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 700;
}

.section-header h2 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-navy-primary), var(--color-accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
}

.section-header p {
  font-size: 20px;
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.network-container {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(18, 36, 72, 0.1);
}

.network-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(18, 36, 72, 0.05), transparent 30%);
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.network-nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.network-node {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
  border: 3px solid var(--color-accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  animation: nodePulse 3s infinite ease-in-out;
  cursor: pointer;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(18, 36, 72, 0.2);
}

.network-node:hover {
  transform: scale(1.3);
  box-shadow: 0 12px 40px rgba(18, 36, 72, 0.4);
  border-color: var(--color-navy-primary);
}

.network-node:nth-child(1) {
  animation-delay: 0s;
}
.network-node:nth-child(2) {
  animation-delay: 0.5s;
}
.network-node:nth-child(3) {
  animation-delay: 1s;
}
.network-node:nth-child(4) {
  animation-delay: 1.5s;
}
.network-node:nth-child(5) {
  animation-delay: 2s;
}
.network-node:nth-child(6) {
  animation-delay: 2.5s;
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(18, 36, 72, 0.2);
  }
  50% {
    box-shadow:
      0 8px 24px rgba(18, 36, 72, 0.2),
      0 0 0 20px rgba(18, 36, 72, 0);
  }
}

/* ----------------------------------------
   Code Showcase - Light Theme
   ---------------------------------------- */
.code-showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.code-block {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--glass-border-light);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.4s;
}

.code-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(18, 36, 72, 0.15);
}

.code-header {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, rgba(249, 250, 251, 0.5) 100%);
  padding: 14px 20px;
  border-bottom: 1px solid var(--glass-border-light);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-600);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.code-language {
  color: var(--color-accent-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.code-content {
  padding: 28px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  overflow-x: auto;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(249, 250, 251, 0.98) 100%
  );
}

.code-keyword {
  color: var(--color-navy-primary);
  font-weight: 600;
}

.code-function {
  color: var(--color-accent-primary);
  font-weight: 600;
}

.code-string {
  color: var(--color-accent-dark);
}

.code-comment {
  color: var(--color-gray-600);
  font-style: italic;
}

/* ----------------------------------------
   Features Grid
   ---------------------------------------- */
.features {
  padding: 100px 0;
  background: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 28px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(18, 36, 72, 0.08) 0%,
    transparent 50%,
    rgba(19, 35, 72, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: var(--color-accent-primary);
  box-shadow: 0 32px 64px rgba(18, 36, 72, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid #85c54d;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 28px;
  position: relative;
  transition: all 0.5s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0.5;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 32px rgba(18, 36, 72, 0.35);
  opacity: 1;
}

.feature-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
}

.feature-card p {
  color: var(--color-gray-600);
  line-height: 1.8;
  position: relative;
  font-size: 16px;
}

/* ----------------------------------------
   Data Visualization Section
   ---------------------------------------- */
.data-viz {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.viz-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s;
}

.viz-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 24px 48px rgba(18, 36, 72, 0.15);
}

.viz-display {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  border: 2px solid var(--glass-border-light);
  position: relative;
  overflow: hidden;
}

.viz-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(18, 36, 72, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.viz-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.viz-description {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ----------------------------------------
   Integration Showcase
   ---------------------------------------- */
.integrations {
  padding: 100px 0;
  background: var(--color-white);
  overflow: hidden;
}

.integrations-headline {
  font-size: 56px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  font-weight: 800;
}

.integrations-subheadline {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 20px;
  margin-bottom: 60px;
}

.integration-marquee {
  display: flex;
  gap: 32px;
  animation: scroll 45s linear infinite;
}

.integration-logo {
  width: 160px;
  height: 90px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-700);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.integration-logo img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
}

.integration-logo:hover {
  border-color: var(--color-accent-primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(18, 36, 72, 0.15);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------
   Latest Articles Section
   ---------------------------------------- */
.latest-articles {
  padding: 100px 0;
  background: var(--color-white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.article-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 20px 48px rgba(18, 36, 72, 0.15);
}

.article-card:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 24px;
}

.article-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  border-bottom: 1px solid var(--glass-border-light);
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article card image (blog post variant) */
.article-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--color-gray-200);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

/* Article card content areas */
.article-content {
  padding: 32px;
}

.article-card-content {
  padding: 32px;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-category {
  color: var(--color-accent-primary);
  font-weight: 700;
}

.article-card-category {
  color: var(--color-accent-primary);
  font-weight: 700;
}

.article-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  line-height: 1.3;
}

.article-excerpt {
  color: var(--color-gray-600);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-card-excerpt {
  color: var(--color-gray-700);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: gap 0.3s;
}

.article-link::after {
  content: '→';
}

.article-link:hover {
  gap: 12px;
}

.article-card:hover .article-link {
  gap: 12px;
}

/* Article card as link */
a.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ----------------------------------------
   Banner Small (CTA Banner)
   ---------------------------------------- */
.banner-small {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-navy-primary), var(--color-accent-primary));
  color: white;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-section {
  padding: 140px 0;
  background: linear-gradient(
    135deg,
    var(--color-navy-lighter) 0%,
    var(--color-accent-lighter) 50%,
    var(--color-navy-lighter) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(18, 36, 72, 0.12), transparent 30%);
  animation: rotate 20s linear infinite;
}

.cta-box {
  background: var(--glass-bg-light);
  backdrop-filter: blur(30px);
  border: 2px solid var(--glass-border-light);
  border-radius: 40px;
  padding: 100px 80px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(18, 36, 72, 0.15);
}

.cta-box h2 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--color-navy-primary), var(--color-accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
}

.cta-box p {
  font-size: 22px;
  color: var(--color-gray-600);
  margin-bottom: 48px;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border-light);
  background: var(--color-gray-50);
}

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

.footer-brand .logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

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

.footer-brand h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-navy-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-brand p {
  color: var(--color-gray-600);
  font-size: 15px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-accent-primary);
  font-family: var(--font-body);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-gray-600);
  text-decoration: none;
  font-size: 15px;
  display: block;
  transition: all 0.3s;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.footer-links a::before {
  content: '> ';
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-links a:hover {
  color: var(--color-accent-primary);
  padding-left: 16px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--glass-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-gray-600);
  font-size: 13px;
  font-family: var(--font-mono);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  transition: all 0.3s;
  background: var(--glass-bg-light);
}

.social-links a:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 36, 72, 0.2);
}

/* ----------------------------------------
   Blog Post - Article Hero
   ---------------------------------------- */
.article-hero {
  background: var(--color-white);
  padding: 32px 0 24px;
  color: var(--color-gray-900);
  margin-top: 72px;
}

.article-hero .container {
  max-width: 900px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-gray-600);
}

.breadcrumb a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--color-navy-700);
}

.breadcrumb a:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Article Hero - Category Badge */
.article-hero .article-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-primary);
}

/* Article Title */
.article-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
  margin-top: 16px;
  letter-spacing: -1px;
  color: var(--color-navy-900);
}

/* Article Meta (blog post variant) */
.article-hero .article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--color-gray-600);
  font-size: 14px;
  margin-bottom: 16px;
}

.author-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-accent-primary) 0%,
    var(--color-navy-600) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.author-name {
  color: var(--color-navy-900);
  font-weight: 600;
}

.meta-separator {
  color: var(--color-gray-400);
}

/* ----------------------------------------
   Blog Post - Social Share
   ---------------------------------------- */
.social-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-200);
}

.social-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-share-buttons {
  display: flex;
  gap: 12px;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  color: var(--color-gray-700);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 18px;
}

.social-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 36, 72, 0.15);
}

.social-share-btn.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
}

.social-share-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.social-share-btn.twitter:hover {
  background: #000000;
  border-color: #000000;
  color: white;
}

.social-share-btn:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

/* ----------------------------------------
   Blog Post - Featured Image
   ---------------------------------------- */
.featured-image {
  margin: 0 0 40px;
  position: relative;
}

.featured-image .container {
  max-width: 900px;
}

.featured-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.15);
  border: 1px solid var(--color-gray-200);
}

/* ----------------------------------------
   Blog Post - Article Body
   ---------------------------------------- */
.article-content .container {
  max-width: 900px;
}

.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-gray-800);
}

.article-body h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 60px 0 24px;
  color: var(--color-navy-900);
  letter-spacing: -0.5px;
}

.article-body h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 20px;
  color: var(--color-navy-800);
}

.article-body h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--color-navy-700);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
  margin: 24px 0 24px 32px;
}

.article-body li {
  margin-bottom: 12px;
}

.article-body strong {
  color: var(--color-navy-900);
  font-weight: 600;
}

.article-body a {
  color: var(--color-accent-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-primary);
  transition: all 0.3s;
}

.article-body a:hover {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-accent-primary);
}

.article-body a:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Highlight Box */
.highlight-box {
  background: var(--color-gray-50);
  border-left: 4px solid var(--color-accent-primary);
  padding: 32px;
  margin: 40px 0;
  border-radius: 12px;
}

.highlight-box h4 {
  margin-top: 0;
  color: var(--color-navy-900);
}

/* ----------------------------------------
   Blog Post - Author Bio
   ---------------------------------------- */
.author-bio {
  background: var(--color-gray-50);
  padding: 40px;
  border-radius: 20px;
  margin: 60px 0;
  border: 1px solid var(--color-gray-200);
}

.author-bio-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-accent-primary) 0%,
    var(--color-navy-600) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.author-bio-text h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 8px;
}

.author-bio-text .author-title {
  color: var(--color-accent-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.author-bio-text p {
  color: var(--color-gray-700);
  line-height: 1.6;
}

/* ----------------------------------------
   Blog Post - Related Articles
   ---------------------------------------- */
.related-articles {
  padding: 80px 0;
  background: var(--color-gray-50);
}

.related-articles .section-header {
  margin-bottom: 60px;
}

.related-articles .section-tag {
  padding: 8px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.related-articles .section-header h2 {
  font-size: 48px;
  color: var(--color-navy-900);
  margin-bottom: 16px;
  letter-spacing: -1px;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  background: none;
}

.related-articles .articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 0;
}

.related-articles .article-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
}

/* ----------------------------------------
   Blog Hero (listing page)
   ---------------------------------------- */
.blog-hero {
  padding: 160px 0 60px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

/* Blog category filters */
.blog-categories {
  padding: 0 0 40px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-filter {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-navy-primary);
  background: var(--color-accent-lighter);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-filter:hover {
  background: var(--color-accent-light);
  border-color: var(--color-navy-300, #b0b8cc);
}

.category-filter.active {
  background: var(--color-navy-primary);
  color: #fff;
  border-color: var(--color-navy-primary);
}

/* Blog listing with 3 columns like articles-grid */
.blog-listing {
  padding: 0 0 100px;
}

.blog-listing .articles-grid {
  margin-top: 0;
}

/* ----------------------------------------
   Full Content Section (hero-basic pages)
   ---------------------------------------- */
.full-content-section {
  padding: 60px 0 100px;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.content-narrow h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin-bottom: 32px;
}

.content-narrow h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 48px 0 16px;
}

.content-narrow h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 36px 0 12px;
}

.content-narrow p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-gray-700);
  margin-bottom: 20px;
}

.content-narrow ul, .content-narrow ol {
  margin: 16px 0 24px 24px;
  line-height: 1.8;
}

.content-narrow li {
  margin-bottom: 8px;
}

.content-narrow img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

/* Hero Basic Image */
.hero-basic-image {
  padding: 120px 0 0;
}

.hero-basic-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* ----------------------------------------
   WordPress Content HTML Styles
   ---------------------------------------- */
.wp-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 48px 0 16px;
}

.wp-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-primary);
  font-family: var(--font-heading);
  margin: 36px 0 12px;
}

.wp-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.wp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.wp-content ul, .wp-content ol {
  margin: 16px 0 24px 24px;
  line-height: 1.8;
}

/* ----------------------------------------
   Skip to Content - Accessibility
   ---------------------------------------- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-accent-primary);
  color: var(--color-white);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 20px;
}

/* ----------------------------------------
   Responsive - Large Tablet / Small Desktop
   ---------------------------------------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .code-grid {
    grid-template-columns: 1fr;
  }

  .network-nodes {
    grid-template-columns: repeat(3, 1fr);
  }

  .viz-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .article-hero {
    padding: 100px 0 50px;
  }

  .article-title {
    font-size: 40px;
  }

  .article-body h2 {
    font-size: 32px;
  }

  .article-body h3 {
    font-size: 24px;
  }

  .nav-links {
    gap: 24px;
  }
}

/* ----------------------------------------
   Responsive - Tablet
   ---------------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .btn-login,
  .btn-contact {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .network-nodes {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .network-node {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .cta-box {
    padding: 60px 32px;
  }

  .cta-box h2 {
    font-size: 40px;
  }

  .article-hero {
    padding: 90px 0 40px;
    margin-top: 64px;
  }

  .article-title {
    font-size: 32px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-body h2 {
    font-size: 28px;
    margin: 48px 0 20px;
  }

  .article-body h3 {
    font-size: 22px;
    margin: 36px 0 16px;
  }

  .article-body h4 {
    font-size: 20px;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .hero-section-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section-text h1 {
    font-size: 36px;
  }

  .articles-grid {
    gap: 24px;
  }

  .author-bio {
    padding: 32px;
  }

  .author-bio-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ----------------------------------------
   Responsive - Mobile
   ---------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .article-hero {
    padding: 80px 0 32px;
  }

  .article-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 24px;
    margin: 40px 0 16px;
  }

  .article-body h3 {
    font-size: 20px;
    margin: 32px 0 12px;
  }

  .article-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .meta-separator {
    display: none;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .highlight-box {
    padding: 24px;
    margin: 32px 0;
  }

  .header-buttons {
    gap: 8px;
  }

  .btn-login,
  .btn-contact {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ----------------------------------------
   Accessibility
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}
