/* --- Hookwal Premium Design System --- */

:root {
  /* Colors */
  --bg-dark: #030712;
  --bg-card: rgba(17, 24, 39, 0.45);
  --bg-card-hover: rgba(31, 41, 55, 0.6);
  --bg-terminal: #070a13;
  --bg-input: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 240, 255, 0.25);
  --border-glow-purple: rgba(191, 90, 242, 0.25);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-cyan: #00f0ff;
  --accent-cyan-rgb: 0, 240, 255;
  --accent-purple: #bf5af2;
  --accent-purple-rgb: 191, 90, 242;
  --accent-blue: #0a84ff;
  --accent-blue-rgb: 10, 132, 255;
  
  --status-success: #30d158;
  --status-warning: #ff9f0a;
  --status-error: #ff453a;
  
  /* Fonts */
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Blurs & Shadows */
  --glass-blur: blur(20px);
  --header-blur: blur(14px);
  --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --cyan-glow: 0 0 25px rgba(0, 240, 255, 0.25);
  --purple-glow: 0 0 25px rgba(191, 90, 242, 0.25);
}

/* Base resets & setups */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Glowing Cosmic Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.glow-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  animation: moveBlob1 20s infinite ease-in-out;
}

.glow-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 90, 242, 0.25) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation: moveBlob2 25s infinite ease-in-out;
}

.glow-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.2) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation: moveBlob1 15s infinite ease-in-out alternate;
}

@keyframes moveBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes moveBlob2 {
  0% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-40px, -60px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1.05); }
}

/* Grid wrappers & container */
.header-container, .hero, .features-section, .docs-container, .arch-intro, .arch-card, .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(3, 7, 18, 0.7);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(191, 90, 242, 0.1));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.logo-icon {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.6));
}

.logo-accent {
  color: var(--accent-cyan);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--accent-cyan);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Status Badge */
.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  position: relative;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-success);
}

.pulse-ring {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--status-success);
  animation: ripple 2s infinite ease-out;
  opacity: 0;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--status-success);
  letter-spacing: 0.2px;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Tab Layout Swapping */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding-top: 160px;
  padding-bottom: 80px;
}

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

.tagline-badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background-color: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.highlight-gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 240, 255, 0.15));
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* Button variants */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Terminal Simulator */
.hero-terminal {
  background-color: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 40px rgba(0, 0, 0, 0.8);
  position: relative;
}

.hero-terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 10;
}

.terminal-bar {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot.red { background-color: var(--status-error); }
.dot.yellow { background-color: var(--status-warning); }
.dot.green { background-color: var(--status-success); }

.terminal-name {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  margin-left: 12px;
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 270px;
  max-height: 270px;
  overflow-y: auto;
}

.t-line {
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
}

.t-line.info { color: var(--text-muted); }
.t-line.success { color: var(--accent-cyan); }
.t-line.error { color: var(--status-error); }

.blink-cursor {
  animation: terminalCursor 1s step-end infinite;
  color: var(--accent-cyan);
}

@keyframes terminalCursor {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

/* Feature Cards Grid */
.features-section {
  padding-bottom: 100px;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

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

.glass-card {
  background-color: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.feat-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--cyan-glow), var(--shadow-lg);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.feat-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.3));
}

.feat-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.feat-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SECTION 2: DOCUMENTATION */
.docs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-top: 130px;
  padding-bottom: 96px;
}

.docs-sidebar {
  position: sticky;
  top: 116px;
  height: calc(100vh - 160px);
  overflow-y: auto;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.sidebar-category:first-child {
  margin-top: 0;
}

.sidebar-link {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
}

.sidebar-link.active {
  color: var(--accent-cyan);
  background-color: rgba(0, 240, 255, 0.04);
  border-left-color: var(--accent-cyan);
  font-weight: 600;
}

/* Docs Main Content */
.docs-content {
  min-height: 600px;
}

.doc-view {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: docFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-view.active {
  display: flex;
}

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

.doc-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.lead-p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.doc-view p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.alert-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  margin: 12px 0;
}

.alert-box.indigo {
  background-color: rgba(99, 102, 241, 0.07);
  border-left: 4px solid var(--accent-blue);
}

.alert-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.alert-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.alert-text strong {
  color: var(--text-primary);
}

/* Endpoint headers */
.endpoint-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: 8px;
  align-self: flex-start;
}

.endpoint-badge code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.m-post, .m-get {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.m-post {
  background-color: rgba(191, 90, 242, 0.15);
  color: #d4a5f9;
  border: 1px solid rgba(191, 90, 242, 0.3);
}

.m-get {
  background-color: rgba(48, 209, 88, 0.15);
  color: #a2f1b7;
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.auth-tag {
  background-color: rgba(255, 69, 58, 0.1);
  color: #ff9f9a;
  border: 1px solid rgba(255, 69, 58, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.headers-wrapper {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.header-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.header-row:last-child {
  border-bottom: none;
}

.h-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.h-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.h-desc code {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Code Snippet Box */
.snippet-box {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-terminal);
}

.snippet-headers {
  background-color: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
}

.snippet-headers .s-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.snippet-headers .s-btn:hover {
  color: var(--text-primary);
}

.snippet-headers .s-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background-color: rgba(0, 240, 255, 0.02);
}

.snippet {
  display: none;
  padding: 20px;
  margin: 0;
  border: none;
  border-radius: 0;
}

.snippet.active {
  display: block;
}

/* SECTION 3: ARCHITECTURE */
.arch-intro {
  padding-top: 130px;
  padding-bottom: 40px;
}

.arch-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.arch-intro p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.arch-card {
  margin-bottom: 48px;
}

.arch-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* Interactive Pipeline Visualizer */
.pipeline-flow-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 36px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  align-items: center;
}

.p-node {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  text-align: center;
}

.p-node:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.p-node-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.p-node-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Connecting Flow Line Packets */
.p-flow-line {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 16px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 5;
}

.p-flow-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(255, 255, 255, 0.1);
}

.p-packet {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: flowAnim 2.5s infinite linear;
}

.p-packet-1 { animation-delay: 0s; }
.p-packet-2 { animation-delay: 0.5s; background-color: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple); }
.p-packet-3 { animation-delay: 1s; }
.p-packet-4 { animation-delay: 1.5s; background-color: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple); }
.p-packet-5 { animation-delay: 2s; }

@keyframes flowAnim {
  0% { left: -50px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100px; opacity: 0; }
}

/* Database schema view */
.schema-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

.schema-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schema-btn {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
}

.schema-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.schema-btn.active {
  background-color: rgba(0, 240, 255, 0.06);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

.schema-view-block {
  display: none;
  animation: docFadeIn 0.25s ease-out;
}

.schema-view-block.active {
  display: block;
}

.db-table {
  width: 100%;
  border-collapse: collapse;
}

.db-table th, .db-table td {
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
}

.db-table th {
  background-color: rgba(255, 255, 255, 0.015);
  font-weight: 600;
  color: var(--text-primary);
}

.db-table td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.db-table td {
  color: var(--text-secondary);
}

/* Badges inside DB schema inspector */
.t-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.t-badge.key {
  background-color: rgba(48, 209, 88, 0.12);
  color: #a2f1b7;
  border: 1px solid rgba(48, 209, 88, 0.2);
}

.t-badge.req {
  background-color: rgba(255, 159, 10, 0.12);
  color: #ffd085;
  border: 1px solid rgba(255, 159, 10, 0.2);
}

.t-badge.ref {
  background-color: rgba(10, 132, 255, 0.12);
  color: #9cd3ff;
  border: 1px solid rgba(10, 132, 255, 0.2);
  font-family: var(--font-mono);
}

/* Footer */
.footer {
  background-color: #010307;
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  margin-top: 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-logo svg {
  color: var(--accent-cyan);
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 140px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .docs-container {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 20px;
  }
  .schema-layout {
    grid-template-columns: 1fr;
  }
  .pipeline-flow-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .p-flow-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    text-align: center;
    width: 100%;
  }
  .pipeline-flow-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
