/* ============================================================
   DESIGN TOKENS
   Palette: Void-Black · Signal-Teal · Phosphor-Green · Ember
   Type: Space Grotesk (display+body) / JetBrains Mono (code)
   Signature: Animated circuit-trace SVG background in hero
   ============================================================ */
:root {
  --void: #0C0E14;
  --surface: #131620;
  --panel: #1A1E2E;
  --border: #252B3E;
  --teal: #00C8B4;
  --teal-dim: #007E72;
  --green: #39FF8F;
  --ember: #FF5C3A;
  --text-hi: #EDF0F7;
  --text-mid: #8A92A8;
  --text-lo: #4A526A;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --ease: cubic-bezier(.22, .68, 0, 1.2);
  --trans: 0.28s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--text-hi);
  line-height: 1.65;
  overflow-x: hidden;
  animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::selection {
  background: var(--teal);
  color: var(--void);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ── LAYOUT ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

.mono {
  font-family: var(--mono);
}

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-tag {
  display: inline-block;
  border: 1px solid var(--teal-dim);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--void);
}

.btn-primary:hover {
  background: #00e5ce;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 180, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-hi);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: rgba(26, 30, 46, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 43, 62, 0.6);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: var(--trans);
  overflow: hidden;
  position: relative;
}

.card:hover {
  border-color: var(--accent-color, rgba(0, 200, 180, 0.4));
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--accent-color-glow, rgba(0, 200, 180, 0.12));
}

/* ── CARD BANNERS ── */
.card-banner,
.hw-banner,
.ppp-banner {
  position: relative;
  overflow: hidden;
  background: var(--void);
  border-bottom: 1px solid var(--border);
}

.card-banner::after,
.hw-banner::after,
.ppp-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(26, 30, 46, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

.card-banner {
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  height: 160px;
}

.card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-banner img {
  transform: scale(1.05);
}

.hw-banner {
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  height: 150px;
}

.hw-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .hw-banner img {
  transform: scale(1.06);
}

.ppp-banner {
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  height: 160px;
}

.ppp-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .ppp-banner img {
  transform: scale(1.05);
}

/* Abstract placeholder gradients for cards without generated images */
.banner-abstract-green {
  background: radial-gradient(circle at 80% 20%, rgba(57, 255, 143, 0.15) 0%, transparent 60%), linear-gradient(135deg, #131620, #0c0e14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-abstract-purple {
  background: radial-gradient(circle at 80% 20%, rgba(204, 128, 255, 0.15) 0%, transparent 60%), linear-gradient(135deg, #131620, #0c0e14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-banner svg {
  opacity: 0.65;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}

.card:hover .card-banner svg {
  transform: scale(1.1) rotate(2deg);
  opacity: 0.9;
}

/* ================================================
   NAVIGATION
   ================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

#navbar.scrolled {
  background: rgba(12, 14, 20, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .chip-icon {
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: 6px;
  display: grid;
  place-items: center;
}

.nav-logo .chip-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--void);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-hi);
  background: var(--panel);
}

.nav-cta {
  margin-left: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: var(--trans);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(12, 14, 20, 0.98);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-hi);
  background: var(--panel);
}

.mobile-nav.open {
  display: flex;
}

/* ================================================
   HERO — SIGNATURE ELEMENT: CIRCUIT SVG GRID
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

/* Circuit-trace animated background */
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
}

.circuit-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0, 200, 180, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 0 0 rgba(57, 255, 143, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 255, 143, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(57, 255, 143, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 143, 0);
  }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Specs strip */
.hero-specs {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.spec-item {}

.spec-val {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.spec-label {
  font-size: 0.78rem;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Floating chip visual */
.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--teal), transparent 50%, var(--green));
  box-shadow: 0 20px 50px rgba(0, 200, 180, 0.15);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.hero-floating-img {
  width: 100%;
  display: block;
  border-radius: calc(var(--r-lg) - 1px);
  transition: transform 0.5s var(--ease);
}

.hero-img-box:hover .hero-floating-img {
  transform: scale(1.03);
}

.hero-glow-effect {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(0, 200, 180, 0.25) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ================================================
   SECTION GENERIC
   ================================================ */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  max-width: 640px;
}

.section-header.center {
  margin: 0 auto 3rem;
  text-align: center;
  max-width: 640px;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.02rem;
}

/* ================================================
   WHY / FEATURE STRIP
   ================================================ */
.why-section {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.why-item {
  background: var(--surface);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.why-item:hover {
  background: var(--panel);
}

.why-icon {
  width: 42px;
  height: 42px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ================================================
   APPLICATIONS
   ================================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.app-card {
  position: relative;
  overflow: hidden;
}

.app-card .app-accent {
  position: absolute;
  top: 159px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color, var(--teal));
  z-index: 10;
  transition: box-shadow 0.3s;
}

.card:hover .app-accent {
  box-shadow: 0 0 10px var(--accent-color, var(--teal));
}

.app-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.badge-vision {
  background: rgba(57, 255, 143, 0.12);
  color: var(--green);
}

.badge-audio {
  background: rgba(0, 200, 180, 0.12);
  color: var(--teal);
}

.badge-sensor {
  background: rgba(255, 92, 58, 0.12);
  color: var(--ember);
}

.badge-nlp {
  background: rgba(138, 146, 168, 0.12);
  color: var(--text-mid);
}

.app-card h3 {
  margin-bottom: 0.6rem;
}

.app-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.app-card .specs-list {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.spec-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--void);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-lo);
}

/* ================================================
   PIPELINE / WORKFLOW
   ================================================ */
.pipeline-section {
  background: var(--surface);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  position: relative;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem 2rem;
  text-align: center;
  position: relative;
}

.pipe-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--teal-dim);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.pipe-step h4 {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.pipe-step p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ================================================
   CODE SECTION
   ================================================ */
.code-section {
  background: var(--void);
}

.code-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tab {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.85rem 1.25rem;
  color: var(--text-lo);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.code-tab:hover {
  color: var(--text-mid);
}

.code-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: var(--void);
  border-bottom: 1px solid var(--border);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) {
  background: #FF5C5C;
}

.code-dots span:nth-child(2) {
  background: #FFBC2E;
}

.code-dots span:nth-child(3) {
  background: #26C840;
}

.code-filename {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-lo);
}

.copy-btn {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  color: var(--teal);
  border-color: var(--teal-dim);
}

.copy-btn.copied {
  color: var(--green);
  border-color: var(--green);
}

.code-pane {
  display: none;
}

.code-pane.active {
  display: block;
}

.code-scroll {
  overflow-x: auto;
  padding: 1.5rem;
}

.code-scroll pre {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.85;
  color: #C8D0E7;
  white-space: pre;
}

/* minimal syntax tones */
.kw {
  color: #89B4FA;
}

/* keyword */
.fn {
  color: var(--teal);
}

.str {
  color: #A6E3A1;
}

.cm {
  color: var(--text-lo);
  font-style: italic;
}

.num {
  color: #FAB387;
}

.pp {
  color: #CBA6F7;
}

/* preprocessor */

/* ================================================
   LIBRARIES TABLE
   ================================================ */
.libs-section {
  background: var(--surface);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: var(--panel);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lo);
  border-bottom: 1px solid var(--border);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--panel);
}

tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
}

.lib-name {
  font-weight: 600;
  color: var(--text-hi);
  font-size: 0.9rem;
}

.lib-desc {
  color: var(--text-mid);
}

.install-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  background: var(--void);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--teal);
}

.stars {
  color: var(--ember);
  font-size: 0.8rem;
}

/* ================================================
   HARDWARE COMPARISON
   ================================================ */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.hw-card {
  position: relative;
  padding: 1.75rem;
}

.hw-card.featured {
  border-color: var(--teal-dim);
  background: linear-gradient(145deg, var(--panel), rgba(0, 200, 180, 0.04));
}

.hw-card.featured::before {
  content: 'Empfohlen';
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: var(--teal);
  color: var(--void);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 0 0 6px 6px;
}

.hw-card h3 {
  margin-bottom: 0.35rem;
}

.hw-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.hw-spec {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}

.hw-spec:last-of-type {
  border-bottom: none;
}

.hw-spec .k {
  color: var(--text-mid);
}

.hw-spec .v {
  font-family: var(--mono);
  color: var(--text-hi);
  font-size: 0.8rem;
}

.hw-price {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
}

/* ================================================
   RESOURCES
   ================================================ */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.res-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.res-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.card:hover .res-icon {
  transform: scale(1.1) rotate(2deg);
  background: rgba(0, 200, 180, 0.15);
}

.res-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.res-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.res-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.res-link:hover {
  gap: 0.6rem;
}

@media (max-width: 1024px) {
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .res-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 200, 180, 0.08), rgba(0, 126, 114, 0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3.5rem 0;
}

.cta-text h2 {
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: var(--text-mid);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lo);
  margin-bottom: 1rem;
  font-family: var(--mono);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-lo);
}

.footer-bottom a {
  color: var(--text-lo);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* ================================================
   UTILITIES / ANIMATIONS
   ================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero-grid-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  .hero-grid-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-specs {
    justify-content: center;
  }

  .hero-visual-wrap {
    order: -1;
    /* image above text on mobile/tablet */
    margin-bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline {
    gap: 1rem;
  }

  .pipeline::before {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
  }

  .hero-specs {
    gap: 1.5rem;
  }

  .pipeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  .fade-up {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Rating dots (replaces star emojis) ── */
.rating-bar {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-fill {
  background: var(--teal);
}

.dot-empty {
  background: var(--border);
}


/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-form-card {
  padding: 2rem;
}

.contact-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(0, 200, 180, 0.1);
  border: 1px solid var(--teal-dim);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card-header h3 {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.contact-sub {
  font-size: 0.78rem;
  color: var(--text-lo);
  font-family: var(--mono);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  background: var(--void);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-hi);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--text-lo);
}

.form-input:focus {
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 3px rgba(0, 200, 180, 0.1);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--panel);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.form-feedback {
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.83rem;
  font-family: var(--mono);
}

.form-feedback.success {
  background: rgba(57, 255, 143, 0.08);
  border: 1px solid rgba(57, 255, 143, 0.25);
  color: var(--green);
}

.form-feedback.error {
  background: rgba(255, 92, 58, 0.08);
  border: 1px solid rgba(255, 92, 58, 0.25);
  color: var(--ember);
}

/* Contact right column */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.meeting-card {
  padding: 1.75rem;
}

.meeting-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.meeting-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.meeting-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.direct-card {
  padding: 1.5rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.direct-item:last-child {
  border-bottom: none;
}

.direct-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 200, 180, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.direct-label {
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.direct-value {
  font-size: 0.85rem;
  color: var(--teal);
  transition: color 0.2s;
}

.direct-value:hover {
  color: #00e5ce;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ── PEOPLE FIRST PPP SECTION ── */
.ppp-section {
  background: var(--void);
}

/* 6P badge strip */
.sixp-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.sixp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
}

.sixp-people {
  background: rgba(0, 106, 182, 0.1);
  color: #4DA6FF;
  border-color: rgba(0, 106, 182, 0.3);
}

.sixp-planet {
  background: rgba(76, 153, 0, 0.1);
  color: #72C040;
  border-color: rgba(76, 153, 0, 0.3);
}

.sixp-prosperity {
  background: rgba(255, 204, 0, 0.1);
  color: #FFD840;
  border-color: rgba(255, 204, 0, 0.3);
}

.sixp-public {
  background: rgba(200, 40, 27, 0.1);
  color: #FF6B5E;
  border-color: rgba(200, 40, 27, 0.3);
}

.sixp-private {
  background: rgba(200, 110, 0, 0.1);
  color: #FFB347;
  border-color: rgba(200, 110, 0, 0.3);
}

.sixp-partnership {
  background: rgba(128, 0, 128, 0.1);
  color: #CC80FF;
  border-color: rgba(128, 0, 128, 0.3);
}

/* PPP use-case grid */
.ppp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.ppp-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--r-md);
  background: rgba(26, 30, 46, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 43, 62, 0.6);
  transition: var(--trans);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ppp-card:hover {
  border-color: var(--accent-color, rgba(0, 200, 180, 0.4));
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--accent-color-glow, rgba(0, 200, 180, 0.12));
}

.ppp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.ppp-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.ppp-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.ppp-card .ppp-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ppp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

/* Impact metrics row */
.ppp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.ppp-metric {}

.ppp-metric-val {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.ppp-metric-label {
  font-size: 0.68rem;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* SDG chips */
.sdg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

/* PPP principles banner */
.ppp-principles {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(0, 200, 180, 0.06), rgba(0, 51, 102, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.ppp-principles h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.ppp-principles p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.ppp-principle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.ppp-principle-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.ppp-principle-item svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ppp-principles {
    grid-template-columns: 1fr;
  }

  .ppp-principle-list {
    grid-template-columns: 1fr;
  }

  .ppp-grid {
    grid-template-columns: 1fr;
  }
}