/* ==========================================================================
   NewParadigmSystems - Cosmic Radiance High-Contrast Design System
   Refined for Rich Depth, Contrast, and Luminous Glass Surfaces
   ========================================================================== */

:root {
  /* Typography */
  --font-header: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Color Palette - Obsidian Space & Luminous Sapphire Surfaces */
  --bg-deep: #020412;              /* Deep Obsidian Space background */
  --bg-section: #050a24;           /* Dark indigo base */
  --bg-section-alt: rgba(8, 16, 54, 0.6);

  /* High-Contrast Card & Container Surfaces */
  --bg-card: linear-gradient(145deg, rgba(20, 34, 92, 0.82) 0%, rgba(11, 20, 60, 0.9) 100%);
  --bg-card-hover: linear-gradient(145deg, rgba(28, 48, 126, 0.9) 0%, rgba(16, 28, 82, 0.98) 100%);
  --bg-card-solid: #0d1848;

  /* Crisp Glowing Borders */
  --border-card: rgba(70, 130, 255, 0.38);
  --border-subtle: rgba(70, 130, 255, 0.3);
  --border-glow: rgba(0, 240, 255, 0.3);
  --border-glow-hover: rgba(0, 240, 255, 0.7);

  /* Brand Accents */
  --accent-cyan: #00f0ff;          /* Neon / Ethereal Cyan */
  --accent-cyan-hover: #38bdf8;
  --accent-cyan-tint: rgba(0, 240, 255, 0.1);
  --accent-cyan-subtle: rgba(0, 240, 255, 0.2);
  --accent-blue: #0066ff;          /* Electric Cobalt */
  --accent-blue-hover: #0085ff;
  --accent-glow: rgba(0, 240, 255, 0.35);
  --accent-glow-strong: rgba(0, 240, 255, 0.6);

  /* Text Colors - High Contrast */
  --text-white: #ffffff;
  --text-primary: #f8fafc;         /* Crisp White */
  --text-secondary: #e2e8f0;       /* Light Slate / Ice */
  --text-muted: #94a3b8;           /* Muted Slate */
  --text-dim: #64748b;

  /* Status Colors */
  --color-danger: #ff4d6d;
  --color-danger-bg: rgba(255, 77, 109, 0.16);
  --color-danger-border: rgba(255, 77, 109, 0.45);
  
  --color-success: #34d399;
  --color-success-bg: rgba(52, 211, 153, 0.16);
  --color-success-border: rgba(52, 211, 153, 0.45);

  --color-warning: #fbbf24;
  --color-warning-bg: rgba(251, 191, 36, 0.16);
  --color-warning-border: rgba(251, 191, 36, 0.45);

  /* Elevation & Glass Shadows */
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 102, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --shadow-card-hover: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 240, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --shadow-glow: 0 0 25px rgba(0, 240, 255, 0.3);
  --shadow-btn: 0 4px 18px rgba(0, 102, 255, 0.45), 0 0 15px rgba(0, 240, 255, 0.2);
  --shadow-btn-hover: 0 6px 24px rgba(0, 102, 255, 0.65), 0 0 30px rgba(0, 240, 255, 0.5);
  --shadow-terminal: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 102, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);

  /* Transitions & Radii */
  --header-height: 72px;
  --border-radius: 12px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: rgba(0, 102, 255, 0.5) var(--bg-deep);
  scrollbar-width: thin;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 102, 255, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(0, 240, 255, 0.14) 0%, transparent 35%),
    radial-gradient(circle at 20% 70%, rgba(0, 102, 255, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(8, 16, 52, 0.9) 0%, rgba(2, 4, 18, 1) 100%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.4);
  border-radius: 4px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-white);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ==========================================================================
   Layout Containers & Grid System
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.125rem;
  padding-right: 1.125rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 900px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Buttons & Interactive Pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099ff 100%);
  color: var(--text-white);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-btn-hover);
  color: var(--text-white);
}

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

.btn-secondary {
  background: rgba(20, 36, 96, 0.85);
  color: var(--text-white);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9375rem 1.85rem;
  font-size: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.pill-danger {
  background-color: var(--color-danger-bg);
  color: #ffa1b5;
  border: 1px solid var(--color-danger-border);
}

.pill-success {
  background-color: var(--color-success-bg);
  color: #86efac;
  border: 1px solid var(--color-success-border);
}

.pill-cyan,
.pill-pine {
  background-color: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: rgba(2, 5, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.brand-name {
  background: linear-gradient(135deg, var(--text-white) 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.brand-accent {
  font-weight: 400;
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-header);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-header);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-phone:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--text-white);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.nav-phone-icon {
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.nav-phone:hover .nav-phone-icon {
  color: var(--text-white);
}

.nav-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px var(--accent-cyan)); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-white) 40%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-trust-note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trust-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
}

/* Hero Terminal & Visual Container */
.hero-visual-card {
  background: linear-gradient(160deg, rgba(20, 35, 96, 0.88) 0%, rgba(10, 19, 58, 0.96) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-terminal);
  transition: var(--transition);
}

.hero-visual-card:hover {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.75), 0 0 45px rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
}

.card-terminal-header {
  background: rgba(13, 24, 68, 0.98);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.22);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.terminal-body {
  padding: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  background: rgba(5, 10, 32, 0.95);
  color: #f1f5f9;
}

.term-line {
  margin-bottom: 0.4rem;
  word-break: break-word;
}

.term-line.prompt { color: var(--text-white); font-weight: 600; }
.term-line.success { color: #34d399; font-weight: 500; }
.term-line.info { color: #38bdf8; font-weight: 500; }
.term-line.warning { color: #fbbf24; font-weight: 500; }
.term-line.highlight { color: var(--accent-cyan); font-weight: 600; margin-top: 0.5rem; text-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }
.term-dim { color: var(--text-dim); margin-right: 0.35rem; }

.hero-media-slot {
  background: rgba(10, 20, 58, 0.95);
  padding: 1.15rem;
  border-top: 1px solid rgba(0, 240, 255, 0.22);
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: var(--bg-deep);
  aspect-ratio: 16 / 10;
  display: flex;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-slot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.hero-visual-card:hover .hero-slot-image {
  transform: scale(1.03);
}

/* ==========================================================================
   2. Where Things Break (Friction Points)
   ========================================================================== */

.friction-section {
  background: linear-gradient(180deg, rgba(8, 16, 54, 0.55) 0%, rgba(4, 9, 36, 0.8) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.friction-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.friction-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow-hover);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.icon-amber {
  background-color: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.icon-pine,
.icon-cyan {
  background-color: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.icon-ochre,
.icon-blue {
  background-color: rgba(0, 102, 255, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(0, 102, 255, 0.4);
}

.card-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.friction-block {
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.friction-block.headache {
  background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.22);
}

.friction-block.fix {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.22);
  margin-top: auto;
  margin-bottom: 0;
}

.friction-label {
  margin-bottom: 0.5rem;
}

.friction-block p {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   3. Core Services
   ========================================================================== */

.services-section {
  background-color: transparent;
  position: relative;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features svg {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.service-footer {
  margin-top: auto;
}

.service-cta {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: var(--transition);
}

.service-cta:hover {
  color: var(--text-white);
  text-shadow: 0 0 8px var(--accent-cyan);
  transform: translateX(4px);
}

/* ==========================================================================
   4. Featured Projects Section
   ========================================================================== */

.projects-section {
  background: linear-gradient(180deg, rgba(8, 16, 54, 0.55) 0%, rgba(4, 9, 36, 0.8) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
}

.project-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow-hover);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-deep);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.project-card:hover .project-image {
  transform: scale(1.06);
}

.project-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-name {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.project-card:hover .project-name {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.project-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   5. About & Collaborative Philosophy Section
   ========================================================================== */

.about-section {
  background-color: transparent;
  position: relative;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.bio-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  max-width: 340px;
  margin: 0 auto;
}

.bio-card:hover {
  border-color: var(--border-glow-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.bio-image-wrapper {
  position: relative;
  overflow: hidden;
  margin: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: var(--bg-deep);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.bio-pic {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.bio-card:hover .bio-pic {
  transform: scale(1.04);
}

.bio-meta {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.bio-name {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.bio-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bio-location svg {
  color: var(--accent-cyan);
}

.about-headline {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-body p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-philosophy-block {
  margin-top: 0.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--border-glow-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.value-bullet {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.value-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  font-family: var(--font-header);
}

.value-text p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.about-cta {
  margin-top: 2rem;
}

/* ==========================================================================
   7. Contact Form & Surface
   ========================================================================== */

.contact-section {
  background: linear-gradient(180deg, rgba(8, 16, 54, 0.55) 0%, rgba(4, 9, 36, 0.8) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
}

.contact-card-surface {
  background: linear-gradient(135deg, rgba(22, 38, 102, 0.94) 0%, rgba(13, 24, 70, 0.96) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 240, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact-card-surface::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-card-surface {
    padding: 2rem 1.5rem;
  }
}

.contact-header {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-white) 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.form-label .required {
  color: var(--color-danger);
}

.form-label .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(70, 130, 255, 0.5);
  background-color: rgba(5, 11, 36, 0.85);
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background-color: rgba(7, 15, 48, 0.98);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.select-wrapper {
  position: relative;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color: var(--text-white);
}

.form-select option {
  background-color: #081035;
  color: var(--text-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.submit-btn {
  width: 100%;
}

.form-privacy-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-feedback {
  margin-top: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: var(--color-success-bg);
  color: #86efac;
  border: 1px solid var(--color-success-border);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.25);
}

.form-feedback.error {
  display: block;
  background-color: var(--color-danger-bg);
  color: #ffa1b5;
  border: 1px solid var(--color-danger-border);
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 4, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: linear-gradient(145deg, #101c52 0%, #070e2c 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 240, 255, 0.25);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(70, 130, 255, 0.4);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  margin-bottom: 0.375rem;
  background: linear-gradient(135deg, var(--text-white) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-subtext {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent-cyan);
  transform: scale(1.1);
}

.modal-body {
  padding: 1.75rem 2rem 2rem 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: rgba(2, 4, 18, 0.98);
  border-top: 1px solid rgba(70, 130, 255, 0.35);
  padding: 3.5rem 0 2.5rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-white);
}

.brand-symbol.small {
  width: 26px;
  height: 26px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  text-align: right;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-family: var(--font-header);
}

.footer-contact-label {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-contact-link {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  border-top: 1px solid rgba(70, 130, 255, 0.3);
  border-bottom: 1px solid rgba(70, 130, 255, 0.3);
  padding: 1.25rem 0;
}

.footer-links a {
  font-size: 0.875rem;
  font-family: var(--font-header);
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.footer-bottom {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Mobile Responsive Navigation & Media Queries
   ========================================================================== */

@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(2, 5, 24, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    display: none;
    flex-direction: column;
  }

  .nav-menu.is-active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.0625rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-btn {
    display: none;
  }

  .nav-phone {
    font-size: 0.875rem;
    padding: 0.4rem 0.7rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .about-headline,
  .contact-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .friction-card,
  .service-card,
  .lab-info {
    padding: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .nav-phone {
    font-size: 0.8125rem;
    padding: 0.35rem 0.55rem;
  }
}

/* ==========================================================================
   Project Detail Page Styles (New Paradigm Systems)
   ========================================================================== */

/* Breadcrumb Navigation */
.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-header);
  font-size: 0.9375rem;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-tint);
  border: 1px solid var(--accent-cyan-subtle);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.back-link:hover {
  background: var(--accent-cyan-subtle);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  transform: translateX(-3px);
  color: var(--text-white);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: var(--transition);
}

/* Project Header / Hero */
.project-header-section {
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 2rem;
}

.project-hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-white) 35%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.project-hero-tagline {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 920px;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Metadata Bar & Action Links */
.project-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 2.5rem;
}

.project-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-family: var(--font-header);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.meta-value {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
}

.project-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  text-decoration: none;
}

.action-btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099ff 100%);
  color: var(--text-white);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: var(--shadow-btn);
}

.action-btn-primary:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  border-color: var(--accent-cyan);
}

.action-btn-secondary {
  background: var(--accent-cyan-tint);
  border: 1px solid var(--accent-cyan-subtle);
  color: var(--accent-cyan);
}

.action-btn-secondary:hover {
  background: var(--accent-cyan-subtle);
  border-color: var(--accent-cyan);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.action-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

/* Project Hero Image Showcase */
.project-hero-image-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-deep);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

.project-hero-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Project Content Two-Column Grid */
.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

/* Main Content Column */
.project-main-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.project-section-block {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.project-block-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.project-block-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 2px;
}

.project-narrative {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Technical Highlights Grid / List */
.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.highlight-card {
  background: rgba(4, 9, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--accent-cyan-subtle);
  border-left-color: var(--accent-cyan);
  background: rgba(8, 18, 58, 0.9);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 240, 255, 0.15);
}

.highlight-title {
  font-size: 1.125rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.highlight-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Key Outcomes & Impact */
.outcomes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(4, 9, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
  transition: var(--transition);
}

.outcome-item:hover {
  border-color: var(--accent-cyan-subtle);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.outcome-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-cyan-tint);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.outcome-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.outcome-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Sidebar Column */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.sidebar-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.sidebar-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.625rem;
  font-weight: 700;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* Tech Stack Breakdown */
.tech-category-group {
  margin-bottom: 1.25rem;
}

.tech-category-group:last-child {
  margin-bottom: 0;
}

.tech-category-label {
  font-family: var(--font-header);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tech-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-badge {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: rgba(2, 4, 18, 0.75);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.tech-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

/* Project Quick Specs */
.quick-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quick-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.quick-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-header);
  font-weight: 600;
  flex-shrink: 0;
}

.spec-val {
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 600;
  text-align: right;
}

/* Project Pagination / Related Projects */
.project-pagination-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.pagination-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pagination-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-decoration: none;
}

.pagination-card:hover {
  border-color: var(--border-glow-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pagination-direction {
  font-family: var(--font-header);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.pagination-project-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

/* Responsive Media Queries for Project Detail Pages */
@media (max-width: 960px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-sidebar {
    position: static;
  }

  .project-hero-title {
    font-size: 2.25rem;
  }

  .project-hero-tagline {
    font-size: 1.125rem;
  }

  .project-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .project-section-block,
  .sidebar-card {
    padding: 1.5rem 1.25rem;
  }

  .project-hero-title {
    font-size: 1.85rem;
  }

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

  .project-meta-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .project-action-links {
    width: 100%;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

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