/* ==========================================================================
   EOSITE DIGITAL ENGINEERING STUDIO 2027
   Design System: Refined Obsidian & Editorial Agency Standard
   ========================================================================== */

/* Zero-CLS Fallback Font Metric Matching */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  /* Canvas & Elevated Layers - Modern Luminous Midnight Cyberpunk */
  --bg-deep: #070913;
  --bg-surface: #0c1020;
  --bg-card: #11172e;
  --bg-card-hover: #16203d;
  --bg-card-elevated: #1a2548;
  --bg-alt: #0a0d1b;

  /* Borders & Hairlines - Crisp Electric Accents */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(139, 92, 246, 0.55);
  --border-accent: rgba(99, 102, 241, 0.45);
  --border-glow: rgba(56, 189, 248, 0.4);

  /* Typography Palette - High-Contrast Precision */
  --text-pure: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Vibrant Cyber Accents */
  --accent-primary: #ffffff;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  /* Vibrant Brand Gradients */
  --grad-vibrant: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #d946ef 100%);
  --grad-ocean: linear-gradient(135deg, #06b6d4 0%, #38bdf8 50%, #6366f1 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
  --grad-card: linear-gradient(180deg, rgba(20, 27, 52, 0.85) 0%, rgba(13, 18, 36, 0.95) 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-drawer: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Global Overflow Containment */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
  height: auto;
}

pre,
code {
  max-width: 100%;
  box-sizing: border-box;
}

/* Accessibility & Screen Reader Utilities (WCAG 2.1 AA) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  clip: auto !important;
  clip-path: none !important;
  color: #0b0f17;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  line-height: normal;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  top: 1rem;
  width: auto;
  z-index: 100000;
  outline: 2px solid #ffffff;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 999999;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  background: var(--accent-cyan);
  color: #0b0f17;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
  outline: 2px solid #ffffff;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3,
h4,
h5,
h6 {
  color: var(--text-pure);
}

h1,
.hero-title,
.article-title,
.tool-hero-title {
  background: linear-gradient(135deg, #ffffff 15%, #cbd5e1 45%, #a5b4fc 75%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.85rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  padding-bottom: 0.04em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h2,
.section-heading,
.case-split-title,
.bento-title,
.blog-card-title,
.blog-card-title a {
  color: #38bdf8;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.blog-card-title a {
  color: #38bdf8;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #7dd3fc;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-heading {
  margin-bottom: 1.1rem;
}

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

/* ==========================================================================
   VIBRANT GRADIENT TEXT & LUMINOUS ACCENTS
   ========================================================================== */
.text-grad-vibrant {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-grad-ocean {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-grad-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-grad-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-grad-purple {
  background: linear-gradient(135deg, #e879f9 0%, #c084fc 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-grad-rose {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   HEADER & ARCHITECTURAL OFF-CANVAS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 11, 20, 0.42);
  backdrop-filter: blur(20px) saturate(190%) contrast(105%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(105%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(7, 9, 16, 0.75);
  backdrop-filter: blur(24px) saturate(200%) contrast(110%);
  -webkit-backdrop-filter: blur(24px) saturate(200%) contrast(110%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Brand Identity */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.brand-mark:hover {
  transform: translateY(-1px);
}

.brand-symbol-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 16px rgba(56, 189, 248, 0.12);
  transition: all var(--transition-fast);
}

.brand-mark:hover .brand-symbol-svg {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 22px rgba(56, 189, 248, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1;
}

.brand-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.12rem 0.42rem;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.22rem;
  line-height: 1;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-inquire-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.15rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header-inquire-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--border-focus);
}

/* Editorial Menu Button */
.header-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #090a0f;
  border: none;
  padding: 0.55rem 1.25rem;
  min-height: 48px;
  min-width: 48px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 1005;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
}

.header-menu-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.menu-icon {
  width: 14px;
  height: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon .line {
  display: block;
  height: 2px;
  width: 100%;
  background: #090a0f;
  border-radius: 1px;
}

/* Off-Canvas Backdrop */
.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offcanvas-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Off-Canvas Drawer */
.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 92vw;
  height: 100vh;
  background: #0e1017;
  border-left: 1px solid var(--border-subtle);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  z-index: 1999;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-drawer), visibility var(--transition-drawer);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.offcanvas-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.offcanvas-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 2rem;
}

.offcanvas-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.offcanvas-brand-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.offcanvas-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.offcanvas-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}

.close-symbol {
  font-size: 1.1rem;
  line-height: 1;
}

/* Offcanvas Navigation Links */
.offcanvas-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offcanvas-link {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

.offcanvas-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.link-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-indigo);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.link-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.link-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Offcanvas Drawer Bottom */
.offcanvas-bottom {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-item a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-indigo);
}

.offcanvas-legal-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.5rem;
}

body.offcanvas-active,
body.sprint-drawer-active {
  overflow: hidden;
}

/* ==========================================================================
   SPRINT INQUIRY SLIDE-OUT DRAWER & BACKDROP
   ========================================================================== */
.sprint-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.sprint-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sprint-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 540px;
  max-width: 95vw;
  height: 100vh;
  background: var(--bg-surface, #0c1020);
  border-left: 1px solid var(--border-glow, rgba(56, 189, 248, 0.3));
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2001;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.sprint-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.sprint-drawer-content {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100%;
}

.sprint-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.sprint-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.drawer-status-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.08em;
}

.sprint-drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.sprint-drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.sprint-drawer-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sprint-drawer-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.2;
}

.sprint-drawer-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.sprint-drawer-subtitle strong {
  color: #ffffff;
}

/* Fast Connect 1-Click Badges */
.sprint-fast-connect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.fast-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.fast-connect-btn.whatsapp-btn {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.fast-connect-btn.whatsapp-btn:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34d399;
  transform: translateY(-1px);
}

.fast-connect-btn.upwork-btn {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.fast-connect-btn.upwork-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.sprint-drawer-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sprint-drawer-divider::before,
.sprint-drawer-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.sprint-drawer-divider span {
  padding: 0 0.85rem;
}

/* Interactive Sprint Form Styles */
.sprint-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.sprint-inquiry-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.sprint-inquiry-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 600px) {

  .sprint-inquiry-form .form-row-2col,
  .sprint-fast-connect {
    grid-template-columns: 1fr;
  }

  .sprint-drawer {
    width: 100vw;
  }
}

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

.sprint-inquiry-form .form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sprint-inquiry-form .required-mark {
  color: #f87171;
}

.sprint-inquiry-form .form-input,
.sprint-inquiry-form .form-select,
.sprint-inquiry-form .form-textarea {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: #ffffff;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.sprint-inquiry-form .form-input:focus,
.sprint-inquiry-form .form-select:focus,
.sprint-inquiry-form .form-textarea:focus {
  border-color: var(--accent-indigo, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
  background: #16203d;
}

.sprint-inquiry-form .form-select {
  cursor: pointer;
}

.sprint-inquiry-form .form-textarea {
  resize: vertical;
  min-height: 80px;
}

.sprint-form-feedback {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.5;
  font-family: var(--font-sans);
  font-weight: 500;
}

.sprint-form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.sprint-form-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.sprint-drawer-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.drawer-assurance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.assurance-icon {
  color: #34d399;
  font-weight: 800;
}

/* ==========================================================================
   BUTTONS & MICRO-COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(139, 92, 246, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.5);
  color: #ffffff;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  min-height: 44px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO AGENCY SECTION
   ========================================================================== */
.hero-section {
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 80% at 15% -15%, rgba(99, 102, 241, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 85% 10%, rgba(6, 182, 212, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(168, 85, 247, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 55%),
    linear-gradient(165deg, #060a16 0%, #09102a 40%, #07091a 70%, #060b12 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 70% 30%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 30% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 55%);
  animation: heroGradientPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero-section>* {
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.18);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981, 0 0 4px #34d399;
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.hero-title {
  max-width: 980px;
  margin-bottom: 1.5rem;
}

.hero-lead {
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
}

.hero-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 0.25rem 0.85rem 0.25rem 0.35rem;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin-right: 0.35rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(8px);
}

.hero-author-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #a855f7;
  display: block;
}

.hero-author-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Diagnostic Card with Vibrant Aurora Glow */
.diagnostic-card {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(180deg, rgba(18, 20, 28, 0.95) 0%, rgba(12, 14, 20, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  text-align: left;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 40px -10px rgba(99, 102, 241, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.diagnostic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4, #10b981);
}

.diagnostic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-hairline);
}

.diagnostic-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 0.1em;
  display: block;
}

.diagnostic-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.diagnostic-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.diagnostic-form .input-wrapper {
  display: flex;
  gap: 0.8rem;
  background: #090a0f;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 0.45rem;
  transition: all var(--transition-fast);
}

.diagnostic-form .input-wrapper:focus-within {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.diagnostic-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
}

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

.diagnostic-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

.metric-cell {
  text-align: left;
}

.metric-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.metric-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.text-accent {
  color: var(--accent-indigo);
}

.text-emerald {
  color: var(--accent-emerald);
}

.text-rose {
  color: var(--accent-rose);
}

/* Trust Marquee */
.trust-marquee {
  width: 100%;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-hairline);
}

.trust-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ==========================================================================
   BENTO GRID CAPABILITIES
   ========================================================================== */
.bento-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-box {
  background: linear-gradient(180deg, #131622 0%, #0d1018 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-box:hover {
  transform: translateY(-3px);
}

/* Individual Colorful Bento Card Accents */
.bento-box-1 {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 10px 30px -15px rgba(168, 85, 247, 0.15);
}

.bento-box-1:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 18px 45px -10px rgba(168, 85, 247, 0.35);
  background: linear-gradient(180deg, #191629 0%, #0f0d1a 100%);
}

.bento-box-1 .bento-pill {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.bento-box-1 .bento-index {
  color: #a855f7;
  font-weight: 700;
}

.bento-box-2 {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px -15px rgba(16, 185, 129, 0.15);
}

.bento-box-2:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 18px 45px -10px rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #101c1c 0%, #0a1313 100%);
}

.bento-box-2 .bento-pill {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.bento-box-2 .bento-index {
  color: #10b981;
  font-weight: 700;
}

.bento-box-3 {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 10px 30px -15px rgba(59, 130, 246, 0.15);
}

.bento-box-3:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 18px 45px -10px rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, #10182b 0%, #0b101c 100%);
}

.bento-box-3 .bento-pill {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.bento-box-3 .bento-index {
  color: #3b82f6;
  font-weight: 700;
}

.bento-box-4 {
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 10px 30px -15px rgba(245, 158, 11, 0.15);
}

.bento-box-4:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 18px 45px -10px rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, #1f1a14 0%, #14100c 100%);
}

.bento-box-4 .bento-pill {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.bento-box-4 .bento-index {
  color: #f59e0b;
  font-weight: 700;
}

.bento-large {
  grid-column: span 12;
}

.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.bento-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.1em;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.bento-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.bento-title {
  margin-bottom: 0.9rem;
}

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

.bento-stat-pills {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bento-footer-link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.bento-actions-row {
  margin-top: 1.8rem;
}

/* ==========================================================================
   4-PHASE FRAMEWORK
   ========================================================================== */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.framework-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition-smooth);
}

.framework-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-indigo);
  margin-bottom: 1rem;
}

.step-title {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

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

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.case-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.case-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.08em;
}

.case-client {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.case-title {
  margin-bottom: 1rem;
}

.case-summary {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.case-stats {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  gap: 3rem;
}

.c-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.c-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   SPECIFICATION TABLE
   ========================================================================== */
.table-container {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
}

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

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.02);
}

.row-label {
  font-weight: 600;
  color: #ffffff;
}

.table-highlight {
  background: rgba(99, 102, 241, 0.04);
  font-weight: 600;
  color: #ffffff;
  border-left: 1px solid var(--border-hairline);
}

/* ==========================================================================
   PRICING & ENGAGEMENT SPRINTS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.pricing-card {
  background: linear-gradient(180deg, #131622 0%, #0d1018 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.pricing-card-featured {
  background: linear-gradient(180deg, #181a2e 0%, #111322 100%);
  border: 1px solid rgba(139, 92, 246, 0.6);
  box-shadow:
    0 25px 60px -15px rgba(99, 102, 241, 0.35),
    0 0 35px -5px rgba(168, 85, 247, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow:
    0 30px 70px -15px rgba(99, 102, 241, 0.45),
    0 0 45px -5px rgba(168, 85, 247, 0.35);
}

.pricing-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.badge-featured {
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.tier-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.tier-cost {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.price-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.price-val {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tier-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

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

.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tier-features li span {
  color: var(--accent-emerald);
  font-weight: 800;
}

.pricing-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-card.active .faq-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-drawer {
  display: none;
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-card.active .faq-drawer {
  display: block;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-section {
  padding: 7rem 0;
  background: radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.15), transparent 70%);
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.cta-title {
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   ENTERPRISE FOOTER
   ========================================================================== */
.enterprise-footer {
  background: #07080b;
  border-top: 1px solid var(--border-hairline);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.92rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--text-secondary);
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-sub-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   E-E-A-T FOUNDER CREDIBILITY & VERIFIED TRACK RECORD
   ========================================================================== */
.founder-profile-card {
  background: linear-gradient(180deg, #131624 0%, #0c0f18 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 40px -10px rgba(99, 102, 241, 0.2);
}

.founder-identity-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border-hairline);
  padding-right: 2.5rem;
}

.founder-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
  position: relative;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 2px solid #090a0f;
}

.founder-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.founder-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.founder-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.f-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.f-badge:hover {
  transform: translateY(-1px);
}

.f-badge-verified {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.f-badge-nsda {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
}

.f-badge-brta {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.12);
}

.f-badge-db {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
}

.founder-content-col {
  display: flex;
  flex-direction: column;
}

.founder-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.founder-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-hairline);
}

.f-stat-number {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.f-stat-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}

/* ==========================================================================
   GEO REGIONAL NETWORK HUBS
   ========================================================================== */
.geo-network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.geo-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.geo-hub-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.geo-hub-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.geo-flag-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.geo-zone-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

.geo-hub-title {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.geo-hub-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.geo-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.geo-perks-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.geo-perks-list li span {
  color: var(--accent-indigo);
  font-weight: 700;
}

.geo-hub-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   LLMSEO ENTITY KNOWLEDGE EXTRACTION TABLE
   ========================================================================== */
.entity-box {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.entity-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.entity-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.entity-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
}

/* ==========================================================================
   PROPRIETARY ASSET: MISTCULTURE.COM SHOWCASE
   ========================================================================== */
.mistculture-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.12), transparent 40%),
    linear-gradient(180deg, #101c1c 0%, #0a1314 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 2rem;
  position: relative;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 40px -10px rgba(16, 185, 129, 0.25);
  display: flex;
  flex-direction: column;
}

.mistculture-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.mistculture-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.1em;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.mistculture-title {
  font-size: 1.85rem;
  color: #ffffff;
}

.mistculture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.mc-metric-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.03em;
}

.mc-metric-lbl {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.mistculture-roadmap-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   DEEP PROJECT SHOWCASE & TECHNICAL CODE SNIPPETS
   ========================================================================== */
.deep-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.deep-case-card:hover {
  transform: translateY(-3px);
}

/* Deep Case Card Variants with Colorful Accents */
.deep-case-skillstack {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 50px -15px rgba(139, 92, 246, 0.18);
  background: linear-gradient(180deg, #161426 0%, #0e0d18 100%);
}

.deep-case-skillstack:hover {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 25px 65px -10px rgba(139, 92, 246, 0.35);
}

.deep-case-skillstack .deep-case-tag {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.deep-case-floppy {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 50px -15px rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, #1a1711 0%, #100e0a 100%);
}

.deep-case-floppy:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 25px 65px -10px rgba(245, 158, 11, 0.35);
}

.deep-case-floppy .deep-case-tag {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.deep-case-ballet {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 50px -15px rgba(6, 182, 212, 0.18);
  background: linear-gradient(180deg, #0e1820 0%, #080f14 100%);
}

.deep-case-ballet:hover {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 25px 65px -10px rgba(6, 182, 212, 0.35);
}

.deep-case-ballet .deep-case-tag {
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.deep-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.deep-case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.1em;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.deep-case-title {
  font-size: 1.65rem;
  color: #ffffff;
}

.deep-case-client {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tech-stack-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.case-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.case-block-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-block-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.code-payload-preview {
  background: #080a10;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #c7d2fe;
  line-height: 1.65;
  overflow-x: auto;
  margin-top: 1rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}

.code-payload-header {
  font-size: 0.7rem;
  color: #38bdf8;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.case-result-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #34d399;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

/* ==========================================================================
   1,000+ AUDIT CHECKLIST GRID (JEZWEB STANDARDS)
   ========================================================================== */
.audit-checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audit-check-card {
  background: linear-gradient(180deg, #131622 0%, #0d1018 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.audit-check-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.25);
  background: linear-gradient(180deg, #161a29 0%, #0f121e 100%);
}

.check-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a855f7;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.check-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.check-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   ONGOING CLIENT CLOUD (LEGUP DUBLIN)
   ========================================================================== */
.client-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.client-roster-item {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.client-roster-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.client-roster-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-indigo);
}

.client-roster-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }

  .pricing-card-featured {
    transform: none !important;
  }

  .pricing-card-featured:hover {
    transform: translateY(-3px) !important;
  }

  .geo-network-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }

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

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

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

  .case-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founder-profile-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-identity-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding-right: 0;
    padding-bottom: 2rem;
  }

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

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

/* ==========================================================================
   BLOG ARCHIVE & EDITORIAL CARDS
   ========================================================================== */
/* [FILTER BAR — defined in Tools/Blog filter section below] */

.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(139, 92, 246, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

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

.blog-card {
  background: linear-gradient(180deg, #131622 0%, #0d1018 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -15px rgba(99, 102, 241, 0.25);
  background: linear-gradient(180deg, #171a29 0%, #10121d 100%);
}

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

.blog-card-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.blog-card-readtime {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.blog-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: #a5b4fc;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-author-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.author-mini-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #8b5cf6;
}

.author-mini-text {
  display: flex;
  flex-direction: column;
}

.author-mini-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.author-mini-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.blog-read-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-read-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.blog-pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.blog-pagination ul.page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #ffffff;
}

/* ==========================================================================
   SINGLE ARTICLE EDITORIAL VIEW
   ========================================================================== */
.single-article-view {
  position: relative;
}

.article-hero {
  padding: 5rem 0 3.5rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border-hairline);
}

.article-hero-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.article-readtime {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-status-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #34d399;
}

.article-main-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.article-lead-excerpt {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
}

.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  text-align: left;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-bar-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-bar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8b5cf6;
}

.author-bar-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-bar-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.author-bar-credentials {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.author-bar-dates {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: right;
}

.article-layout-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-takeaways-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-bottom: 2.8rem;
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.takeaways-icon {
  color: #fbbf24;
  font-size: 1.2rem;
}

.takeaways-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.takeaways-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.6;
}

.takeaways-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}

/* Prose Typography */
.prose-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.prose-content p {
  margin-bottom: 1.8rem;
}

.prose-content p.lead {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #f1f5f9;
  font-weight: 400;
  margin-bottom: 2.2rem;
}

.prose-content h2 {
  font-size: 1.85rem;
  color: #38bdf8;
  margin: 3.2rem 0 1.2rem 0;
  letter-spacing: -0.025em;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

.prose-content h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 2.2rem 0 1rem 0;
}

.prose-content ul,
.prose-content ol {
  margin: 1.5rem 0 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prose-content li {
  color: #cbd5e1;
  line-height: 1.7;
}

.prose-content strong {
  color: #ffffff;
  font-weight: 700;
}

.prose-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #38bdf8;
}

.prose-content pre {
  background: #080a10;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}

.prose-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #c7d2fe;
  font-size: 0.88rem;
  line-height: 1.65;
}

.article-audit-cta-box {
  background: linear-gradient(135deg, #131726 0%, #0d101a 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3.5rem 0;
  flex-wrap: wrap;
}

.cta-box-text h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.cta-box-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.article-author-card {
  background: linear-gradient(180deg, #131624 0%, #0c0f18 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 4rem 0 3rem 0;
}

.author-card-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  flex-shrink: 0;
}

.author-card-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #090a0f;
  display: block;
}

.author-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}

.author-card-name {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.author-card-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.author-card-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.article-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
}

.article-nav-item {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.article-nav-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.nav-next {
  text-align: right;
}

.nav-direction {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a855f7;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.nav-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.65);
}

.scroll-to-top:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .site-header {
    min-height: 64px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding: 4.5rem 0 3rem 0;
  }

  .pricing-card-featured {
    transform: none !important;
  }

  .pricing-card-featured:hover {
    transform: translateY(-3px) !important;
  }

  .bento-layout {
    gap: 1.25rem;
  }

  .bento-box {
    grid-column: span 12;
    padding: 2rem 1.75rem;
  }

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

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-intro {
    margin: 0 auto 2.5rem auto;
    padding: 0 0.5rem;
  }

  /* Header adjustments */
  .site-header {
    min-height: 64px;
  }

  .nav-wrapper {
    height: 64px;
  }

  .site-header .header-inquire-btn {
    display: none;
  }

  .header-menu-btn {
    min-height: 48px;
    min-width: 48px;
    padding: 0.5rem 1rem;
  }

  /* Hero adjustments */
  .hero-section {
    padding: 3.5rem 0 2.5rem 0;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    padding: 0 0.25rem;
  }

  .hero-badge {
    white-space: normal;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.4;
    padding: 0.4rem 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Diagnostic Card & Form */
  .diagnostic-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .diagnostic-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.85rem;
  }

  .diagnostic-subtitle {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .diagnostic-form .input-wrapper {
    flex-direction: column;
    gap: 0.65rem;
    background: transparent;
    border: none;
    padding: 0;
  }

  .diagnostic-form input {
    background: #090a0f;
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: 100%;
    min-height: 48px;
  }

  .diagnostic-form .btn-accent {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .diagnostic-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .metric-number {
    font-size: 1.4rem;
  }

  .metric-caption {
    font-size: 0.75rem;
  }

  /* Grids & Cards */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .blog-card {
    padding: 1.5rem 1.25rem;
  }

  .article-nav-row {
    grid-template-columns: 1fr;
  }

  .article-author-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .author-card-avatar-wrap {
    margin: 0 auto;
  }

  .author-card-actions {
    justify-content: center;
  }

  .article-author-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-bar-dates {
    text-align: left;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 1.85rem 1.35rem;
  }

  .bento-box {
    grid-column: span 12;
  }

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

  .case-split-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

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

  .deep-case-card {
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.5rem;
  }

  .deep-case-title {
    font-size: 1.25rem;
  }

  .code-payload-preview {
    padding: 1rem;
    font-size: 0.76rem;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .client-roster-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .client-roster-item {
    padding: 1rem;
  }

  .audit-checks-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .audit-check-card {
    padding: 1.35rem 1.15rem;
  }

  .founder-profile-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
  }

  .founder-identity-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .founder-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-legal-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .footer-sub-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }

  .tools-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .other-tools-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tool-io-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sprint-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .offcanvas-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

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

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .diagnostic-card {
    padding: 1.25rem 0.85rem;
  }

  .diagnostic-metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 0.5rem;
  }

  .metric-number {
    font-size: 1.25rem;
  }

  .metric-caption {
    font-size: 0.7rem;
  }

  .client-roster-grid {
    grid-template-columns: 1fr;
  }

  .f-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .filter-pill,
  .tool-filter-pill {
    font-size: 0.72rem;
    padding: 0.45rem 0.85rem;
  }
}


/* ==========================================================================
   TOOLS HUB DIRECTORY & ARCHIVE STYLES
   ========================================================================== */
.tools-hero-section {
  padding: 5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 20% -20%, rgba(99, 102, 241, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 90% 65% at 80% 5%, rgba(6, 182, 212, 0.30) 0%, transparent 50%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(168, 85, 247, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 10% 80%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
    linear-gradient(170deg, #060a16 0%, #0a1228 45%, #07091c 75%, #060b14 100%);
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.tools-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 65% 25%, rgba(56, 189, 248, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 35% 65%, rgba(139, 92, 246, 0.16) 0%, transparent 55%);
  animation: heroGradientPulse 9s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}

.tools-hero-section>* {
  position: relative;
  z-index: 1;
}

.tools-hero-content {
  position: relative;
  z-index: 1;
}

.tools-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.tools-hero-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.tools-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.tools-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 2rem;
}

.tools-hero-subtitle strong {
  color: #ffffff;
}

/* Horizontal Scrollable Filter Bar for Tools Hub & Blog */
.blog-filter-wrapper,
.tools-filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.filter-scroll-btn {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary, #cbd5e1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 2;
}

.filter-scroll-btn:hover {
  background: var(--bg-card-hover, #16203d);
  color: #ffffff;
  border-color: var(--accent-indigo, #8b5cf6);
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
  width: 100%;
  min-width: 0;
}

.blog-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill,
.tool-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.filter-pill:hover,
.tool-filter-pill:hover {
  background: var(--bg-card-hover, #16203d);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

.filter-pill.active,
.tool-filter-pill.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.35));
  border-color: var(--accent-indigo, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* Tools Directory Grid */
.tools-directory-section {
  padding: 4.5rem 0 6rem 0;
  background: var(--bg-deep, #070913);
}

.tools-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

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

.tool-showcase-card {
  background: var(--bg-surface, #0c1020);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tool-showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow, rgba(56, 189, 248, 0.4));
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tool-showcase-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a12;
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.tool-showcase-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.tool-showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tool-showcase-card:hover .tool-showcase-img-wrap img {
  transform: scale(1.03);
}

.tool-execution-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #34d399;
  background: rgba(3, 10, 18, 0.88);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.tool-showcase-body {
  padding: 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-showcase-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.tool-number-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.tool-category-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tool-showcase-title {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.tool-showcase-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.tool-showcase-title a:hover {
  color: var(--accent-indigo, #8b5cf6);
}

.tool-showcase-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 1.25rem;
}

.tool-features-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tool-features-list li {
  font-size: 0.82rem;
  color: var(--text-secondary, #cbd5e1);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.feat-check {
  color: #34d399;
  font-weight: 800;
  font-size: 0.85rem;
}

.tool-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tool-launch-btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  min-height: 40px;
}

.tool-cost-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted, #94a3b8);
}

/* ==========================================================================
   DEDICATED SINGLE TOOL STUDIO STYLES
   ========================================================================== */
.tool-breadcrumbs {
  padding: 1.25rem 0;
  background: var(--bg-deep, #070913);
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.06));
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.breadcrumb-list li a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list li a:hover {
  color: #ffffff;
}

.bc-sep {
  color: var(--text-muted, #64748b);
}

.bc-current {
  color: #a78bfa;
  font-weight: 600;
}

.single-tool-hero {
  padding: 3.5rem 0 2.5rem 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139, 92, 246, 0.16), transparent 70%),
    var(--bg-deep, #070913);
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  text-align: center;
}

.tool-kicker-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.kicker-glow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.single-tool-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.single-tool-tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary, #cbd5e1);
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.single-tool-chips-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tool-meta-chip {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chip-lbl {
  color: var(--text-muted, #94a3b8);
}

.chip-val {
  color: #ffffff;
  font-weight: 700;
}

/* Tool Studio Workspace Container */
.single-tool-workspace {
  padding: 3.5rem 0 5rem 0;
  background: var(--bg-surface, #0c1020);
}

.tool-studio-wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

/* Master Tool Card Box */
.tool-card-box {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-glow, rgba(56, 189, 248, 0.25));
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px -5px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

@media (max-width: 768px) {
  .tool-card-box {
    padding: 1.5rem 1.25rem;
  }
}

/* Tool Input Group & Audit Field (Fixing screenshot 2 squished input) */
.audit-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #070913;
  border: 1.5px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.55rem 0.45rem 1.25rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  width: 100%;
}

.audit-input-wrapper:focus-within {
  border-color: var(--accent-indigo, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.audit-input-icon {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-indigo, #8b5cf6);
  user-select: none;
  flex-shrink: 0;
}

.audit-text-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  flex: 1;
  min-width: 180px;
  outline: none;
  padding: 0.4rem 0.25rem;
}

.audit-text-input::placeholder {
  color: var(--text-muted, #64748b);
}

.audit-submit-action {
  flex-shrink: 0;
  padding: 0.75rem 1.65rem;
  min-height: 46px;
  border-radius: var(--radius-pill);
}

@media (max-width: 680px) {
  .audit-input-wrapper {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 0.85rem;
    gap: 0.85rem;
  }

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

.competitor-toggle-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-secondary, #cbd5e1);
  margin-top: 1rem;
  cursor: pointer;
}

.competitor-toggle-bar input[type="checkbox"] {
  accent-color: var(--accent-indigo, #8b5cf6);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.audit-input-hints {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  flex-wrap: wrap;
}

.audit-input-hints span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Grid Layouts for Studio Tools */
.wireframe-studio-grid,
.palette-studio-grid,
.schema-studio-grid,
.headers-studio-grid,
.roi-studio-grid,
.social-studio-grid,
.favicon-studio-grid,
.redirects-studio-grid,
.robots-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {

  .wireframe-studio-grid,
  .palette-studio-grid,
  .schema-studio-grid,
  .headers-studio-grid,
  .roi-studio-grid,
  .social-studio-grid,
  .favicon-studio-grid,
  .redirects-studio-grid,
  .robots-studio-grid {
    grid-template-columns: 1fr;
  }
}

/* Studio Form Controls & Inputs */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary, #cbd5e1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input-dark,
.form-select-dark,
.form-textarea-dark {
  background: #080b15;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: #ffffff;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input-dark:focus,
.form-select-dark:focus,
.form-textarea-dark:focus {
  border-color: var(--accent-indigo, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
  background: #0d1222;
}

.form-select-dark {
  cursor: pointer;
}

.form-textarea-dark {
  resize: vertical;
  min-height: 90px;
}

/* Checkbox Blocks */
.checkbox-block-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.block-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.block-check-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-focus, rgba(139, 92, 246, 0.4));
}

.block-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.block-subtext {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 0.2rem;
}

/* Code Preview Box with Monospace Formatting */
.code-preview-box {
  background: #05070d;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.6;
  white-space: pre;
}

/* Tabbed Documentation Component */
.single-tool-docs-section {
  padding: 5rem 0 6rem 0;
  background: var(--bg-deep, #070913);
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.tool-docs-card {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-lg, 16px);
  padding: 2.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .tool-docs-card {
    padding: 1.75rem 1.25rem;
  }
}

.tool-docs-header {
  margin-bottom: 2rem;
}

.tool-docs-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.tool-docs-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.6;
}

.tool-docs-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tool-docs-tabs-nav::-webkit-scrollbar {
  display: none;
}

.tool-doc-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tool-doc-tab:hover {
  color: #ffffff;
}

.tool-doc-tab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.tool-doc-pane {
  display: none;
}

.tool-doc-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.doc-subheading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.doc-body-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 2rem;
}

/* Equations Grid */
.equations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.equation-card {
  background: #080b15;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.equation-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.eq-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #c084fc;
}

.eq-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.equation-math-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.equation-math-box code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38bdf8;
}

.equation-explanation {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0;
}

/* Retainer Spotlight Box in Docs */
.retainer-spotlight-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

@media (max-width: 800px) {
  .retainer-spotlight-card {
    grid-template-columns: 1fr;
  }
}

.retainer-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.retainer-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.retainer-bio {
  font-size: 0.88rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.retainer-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.retainer-perks-list li {
  font-size: 0.82rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.retainer-right-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.price-rate {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.price-subtext {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin: 0.4rem 0 1.25rem 0;
}

/* ==========================================================================
   BLOG ARCHIVE & SINGLE POST EDITORIAL ENHANCEMENTS
   ========================================================================== */
.blog-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #090c18;
  margin-bottom: 1.15rem;
  position: relative;
}

.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb {
  transform: scale(1.04);
}

.blog-load-more-wrap {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.blog-progress-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
}

.blog-progress-bar-wrap {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.blog-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  transition: width 0.4s ease;
}

/* Single Post Featured Hero Graphic */
.article-featured-hero {
  margin: 0 0 2.5rem 0;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--border-glow, rgba(56, 189, 248, 0.25));
  background: #090c18;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.article-featured-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.article-featured-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: #060810;
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.08em;
}

/* LLM GEO Executive Summary Box */
.geo-executive-summary {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-glow, rgba(56, 189, 248, 0.3));
  border-radius: var(--radius-md);
  padding: 1.85rem;
  margin-bottom: 2.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.geo-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.geo-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.geo-code-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.geo-summary-lead {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.geo-summary-lead strong {
  color: #ffffff;
}

.geo-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.geo-metric-card {
  background: #080b15;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.geo-metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
}

.geo-metric-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

/* Article Table of Contents (TOC) */
.article-toc {
  background: #0a0d18;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.article-toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-toc-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.article-toc-list li a {
  font-size: 0.88rem;
  color: var(--text-secondary, #cbd5e1);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.article-toc-list li a:hover {
  color: var(--accent-indigo, #8b5cf6);
}

/* ==========================================================================
   ARTICLE PRODUCTION FAQ ACCORDION (Addressing screenshot 4)
   ========================================================================== */
.article-faq-container {
  margin: 3.5rem 0;
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
  .article-faq-container {
    padding: 1.75rem 1.25rem;
  }
}

/* Full-width top border highlight (Fixing screenshot 4) */
.article-faq-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #38bdf8, #10b981);
}

.article-faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.faq-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
}

.faq-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.faq-section-title span {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-faq-container .faq-item {
  background: var(--bg-surface, #0c1020);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.article-faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.article-faq-container .faq-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.article-faq-container .faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.article-faq-container .faq-question::before {
  content: 'Q: ';
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 800;
}

.article-faq-container .faq-answer {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary, #cbd5e1);
}

.article-faq-container .faq-answer p {
  margin: 0;
}

/* ==========================================================================
   TIGHTENED HERO CLIENT PROOFS SPACING (Addressing screenshot 3)
   ========================================================================== */
.trust-marquee {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.trust-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 1rem;
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary, #cbd5e1);
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
}



/* ==========================================================================
   HELPER UTILITY & COMPONENT CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

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

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

.section-header {
  margin-bottom: 3.5rem;
}

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

.mono-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo, #8b5cf6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.glass-card {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Fluid Mesh Canvas & Orbs */
.fluid-mesh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.fluid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}

.fluid-orb-1 {
  width: 400px;
  height: 400px;
  background: #8b5cf6;
  top: -100px;
  left: 20%;
}

.fluid-orb-2 {
  width: 350px;
  height: 350px;
  background: #06b6d4;
  top: 10%;
  right: 15%;
}

.fluid-orb-3 {
  width: 300px;
  height: 300px;
  background: #10b981;
  bottom: 0;
  left: 40%;
}

/* Article Layout & Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-breadcrumbs a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.article-breadcrumbs a:hover {
  color: #ffffff;
}

.crumb-separator {
  color: #64748b;
}

.article-body-section {
  padding: 3.5rem 0 5rem 0;
}

.article-layout-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-content-column {
  width: 100%;
}

/* Article Audit CTA Box */
.article-audit-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem;
  margin: 3.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-box-text h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.cta-box-text p {
  font-size: 0.9rem;
  color: var(--text-secondary, #cbd5e1);
  margin: 0;
  line-height: 1.55;
}

/* Conversion & Other Tools Showcase */
.audit-conversion-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.audit-conv-left h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.audit-conv-left p {
  font-size: 0.92rem;
  color: var(--text-secondary, #cbd5e1);
  margin: 0;
  line-height: 1.6;
}

.other-tools-section {
  padding: 5rem 0 6rem 0;
  background: var(--bg-surface, #0c1020);
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
}

.other-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.tool-preview-card {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.tool-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-indigo, #8b5cf6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.tool-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080a12;
  overflow: hidden;
}

.tool-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-card-content {
  padding: 1.5rem;
}

.tool-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.tool-card-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #c084fc;
}

.tool-card-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted, #94a3b8);
}

.tool-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.tool-card-title a {
  color: #ffffff;
  text-decoration: none;
}

.tool-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Documentation FAQ Accordion & Code Blocks */
.doc-faq-intro {
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary, #cbd5e1);
}

.doc-faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-faqs-accordion .faq-item {
  background: #080b15;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-fast);
}

.doc-faqs-accordion .faq-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.doc-faqs-accordion .faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.doc-faqs-accordion .faq-answer {
  font-size: 0.88rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.6;
}

.code-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.code-runtime-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
}

.doc-code-block {
  background: #05070d;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.65;
  white-space: pre;
}

/* Load More Button Helpers */
.blog-all-loaded-msg {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #34d399;
  letter-spacing: 0.05em;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
  color: var(--text-primary, #ffffff);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}



/* Final Polish Helpers */
.filter-scroll-prev {
  left: 0;
}

.filter-scroll-next {
  right: 0;
}

.tools-faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-body {
  padding-top: 0.5rem;
}

.audit-conv-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.doc-pane-content {
  display: flex;
  flex-direction: column;
}

.faq-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-symbol {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.retainer-left-col {
  display: flex;
  flex-direction: column;
}

.retainer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.text-grad-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-toc-icon {
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 700;
}

.author-card-details {
  display: flex;
  flex-direction: column;
}

.nav-prev {
  display: flex;
  flex-direction: column;
}

.article-nav-placeholder {
  visibility: hidden;
}

.blog-archive-section {
  padding: 4.5rem 0 6rem 0;
  background: var(--bg-deep, #070913);
}

.blog-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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


/* ==========================================================================
   FINAL OVERRIDE PATCH — Filter Bar Single Line + Hero Gradient Animation
   ========================================================================== */

/* Force filter bar to be absolutely single-line, horizontal scroll only */
.blog-filter-wrapper,
.tools-filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  overflow: hidden;
}

.blog-filter-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.blog-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill,
.tool-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all var(--transition-fast);
  text-decoration: none;
  user-select: none;
}

.filter-pill:hover,
.tool-filter-pill:hover {
  background: var(--bg-card-hover, #16203d);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.filter-pill.active,
.tool-filter-pill.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.4));
  border-color: var(--accent-indigo, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Hero gradient animation keyframe */
@keyframes heroGradientPulse {
  0% {
    opacity: 0.6;
    transform: scale(1) translate(0, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1.08) translate(1%, -1%);
  }

  100% {
    opacity: 0.75;
    transform: scale(1.04) translate(-1%, 1%);
  }
}

/* Hero section — override with premium fluid gradient if PHP replacement missed */
.hero-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 80% at 15% -15%, rgba(99, 102, 241, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 85% 10%, rgba(6, 182, 212, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(168, 85, 247, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 55%),
    linear-gradient(165deg, #060a16 0%, #09102a 40%, #07091a 70%, #060b12 100%) !important;
}

/* Tool launch button — ensure full styling */
.tool-launch-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  min-height: 42px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.tool-launch-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
  color: #ffffff !important;
}

.tool-launch-btn .btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.tool-launch-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Other tools section card buttons */
.tool-preview-card .tool-launch-btn,
.other-tools-grid .tool-launch-btn {
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  min-height: 38px;
}

/* View Complete Suite link button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  color: var(--text-secondary, #cbd5e1);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(139, 92, 246, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

/* Single tool hero — premium gradient */
.single-tool-hero {
  overflow: hidden !important;
  background:
    radial-gradient(ellipse 110% 75% at 25% -10%, rgba(99, 102, 241, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 85% 60% at 80% 15%, rgba(6, 182, 212, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 65% 50% at 50% 95%, rgba(168, 85, 247, 0.20) 0%, transparent 60%),
    linear-gradient(170deg, #060a16 0%, #0a1228 45%, #07091c 75%, #060b14 100%) !important;
}

/* Scroll buttons for filter — better visibility */
.filter-scroll-btn {
  background: var(--bg-card, #11172e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  color: var(--text-secondary, #cbd5e1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.filter-scroll-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

/* Case study / Portfolio card button fix */
.portfolio-case-study .btn-primary,
.case-study-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  min-height: 40px;
  white-space: nowrap;
}

/* ==========================================================================
   LEGAL FRAMEWORK & COMPLIANCE DOCUMENTATION STYLES
   ========================================================================== */
.legal-page-section {
  padding: 3rem 0 6rem 0;
  position: relative;
}

.legal-layout-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

/* Sticky Legal Sidebar */
.legal-sidebar {
  position: sticky;
  top: 96px;
  background: rgba(14, 16, 23, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.legal-sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-nav-link:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #ffffff;
  transform: translateX(4px);
}

.legal-nav-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16));
  border-color: rgba(99, 102, 241, 0.45);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.2);
}

.legal-nav-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.legal-nav-link:hover .legal-nav-badge {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
}

.legal-nav-link.active .legal-nav-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Legal Sidebar Contact Card */
.legal-sidebar-contact {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.controller-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.controller-name {
  font-size: 0.95rem;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.controller-org {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.controller-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.controller-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.controller-link:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

.controller-link svg {
  color: #818cf8;
  flex-shrink: 0;
}

/* Legal Content Container */
.legal-content-wrap {
  background: rgba(14, 16, 23, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 3rem 3.5rem;
  min-width: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* Meta Strip (Effective dates + Print) */
.legal-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.25rem;
}

.legal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #94a3b8;
}

.legal-chip strong {
  color: #f1f5f9;
  font-weight: 600;
}

.legal-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-print-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Commercial Terms / Highlight Callout Box */
.legal-highlight-box {
  background: radial-gradient(circle at 12% 15%, rgba(99, 102, 241, 0.14), transparent 65%), rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 16px;
  padding: 1.85rem 2.25rem;
  margin: 1.75rem 0 3rem 0;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}

.legal-highlight-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem;
}

.legal-highlight-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.legal-highlight-item p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Legal Callout Strip */
.legal-callout {
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid #6366f1;
  padding: 1.15rem 1.4rem;
  border-radius: 0 10px 10px 0;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.legal-callout strong {
  color: #ffffff;
}

/* Legal Document Prose Typography */
.legal-prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.legal-prose h2 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.45rem;
  font-weight: 750;
  color: #38bdf8;
  margin: 3.25rem 0 1.25rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.legal-prose h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
}

.legal-sec-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.legal-prose h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 2.25rem 0 0.85rem 0;
  letter-spacing: -0.01em;
}

.legal-prose h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.75rem 0 0.5rem 0;
}

.legal-prose p {
  margin-bottom: 1.35rem;
  color: #cbd5e1;
}

.legal-prose strong {
  color: #ffffff;
  font-weight: 650;
}

.legal-prose code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}

.legal-prose ul,
.legal-prose ol {
  margin: 1.25rem 0 1.75rem 0;
  padding-left: 1.6rem;
}

.legal-prose li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.legal-prose li strong {
  color: #ffffff;
}

.legal-prose a {
  color: #818cf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-prose a:hover {
  color: #a5b4fc;
}

.legal-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2.25rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

.legal-prose th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.04em;
}

.legal-prose td {
  padding: 0.95rem 1.25rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.6;
}

.legal-prose tr:last-child td {
  border-bottom: none;
}

.legal-prose tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

/* Legal Document Signoff & Bottom Pager */
.legal-signoff {
  margin-top: 4rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.legal-signoff-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.legal-signoff-info p {
  font-size: 0.86rem;
  color: #94a3b8;
  margin: 0;
}

.legal-nav-pager {
  display: flex;
  gap: 0.85rem;
}

.legal-pager-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.legal-pager-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Legal Page Responsive Breakpoints */
@media (max-width: 1024px) {
  .legal-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .legal-sidebar {
    position: static;
    top: auto;
  }

  .legal-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .legal-content-wrap {
    padding: 2.5rem 2rem;
  }
}

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

  .legal-content-wrap {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .legal-meta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-prose h2 {
    font-size: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .legal-highlight-box {
    padding: 1.4rem 1.25rem;
  }

  .legal-signoff {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-nav-pager {
    width: 100%;
    justify-content: space-between;
  }
}

@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }

  .site-header,
  .site-footer,
  .legal-sidebar,
  .legal-print-btn,
  .legal-nav-pager,
  .scroll-to-top {
    display: none !important;
  }

  .legal-layout-grid {
    display: block !important;
  }

  .legal-content-wrap {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .legal-prose,
  .legal-prose p,
  .legal-prose li {
    color: #111827 !important;
  }

  .legal-prose h2,
  .legal-prose h3,
  .legal-prose strong {
    color: #000000 !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS, OVERFLOW PROTECTION & INLINE BREADCRUMBS
   ========================================================================== */

/* Inline Breadcrumb Directly Preceding H1 on Tools */
.tool-breadcrumb-inline {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.15rem auto;
}

.breadcrumb-list-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0.35rem 0.95rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.breadcrumb-list-inline li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list-inline li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list-inline li a:hover {
  color: #38bdf8;
}

.breadcrumb-list-inline .bc-sep {
  color: var(--text-muted);
  opacity: 0.6;
  margin: 0 0.2rem;
}

.breadcrumb-list-inline .bc-current {
  color: #38bdf8;
  font-weight: 600;
}

/* Global Prevent Horizontal Scroll Overflow on Mobile */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Large text buttons & pills wrapping protection */
.hero-badge,
.tools-hero-badge,
.tool-kicker-pill,
.cyber-badge,
.f-badge,
.filter-pill,
.tool-filter-pill,
.diagnostic-badge,
.btn,
.btn-accent,
.btn-secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  /* Reduce mobile h1, h2 and general section padding */
  h1,
  .hero-title,
  .article-title,
  .article-main-title,
  .tool-hero-title,
  .tools-hero-title,
  .single-tool-title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
  }

  h2,
  .section-heading,
  .case-split-title,
  .bento-title,
  .tool-docs-title,
  .sprint-drawer-title,
  .faq-section-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .section {
    padding: 3rem 0 !important;
  }

  .hero-section {
    padding: 3.8rem 0 2rem 0 !important;
  }

  .single-tool-hero {
    padding: 2.5rem 0 1.75rem 0 !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Badge and pill compact sizing on mobile */
  .hero-badge,
  .tools-hero-badge,
  .tool-kicker-pill,
  .cyber-badge {
    font-size: 0.68rem !important;
    padding: 0.35rem 0.8rem !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.4rem !important;
  }

  .tool-breadcrumb-inline {
    margin-bottom: 0.85rem !important;
  }

  .breadcrumb-list-inline {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.75rem !important;
    justify-content: center !important;
  }

  /* Audit Tool Form Input on mobile */
  .diagnostic-form .input-wrapper {
    flex-direction: column !important;
    padding: 0.65rem !important;
    gap: 0.65rem !important;
  }

  .diagnostic-form input {
    width: 100% !important;
    padding: 0.75rem !important;
  }

  .diagnostic-form button {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }

  .diagnostic-metrics-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .blog-card {
    padding: 1rem !important;
  }

  .footer-sub-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .diagnostic-metrics-row {
    grid-template-columns: 1fr !important;
  }
}