/* ==========================================================================
   TopoSpatiaDB — Prometheus Fuels Style System (Refined Brutal Tech Edition)
   - Zero Corner Radius (Sharp Cyberpunk / Aerospace Aesthetic: border-radius: 0)
   - Corner Cut / Notch Tech Accents
   - Laser Shimmer & Scanning Wave Light Sweeps
   - Magnetic Tilt & Interactive Particle Dust
   - High-Precision Monospace Badges & Clean KaTeX Formula Boxes
   ========================================================================== */

:root {
  --pf-bg-main: #0B0B0B;
  --pf-bg-alt: #121212;
  --pf-bg-card: #151515;
  --pf-bg-card-hover: #1a1a1a;

  --pf-red: #DF1A25;
  --pf-red-bright: #FF2B36;
  --pf-red-dark: #940109;
  --pf-red-glow: rgba(223, 26, 37, 0.4);
  --pf-red-subtle: rgba(223, 26, 37, 0.08);

  --pf-text-white: #FFFFFF;
  --pf-text-light: #F0F0F0;
  --pf-text-muted: #948989;
  --pf-text-dim: #777070;

  --pf-border: #242424;
  --pf-border-light: #333333;
  --pf-border-focus: #DF1A25;

  --pf-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pf-font-body: 'Roboto', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --pf-font-mono: 'JetBrains Mono', monospace;

  /* Explicit ZERO Radii across the system */
  --pf-radius-zero: 0px;
}

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

/* Let Lenis handle smooth scrolling without native CSS animation fighting */
html {
  /* scroll-behavior: smooth removed to prevent frame conflicts */
}

body.pf-body {
  background-color: var(--pf-bg-main);
  color: var(--pf-text-white);
  font-family: var(--pf-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere & Interactive Cursor Torch */
.pf-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pf-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
}

.pf-torch-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(223, 26, 37, 0.08) 0%, rgba(223, 26, 37, 0.02) 40%, transparent 70%);
  will-change: transform;
  z-index: 1;
}

/* Topological 3-Cube Unfolding Net Background */
.pf-cube-net-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Above raw background atmosphere, seamlessly behind text cards */
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

/* 4D Tesseract Styling — High Contrast Aerospace Lines */
.pf-tesseract-face {
  fill: rgba(223, 26, 37, 0.06);
  stroke: rgba(223, 26, 37, 0.35);
  stroke-width: 1.0;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.pf-tesseract-edge {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}

.pf-tesseract-edge.connecting {
  stroke: #FF2B36;
  stroke-width: 2.2;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(223, 26, 37, 0.85));
}

.pf-tesseract-edge.inner {
  stroke: rgba(223, 26, 37, 0.65);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
}

.pf-tesseract-node {
  fill: #FFFFFF;
  stroke: var(--pf-red);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(223, 26, 37, 0.9));
}

.pf-tesseract-node.highlight {
  fill: #FF2B36;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px rgba(255, 43, 54, 1));
}

/* Tesseract SVG HUD Panel */
.pf-hud-panel {
  fill: rgba(14, 14, 14, 0.85);
  stroke: var(--pf-border);
  stroke-width: 1;
}

.pf-hud-tag {
  fill: var(--pf-red);
  font-family: var(--pf-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.pf-hud-title {
  fill: var(--pf-text-white);
  font-family: var(--pf-font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.pf-hud-desc {
  fill: var(--pf-text-muted);
  font-family: var(--pf-font-mono);
  font-size: 9px;
  letter-spacing: 0.2px;
}

/* Top Progress Scroll Indicator */
.pf-scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pf-red), #ff6b72, var(--pf-red));
  z-index: 9999;
  width: 0%;
  box-shadow: 0 0 10px var(--pf-red);
}

/* Prometheus Fuels Dot and Uppercase Accent */
.pf-red-dot {
  color: var(--pf-red);
}

.highlight-red {
  color: var(--pf-red) !important;
}

.pf-text-red {
  color: var(--pf-red);
}

/* Container */
.pf-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Navigation */
.pf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pf-border);
}

.pf-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--pf-text-white);
  position: relative;
}

.pf-brand-name {
  font-family: var(--pf-font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.pf-brand-name strong {
  font-weight: 800;
}

.pf-nav {
  display: flex;
  gap: 32px;
}

.pf-nav-item {
  color: var(--pf-text-muted);
  text-decoration: none;
  font-family: var(--pf-font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.pf-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pf-red);
  transition: width 0.25s ease;
}

.pf-nav-item:hover {
  color: var(--pf-text-white);
}

.pf-nav-item:hover::after {
  width: 100%;
}

.pf-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS: STRICT ZERO CORNER RADIUS + HIGH-TECH EFFECTS
   ========================================================================== */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 0 !important; /* Zero roundings */
  font-family: var(--pf-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Laser Light Sweep Shine Effect on Hover */
.pf-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.25) 50%, 
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

.pf-btn:hover::before {
  left: 200%;
  transition: left 0.75s ease;
}

/* Button Variants */
.pf-btn-red {
  background-color: var(--pf-red);
  color: var(--pf-text-white);
  border-color: var(--pf-red);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.pf-btn-red:hover {
  background-color: var(--pf-red-bright);
  box-shadow: 
    0 0 25px var(--pf-red-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.pf-btn-red:active {
  transform: translateY(0);
}

.pf-btn-outline {
  background: #0D0D0D;
  color: var(--pf-text-light);
  border-color: var(--pf-border-light);
}

.pf-btn-outline:hover {
  color: var(--pf-text-white);
  border-color: var(--pf-red);
  background: #141414;
  box-shadow: 0 0 15px rgba(223, 26, 37, 0.2);
  transform: translateY(-2px);
}

.pf-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--pf-text-white);
  border-color: var(--pf-border-light);
}

.pf-btn-ghost:hover {
  background: rgba(223, 26, 37, 0.1);
  border-color: var(--pf-red);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(223, 26, 37, 0.2);
}

.pf-btn-lg {
  padding: 16px 36px;
  font-size: 14px;
}

/* Corner Bracket Accents on Buttons */
.pf-btn-tech {
  position: relative;
}

.pf-btn-tech::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  background-color: var(--pf-text-white);
  pointer-events: none;
}

/* Hero Section */
.pf-hero {
  padding: 100px 0 90px;
  background: radial-gradient(circle at 50% 15%, rgba(223, 26, 37, 0.08) 0%, transparent 65%);
  text-align: center;
  border-bottom: 1px solid var(--pf-border);
  position: relative;
}

.pf-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pf-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 0; /* Zero roundings */
  background: var(--pf-red-subtle);
  border: 1px solid rgba(223, 26, 37, 0.35);
  position: relative;
}

.pf-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 0; /* Square tech dot */
  background-color: var(--pf-red);
  box-shadow: 0 0 8px var(--pf-red);
  animation: techBlink 2s infinite;
}

@keyframes techBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pf-pill-text {
  font-family: var(--pf-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pf-red);
  letter-spacing: 1.2px;
}

.pf-hero-title {
  font-family: var(--pf-font-sans);
  font-size: 68px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.pf-hero-lead {
  font-size: 19px;
  color: var(--pf-text-muted);
  max-width: 800px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.pf-hero-lead strong {
  color: var(--pf-text-white);
}

.pf-hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 72px;
}

/* KPI Strip with Sharp Borders */
.pf-kpi-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  padding: 28px 36px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

/* Red Tech Accent corner on KPI Box */
.pf-kpi-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--pf-red);
}

.pf-kpi-col {
  flex: 1;
  text-align: center;
  transition: transform 0.2s ease;
}

.pf-kpi-col:hover {
  transform: translateY(-2px);
}

.pf-kpi-val {
  font-family: var(--pf-font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--pf-text-white);
  letter-spacing: -0.5px;
}

.pf-kpi-lbl {
  font-family: var(--pf-font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-text-dim);
  letter-spacing: 1px;
  margin-top: 6px;
}

.pf-kpi-divider {
  width: 1px;
  height: 52px;
  background: var(--pf-border);
}

/* Sections Shared */
.pf-section {
  padding: 110px 0;
  border-bottom: 1px solid var(--pf-border);
  position: relative;
}

.pf-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pf-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-text-muted);
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}

.pf-section-title {
  font-family: var(--pf-font-sans);
  font-size: 46px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.pf-section-desc {
  font-size: 17px;
  color: var(--pf-text-muted);
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* Split Header (Prometheus "About us" text style) */
.pf-split-header {
  margin-bottom: 56px;
}

.pf-split-title {
  font-family: var(--pf-font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--pf-text-white);
  max-width: 1060px;
}

.pf-title-muted {
  color: var(--pf-text-dim);
}

/* Interactive Card Hover & 3D Depth Micro-Tilt */
.pf-card-interactive {
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.pf-card-interactive:hover {
  border-color: rgba(223, 26, 37, 0.45);
  background-color: var(--pf-bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 26, 37, 0.1);
}

/* Simplicial Grid */
.pf-simplex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-simplex-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  padding: 36px 30px;
}

.pf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pf-card-step {
  font-family: var(--pf-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--pf-red);
  letter-spacing: 0.8px;
}

.pf-card-dash {
  width: 44px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #DF1A25, #DF1A25 5px, transparent 5px, transparent 10px);
}

.pf-card-heading {
  font-family: var(--pf-font-sans);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pf-card-text {
  font-size: 14px;
  color: var(--pf-text-muted);
  line-height: 1.65;
}

/* Mathematics Grid */
.pf-math-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pf-math-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  padding: 36px;
}

.pf-math-card.pf-math-highlight {
  border-color: rgba(223, 26, 37, 0.4);
  background: linear-gradient(180deg, rgba(223, 26, 37, 0.05) 0%, var(--pf-bg-card) 100%);
}

.pf-math-header {
  margin-bottom: 18px;
}

.pf-math-badge {
  font-family: var(--pf-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-red);
  letter-spacing: 1px;
}

/* KaTeX Formula Box */
.pf-formula-box {
  background: #060606;
  border-left: 3px solid var(--pf-red);
  border-radius: 0; /* Zero roundings */
  padding: 18px 22px;
  margin-bottom: 18px;
  overflow-x: auto;
  font-size: 16px;
  color: var(--pf-text-white);
  transition: border-left-color 0.2s ease, background 0.2s ease;
}

.pf-formula-box:hover {
  border-left-color: var(--pf-red-bright);
  background: #090909;
}

.pf-formula-box .katex-display {
  margin: 0;
}

.pf-math-expl {
  font-size: 14px;
  color: var(--pf-text-muted);
  line-height: 1.7;
}

/* Architecture Section */
.pf-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-arch-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  padding: 36px 30px;
}

.pf-arch-num {
  font-family: var(--pf-font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--pf-red);
  margin-bottom: 18px;
}

.pf-arch-title {
  font-family: var(--pf-font-sans);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pf-arch-text {
  font-size: 14px;
  color: var(--pf-text-muted);
  line-height: 1.65;
}

.pf-arch-text strong {
  color: var(--pf-text-white);
}

/* Limitless Applications Section */
.pf-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-app-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.pf-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 0; /* Square tech icon badge */
  background: var(--pf-red-subtle);
  border: 1px solid rgba(223, 26, 37, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pf-app-heading {
  font-family: var(--pf-font-sans);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pf-app-divider {
  width: 100%;
  height: 1px;
  background: var(--pf-border);
  margin-bottom: 18px;
}

.pf-app-text {
  font-size: 14px;
  color: var(--pf-text-muted);
  line-height: 1.7;
}

/* Benchmarks Table */
.pf-table-wrapper {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  overflow-x: auto;
}

.pf-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pf-table th, .pf-table td {
  padding: 20px 26px;
  border-bottom: 1px solid var(--pf-border);
  font-size: 14px;
}

.pf-table th {
  background: #0e0e0e;
  font-family: var(--pf-font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-text-dim);
  letter-spacing: 0.8px;
}

.pf-th-highlight {
  color: var(--pf-text-white) !important;
  border-left: 2px solid var(--pf-red);
  background: rgba(223, 26, 37, 0.05) !important;
}

.pf-td-highlight {
  border-left: 2px solid var(--pf-red);
  background: rgba(223, 26, 37, 0.03);
}

.pf-badge-red {
  display: inline-block;
  background: var(--pf-red);
  color: white;
  font-family: var(--pf-font-sans);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 0; /* Zero roundings */
  margin-left: 8px;
}

/* Multi-Language Integration Features Grid */
.pf-integration-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pf-int-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 0;
  padding: 20px 18px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pf-int-card:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 26, 37, 0.4);
}

.pf-int-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pf-int-badge {
  font-family: var(--pf-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pf-red);
  letter-spacing: 0.5px;
}

.pf-int-metric {
  font-family: var(--pf-font-mono);
  font-size: 10px;
  color: var(--pf-text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border: 1px solid var(--pf-border);
}

.pf-int-desc {
  font-size: 12px;
  color: var(--pf-text-muted);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .pf-integration-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pf-integration-features {
    grid-template-columns: 1fr;
  }
}

/* Code Showcase */
.pf-code-container {
  background: #060606;
  border: 1px solid var(--pf-border);
  border-radius: 0; /* Zero roundings */
  overflow: hidden;
}

.pf-code-tabs {
  display: flex;
  background: #0e0e0e;
  border-bottom: 1px solid var(--pf-border);
  padding: 0 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.pf-tab-btn {
  background: transparent;
  border: none;
  border-radius: 0 !important;
  color: var(--pf-text-dim);
  font-family: var(--pf-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.pf-tab-btn.active {
  color: var(--pf-red);
  border-bottom-color: var(--pf-red);
  background: rgba(223, 26, 37, 0.04);
}

.pf-tab-btn:hover:not(.active) {
  color: var(--pf-text-white);
}

.pf-code-body {
  padding: 30px;
  overflow-x: auto;
}

.pf-code-body.hidden {
  display: none;
}

.pf-code-body pre {
  margin: 0;
  font-family: var(--pf-font-mono);
  font-size: 13px;
  line-height: 1.7;
}

/* Syntax Highlights */
.hl-kw { color: #ff7b72; font-weight: 600; }
.hl-fn { color: #d2a8ff; }
.hl-str { color: #a5d6ff; }
.hl-com { color: #6e7681; font-style: italic; }

/* Footer */
.pf-footer {
  background: var(--pf-bg-main);
  padding: 90px 0 44px;
}

.pf-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--pf-border);
  gap: 40px;
  flex-wrap: wrap;
}

.pf-footer-tagline {
  font-size: 14px;
  color: var(--pf-text-muted);
  max-width: 500px;
  margin-top: 14px;
  line-height: 1.65;
}

.pf-footer-cta-title {
  font-family: var(--pf-font-sans);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pf-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  font-size: 13px;
  color: var(--pf-text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   MOBILE NAVIGATION TOGGLE & DRAWER
   ========================================================================== */
.pf-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pf-border);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.pf-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pf-text-white);
  transition: all 0.25s ease;
}

.pf-mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.pf-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pf-hero-title {
    font-size: 50px;
  }
  .pf-split-title {
    font-size: 28px;
  }
  .pf-simplex-grid,
  .pf-arch-grid,
  .pf-app-grid {
    grid-template-columns: 1fr;
  }
  .pf-math-grid {
    grid-template-columns: 1fr;
  }
  .pf-kpi-bar {
    flex-direction: column;
    gap: 24px;
    padding: 30px 24px;
  }
  .pf-kpi-divider {
    display: none;
  }
  .pf-header-spec-btn {
    display: none;
  }
}

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

  /* Mobile Dropdown Navigation Drawer */
  .pf-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--pf-red);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .pf-nav.mobile-open {
    display: flex;
  }

  .pf-nav-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--pf-border);
    font-size: 15px;
    letter-spacing: 1px;
  }

  .pf-nav-item:last-child {
    border-bottom: none;
  }

  .pf-hero {
    padding: 70px 0 60px;
  }

  .pf-hero-title {
    font-size: 34px;
    letter-spacing: -1px;
    line-height: 1.15;
  }

  .pf-hero-lead {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .pf-hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .pf-hero-cta .pf-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
  }

  .pf-section {
    padding: 70px 0;
  }

  .pf-section-title {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .pf-section-desc {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .pf-code-body {
    padding: 16px;
  }

  .pf-code-body pre {
    font-size: 11px;
    line-height: 1.6;
  }

  .pf-table th, .pf-table td {
    padding: 12px 14px;
    font-size: 12px;
    white-space: nowrap;
  }

  .pf-footer {
    padding: 50px 0 30px;
  }

  .pf-footer-top {
    padding-bottom: 30px;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .pf-container {
    padding: 0 16px;
  }

  .pf-header-inner {
    padding: 14px 16px;
  }

  .pf-brand-name {
    font-size: 17px;
  }

  .pf-brand-icon svg {
    width: 28px;
    height: 28px;
  }

  .pf-pill {
    padding: 6px 12px;
  }

  .pf-pill-text {
    font-size: 9px;
  }

  .pf-hero-title {
    font-size: 28px;
  }

  .pf-kpi-val {
    font-size: 28px;
  }

  .pf-split-title {
    font-size: 22px;
  }

  .pf-math-card,
  .pf-simplex-card,
  .pf-arch-card,
  .pf-app-card {
    padding: 24px 18px;
  }
}
