/* ============================================================
   BLUEPRINT DESIGN SYSTEM — Tanoshii Computing
   Futuristic engineering blueprint aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  --bp-bg: #0a1628;
  --bp-paper: #0d1f3c;
  --bp-grid: rgba(60, 145, 230, 0.12);
  --bp-grid-major: rgba(60, 145, 230, 0.22);
  --bp-line: rgba(100, 180, 255, 0.35);
  --bp-cyan: #00d4ff;
  --bp-cyan-dim: rgba(0, 212, 255, 0.15);
  --bp-cyan-glow: rgba(0, 212, 255, 0.45);
  --bp-indigo: #4f87ff;
  --bp-indigo-dim: rgba(79, 135, 255, 0.16);
  --bp-white: #c8ddf0;
  --bp-white-bright: #e8f4ff;
  --bp-accent: #ff6b35;
  --bp-accent-glow: rgba(255, 107, 53, 0.4);
  --bp-red: #ff3860;
  --bp-green: #00e676;
  --bp-mono: 'Share Tech Mono', 'Courier New', monospace;
  --bp-display: 'Orbitron', sans-serif;
  --bp-body: 'Rajdhani', sans-serif;
  --bp-radius: 2px;
  --bp-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--bp-body);
  font-weight: 400;
  color: var(--bp-white);
  background: var(--bp-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Blueprint Grid Background --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* fine grid */
    linear-gradient(var(--bp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-grid) 1px, transparent 1px),
    /* major grid */
    linear-gradient(var(--bp-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-grid-major) 1px, transparent 1px),
    /* corner crosshair marks at major intersections */
    radial-gradient(circle 2px at center, rgba(60, 145, 230, 0.3) 0%, transparent 100%);
  background-size:
    20px 20px,
    20px 20px,
    100px 100px,
    100px 100px,
    100px 100px;
}



/* Blueprint paper vignette */
body > .bp-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(6, 12, 24, 0.6) 100%),
    linear-gradient(120deg, rgba(79, 135, 255, 0.06), rgba(0, 212, 255, 0.02) 38%, rgba(7, 17, 30, 0) 65%);
}

/* Scan line overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
}

/* --- Container --- */
.bp-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}



/* --- Navigation --- */
.bp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bp-line);
}

.bp-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.bp-nav__brand {
  font-family: var(--bp-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-cyan);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-nav__brand::before {
  content: '//';
  color: var(--bp-line);
  font-weight: 400;
}

.bp-nav__brand ruby rt {
  font-size: 0.55em;
  color: var(--bp-white);
  font-family: var(--bp-mono);
  letter-spacing: 0.05em;
}

.bp-nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.bp-nav__links a {
  font-family: var(--bp-mono);
  font-size: 0.75rem;
  color: var(--bp-white);
  text-decoration: none;
  padding: 6px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--bp-radius);
  transition: var(--bp-transition);
  position: relative;
}

.bp-nav__links a:hover {
  color: var(--bp-cyan);
  border-color: var(--bp-line);
  background: var(--bp-cyan-dim);
}

.bp-nav__links a.bp-nav__cta {
  color: var(--bp-bg);
  background: var(--bp-cyan);
  border-color: var(--bp-cyan);
  font-weight: 600;
}

.bp-nav__links a.bp-nav__cta:hover {
  box-shadow: 0 0 20px var(--bp-cyan-glow);
}

/* Mobile nav toggle */
.bp-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--bp-line);
  color: var(--bp-cyan);
  font-size: 1.5rem;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: var(--bp-radius);
}

/* --- Hero --- */
.bp-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  isolation: isolate;
}

.bp-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bp-hero__bg-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bp-hero__coord {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-line);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.bp-hero__title {
  font-family: var(--bp-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--bp-white-bright);
  margin-bottom: 8px;
}

.bp-hero__title .bp-kanji {
  color: var(--bp-cyan);
  text-shadow: 0 0 30px var(--bp-cyan-glow);
}

.bp-hero__title .bp-kanji rt {
  font-size: 0.35em;
  color: var(--bp-line);
  letter-spacing: 0.1em;
}

.bp-hero__title[data-title-hidden] {
  opacity: 0;
}

.bp-hero__title .bp-kanji span,
.bp-hero__title .bp-title-text span {
  display: inline-block;
  min-width: 0.5em;
  transition: color 0.03s;
}

.bp-hero__title .bp-kanji span.shuffling {
  color: var(--bp-cyan);
  animation: bp-char-shuffle 0.03s infinite;
}

.bp-hero__title .bp-title-text span.shuffling {
  color: var(--bp-cyan);
  animation: bp-char-shuffle 0.03s infinite;
}

@keyframes bp-char-shuffle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.bp-hero__subtitle {
  font-family: var(--bp-mono);
  font-size: 0.85rem;
  color: var(--bp-line);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.bp-hero__desc {
  font-size: 1.15rem;
  max-width: 640px;
  color: var(--bp-white);
  margin-bottom: 48px;
  line-height: 1.8;
}

.bp-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Blueprint dimension line decoration */
.bp-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bp-grid-major), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.bp-hero__crosshair {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid var(--bp-grid-major);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

.bp-hero__crosshair::before,
.bp-hero__crosshair::after {
  content: '';
  position: absolute;
  background: var(--bp-grid-major);
}

.bp-hero__crosshair::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.bp-hero__crosshair::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.bp-hero__crosshair--tl { top: 15%; left: 8%; }
.bp-hero__crosshair--tr { top: 20%; right: 10%; }
.bp-hero__crosshair--bl { bottom: 18%; left: 12%; }
.bp-hero__crosshair--br { bottom: 25%; right: 6%; }

/* --- Hero artistic overlays --- */
.bp-hero__bg .bp-wave,
.bp-hero__bg .bp-enso,
.bp-hero__bg .bp-torii,
.bp-hero__bg .bp-seigaiha,
.bp-hero__bg .bp-fuji {
  position: absolute;
  pointer-events: none;
}

.bp-hero__bg .bp-wave {
  left: 0;
  right: 0;
  bottom: -2%;
  height: min(52vh, 460px);
  opacity: 0.95;
  z-index: -3;
}

.bp-hero__bg .bp-wave svg {
  width: 100%;
  height: 100%;
}

.bp-hero__bg .bp-enso {
  top: 14%;
  right: 7%;
  width: clamp(110px, 16vw, 220px);
  opacity: 0.7;
  z-index: -1;
  animation: bp-drift 16s ease-in-out infinite;
}

.bp-hero__bg .bp-torii {
  left: 6%;
  bottom: 18%;
  width: clamp(90px, 10vw, 140px);
  opacity: 0.58;
  z-index: -1;
}

.bp-hero__bg .bp-seigaiha {
  left: 3%;
  bottom: 4%;
  width: clamp(260px, 38vw, 460px);
  opacity: 0.5;
  z-index: -2;
  mix-blend-mode: screen;
}

.bp-hero__bg .bp-seigaiha svg,
.bp-hero__bg .bp-fuji svg,
.bp-hero__bg .bp-torii svg,
.bp-hero__bg .bp-enso svg {
  width: 100%;
  height: auto;
}

.bp-hero__bg .bp-fuji {
  left: 5%;
  top: 25%;
  width: clamp(130px, 22vw, 280px);
  opacity: 0.32;
  z-index: -2;
}

.bp-fuji {
  right: 4%;
  bottom: 6%;
  width: clamp(180px, 24vw, 300px);
  opacity: 0.46;
  z-index: -2;
  animation: bp-fuji-pulse 8s ease-in-out infinite;
}

/* --- Buttons --- */
.bp-btn {
  font-family: var(--bp-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  color: var(--bp-white);
  background: transparent;
  cursor: pointer;
  transition: var(--bp-transition);
  position: relative;
  overflow: hidden;
}

.bp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bp-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.bp-btn:hover::before {
  transform: scaleX(1);
}

.bp-btn:hover {
  color: var(--bp-bg);
  border-color: var(--bp-cyan);
  box-shadow: 0 0 24px var(--bp-cyan-glow);
}

.bp-btn--primary {
  background: var(--bp-cyan);
  color: var(--bp-bg);
  border-color: var(--bp-cyan);
  font-weight: 600;
}

.bp-btn--primary::before {
  background: var(--bp-white-bright);
}

.bp-btn--primary:hover {
  color: var(--bp-bg);
}

/* --- Sections --- */
.bp-section {
  position: relative;
  z-index: 1;
  padding: 30px 0;
}

.bp-section__header {
  margin-bottom: 40px;
}

.bp-section__label {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-section__label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--bp-cyan);
}

.bp-section__title {
  font-family: var(--bp-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bp-white-bright);
  line-height: 1.2;
}

.bp-section__desc {
  font-size: 1.05rem;
  color: var(--bp-white);
  margin-top: 16px;
  line-height: 1.8;
}

/* Section divider — technical dimension line */
.bp-section + .bp-section::before {
  content: '';
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--bp-line) 15%,
    var(--bp-line) 85%,
    transparent
  );
  position: relative;
  top: -100px;
}

/* --- Cards --- */
.bp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bp-card {
  position: relative;
  background: rgba(13, 31, 60, 0.6);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 32px 28px;
  transition: var(--bp-transition);
  overflow: hidden;
}

.bp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bp-cyan), transparent);
  opacity: 0;
  transition: opacity var(--bp-transition);
}

.bp-card:hover {
  border-color: var(--bp-cyan);
  background: rgba(0, 212, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
}

.bp-card:hover::before {
  opacity: 1;
}

.bp-card__number {
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  color: var(--bp-cyan);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  opacity: 0.6;
}

.bp-card__title {
  font-family: var(--bp-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bp-white-bright);
  margin-bottom: 12px;
}

.bp-card__text {
  font-size: 0.95rem;
  color: var(--bp-white);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Pills / Tags --- */
.bp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-pill {
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--bp-radius);
  padding: 4px 12px;
  background: var(--bp-cyan-dim);
  transition: var(--bp-transition);
}

.bp-pill:hover {
  border-color: var(--bp-cyan);
  box-shadow: 0 0 12px var(--bp-cyan-glow);
}

/* --- Value List (Core Values) --- */
.bp-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.bp-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid transparent;
  border-left: 2px solid var(--bp-cyan);
  background: rgba(13, 31, 60, 0.3);
  border-radius: var(--bp-radius);
  transition: var(--bp-transition);
}

.bp-value:hover {
  border-color: var(--bp-line);
  background: rgba(0, 212, 255, 0.03);
}

.bp-value__icon {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-cyan);
  min-width: 24px;
  text-align: center;
  padding-top: 2px;
}

.bp-value__content h4 {
  font-family: var(--bp-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bp-white-bright);
  margin-bottom: 6px;
}

.bp-value__content p {
  font-size: 0.9rem;
  color: var(--bp-white);
  line-height: 1.6;
}

/* --- Tech Stack / Radar --- */
.bp-radar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bp-radar__item {
  font-family: var(--bp-mono);
  font-size: 0.8rem;
  padding: 16px 20px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  color: var(--bp-white);
  background: rgba(13, 31, 60, 0.4);
  transition: var(--bp-transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-radar__item::before {
  content: '>';
  color: var(--bp-cyan);
  font-weight: 700;
}

.bp-radar__item:hover {
  border-color: var(--bp-cyan);
  background: var(--bp-cyan-dim);
  transform: translateX(4px);
}

/* --- Quotes / Inspiration --- */
.bp-quotes {
  display: grid;
  gap: 24px;
}

.bp-quote {
  position: relative;
  padding: 28px 32px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.4);
}

.bp-quote::before {
  content: '"';
  font-family: var(--bp-display);
  font-size: 3rem;
  color: var(--bp-cyan);
  opacity: 0.2;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

.bp-quote__text {
  font-size: 1rem;
  color: var(--bp-white);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 24px;
}

.bp-quote__author {
  font-family: var(--bp-mono);
  font-size: 0.75rem;
  color: var(--bp-cyan);
  letter-spacing: 0.1em;
  padding-left: 24px;
}

/* --- Contact --- */
.bp-contact {
  text-align: center;
}

.bp-contact__email {
  font-family: var(--bp-mono);
  font-size: 0.9rem;
  color: var(--bp-cyan);
  letter-spacing: 0.08em;
  margin: 24px 0 32px;
}

.bp-contact__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.bp-footer {
  position: relative;
  z-index: 1;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--bp-line);
  padding: 40px 24px;
  text-align: center;
  margin-top: 24px;
}

.bp-footer__text {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-line);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bp-footer__text ruby rt {
  font-size: 0.85em;
}

.bp-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bp-footer__links a {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-line);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--bp-transition);
}

.bp-footer__links a:hover {
  color: var(--bp-cyan);
}

/* --- Return to Top --- */
.bp-totop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(8px);
  color: var(--bp-cyan);
  font-family: var(--bp-mono);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--bp-transition);
}

.bp-totop:hover {
  border-color: var(--bp-cyan);
  box-shadow: 0 0 16px var(--bp-cyan-glow);
  background: var(--bp-cyan-dim);
}

.bp-totop--visible {
  display: flex;
}

/* --- Animated scanning line --- */
@keyframes bp-scan {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.bp-scan-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bp-cyan), transparent);
  z-index: 0;
  pointer-events: none;
  animation: bp-scan 8s linear infinite;
  opacity: 0.2;
}

/* --- Glowing node decorations --- */
@keyframes bp-pulse {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 4px var(--bp-cyan-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 16px var(--bp-cyan-glow); }
}

@keyframes bp-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-2deg); }
}

@keyframes bp-fuji-pulse {
  0%, 100% { opacity: 0.42; filter: drop-shadow(0 0 6px rgba(79, 135, 255, 0.22)); }
  50% { opacity: 0.56; filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.28)); }
}

.bp-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--bp-cyan);
  border-radius: 50%;
  animation: bp-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Status indicator --- */
.bp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bp-status__dot {
  width: 6px;
  height: 6px;
  background: var(--bp-green);
  border-radius: 50%;
  animation: bp-pulse 2s ease-in-out infinite;
}

/* --- Enterprise AI canvas --- */
.bp-ai-canvas {
  position: relative;
  margin-top: 28px;
  border: 1px solid var(--bp-line);
  background: linear-gradient(160deg, rgba(13, 31, 60, 0.46), rgba(8, 20, 36, 0.72));
  border-radius: var(--bp-radius);
  padding: 24px;
  overflow: hidden;
}

.bp-ai-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 212, 255, 0.16) 0, transparent 48%),
    radial-gradient(circle at 90% 82%, rgba(79, 135, 255, 0.16) 0, transparent 52%);
}

.bp-ai-canvas__header {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.bp-ai-network {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--bp-radius);
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.6), rgba(6, 18, 34, 0.32));
  overflow: hidden;
  padding: 20px;
}

.bp-ai-link {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.55), transparent);
  transform-origin: left center;
  opacity: 0.7;
}

.bp-ai-link--a {
  left: 30%;
  top: 22%;
  width: 7%;
  transform: rotate(0deg);
}

.bp-ai-link--b {
  left: 63%;
  top: 22%;
  width: 7%;
  transform: rotate(0deg);
}

.bp-ai-link--c {
  left: 30%;
  top: 56%;
  width: 7%;
  transform: rotate(0deg);
}

.bp-ai-link--d {
  left: 63%;
  top: 56%;
  width: 7%;
  transform: rotate(0deg);
}

.bp-ai-link--e {
  left: 18%;
  top: 39%;
  width: 64%;
  transform: rotate(0deg);
  opacity: 0.28;
}

.bp-ai-packet {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bp-cyan);
  box-shadow: 0 0 12px var(--bp-cyan-glow);
}

.bp-ai-packet--1 {
  top: 22%;
  left: 30%;
  animation: bp-packet-flow-a 4s linear infinite;
}

.bp-ai-packet--2 {
  top: 22%;
  left: 63%;
  animation: bp-packet-flow-b 3.4s linear infinite;
}

.bp-ai-packet--3 {
  top: 56%;
  left: 30%;
  animation: bp-packet-flow-c 3.8s linear infinite;
}

.bp-ai-packet--4 {
  top: 56%;
  left: 63%;
  animation: bp-packet-flow-d 3.1s linear infinite;
}

.bp-ai-packet--5 {
  top: 39%;
  left: 18%;
  animation: bp-packet-flow-e 4.6s linear infinite;
}

.bp-ai-node {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  background: rgba(8, 22, 40, 0.72);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.16);
  animation: bp-node-pulse 2.6s ease-in-out infinite;
}

.bp-ai-node:hover {
  border-color: var(--bp-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
}

.bp-ai-canvas__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 36px;
  margin-top: 90px;
}

.bp-ai-canvas__card {
  position: relative;
  border: 1px solid var(--bp-line);
  background: rgba(8, 22, 40, 0.62);
  border-radius: var(--bp-radius);
  padding: 18px;
  transition: var(--bp-transition);
  overflow: hidden;
}

.bp-ai-canvas__card::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--bp-cyan), transparent);
  opacity: 0.5;
}

.bp-ai-canvas__card::after {
  content: '';
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border: 1px dashed rgba(0, 212, 255, 0.22);
  border-radius: 50%;
  animation: bp-circuit-spin 14s linear infinite;
}

.bp-ai-canvas__card:hover {
  border-color: var(--bp-cyan);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.14);
  transform: translateY(-2px);
}

.bp-ai-canvas__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bp-line);
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  color: var(--bp-cyan);
  margin-bottom: 10px;
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.16);
}

/* --- AI Agent Bot Details Card --- */
.bp-ai-details-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  background: rgba(8, 22, 40, 0.72);
  padding: 20px;
  transition: var(--bp-transition);
  overflow: hidden;
}

.bp-ai-details-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bp-cyan), transparent);
}

.bp-ai-details-card:hover {
  border-color: var(--bp-cyan);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
}

.bp-ai-details-card__avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.bp-ai-details-card__avatar-img {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid var(--bp-line);
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  color: var(--bp-cyan);
  font-size: 28px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 16px rgba(0, 212, 255, 0.15);
}

.bp-ai-details-card__header {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bp-line);
}

.bp-ai-details-card__id {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-cyan);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.bp-ai-details-card__name {
  font-family: var(--bp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-white);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Agent Card Connectors - Horizontal Flow Lines */
.bp-agent-connector {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
  background: var(--bp-cyan);
  z-index: 10;
  opacity: 0.6;
}

.bp-agent-connector::before {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--bp-cyan);
}

@keyframes bp-connector-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.bp-agent-connector {
  animation: bp-connector-pulse 1.5s ease-in-out infinite;
}

/* Branch (vertical down) */
.bp-agent-connector--branch {
  right: 50%;
  transform: translateX(50%);
  top: auto;
  bottom: -30px;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--bp-cyan), transparent);
}

.bp-agent-connector--branch::before {
  content: '↓';
  right: auto;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

/* Merge (from branch back to main flow) */
.bp-agent-connector--merge {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
  width: 2px;
  height: 60px;
  background: linear-gradient(0deg, var(--bp-cyan), transparent);
}
.bp-agent-connector--merge::after {
  content: '↓';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bp-cyan);
}

.bp-ai-details-card__section {
  margin-bottom: 14px;
}

.bp-ai-details-card__label {
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  color: var(--bp-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  opacity: 0.8;
}

.bp-ai-details-card__text {
  font-size: 0.85rem;
  color: var(--bp-white);
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.bp-ai-details-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.bp-ai-details-card__config {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--bp-line);
}

.bp-ai-details-card__config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.bp-ai-details-card__config-item {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-white);
  opacity: 0.85;
  padding: 6px 8px;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 2px;
  border: 1px solid rgba(0, 212, 255, 0.12);
}

.bp-ai-details-card__config-key {
  color: var(--bp-cyan);
  margin-right: 4px;
}

/* --- Agent Flow Connectors (n8n/Dify style) --- */
.bp-agent-flow {
  position: relative;
  margin-top: 24px;
  padding: 16px;
  border: 1px dashed var(--bp-line);
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.03);
}

.bp-agent-flow__title {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-agent-flow__title::before {
  content: '⬡';
  font-size: 0.9rem;
}

.bp-agent-flow__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
  position: relative;
}

.bp-agent-flow__arrow {
  font-family: var(--bp-mono);
  font-size: 1rem;
  color: var(--bp-cyan);
  opacity: 0.7;
  animation: bp-flow-pulse 1.5s ease-in-out infinite;
}

@keyframes bp-flow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.bp-agent-flow__connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--bp-cyan), transparent);
  position: relative;
}

.bp-agent-flow__connector::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bp-cyan);
  font-size: 0.8rem;
}

.bp-agent-flow__node {
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--bp-line);
  border-radius: 4px;
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  color: var(--bp-white);
  white-space: nowrap;
}

.bp-agent-flow__label {
  font-family: var(--bp-mono);
  font-size: 0.6rem;
  color: var(--bp-cyan);
  opacity: 0.7;
  text-align: center;
  margin-top: 4px;
}

.bp-agent-flow__tools {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.bp-agent-flow__tool {
  font-family: var(--bp-mono);
  font-size: 0.55rem;
  padding: 2px 6px;
  background: rgba(79, 135, 255, 0.15);
  border: 1px solid rgba(79, 135, 255, 0.3);
  border-radius: 2px;
  color: var(--bp-indigo);
}

/* --- Enterprise list --- */
.bp-enterprise-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bp-enterprise-list__item {
  font-family: var(--bp-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  padding: 12px 16px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.3);
  transition: var(--bp-transition);
}

.bp-enterprise-list__item:hover {
  border-color: var(--bp-cyan);
  background: var(--bp-cyan-dim);
}

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

@keyframes bp-node-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 212, 255, 0.35); opacity: 0.7; }
  50% { box-shadow: 0 0 14px rgba(0, 212, 255, 0.62); opacity: 1; }
}

@keyframes bp-packet-flow-a {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(82px, 0); opacity: 0; }
}

@keyframes bp-packet-flow-b {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(82px, 0); opacity: 0; }
}

@keyframes bp-packet-flow-c {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(82px, 0); opacity: 0; }
}

@keyframes bp-packet-flow-d {
  0% { transform: translate(0, 0); opacity: 0; }
  14% { opacity: 1; }
  100% { transform: translate(82px, 0); opacity: 0; }
}

@keyframes bp-packet-flow-e {
  0% { transform: translate(0, 0); opacity: 0; }
  16% { opacity: 1; }
  100% { transform: translate(640px, 0); opacity: 0; }
}

/* --- OSS projects list --- */
.bp-oss-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.bp-oss-item {
  padding: 20px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.4);
  transition: var(--bp-transition);
}

.bp-oss-item:hover {
  border-color: var(--bp-cyan);
  transform: translateY(-2px);
}

.bp-oss-item a {
  font-family: var(--bp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-cyan);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.bp-oss-item a:hover {
  text-shadow: 0 0 10px var(--bp-cyan-glow);
}

.bp-oss-item p {
  font-size: 0.85rem;
  color: var(--bp-white);
  margin-top: 8px;
}

/* --- Tech logo carousel --- */
.bp-tech-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.3);
}

.bp-tech-logos span {
  font-family: var(--bp-mono);
  font-size: 0.75rem;
  color: var(--bp-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--bp-grid-major);
  border-radius: var(--bp-radius);
  transition: var(--bp-transition);
}

.bp-tech-logos span:hover {
  color: var(--bp-cyan);
  border-color: var(--bp-cyan);
  box-shadow: 0 0 12px var(--bp-cyan-glow);
}

/* --- AI Section specific --- */
.bp-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.bp-ai-item {
  padding: 24px;
  border: 1px solid var(--bp-line);
  border-left: 3px solid var(--bp-accent);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.35);
  transition: var(--bp-transition);
  cursor: pointer;
}

.bp-ai-item:hover {
  border-color: var(--bp-accent);
  background: rgba(255, 107, 53, 0.04);
  box-shadow: 0 0 20px var(--bp-accent-glow);
}

.bp-ai-item--selected {
  border-color: var(--bp-accent);
  border-left-width: 6px;
  background: rgba(255, 107, 53, 0.12);
  box-shadow: 0 0 25px var(--bp-accent-glow), inset 0 0 20px rgba(255, 107, 53, 0.05);
}

.bp-ai-item h4 {
  font-family: var(--bp-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bp-accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.bp-ai-item p {
  font-size: 0.9rem;
  color: var(--bp-white);
  line-height: 1.6;
}

.bp-use-case {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--bp-line);
}

.bp-use-case__title {
  font-family: var(--bp-display);
  font-size: 1.5rem;
  color: var(--bp-cyan);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-use-case__title::before {
  content: '▶';
  font-size: 0.8rem;
  opacity: 0.7;
}

.bp-use-case__workflow {
  margin-top: 24px;
  overflow-x: auto;
  padding: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.bp-use-case__workflow::-webkit-scrollbar {
  height: 4px;
}

.bp-use-case__workflow::-webkit-scrollbar-track {
  background: rgba(0, 212, 255, 0.1);
  border-radius: 2px;
}

.bp-use-case__workflow::-webkit-scrollbar-thumb {
  background: var(--bp-cyan);
  border-radius: 2px;
}

.bp-use-case__workflow-inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  padding: 0 16px;
}

.bp-use-case__workflow .bp-ai-canvas__grid {
  display: contents;
}

.bp-use-case__workflow .bp-ai-details-card {
  flex: 0 0 240px;
  position: relative;
  margin: 0 4px;
  scroll-snap-align: center;
}

.bp-use-case__workflow .bp-ai-details-card::after {
  display: none;
}

.bp-workflow-connector {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bp-workflow-connector::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bp-cyan), rgba(0, 212, 255, 0.3));
  animation: connector-flow 2s linear infinite;
}

@keyframes connector-flow {
  0% { background-position: 0 0; }
  100% { background-position: 48px 0; }
}

.bp-workflow-connector::after {
  content: '→';
  position: relative;
  z-index: 1;
  color: var(--bp-cyan);
  font-size: 1.4rem;
  font-weight: bold;
  background: var(--bp-bg);
  padding: 4px 8px;
  text-shadow: 0 0 10px var(--bp-cyan);
}

.bp-workflow-start {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-workflow-start::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 3px solid var(--bp-green);
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.2);
  animation: pulse-start 1.5s ease-in-out infinite;
}

@keyframes pulse-start {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    transform: scale(1.1);
  }
}

.bp-workflow-end {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-workflow-end::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 3px solid var(--bp-indigo);
  border-radius: 3px;
  transform: rotate(45deg);
  background: rgba(79, 135, 255, 0.2);
  box-shadow: 0 0 12px rgba(79, 135, 255, 0.4);
}

.bp-workflow-card-number {
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  color: var(--bp-bg);
  background: var(--bp-cyan);
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 2;
  font-weight: 600;
}

.bp-workflow-card-flow {
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  width: 28px;
  height: 2px;
  z-index: 5;
}

.bp-workflow-card-flow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--bp-cyan), transparent);
  animation: flow-line 1.5s ease-in-out infinite;
}

@keyframes flow-line {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.bp-workflow-card-flow::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bp-cyan);
  font-size: 1rem;
  text-shadow: 0 0 8px var(--bp-cyan);
}

.bp-use-case__workflow .bp-ai-details-card:last-child .bp-workflow-card-flow {
  display: none;
}

.bp-use-case__workflow .bp-ai-details-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.25);
}

.bp-workflow-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--bp-white);
  opacity: 0.5;
  font-family: var(--bp-mono);
  font-size: 0.9rem;
}

.bp-workflow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(13, 31, 60, 0.3);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  cursor: pointer;
  transition: var(--bp-transition);
}

.bp-workflow-step:hover {
  background: rgba(13, 31, 60, 0.6);
  border-color: var(--bp-cyan);
}

.bp-workflow-step__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bp-workflow-step__content {
  flex: 1;
}

.bp-workflow-step__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bp-white-bright);
}

.bp-workflow-step__desc {
  font-size: 0.75rem;
  color: var(--bp-white);
  opacity: 0.7;
  margin-top: 2px;
}

.bp-workflow-step__type {
  font-family: var(--bp-mono);
  font-size: 0.6rem;
  color: var(--bp-cyan);
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--bp-cyan);
  border-radius: 2px;
  opacity: 0.8;
}

.bp-workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bp-workflow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--bp-cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bp-use-case--loading .bp-workflow-step {
  opacity: 0;
  animation: fadeInStep 0.4s ease forwards;
}

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

.bp-use-case__title {
  font-family: var(--bp-display);
  font-size: 1.2rem;
  color: var(--bp-accent);
  margin-top: 16px;
}

.bp-use-case__flow {
  min-height: 100px;
  margin-top: 16px;
}

.bp-workflow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  overflow-x: auto;
}

.bp-workflow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bp-workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  min-width: 120px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--bp-white);
  transition: var(--bp-transition);
}

.bp-workflow-node:hover {
  border-color: var(--bp-accent);
  box-shadow: 0 0 15px var(--bp-accent-glow);
}

.bp-workflow-icon {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.bp-workflow-node--start {
  background: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
}

.bp-workflow-node--end {
  background: rgba(52, 152, 219, 0.15);
  border-color: #3498db;
}

.bp-workflow-node--decision {
  background: rgba(241, 196, 15, 0.15);
  border-color: #f1c40f;
}

.bp-workflow-node--emergency {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

.bp-workflow-arrow {
  color: var(--bp-accent);
  font-size: 1.2rem;
  padding: 0 4px;
}

.bp-workflow-connector-down {
  width: 2px;
  height: 20px;
  background: var(--bp-accent);
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .bp-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 16px;
    border-bottom: 1px solid var(--bp-line);
    gap: 8px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .bp-nav__links.bp-nav__links--open {
    display: flex;
  }

  .bp-nav__links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .bp-nav__toggle {
    display: block;
  }

  .bp-hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .bp-hero__desc {
    font-size: 1rem;
    padding: 0 8px;
  }

  .bp-cards {
    grid-template-columns: 1fr;
  }

  .bp-values {
    grid-template-columns: 1fr;
  }

  .bp-ai-grid {
    grid-template-columns: 1fr;
  }

  .bp-oss-list {
    grid-template-columns: 1fr;
  }

  .bp-enterprise-list {
    grid-template-columns: 1fr;
  }

  .bp-radar {
    grid-template-columns: 1fr;
  }

  .bp-use-case__workflow .bp-ai-canvas__grid {
    flex-direction: column;
  }

  .bp-use-case__workflow .bp-ai-details-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .bp-use-case__workflow .bp-ai-details-card::after {
    display: none;
  }

  .bp-workflow-connector,
  .bp-workflow-start,
  .bp-workflow-end {
    display: none;
  }

  .bp-workflow-card-flow {
    display: none;
  }

  .bp-ai-canvas {
    padding: 16px;
  }

  .bp-ai-link { display: none; }
  .bp-ai-packet { display: none; }

  .bp-ai-canvas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 0;
  }

  .bp-use-case__workflow .bp-ai-canvas__grid {
    grid-template-columns: 1fr;
  }

  .bp-section {
    padding: 60px 0;
  }

  .bp-section__header {
    margin-bottom: 40px;
  }

  .bp-hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .bp-container {
    padding: 0 16px;
  }

  .bp-seigaiha {
    width: min(90vw, 420px);
    left: -10%;
    bottom: 2%;
    opacity: 0.35;
  }

  .bp-fuji {
    width: min(52vw, 220px);
    right: -3%;
    opacity: 0.34;
  }

  .bp-torii {
    left: 4%;
    bottom: 14%;
    width: clamp(72px, 18vw, 116px);
    opacity: 0.44;
  }

  .bp-enso {
    top: 18%;
    right: 2%;
    opacity: 0.52;
  }

  .bp-tech-logos {
    gap: 16px;
    padding: 16px;
  }

  .bp-tech-logos span {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  .bp-quotes {
    gap: 16px;
  }

  .bp-quote {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .bp-hero__title {
    font-size: 1.8rem;
  }

  .bp-hero__subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .bp-hero__coord {
    font-size: 0.6rem;
  }

  .bp-nav__brand {
    font-size: 0.85rem;
  }

  .bp-nav__links a {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .bp-btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }

  .bp-hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .bp-ai-network {
    min-height: auto;
    padding: 16px;
  }

  .bp-ai-canvas__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
  }

  .bp-wave {
    bottom: -8%;
    height: min(42vh, 280px);
    opacity: 0.86;
  }

  .bp-seigaiha {
    left: -16%;
    opacity: 0.28;
  }

  .bp-fuji {
    width: min(48vw, 190px);
    right: -8%;
    bottom: 8%;
    opacity: 0.27;
  }

  .bp-torii {
    opacity: 0.33;
    bottom: 20%;
  }

  .bp-section {
    padding: 48px 0;
  }

  .bp-section__header {
    margin-bottom: 32px;
  }

  .bp-section__title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .bp-card {
    padding: 24px 20px;
  }

  .bp-value {
    padding: 16px;
  }

  .bp-contact__actions {
    flex-direction: column;
    align-items: center;
  }

  .bp-totop {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* --- Selection style --- */
::selection {
  background: var(--bp-cyan);
  color: var(--bp-bg);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--bp-line);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bp-cyan);
}

/* --- Services Section --- */
.bp-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.bp-service-card {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 28px 24px;
  transition: var(--bp-transition);
}

.bp-service-card:hover {
  border-color: var(--bp-cyan);
  background: rgba(0, 212, 255, 0.03);
  box-shadow: 0 0 16px var(--bp-cyan-glow);
}

.bp-service-card h3 {
  font-family: var(--bp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-white-bright);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.bp-service-card p {
  font-size: 0.9rem;
  color: var(--bp-white);
  line-height: 1.7;
}

/* --- Tech Grid --- */
.bp-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.bp-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.4);
  transition: var(--bp-transition);
  text-align: center;
}

.bp-tech-item:hover {
  border-color: var(--bp-indigo);
  background: rgba(79, 135, 255, 0.05);
  box-shadow: 0 0 12px rgba(79, 135, 255, 0.2);
}

.bp-tech-item__name {
  font-family: var(--bp-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bp-white-bright);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.bp-tech-item__category {
  font-family: var(--bp-mono);
  font-size: 0.65rem;
  color: var(--bp-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Inspired Grid --- */
.bp-inspired-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.bp-inspired-item {
  padding: 24px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: rgba(13, 31, 60, 0.35);
  transition: var(--bp-transition);
}

.bp-inspired-item:hover {
  border-color: var(--bp-indigo);
  transform: translateY(-2px);
}

.bp-inspired-item h3 {
  font-family: var(--bp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-indigo);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.bp-inspired-item p {
  font-size: 0.9rem;
  color: var(--bp-white);
  line-height: 1.7;
}

/* --- OSS Grid --- */
.bp-oss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.bp-oss-card {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 28px;
  transition: var(--bp-transition);
}

.bp-oss-card:hover {
  border-color: var(--bp-green);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.2);
}

.bp-oss-card h3 {
  font-family: var(--bp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-white-bright);
  margin-bottom: 10px;
}

.bp-oss-card p {
  font-size: 0.9rem;
  color: var(--bp-white);
  line-height: 1.7;
  margin-bottom: 16px;
}

.bp-oss-card a {
  font-family: var(--bp-mono);
  font-size: 0.75rem;
  color: var(--bp-cyan);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: var(--bp-transition);
}

.bp-oss-card a:hover {
  color: var(--bp-white-bright);
}

/* --- Enterprise Stats --- */
.bp-enterprise-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding: 32px;
  background: rgba(13, 31, 60, 0.4);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
}

.bp-stat {
  text-align: center;
  min-width: 120px;
}

.bp-stat__value {
  font-family: var(--bp-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bp-cyan);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 20px var(--bp-cyan-glow);
}

.bp-stat__label {
  font-family: var(--bp-mono);
  font-size: 0.7rem;
  color: var(--bp-line);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}



/* --- Contact Actions --- */
.bp-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.bp-contact-info {
  font-family: var(--bp-mono);
  font-size: 0.8rem;
  color: var(--bp-line);
  line-height: 2;
  text-align: center;
}

.bp-contact-info a {
  color: var(--bp-cyan);
  text-decoration: none;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .bp-section {
    padding: 60px 0;
  }

  .bp-section__header {
    margin-bottom: 32px;
  }

  .bp-services,
  .bp-tech-grid,
  .bp-inspired-grid,
  .bp-oss-grid {
    grid-template-columns: 1fr;
  }

  .bp-enterprise-stats {
    gap: 24px;
    padding: 24px;
  }

  .bp-stat {
    min-width: 100px;
  }

  .bp-stat__value {
    font-size: 1.5rem;
  }

  .bp-radar {
    width: 220px;
    height: 220px;
  }

  .bp-contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .bp-contact-actions .bp-btn {
    width: 100%;
    max-width: 280px;
  }
}
