/*
Theme Name: wdp-ai
Theme URI: https://webdevpro.in
Author: WebDevPro
Author URI: https://webdevpro.in
Description: WebDevPro AI — we design and build custom AI solutions. AI chatbots, agents, applications, dashboards, automation, and complete AI-powered platforms. Built for real business problems.
Version: 3.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wdp-ai
Tags: ai, custom-solutions, blog, grid-layout, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ================================================================
   DESIGN TOKENS — "Neural Lab" dark system
================================================================ */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg: #06070B;
  --bg-alt: #090B11;
  --surface: #0D1017;
  --surface-2: #11141C;
  --text: #F2F5F7;
  --text-body: #C7CDD8;
  --text-dim: #8B93A7;
  --text-light: #5D6579;
  --border: rgba(151, 168, 204, 0.12);
  --border-dark: rgba(151, 168, 204, 0.24);

  --lime: #C8F135;
  --lime-bright: #DCFF5E;
  --ice: #6FE7FF;
  --violet: #A78BFA;
  --green: #4ADE80;

  --primary: #C8F135;
  --primary-soft: rgba(200, 241, 53, 0.09);
  --accent: #6FE7FF;
  --accent-soft: rgba(111, 231, 255, 0.09);
  --cyan: #6FE7FF;
  --gradient: linear-gradient(100deg, #C8F135 0%, #6FE7FF 100%);
  --white: #FFFFFF;
  --dark: #090B11;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px -12px rgba(200, 241, 53, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  --glow-lime: 0 0 44px -8px rgba(200, 241, 53, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9998;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--text);
}
.mono { font-family: var(--font-mono); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--lime); color: #06070B; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1C2230; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2A3247; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-read { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* Gradient text */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Italic serif accent word inside headings */
.serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: 0;
}

/* ================================================================
   SCROLL PROGRESS
================================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gradient); z-index: 9999;
  transition: width 0.1s ease-out; width: 0;
  box-shadow: 0 0 12px rgba(200, 241, 53, 0.6);
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  padding: 12px 0;
  background: rgba(6, 7, 11, 0.9);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient); color: #06070B;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-md);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--text);
}
.logo-text::after {
  content: 'AI';
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: #06070B;
  background: var(--lime);
  padding: 2px 6px; border-radius: 100px;
  vertical-align: 2px;
}

.nav-menu { display: flex; gap: 34px; }
.nav-menu a {
  font-size: 13px; color: var(--text-dim); font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }

/* Nested sub-menus (dropdown) */
.nav-menu .menu-item { position: relative; list-style: none; }
.nav-menu .menu-item > a { display: inline-block; }
.nav-menu .sub-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  min-width: 220px;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 100;
}
.nav-menu .menu-item:hover > .sub-menu,
.nav-menu .menu-item:focus-within > .sub-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .sub-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.nav-menu .sub-menu a::after { display: none; }
.nav-menu .sub-menu a:hover { color: var(--lime); background: var(--primary-soft); }

/* Parent item with children: caret */
.nav-menu .menu-item-has-children > a::after {
  content: '\f078'; /* fa-chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  position: static;
  width: auto; height: auto;
  margin-left: 6px;
  display: inline-block;
  vertical-align: 1px;
  color: var(--text-dim);
  background: none;
  transform: none;
}
.nav-menu .menu-item-has-children:hover > a::after { color: var(--lime); }

/* Right-aligned dropdown when a submenu would overflow the viewport */
.nav-menu .sub-menu .sub-menu {
  top: 0; left: calc(100% + 8px);
  transform: translateX(0) translateY(-8px);
}
.nav-menu .sub-menu .menu-item:hover > .sub-menu,
.nav-menu .sub-menu .menu-item:focus-within > .sub-menu {
  transform: translateX(0) translateY(0);
}

.menu-toggle {
  display: none; font-size: 18px; color: var(--text);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.menu-toggle:hover { background: var(--surface-2); color: var(--lime); }

/* Mobile menu */
.mobile-menu {
  position: fixed; left: 0; right: 0;
  top: 64px;
  background: rgba(6, 7, 11, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0 24px;
  z-index: 999;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              visibility 0.3s;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu > a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; font-size: 15px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  transition: background 0.2s, color 0.2s, padding-left 0.2s ease;
}
.mobile-menu > a:not(.btn):hover { color: var(--lime); background: var(--primary-soft); padding-left: 38px; }
.mobile-menu > a:not(.btn)::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900; font-size: 10px; color: var(--text-light);
  transition: transform 0.2s, color 0.2s;
}
.mobile-menu > a:not(.btn):hover::after { transform: translateX(4px); color: var(--lime); }
.mobile-menu .btn { margin: 20px 32px 0; width: calc(100% - 64px); }

/* Mobile menu: nested sub-menus (accordion) */
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu .menu-item { position: relative; }
.mobile-menu .menu-item > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; font-size: 15px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  transition: background 0.2s, color 0.2s, padding-left 0.2s ease;
}
.mobile-menu .menu-item > a:hover { color: var(--lime); background: var(--primary-soft); }
.mobile-menu .menu-item-has-children > a {
  cursor: pointer;
  border-bottom: none;
}
.mobile-menu .menu-item-has-children > a::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900; font-size: 10px; color: var(--text-light);
  transition: transform 0.2s, color 0.2s;
}
.mobile-menu .menu-item-has-children.open > a::after { transform: rotate(180deg); color: var(--lime); }
.mobile-menu .sub-menu {
  display: none;
  background: var(--bg-alt);
}
.mobile-menu .sub-menu .menu-item > a { padding-left: 48px; font-size: 14px; }
.mobile-menu .sub-menu .sub-menu .menu-item > a { padding-left: 64px; font-size: 13px; }
.mobile-menu .menu-item-has-children.open > .sub-menu { display: block; }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-size: 13px; font-weight: 700;
  font-family: var(--font-body);
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn .btn-arrow { font-size: 11px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-accent {
  background: var(--gradient); color: #06070B;
  background-size: 150% 150%;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow: 0 16px 40px -12px rgba(200, 241, 53, 0.5);
}
.btn-accent:hover .btn-arrow { transform: translateX(3px); }
.btn-accent:active { transform: translateY(0); }
.btn-outline {
  border-color: var(--border-dark); color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 100px;
}
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--text); padding: 0 0 4px; border-bottom: 1px solid rgba(242, 245, 247, 0.4); border-radius: 0; background: none; }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-block { width: 100%; justify-content: center; }

/* ================================================================
   REVEAL ANIMATION
================================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ================================================================
   SECTION HEADERS
================================================================ */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head.center { margin: 0 auto 64px; text-align: center; }
.section-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.section-head.center .section-label { justify-content: center; }
.section-label::before { content: '//'; font-weight: 600; letter-spacing: 0; }
.section-head.center .section-label::after { content: '//'; font-weight: 600; letter-spacing: 0; }
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700;
  margin-bottom: 18px; letter-spacing: -0.02em;
}
.section-head p { font-size: 17px; color: var(--text-dim); line-height: 1.65; }

/* ================================================================
   HERO
================================================================ */
.hero { padding: 190px 0 110px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.hero-glow-1 {
  width: 560px; height: 560px; top: -180px; right: -100px;
  background: radial-gradient(circle, rgba(111, 231, 255, 0.16), transparent 70%);
}
.hero-glow-2 {
  width: 500px; height: 500px; bottom: -200px; left: -140px;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.1), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(151, 168, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 204, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(13, 16, 23, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-label-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 241, 53, 0.9);
  animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero h1 .line { display: block; }

.hero-lead { font-size: 17px; color: var(--text-dim); max-width: 500px; margin-bottom: 14px; line-height: 1.65; }
.hero-lead-sub { font-size: 15px; color: var(--text-light); max-width: 480px; margin-bottom: 36px; line-height: 1.6; }
.hero-cta { display: flex; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; align-items: center; }
.hero-note {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim);
  padding: 10px 16px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(13, 16, 23, 0.6);
}
.hero-note i { color: var(--lime); }

/* Hero AI Card */
.hero-visual { position: relative; }
.ai-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--glow-lime);
  overflow: hidden;
  position: relative;
}
.ai-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.ai-avatar {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--gradient); color: #06070B;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ai-card-title { flex: 1; min-width: 0; }
.ai-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); }
.ai-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-light); }
.ai-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(74, 222, 128, 0.8); animation: dot-pulse 1.8s infinite; }
.ai-badge {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--lime);
  background: var(--primary-soft);
  border: 1px solid rgba(200, 241, 53, 0.25);
  padding: 4px 8px; border-radius: 100px;
  white-space: nowrap;
}

.ai-chat {
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: 330px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
}
.ai-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 13px; line-height: 1.55;
  border-radius: 14px;
}
.ai-bubble-ai {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text-body);
}
.ai-bubble-user {
  background: var(--gradient);
  color: #06070B;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.ai-typing { display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-light);
  animation: typing-bounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-result {
  margin: 0 20px 20px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.ai-result-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ai-result-check { color: var(--green); font-size: 15px; }
.ai-result-label { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--green); }
.ai-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ai-result-key { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.ai-result-val { font-size: 13px; font-weight: 600; color: var(--text); }

.hero-float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--text);
  background: rgba(13, 16, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  box-shadow: var(--shadow-lg);
}
.hero-float-chip i { color: var(--lime); }
.hero-float-chip-1 { top: 24px; left: -28px; animation: float-y 5s ease-in-out infinite; }
.hero-float-chip-2 { bottom: 64px; right: -24px; animation: float-y 6s ease-in-out 1s infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ================================================================
   THE PROBLEM
================================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.problem-intro p { font-size: 18px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.problem-intro .problem-emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
.problem-questions { display: flex; flex-direction: column; gap: 14px; }
.problem-question {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500; color: var(--text-body);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-question:hover {
  border-color: rgba(200, 241, 53, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.problem-question i {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.problem-punchline {
  margin-top: 72px;
  padding: 40px 48px;
  border-radius: var(--radius-xl);
  background: var(--gradient);
  color: #06070B;
  position: relative; overflow: hidden;
}
.problem-punchline::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(6, 7, 11, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 7, 11, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.problem-punchline-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(6, 7, 11, 0.65); margin-bottom: 12px;
}
.problem-punchline-text {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.25;
  max-width: 640px;
  color: #06070B;
}

/* ================================================================
   SERVICES (WHAT WE DO)
================================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 241, 53, 0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--lime);
  border: 1px solid rgba(200, 241, 53, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 20px;
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--gradient); color: #06070B; box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--lime);
}
.service-link i { font-size: 11px; transition: transform 0.25s; }
.service-link:hover i { transform: translateX(4px); }

/* ================================================================
   CAPABILITIES — infographic cards
================================================================ */
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.capability-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 241, 53, 0.3);
}
.capability-card:hover::before { transform: scaleX(1); }

/* Console card spans the full width; the other three sit in a row. */
.capability-card-console { grid-column: 1 / -1; }

.capability-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.capability-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime); letter-spacing: 0.1em; font-weight: 500;
}
.capability-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary-soft); color: var(--lime);
  border: 1px solid rgba(200, 241, 53, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.capability-card-mixer .capability-icon,
.capability-card-scope .capability-icon,
.capability-card-distill .capability-icon { background: var(--accent-soft); color: var(--ice); border-color: rgba(111, 231, 255, 0.2); }

.capability-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; line-height: 1.25; }

@keyframes cap-fill { from { transform: scaleX(0); } }
@keyframes cap-blip { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---- 01 · CONSOLE (message → live inference readout) ---- */
.console-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.console-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.console-line {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-body); line-height: 1.5;
}
.console-prompt { color: var(--lime); margin-right: 8px; font-weight: 600; }
.console-tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.ctoken {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
}
.ctoken-key { color: var(--lime); border-color: rgba(200, 241, 53, 0.3); background: var(--primary-soft); }
.console-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light);
}
.console-foot i { color: var(--green); font-size: 11px; }

.console-readout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.readout-row {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}
.readout-row:last-child { border-bottom: none; padding-bottom: 0; }
.readout-key {
  font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-light);
  width: 84px; flex-shrink: 0;
}
.readout-val { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-body); }
.meter {
  flex: 1; height: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.meter-fill {
  display: block; height: 100%; width: var(--w);
  background: var(--gradient);
  border-radius: 100px;
  transform-origin: left;
  animation: cap-fill 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.meter-val { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--lime); width: 34px; text-align: right; }

/* ---- 02 · MIXER (lead scoring channels) ---- */
.cap-mixer { display: flex; flex-direction: column; gap: 12px; }
.mix-channel {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  gap: 12px; align-items: center;
}
.mix-name {
  font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light);
}
.mix-bar {
  height: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.mix-fill {
  display: block; height: 100%; width: var(--w);
  background: linear-gradient(90deg, var(--ice), var(--lime));
  border-radius: 100px;
  transform-origin: left;
  animation: cap-fill 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mix-val { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--text-body); text-align: right; }
.mix-total {
  margin-top: 4px;
  display: flex; align-items: baseline; justify-content: space-between;
  background: var(--primary-soft);
  border: 1px solid rgba(200, 241, 53, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.mix-total-label {
  font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--lime);
}
.mix-total-val {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--lime); letter-spacing: -0.02em;
}
.mix-total-val em { font-family: var(--font-mono); font-style: normal; font-size: 11px; color: var(--text-light); margin-left: 2px; }
.mix-route { display: flex; flex-wrap: wrap; gap: 6px; }
.route-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  color: var(--text-body);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
}
.route-chip i { color: var(--green); font-size: 9px; }
.route-chip:last-child i { color: var(--ice); }

/* ---- 03 · SCOPE (confidence threshold) ---- */
.cap-scope { display: flex; flex-direction: column; gap: 14px; }
.scope-q {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--text-body);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.scope-q i { color: var(--ice); font-size: 12px; flex-shrink: 0; }
.scope-scan { display: flex; align-items: center; gap: 5px; padding: 0 2px; }
.scan-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ice);
  animation: cap-blip 1.4s infinite;
}
.scan-dot.d1s { animation-delay: 0.2s; }
.scan-dot.d2s { animation-delay: 0.4s; }
.scope-scan-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-light); margin-left: 6px;
  text-transform: lowercase; letter-spacing: 0.04em;
}
.scope-meter {
  position: relative;
  height: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 10px;
}
.scope-fill {
  position: absolute; inset: 1px auto 1px 1px;
  width: var(--w);
  background: var(--gradient);
  border-radius: 100px;
  transform-origin: left;
  animation: cap-fill 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.scope-threshold {
  position: absolute; top: -4px; bottom: -4px;
  left: var(--t); width: 2px;
  background: var(--ice);
  box-shadow: 0 0 8px rgba(111, 231, 255, 0.7);
}
.scope-threshold-label {
  position: absolute; top: calc(100% + 4px); left: var(--t);
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.1em; color: var(--ice);
  white-space: nowrap;
}
.scope-lanes { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.scope-lane {
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.scope-lane i {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.scope-lane strong { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.scope-lane span { font-family: var(--font-mono); font-size: 9px; color: var(--text-light); letter-spacing: 0.04em; }
.scope-lane-on i { background: var(--primary-soft); color: var(--lime); border: 1px solid rgba(200, 241, 53, 0.25); }
.scope-lane-on { border-color: rgba(200, 241, 53, 0.25); }
.scope-lane-off { opacity: 0.55; }
.scope-lane-off i { background: var(--accent-soft); color: var(--ice); border: 1px solid rgba(111, 231, 255, 0.2); }

/* ---- 04 · DISTILL (documents → structured data) ---- */
.cap-distill { display: flex; flex-direction: column; gap: 14px; }
.distill-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 14px;
  align-items: center;
}
.distill-label {
  font-family: var(--font-mono); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-light);
  display: block; margin-bottom: 8px;
}
.distill-label-out { color: var(--lime); }
.distill-stack { display: flex; flex-direction: column; gap: 6px; }
.distill-doc {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
}
.distill-doc i { color: var(--text-light); font-size: 10px; }
.distill-core { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.distill-core-orb {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #06070B;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  animation: float-y 4s ease-in-out infinite;
}
.distill-core-label {
  font-family: var(--font-mono); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-light);
}
.distill-out { display: flex; flex-direction: column; gap: 6px; }
.drow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
}
.drow-key {
  font-family: var(--font-mono); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light);
}
.drow-val { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-body); text-align: right; }
.drow-ok { border-left-color: var(--green); }
.drow-ok .drow-val { color: var(--green); }
.distill-foot {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-light);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.distill-foot i { color: var(--lime); font-size: 10px; }

/* ================================================================
   SIGNAL STATS — instrument band
================================================================ */
.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 34px 28px;
  display: flex; flex-direction: column; gap: 8px;
  border-left: 1px solid var(--border);
  position: relative;
}
.stat:first-child { border-left: none; }
.stat::before {
  content: ''; position: absolute; top: -1px; left: -1px;
  width: 22px; height: 2px; background: var(--lime);
}
.stat:first-child::before { left: 0; }
.stat-val {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--lime);
  display: flex; align-items: baseline; gap: 7px;
}
.stat-unit {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--text-dim); letter-spacing: 0.08em;
}
.stat-key {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-light);
}

/* ================================================================
   EXAMPLES
================================================================ */
.examples-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.example-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111, 231, 255, 0.35);
}
.example-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-soft); color: var(--ice);
  border: 1px solid rgba(111, 231, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 16px;
}
.example-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.example-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ================================================================
   DEMO
================================================================ */
.demo-section {
  background: var(--bg-alt); color: var(--text);
  overflow: hidden;
  border-top: 1px solid rgba(111, 231, 255, 0.15);
  border-bottom: 1px solid rgba(111, 231, 255, 0.15);
}
.demo-section .section-label { color: var(--ice); }
.demo-section .section-head p { color: var(--text-dim); }
.demo-bg { position: absolute; inset: 0; pointer-events: none; }
.demo-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(111, 231, 255, 0.13), transparent 70%);
  filter: blur(60px);
}

.demo-wrap { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.demo-chat {
  background: rgba(13, 16, 23, 0.8);
  border: 1px solid rgba(111, 231, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 280px;
  max-height: 420px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.demo-msg { display: flex; gap: 12px; align-items: flex-start; animation: demo-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes demo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.demo-msg-avatar {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: var(--gradient); color: #06070B;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.demo-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 11px 15px;
  font-size: 14px; line-height: 1.6;
  color: var(--text-body);
  max-width: 82%;
}
.demo-msg-user { flex-direction: row-reverse; }
.demo-msg-user .demo-msg-avatar { background: var(--ice); color: #06070B; }
.demo-msg-user .demo-bubble {
  background: var(--gradient); color: #06070B; font-weight: 500;
  border-radius: 14px; border-bottom-right-radius: 4px;
  border: none;
}
.demo-typing .demo-bubble { display: flex; gap: 4px; align-items: center; }
.demo-typing .typing-dot { background: var(--text-light); }

.demo-input-row { display: flex; gap: 10px; margin-top: 16px; }
.demo-input {
  flex: 1;
  background: rgba(13, 16, 23, 0.8);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px; color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.demo-input::placeholder { color: var(--text-light); }
.demo-input:focus { border-color: rgba(111, 231, 255, 0.6); box-shadow: 0 0 0 4px rgba(111, 231, 255, 0.1); }
.demo-send { flex-shrink: 0; padding: 14px 24px; border-radius: 100px; }
.demo-quick-replies { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.demo-quick {
  font-size: 12px; color: var(--text-dim);
  background: rgba(13, 16, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  transition: all 0.2s;
}
.demo-quick:hover { border-color: rgba(111, 231, 255, 0.5); color: var(--ice); }

.demo-result {
  margin-top: 20px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.07);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  animation: demo-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-result-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--green);
  margin-bottom: 16px;
}
.demo-result-check { font-size: 18px; }
.demo-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.demo-result-item { display: flex; flex-direction: column; gap: 2px; }
.demo-result-key { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.demo-result-val { font-size: 14px; font-weight: 600; color: var(--text); }
.demo-cta { margin-top: 40px; text-align: center; }

/* ================================================================
   PROCESS
================================================================ */
.process-list { max-width: 760px; margin: 0 auto; }
.process-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  position: relative;
  padding-bottom: 40px;
}
.process-row:last-child { padding-bottom: 0; }
.process-num {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 600; color: var(--lime);
  width: 56px; height: 56px;
  border: 1px solid rgba(200, 241, 53, 0.3);
  border-radius: 16px;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.process-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.process-body p { font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 560px; }
.process-connector {
  position: absolute; left: 27px; top: 56px; bottom: 0;
  display: flex; justify-content: center;
  color: var(--border-dark);
}
.process-connector::before {
  content: ''; position: absolute; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(200, 241, 53, 0.4), var(--border-dark));
}
.process-connector i { position: absolute; top: 50%; background: var(--bg); padding: 2px; font-size: 9px; transform: translateY(-50%); }
.section-alt .process-connector i { background: var(--bg-alt); }

/* ================================================================
   WHY
================================================================ */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 241, 53, 0.3);
}
.why-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary-soft); color: var(--lime);
  border: 1px solid rgba(200, 241, 53, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 16px;
}
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ================================================================
   AUDIENCE
================================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(111, 231, 255, 0.35);
}
.audience-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient); color: #06070B;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}
.audience-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.audience-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ================================================================
   FAQ
================================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.active { border-color: rgba(200, 241, 53, 0.4); box-shadow: var(--shadow-md); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  font-size: 16px; font-weight: 600; font-family: var(--font-display);
  color: var(--text);
  cursor: pointer; letter-spacing: 0;
}
.faq-icon {
  width: 28px; height: 28px; border: 1px solid var(--border-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-dim);
  transition: all 0.3s; flex-shrink: 0; margin-left: 20px;
}
.faq-item.active .faq-icon { background: var(--gradient); border-color: transparent; color: #06070B; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.7;
}
.faq-item.active .faq-a { max-height: 320px; padding: 0 24px 24px; }

/* ================================================================
   FINAL CTA
================================================================ */
.final-cta {
  padding: 140px 0;
  text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.final-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.final-cta-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(200, 241, 53, 0.1), transparent 70%);
  filter: blur(50px);
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em;
  line-height: 1.08;
}
.final-cta p { font-size: 17px; color: var(--text-dim); max-width: 560px; margin: 20px auto 40px; line-height: 1.65; }
.final-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta-note {
  margin-top: 36px !important;
  font-size: 13px !important; color: var(--text-light) !important;
  font-style: italic;
}

/* ================================================================
   FOOTER
================================================================ */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: #04050A; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--text-dim); max-width: 260px; font-size: 14px; line-height: 1.6; }
.footer-brand-contact {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand-contact a,
.footer-brand-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-brand-contact a i {
  width: 16px;
  text-align: center;
  color: var(--lime);
  font-size: 13px;
}
.footer-brand-contact a:hover { color: var(--lime); }
.footer h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  color: var(--lime); letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 500;
}
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 14px; color: var(--text-body); transition: color 0.2s; }
.footer ul li a:hover { color: var(--lime); }
.footer-cta-text { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; gap: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-light);
}
.footer-bottom a { color: var(--text-light); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--lime); }

/* ================================================================
   FLOATING ELEMENTS
================================================================ */
.float-wa-wrap {
  position: fixed; bottom: 28px; right: 28px;
  display: flex; align-items: center; gap: 12px;
  z-index: 999;
}
.float-wa {
  position: relative; width: 48px; height: 48px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: all 0.3s; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa-label {
  font-size: 13px; font-weight: 500; color: var(--text-body);
  background: rgba(13, 16, 23, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: float-wa-pulse 2.4s ease-in-out infinite;
}
.float-wa-wrap:hover .float-wa-label { animation-play-state: paused; }
.float-wa-caret {
  display: inline-block; width: 2px; height: 1em;
  margin-left: 2px; vertical-align: -2px;
  background: var(--lime);
  animation: float-wa-blink 1s step-end infinite;
}
@keyframes float-wa-blink { 50% { opacity: 0; } }

@keyframes float-wa-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.back-top {
  position: fixed; bottom: 28px; left: 28px; width: 44px; height: 44px;
  background: rgba(13, 16, 23, 0.9); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 14px;
  z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--lime); color: #06070B; border-color: var(--lime); }

/* ================================================================
   SHARED PAGE HERO (blog/contact/archive) — detailed styles
   live in assets/css/blog.css & contact.css
================================================================ */
.page-hero { padding: 170px 0 80px; border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-end; }
.page-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--lime);
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.page-label::before { content: '//'; font-weight: 600; letter-spacing: 0; }
.page-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.page-hero-meta { font-size: 17px; color: var(--text-dim); max-width: 400px; padding-bottom: 12px; }
.page-hero-meta strong { color: var(--text); font-weight: 500; }

/* ================================================================
   ABOUT PAGE — FOUNDER BIO
================================================================ */
.about-bio { border-bottom: 1px solid var(--border); }
.about-bio-grid {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 72px; align-items: start;
}
.about-bio-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.about-bio-photo img {
  display: block; width: 100%; height: auto;
  object-fit: cover;
}
.about-bio-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.05; margin: 20px 0 12px;
}
.about-bio-role {
  font-size: 18px; color: var(--text-body);
  line-height: 1.6; margin-bottom: 24px;
}
.about-bio-story p {
  font-size: 15px; color: var(--text-dim);
  line-height: 1.75; margin-bottom: 14px;
}
.about-bio-stats {
  display: flex; gap: 40px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-bio-stat strong {
  display: block;
  font-size: 28px; font-weight: 700;
  font-family: var(--font-mono);
  color: var(--lime);
  line-height: 1;
}
.about-bio-stat span {
  display: block; font-size: 12px; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 8px;
}
.about-bio-socials { display: flex; gap: 12px; }
.about-bio-socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 15px;
  transition: all 0.2s;
}
.about-bio-socials a:hover {
  color: #06070B;
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

.about-bio-skills { margin-top: 100px; }
.about-bio-skills-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.about-bio-principles { margin-top: 100px; }
.about-bio-principles-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-bio-principle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-bio-principle:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 241, 53, 0.3);
}
.about-bio-principle-num {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--lime);
  letter-spacing: 0.1em;
}
.about-bio-principle h3 {
  font-size: 17px; font-weight: 700;
  margin: 12px 0 8px;
}
.about-bio-principle p {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 968px) {
  .about-bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-bio-photo { max-width: 380px; }
  .about-bio-skills-grid { grid-template-columns: 1fr 1fr; }
  .about-bio-principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-bio-stats { gap: 24px; flex-wrap: wrap; }
  .about-bio-skills-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   404 ERROR PAGE
================================================================ */
.error-404-page::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(151, 168, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 204, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}
.error-404-page::after {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(200, 241, 53, 0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.error-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  padding: 120px 0 60px;
  min-height: 80vh;
}
.error-content { text-align: center; max-width: 760px; position: relative; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(10rem, 30vw, 22rem);
  font-weight: 800; line-height: 0.8; letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(242, 245, 247, 0.85);
  margin-bottom: 40px; position: relative; display: inline-block;
}
.error-code::after {
  content: '';
  position: absolute; top: 15%; right: -10%;
  width: 24px; height: 24px; background: var(--ice); border-radius: 50%;
  box-shadow: 0 0 20px var(--ice);
  animation: dot-pulse 1.5s infinite;
}
.error-label {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--lime);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px; border: 1px solid rgba(200, 241, 53, 0.3);
  border-radius: 100px; background: var(--primary-soft);
}
.error-label .error-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.error-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1; margin-bottom: 24px; letter-spacing: -0.02em; }
.error-lead { font-size: 17px; color: var(--text-dim); margin-bottom: 48px; line-height: 1.65; max-width: 480px; margin-left: auto; margin-right: auto; }
.error-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.quick-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: left;
}
.link-item {
  padding: 24px; border-right: 1px solid var(--border);
  transition: background 0.3s;
  display: flex; flex-direction: column; gap: 6px;
}
.link-item:last-child { border-right: none; }
.link-item:hover { background: var(--surface); }
.link-item:hover .link-arrow { transform: translate(2px, -2px); color: var(--lime); }
.link-item:hover .link-name { color: var(--lime); }
.link-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.link-name { font-size: 16px; font-weight: 500; color: var(--text); display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.link-arrow { font-size: 12px; color: var(--text-dim); transition: all 0.2s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .examples-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 968px) {
  .hero { padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(odd)::before { left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-float-chip-1 { left: -8px; }
  .hero-float-chip-2 { right: -8px; }
  .nav-menu { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 90px 0; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .console-grid { grid-template-columns: 1fr; }
  .distill-flow { grid-template-columns: 1fr; }
  .distill-core { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 130px 0 60px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-left: none; }
  .stat::before { left: 0; }
  .stat + .stat { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .problem-punchline { padding: 28px 24px; }
  .distill-core { flex-direction: row; }
  .distill-core-orb { width: 40px; height: 40px; font-size: 15px; animation: none; }
  .mix-channel { grid-template-columns: 56px 1fr 26px; gap: 8px; }
  .scope-lanes { gap: 6px; }
  .console-panel, .console-readout { padding: 16px; }
  .demo-result-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .link-item:nth-child(2) { border-right: none; }
  .link-item:nth-child(1), .link-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .error-cta { flex-direction: column; }
  .error-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .quick-links { grid-template-columns: 1fr; }
  .link-item { border-right: none; border-bottom: 1px solid var(--border); }
  .link-item:last-child { border-bottom: none; }
}

/* WordPress core alignment */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--text-light); font-family: var(--font-mono); }
.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;
}
.sticky { display: block; }
.bypostauthor { display: block; }
