/* ==========================================================================
   GoArrow - Enterprise AI Products & Software Platform
   Modern SaaS Stylesheet
   ========================================================================== */

/* Geist Pixel Circle (Fallback Display Font) */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Design Tokens & CSS Variables */
:root {
  --bg: #000000;
  --bg-subtle: #09090b;
  --text: #ffffff;
  --muted: #8e8e8e;
  --muted-light: #b5b5b5;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --accent-emerald: #00f2aa;
  --accent-cyan: #00d2ff;
  --accent-glow: rgba(0, 242, 170, 0.15);
  --card-bg: rgba(20, 20, 24, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(0, 242, 170, 0.4);
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Reset & Baseline */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body lock when mobile drawer is open */
body.menu-open {
  overflow: hidden;
}

/* Section Shared Utilities */
.section-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) clamp(16px, 3.5vw, 36px);
}

.bg-subtle-glow {
  background: radial-gradient(circle at 50% 20%, rgba(0, 242, 170, 0.04) 0%, transparent 60%);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(36px, 6vh, 64px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--accent-emerald);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--muted-light);
  line-height: 1.6;
  font-weight: 400;
}

/* Card Glow Effect */
.card-glow {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.card-glow:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 242, 170, 0.12);
}

/* ==========================================================================
   Header & Floating Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(12px, 1.8vh, 18px) clamp(16px, 3vw, 32px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

/* Desktop Nav Pill */
.nav-pill {
  background: #ffffff;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.35vw, 14.5px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  text-decoration: none;
  opacity: 0.55;
  padding: 8px 14px;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 0.85;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #000000;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-signin {
  background: var(--pill-dark);
  color: var(--sign-in-text);
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(16px, 2vw, 22px);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.35vw, 14.5px);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-signin:hover {
  background: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-header-cta {
  background: #ffffff;
  color: #000000;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.35vw, 14.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.45);
}

/* Hamburger Toggle Button */
.menu-toggle {
  display: none;
}

/* ==========================================================================
   Mobile Menu & Drawer
   ========================================================================== */
.mobile-overlay,
.mobile-menu {
  display: none !important;
}

@media (min-width: 992px) and (max-width: 1180px) {
  .nav-pill {
    padding: 3px 8px;
    gap: 2px;
  }
  .nav-link {
    padding: 6px 9px;
    font-size: 13px;
  }
  .header-actions {
    gap: 8px;
  }
  .btn-signin {
    padding: 6px 12px;
    font-size: 13px;
  }
  .btn-header-cta {
    padding: 6px 16px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .nav-pill,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #28282a;
    border: none;
    cursor: pointer;
    box-shadow: var(--nav-shadow);
    transition: background 0.25s ease;
    position: relative;
    z-index: 1001;
  }

  .menu-toggle .bar {
    width: 18px;
    height: 1.5px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.2s ease,
                background 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] {
    background: #ffffff;
  }

  .menu-toggle[aria-expanded="true"] .bar {
    background: #000000;
  }

  .menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
  }

  .mobile-overlay.is-open:not([hidden]) {
    display: block !important;
    animation: overlayIn 0.28s ease forwards;
  }

  .mobile-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;
    background: #ffffff;
    border-radius: 28px;
    padding: 24px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    z-index: 999;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-menu.is-open:not([hidden]) {
    display: flex !important;
    animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-link {
    color: #2e2e2e;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
  }

  .mobile-link:hover,
  .mobile-link.active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-link.active::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #000000;
    box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-signin {
    width: 100%;
    height: 48px;
    background: var(--pill-dark);
    color: #ffffff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-cta-btn {
    width: 100%;
    height: 48px;
    background: #000000;
    color: #ffffff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px clamp(16px, 3.5vw, 36px) clamp(24px, 4vh, 40px);
  overflow: hidden;
}

.hero-section .bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #000;
  pointer-events: none;
  z-index: 0;
}

.hero-section .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 60%, #000000 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

/* Trust Row */
.trust-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --trust-size: clamp(36px, 4.5vw, 42px);
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.trust-avatars {
  display: inline-flex;
  align-items: center;
}

.trust-avatar {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
  position: relative;
}

.trust-avatar.a1 { z-index: 1; }
.trust-avatar.a2 { z-index: 2; margin-left: calc(var(--trust-size) * -0.42); }
.trust-avatar.a3 { z-index: 4; margin-left: calc(var(--trust-size) * -0.42); }

.trust-avatar.a1:hover { transform: translateY(-2px); }
.trust-avatar.a2:hover { transform: translateY(-4px); }
.trust-avatar.a3:hover { transform: translateY(-2px); }

.trust-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-inner i {
  color: #111111;
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

.trust-pill {
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 18px);
  color: var(--trust-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
  z-index: 3;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(32px, 6.5vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline .line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line-1 { animation-delay: 0.12s; }
.headline .line-2 { animation-delay: 0.3s; }

/* Subhead */
.subhead {
  max-width: min(560px, 92%);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.85;
  line-height: 1.6;
  font-weight: 400;
  margin: clamp(14px, 2vh, 22px) auto 0;
  text-align: center;
}

/* CTA Buttons */
.cta-wrapper {
  margin-top: clamp(20px, 3vh, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 15px);
  padding: clamp(12px, 1.8vh, 15px) clamp(26px, 3.2vw, 32px);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 22px rgba(255, 255, 255, 0.32),
              0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25),
              0 0 32px rgba(255, 255, 255, 0.55),
              0 0 60px rgba(255, 255, 255, 0.25);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13.5px, 1.5vw, 15px);
  padding: clamp(12px, 1.8vh, 15px) clamp(22px, 2.5vw, 28px);
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Stats Footer */
.stats-footer {
  width: 100%;
  max-width: 920px;
  margin-top: clamp(36px, 5vh, 60px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  text-align: left;
}

.stat-glyph {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 400;
  margin-top: 2px;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  margin-top: clamp(28px, 4vh, 48px);
  display: inline-block;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  display: inline-block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.mouse-icon .wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 2px;
  animation: mouseScroll 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes mouseScroll {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ==========================================================================
   2. Core Capabilities & Value Proposition
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 242, 170, 0.1);
  border: 1px solid rgba(0, 242, 170, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-emerald);
  font-size: 22px;
  margin-bottom: 24px;
}

.card-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-text {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.card-telemetry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.telemetry-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.card-code-preview {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.card-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d0d0d0;
  padding: 10px 14px;
  background: rgba(0, 242, 170, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 242, 170, 0.15);
}

.status-dot-live {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.card-schematic {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.node-ring {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px dashed rgba(0, 242, 170, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.pulsing-core {
  width: 14px;
  height: 14px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent-emerald);
}

.satellite-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.satellite-node.n1 { top: -4px; left: 50%; transform: translateX(-50%); }
.satellite-node.n2 { bottom: 10px; left: 6px; }
.satellite-node.n3 { bottom: 10px; right: 6px; }

/* ==========================================================================
   3. Interactive Architecture Pipeline
   ========================================================================== */
.pipeline-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

/* 3-Step Milestone Flow (Centered) */
.pipeline-flow.milestones-flow {
  grid-template-columns: minmax(240px, 320px) 48px minmax(240px, 320px) 48px minmax(240px, 320px);
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  gap: 12px;
}

.pipeline-flow.milestones-flow .pipeline-step {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 26px 20px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pipeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
}

.step-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--muted);
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #ffffff;
  margin: 10px 0 14px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.step-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.pipeline-connector {
  width: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
}

.flow-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: flowPulse 2.2s infinite;
}

@keyframes flowPulse {
  0% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Telemetry Dashboard */
.telemetry-dashboard {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px 30px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #e0e0e0;
}

.status-indicator-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.dashboard-controls {
  display: flex;
  gap: 8px;
}

.pill-metric {
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--muted-light);
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-name {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.stat-trend {
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-trend.positive {
  color: var(--accent-emerald);
}

/* ==========================================================================
   4. Signature Horizontal Lock-Scroll Section
   ========================================================================== */
.horizontal-scroll-section {
  position: relative;
  width: 100%;
  height: 350vh; /* Multi-viewport scroll travel */
  background: #000000;
}

.horizontal-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(75px, 11vh, 95px) clamp(16px, 4vw, 48px) clamp(24px, 4vh, 36px);
  box-sizing: border-box;
}

.horizontal-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
}

.header-text-group {
  max-width: 650px;
}

.horizontal-nav-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.horizontal-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-step-text {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-emerald);
}

.horizontal-progress-track {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.horizontal-progress-fill {
  width: 20%;
  height: 100%;
  background: var(--accent-emerald);
  transition: width 0.15s ease-out;
}

.horizontal-arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Track Wrapper */
.horizontal-track-wrapper {
  width: 100%;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.horizontal-track {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  will-change: transform;
  transform: translateX(0);
}

/* Product Cards */
.product-card {
  width: clamp(340px, 42vw, 560px);
  flex-shrink: 0;
}

.product-card-inner {
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .product-card-inner {
  border-color: rgba(0, 242, 170, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 170, 0.12);
}

.product-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-pill {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.product-stat {
  font-size: 12px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-stat i {
  color: var(--accent-emerald);
}

/* UI Mockups Inside Cards */
.product-visual {
  width: 100%;
}

.visual-screen-mockup,
.visual-canvas-mockup {
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-mono);
}

.mockup-bar {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.m-dot.red { background: #ff5f56; }
.m-dot.yellow { background: #ffbd2e; }
.m-dot.green { background: #27c93f; }

.m-title {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}

.mockup-content {
  padding: 14px 16px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-row {
  color: #ffffff;
}

.m-prefix {
  color: var(--accent-emerald);
  margin-right: 6px;
}

.mockup-log.ok {
  color: var(--accent-emerald);
}

.mockup-log.info {
  color: var(--accent-cyan);
}

.mockup-graph-lines {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 36px;
  margin-top: 6px;
}

.bar-spark {
  flex: 1;
  background: rgba(0, 242, 170, 0.35);
  border-radius: 3px;
}

.bar-spark.b1 { height: 40%; }
.bar-spark.b2 { height: 75%; background: var(--accent-emerald); }
.bar-spark.b3 { height: 60%; }
.bar-spark.b4 { height: 90%; background: var(--accent-emerald); }
.bar-spark.b5 { height: 50%; }
.bar-spark.b6 { height: 85%; }

/* Canvas Visual */
.canvas-nodes-preview {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 12px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 12px 12px;
}

.canvas-node {
  background: #16161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  text-align: center;
}

.canvas-node.active {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(0, 242, 170, 0.3);
}

.cn-header {
  color: #ffffff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cn-status {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 2px;
}

.canvas-wire {
  width: 24px;
  height: 2px;
  background: var(--accent-emerald);
}

/* Cipher Visual */
.cipher-matrix-preview {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
}

.cipher-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
}

.cipher-row i {
  color: var(--accent-emerald);
}

/* Cluster Visual */
.cluster-nodes-preview {
  padding: 14px 16px;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.c-node {
  background: #141418;
  border: 1px solid rgba(0, 242, 170, 0.2);
  border-radius: 8px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--accent-emerald);
}

.cluster-summary {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

/* Pulse Chart */
.pulse-dashboard-preview {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pulse-mini-card {
  background: #141418;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.pm-label { font-size: 10px; color: var(--muted); }
.pm-val { font-size: 14px; font-weight: 600; color: #ffffff; }

/* Product Content */
.product-content {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.55;
  margin-bottom: 16px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.product-features-list span {
  font-size: 12.5px;
  color: #d0d0d0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features-list i {
  color: var(--accent-emerald);
  font-size: 11px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-product-primary {
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-product-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-product-secondary {
  color: #ffffff;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.btn-product-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   5. Enterprise Integrations & SDK Switcher
   ========================================================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.integration-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.integration-item i {
  font-size: 26px;
  color: #ffffff;
}

.integration-item span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-light);
}

.integration-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.05);
}

/* SDK Showcase */
.sdk-showcase {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
}

.sdk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 14px;
}

.sdk-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #e0e0e0;
}

.sdk-title i {
  color: var(--accent-emerald);
}

.sdk-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 10px;
}

.sdk-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sdk-tab:hover {
  color: #ffffff;
}

.sdk-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sdk-code-window {
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.code-block {
  display: none;
  color: #e0e0e0;
}

.code-block.active {
  display: block;
}

/* Syntax Highlighting */
.hl-kw { color: #ff7b72; font-weight: 600; }
.hl-class { color: #79c0ff; }
.hl-fn { color: #d2a8ff; }
.hl-var { color: #ffa657; }
.hl-str { color: #a5d6ff; }
.hl-num { color: #79c0ff; }
.hl-comment { color: #8b949e; font-style: italic; }
.hl-prop { color: #7ee787; }

/* ==========================================================================
   6. Testimonials & Impact
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.testimonial-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stars {
  color: #ffb800;
  font-size: 13px;
  display: flex;
  gap: 3px;
}

.company-badge {
  font-size: 11px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quote-body {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 242, 170, 0.12);
  border: 1px solid rgba(0, 242, 170, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-emerald);
  font-size: 18px;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.author-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ROI Stats Bar */
.roi-stats-bar {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.roi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.roi-number {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.roi-label {
  font-size: 13px;
  color: var(--muted-light);
  margin-top: 4px;
  max-width: 180px;
}

.roi-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   7. Tiered Pricing & Billing Toggle
   ========================================================================== */
.billing-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.billing-label {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-label.active {
  color: #ffffff;
}

.discount-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-emerald);
  color: #000000;
  padding: 2px 8px;
  border-radius: 999px;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: #28282a;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s ease;
}

.toggle-switch[aria-checked="true"] {
  background: var(--accent-emerald);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.toggle-switch[aria-checked="true"] .toggle-thumb {
  transform: translateX(20px);
  background: #000000;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured-card {
  background: rgba(22, 22, 28, 0.85);
  border-color: rgba(0, 242, 170, 0.4);
  box-shadow: 0 0 40px rgba(0, 242, 170, 0.12);
  transform: scale(1.03);
}

.pricing-card.featured-card:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #000000;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price-block .currency {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.plan-price-block .price-val {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.plan-price-block .price-val.custom {
  font-size: 38px;
}

.plan-price-block .period {
  font-size: 14px;
  color: var(--muted);
}

.billing-note {
  display: block;
  font-size: 12px;
  color: var(--accent-emerald);
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  font-size: 13.5px;
  color: #d0d0d0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: var(--accent-emerald);
  font-size: 12px;
}

.btn-plan-primary {
  width: 100%;
  height: 48px;
  background: #ffffff;
  color: #000000;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn-plan-secondary {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-plan-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   8. Final High-Conversion CTA
   ========================================================================== */
.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 170, 0.12) 0%, rgba(18, 18, 24, 0.95) 75%);
  border: 1px solid rgba(0, 242, 170, 0.3);
  border-radius: 36px;
  padding: clamp(48px, 8vh, 84px) clamp(24px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 242, 170, 0.1);
}

.cta-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin: 16px 0;
}

.cta-subhead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
}

.cta-input-wrapper {
  flex: 1;
  min-width: 260px;
  height: 52px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  color: #ffffff;
}

.cta-input-wrapper i {
  color: var(--muted);
}

.cta-input-wrapper input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  width: 100%;
  outline: none;
}

.cta-input-wrapper input::placeholder {
  color: #777777;
}

.btn-cta-submit {
  height: 52px;
  padding: 0 28px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.cta-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-guarantees span {
  font-size: 12.5px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-guarantees i {
  color: var(--accent-emerald);
}

/* ==========================================================================
   4. Flagship Products Ecosystem (Clean Grid & Tab UX)
   ========================================================================== */
.products-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.products-tab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.product-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.product-tab-btn i {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.product-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.product-tab-btn.active {
  background: rgba(0, 242, 170, 0.12);
  border-color: rgba(0, 242, 170, 0.4);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.15);
}

.product-tab-btn.active i {
  color: var(--accent-emerald);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-card-modern {
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 170, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 170, 0.08);
}

.p-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.p-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent-emerald);
  font-size: 18px;
}

.p-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 170, 0.2);
}

.p-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.p-tagline {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-emerald);
  margin-bottom: 14px;
}

.p-description {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.p-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
}

.p-features li {
  font-size: 12.5px;
  color: #d8d8d8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-features li i {
  color: var(--accent-emerald);
  font-size: 12px;
}

.p-footer {
  margin-top: auto;
}

.btn-p-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.btn-p-action:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   9. Simplified 3-Column Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050507;
  padding: 70px clamp(16px, 4vw, 40px) 36px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 50px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.footer-logo-badge img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 20px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 170, 0.06);
  border: 1px solid rgba(0, 242, 170, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #e0e0e0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.footer-nav-list li a {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-socials a {
  color: var(--muted);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col.brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col.brand-col {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Animations & Scroll Reveals
   ========================================================================== */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes headlineFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes menuIn {
  from { opacity: 0; transform: translate(-50%, -10px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured-card {
    transform: none;
    grid-column: span 2;
  }

  .pricing-card.featured-card:hover {
    transform: translateY(-4px);
  }

  .pipeline-flow,
  .pipeline-flow.milestones-flow {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
    margin: 0 auto;
  }

  .pipeline-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }

  .connector-line {
    width: 2px;
    height: 100%;
  }

  .flow-dot {
    top: 0;
    left: -3px;
    animation: flowPulseVertical 2.2s infinite;
  }

  @keyframes flowPulseVertical {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
  }

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured-card {
    grid-column: span 1;
  }

  .dashboard-metrics-grid {
    grid-template-columns: 1fr;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .roi-divider {
    display: none;
  }

  .roi-stats-bar {
    flex-direction: column;
    gap: 24px;
  }

  .product-card {
    width: 85vw;
  }

  .horizontal-scroll-sticky {
    padding-top: 80px;
  }
}

@media (max-width: 420px) {
  .hero-inner .trust-row {
    --trust-size: 34px;
  }

  .trust-pill {
    font-size: 12px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }

  .subhead {
    font-size: 13px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .anim,
  [data-reveal],
  .headline .line {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ==========================================================================
   Features Page Hero: Deep Neural Aperture 3D Zoom
   ========================================================================== */
.features-zoom-wrapper {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #000000;
  perspective: 1000px;
}

.features-zoom-wrapper .intro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px 4vh 20px;
  pointer-events: none;
}

.features-zoom-wrapper .intro-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(480px, 88vw);
  width: 100%;
  margin: 0 auto;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.features-zoom-wrapper .features-badge {
  font-family: var(--font-display);
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.features-zoom-wrapper .intro-kicker {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  line-height: 1.15;
}

.features-zoom-wrapper .intro-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.features-zoom-wrapper .intro-headline .headline-word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 58px);
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.features-zoom-wrapper .scroll-prompt {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  animation: bounceSoft 2s infinite;
}

@keyframes bounceSoft {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

.features-zoom-wrapper .content {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow-x: hidden;
}

.features-zoom-wrapper .content .section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.features-zoom-wrapper .content .section.hero {
  position: relative;
  overflow: hidden;
  background-image: url('assets/features-core-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
  transition: opacity 0.5s ease;
  filter: brightness(0.55) contrast(1.2);
}

.features-zoom-wrapper .content .gradient-emerald {
  height: 50vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 242, 170, 0.08) 50%, #000000 100%);
}

/* Foreground 3D Perspective Aperture Frame (Vault Doorway) */
.features-zoom-wrapper .image-container,
#portalFrameContainer {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  perspective: 600px;
  overflow: hidden;
  pointer-events: none;
}

.features-zoom-wrapper .image-container img,
#portalFrameImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 1;
  will-change: transform;
  filter: contrast(1.05) brightness(0.95);
  pointer-events: none;
}

/* Synthesis Split Section */
.features-zoom-wrapper .content .gradient-cyan {
  min-height: 85vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5% 100px 5%;
  position: relative;
  z-index: 2;
}

.synthesis-split-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

/* Left Column: Left Aligned Text Content */
.synthesis-text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 580px;
}

.synthesis-text-col .test-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent-emerald);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.35);
  padding: 5px 16px;
  border-radius: 999px;
  align-self: flex-start;
}

.synthesis-text-col .synthesis-heading {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
  text-align: left;
}

.synthesis-text-col .synthesis-body {
  margin-bottom: 26px;
}

.synthesis-text-col .synthesis-body p {
  font-family: var(--font-sans);
  font-size: clamp(14.5px, 1.35vw, 17px);
  color: #b5b5b5;
  line-height: 1.65;
  margin-bottom: 8px;
  text-align: left;
}

.synthesis-text-col .synthesis-body .accent-phrase {
  color: var(--accent-emerald);
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0, 242, 170, 0.4);
}

.synthesis-text-col .hero-feature-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.synthesis-text-col .hero-feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.synthesis-text-col .hero-feature-pills span i {
  color: var(--accent-emerald);
}

/* Right Column: 3D Tri-Fold Origami Block */
.synthesis-visual-col {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.carousel-3d-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 380px;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-3d-ring {
  position: relative;
  width: 220px;
  height: 340px;
  transform-style: preserve-3d;
  animation: spinContinuous360 12s linear infinite;
  will-change: transform;
}

/* Continuous 360 Rotation - Never stopping, smooth linear motion */
@keyframes spinContinuous360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}

.carousel-3d-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 340px;
  transform-style: preserve-3d;
  border-radius: 14px;
}

/* Distribute 3 cards at 0deg, 120deg, 240deg around the cylinder (radius: 190px) */
.carousel-3d-card.card-1 {
  transform: rotateY(0deg) translateZ(190px);
}

.carousel-3d-card.card-2 {
  transform: rotateY(120deg) translateZ(190px);
}

.carousel-3d-card.card-3 {
  transform: rotateY(240deg) translateZ(190px);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 170, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 170, 0.22);
}

/* Front Face: Unique Bespoke Generated AI Images for each Card */
.card-face.card-front {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.carousel-3d-card.card-1 .card-front {
  background-image: url('assets/card-swarm.jpg');
}

.carousel-3d-card.card-2 .card-front {
  background-image: url('assets/card-core.jpg');
}

.carousel-3d-card.card-3 .card-front {
  background-image: url('assets/card-security.jpg');
}

/* Back Face: Clean Obsidian Cybernetic Panel (No image clutter) */
.card-face.card-back {
  transform: rotateY(180deg);
  backface-visibility: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0, 242, 170, 0.08) 0%, rgba(10, 14, 20, 0.98) 85%);
  border: 1px solid rgba(0, 242, 170, 0.4);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 242, 170, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.card-back-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 242, 170, 0.12);
  border: 1px solid rgba(0, 242, 170, 0.45);
  display: grid;
  place-items: center;
  color: var(--accent-emerald);
  font-size: 18px;
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.35);
}

.card-back-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 242, 170, 0.8);
}

.holo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: holoPulse 1.6s infinite;
}

@keyframes holoPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.holo-title {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .carousel-3d-scene {
    max-width: 360px;
    height: 300px;
  }
  .carousel-3d-ring,
  .carousel-3d-card {
    width: 170px;
    height: 270px;
  }
  .carousel-3d-card.card-1 {
    transform: rotateY(0deg) translateZ(145px);
  }
  .carousel-3d-card.card-2 {
    transform: rotateY(120deg) translateZ(145px);
  }
  .carousel-3d-card.card-3 {
    transform: rotateY(240deg) translateZ(145px);
  }
}

@media (max-width: 900px) {
  .synthesis-split-wrapper {
    flex-direction: column;
    text-align: left;
    gap: 40px;
  }
  .synthesis-text-col {
    max-width: 100%;
  }
  .example {
    max-width: 440px;
    padding-top: 70%;
  }
}


/* ==========================================================================
   High-Tech AI Page Transition & Neural Loader Overlay
   ========================================================================== */
.page-loader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #000000;
  background: radial-gradient(circle at 50% 50%, rgba(2, 36, 27, 0.45) 0%, #000000 70%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}

.page-loader-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Animated Cyber Scanline Beam */
.loader-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 170, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 15px rgba(0, 242, 170, 0.9), 0 0 30px rgba(0, 210, 255, 0.5);
  animation: scanlineMove 1.6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanlineMove {
  0% { top: 0%; opacity: 0.2; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0.2; }
}

/* Center Loader Content */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: 360px;
  position: relative;
  z-index: 2;
}

/* Futuristic Logo Neural Rings */
.loader-logo-ring {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.loader-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 12px rgba(0, 242, 170, 0.5));
}

.ring-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 170, 0.15);
  border-top-color: var(--accent-emerald);
  border-right-color: var(--accent-cyan);
  animation: spinRing 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.2);
}

.ring-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 242, 170, 0.35);
  animation: counterSpin 2.4s linear infinite;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes counterSpin {
  0% { transform: rotate(360deg) scale(0.95); opacity: 0.4; }
  50% { transform: rotate(180deg) scale(1.05); opacity: 0.8; }
  100% { transform: rotate(0deg) scale(0.95); opacity: 0.4; }
}

/* Tech Text Readout */
.loader-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.loader-sys-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted-light);
  text-transform: uppercase;
}

.loader-status {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  text-shadow: 0 0 14px rgba(0, 242, 170, 0.7);
  text-transform: uppercase;
}

/* Progress Shimmer Bar */
.loader-progress-bar {
  width: 170px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 18px;
  position: relative;
}

.loader-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 30%, var(--accent-emerald) 70%, transparent 100%);
  animation: progressShimmer 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform: translateX(-100%);
  box-shadow: 0 0 10px rgba(0, 242, 170, 0.8);
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   Horizontal Scrolling Basic AI Knowledge Center
   ========================================================================== */
.knowledge-scroll-section {
  position: relative;
  padding: 100px 0 80px;
  background: radial-gradient(ellipse at 50% 10%, rgba(0, 242, 170, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(0, 217, 245, 0.03) 0%, transparent 50%),
              #07080a;
  overflow: hidden;
}

.knowledge-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.knowledge-header-left {
  max-width: 680px;
}

.knowledge-scroll-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.knowledge-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.knowledge-nav-btn:hover {
  background: var(--accent-emerald);
  color: #07080a;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.45);
  transform: scale(1.06);
}

.knowledge-nav-btn:active {
  transform: scale(0.95);
}

/* Horizontal Cards Track */
.knowledge-cards-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 6px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
}

.knowledge-cards-track::-webkit-scrollbar {
  display: none;
}

.knowledge-cards-track:active {
  cursor: grabbing;
}

/* Individual Knowledge Card */
.knowledge-card {
  flex: 0 0 350px;
  max-width: 350px;
  scroll-snap-align: start;
  background: rgba(14, 16, 22, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.knowledge-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 170, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 170, 0.18);
}

.k-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.k-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  transition: transform 0.3s ease;
}

.knowledge-card:hover .k-icon-wrap {
  transform: scale(1.08);
}

.k-icon-wrap.emerald {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 242, 170, 0.35);
}

.k-icon-wrap.cyan {
  background: rgba(0, 217, 245, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 217, 245, 0.35);
}

.k-icon-wrap.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.k-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.k-icon-wrap.green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.k-icon-wrap.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.k-badge {
  font-size: 11px;
  font-family: var(--font-display, monospace);
  font-weight: 500;
  color: var(--muted-light, #94a3b8);
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.k-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.35;
}

.k-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.k-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.k-desc strong {
  color: #ffffff;
}

/* Example Callout Box */
.k-example-box {
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-emerald);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  margin-top: auto;
  margin-bottom: 18px;
}

.k-example-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.k-example-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.k-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.k-takeaway {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.k-takeaway i {
  color: var(--accent-emerald);
}

/* Meta Footer: Progress & Hint */
.knowledge-scroll-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 0 4px;
}

.scroll-track-hint {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-track-hint i {
  color: var(--accent-emerald);
}

.knowledge-progress-bar-wrap {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.knowledge-progress-bar-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 999px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px rgba(0, 242, 170, 0.5);
}

@media (max-width: 768px) {
  .knowledge-card {
    flex: 0 0 82vw;
    max-width: 82vw;
  }
  .knowledge-header-wrap {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Section Anchor Scroll Offset (Prevents fixed header overlap)
   ========================================================================== */
section[id],
.section-container,
#hero,
#features,
#pipeline,
#knowledge-base,
#integrations,
#pricing,
#cta {
  scroll-margin-top: 95px;
}

/* ==========================================================================
   Interactive Sign In Modal
   ========================================================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.auth-modal-overlay.is-active,
.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #0f1218;
  border: 1px solid rgba(0, 242, 170, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 242, 170, 0.15);
  border-radius: 20px;
  padding: 36px 32px;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.is-active .auth-modal-card,
.auth-modal-overlay.active .auth-modal-card {
  transform: scale(1) translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-light);
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 18px rgba(0, 242, 170, 0.3);
}

.auth-logo-badge img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.auth-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-modal-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Social SSO Buttons */
.auth-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-auth-social {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-auth-social:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  padding: 0 12px;
}

/* Form Fields */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.auth-input-group label {
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
}

.auth-input-field {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-field i {
  position: absolute;
  left: 14px;
  color: var(--muted);
  font-size: 14px;
}

.auth-input-field input {
  width: 100%;
  height: 44px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 14px 0 40px;
  color: #ffffff;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.auth-input-field input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(0, 242, 170, 0.25);
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-light);
  cursor: pointer;
}

.remember-me input {
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

.forgot-link {
  color: var(--accent-emerald);
  text-decoration: none;
  transition: opacity 0.2s;
}

.forgot-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.btn-auth-submit {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-emerald);
  border: none;
  color: #07080a;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 6px;
}

.btn-auth-submit:hover {
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.5);
  transform: translateY(-1px);
}

.auth-feedback {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.auth-feedback.success {
  background: rgba(0, 242, 170, 0.12);
  border: 1px solid rgba(0, 242, 170, 0.4);
  color: var(--accent-emerald);
}

.auth-modal-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-modal-footer a {
  color: var(--accent-emerald);
  font-weight: 600;
  text-decoration: none;
}

.auth-modal-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SDK Copy Code Button
   ========================================================================== */
.sdk-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(0, 242, 170, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.btn-copy-code.copied {
  background: var(--accent-emerald);
  color: #07080a;
  border-color: var(--accent-emerald);
}

/* ==========================================================================
   CTA Form Feedback
   ========================================================================== */
.cta-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.cta-feedback.success {
  background: rgba(0, 242, 170, 0.14);
  border: 1px solid rgba(0, 242, 170, 0.45);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 242, 170, 0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Knowledge Nav Button Disabled state */
.knowledge-nav-btn:disabled,
.knowledge-nav-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes pulseFocusRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(0, 102, 255, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.pulse-focus {
  animation: pulseFocusRing 1.2s ease-out;
  border-color: #0066ff !important;
}

/* ==========================================================================
   Footer Interactive Enhancements & Modals
   ========================================================================== */
.footer-status-badge {
  cursor: pointer;
  border: 1px solid rgba(0, 242, 170, 0.25);
  background: rgba(0, 242, 170, 0.07);
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-status-badge:hover {
  background: rgba(0, 242, 170, 0.16);
  border-color: rgba(0, 242, 170, 0.55);
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.3);
  transform: translateY(-2px);
}

.footer-status-badge:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-btn:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-back-to-top:hover {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(0, 242, 170, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.footer-socials a:hover {
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

/* Status Modal Card */
.status-modal-card {
  max-width: 520px;
}

.status-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.status-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-summary-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.status-summary-sub {
  font-size: 12px;
  color: var(--muted);
}

.status-ping-badge {
  font-size: 12px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.status-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px 16px;
  border-radius: 10px;
}

.status-service-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e0e0e0;
}

.status-service-name i {
  color: var(--muted);
  width: 16px;
}

.status-service-state {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-emerald);
  font-weight: 500;
}

.status-service-latency {
  color: var(--muted);
  font-size: 11.5px;
}

.status-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--muted);
}

.btn-refresh-ping {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-light);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-refresh-ping:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Legal Modal (Privacy & Terms) */
.legal-modal-card {
  max-width: 660px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.legal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.legal-tab-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.legal-tab-btn.active {
  color: #07080a;
  background: var(--accent-emerald);
}

.legal-content-container {
  overflow-y: auto;
  padding-right: 8px;
  max-height: 52vh;
  color: var(--muted-light);
  font-size: 13.5px;
  line-height: 1.65;
}

.legal-content-container::-webkit-scrollbar {
  width: 5px;
}

.legal-content-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.legal-pane {
  display: none;
}

.legal-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.legal-pane h4 {
  color: #ffffff;
  font-size: 15px;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}

.legal-pane h4:first-child {
  margin-top: 0;
}

.legal-pane p {
  margin-bottom: 12px;
}

.legal-pane ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-pane li {
  margin-bottom: 6px;
}

/* ==========================================================================
   How It Works & Autonomous Architecture Page Styles
   ========================================================================== */

/* 1. How It Works Hero */
.how-hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(60px, 10vh, 100px);
  overflow: hidden;
  background-color: var(--bg);
}

.how-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.how-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.how-hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 95vw;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 242, 170, 0.12) 0%, rgba(0, 210, 255, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.how-hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle 340px at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    rgba(0, 242, 170, 0.22) 0%,
    rgba(0, 210, 255, 0.1) 35%,
    rgba(0, 242, 170, 0.03) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.how-hero-section:hover .how-hero-cursor-glow {
  opacity: 1;
}

.how-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  z-index: 0;
}

.how-hero-container {
  position: relative;
  z-index: 3;
}

.how-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(36px, 6vh, 60px);
}

.how-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin: 18px 0 20px;
  text-shadow: 0 0 40px rgba(0, 242, 170, 0.25);
}

.how-hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18.5px);
  color: var(--muted-light);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 32px;
}

/* Telemetry Pills */
.how-telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(8px, 1.5vw, 16px);
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: #dedede;
  transition: border-color 0.25s, transform 0.25s;
}

.telemetry-pill:hover {
  border-color: rgba(0, 242, 170, 0.4);
  transform: translateY(-1px);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.pill-dot.emerald {
  background-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.pill-dot.cyan {
  background-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.pill-dot.purple {
  background-color: #a855f7;
  color: #a855f7;
}

.pill-label {
  color: var(--muted);
  font-size: 12px;
}

.pill-val {
  color: #ffffff;
  font-weight: 600;
}

/* 2. Interactive Pipeline Visualizer */
.how-pipeline-visualizer {
  background: rgba(14, 14, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 36px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.visualizer-headline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.visualizer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
}

.status-radar {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
}

.status-radar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-emerald);
  animation: radarPing 1.8s infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.visualizer-stepper-nav {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stage-step-btn .btn-step-num {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--accent-cyan);
}

.stage-step-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.stage-step-btn.active {
  background: rgba(0, 242, 170, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 242, 170, 0.35);
}

.stage-step-btn.active .btn-step-num {
  color: var(--accent-emerald);
}

/* Pipeline Cards Row */
.pipeline-cards-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.how-stage-card {
  position: relative;
  background: rgba(22, 22, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.how-stage-card:hover,
.how-stage-card.active {
  border-color: rgba(0, 242, 170, 0.4);
  background: rgba(26, 26, 34, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 242, 170, 0.08);
}

.stage-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.how-stage-card.active .stage-glow-line,
.how-stage-card:hover .stage-glow-line {
  opacity: 1;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stage-seq {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.stage-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.stage-icon-box.emerald {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.2);
}

.stage-icon-box.cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
}

.stage-icon-box.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

.stage-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.stage-description {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stage-metric {
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stage-badge {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 500;
}

.pipeline-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  padding: 0 4px;
}

.arrow-pulse-line {
  display: none;
}

.how-hero-cta-strip {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-simulator-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.35);
  color: var(--accent-emerald);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-simulator-jump:hover {
  background: var(--accent-emerald);
  color: #000000;
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.4);
  transform: translateY(-2px);
}

/* 3. Operational Steps Deep-Dive */
.how-steps-section {
  padding-top: clamp(60px, 8vh, 100px);
  padding-bottom: clamp(30px, 5vh, 60px);
}

#simulator {
  padding-top: clamp(30px, 5vh, 60px);
}

.how-steps-list {
  display: flex;
  flex-direction: column;
  gap: clamp(50px, 8vh, 90px);
  margin-top: 40px;
}

.how-step-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.how-step-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.how-step-row.reverse .step-info-col {
  order: 2;
}

.how-step-row.reverse .step-visual-col {
  order: 1;
}

.step-counter-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.step-heading {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Redesigned 4-Step Delivery Process Grid */
.how-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.how-process-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.how-process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.how-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.how-process-card:nth-child(1):hover {
  border-color: rgba(0, 242, 170, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 242, 170, 0.1);
}
.how-process-card:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
}

.how-process-card:nth-child(2):hover {
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 210, 255, 0.1);
}
.how-process-card:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.how-process-card:nth-child(3):hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.1);
}
.how-process-card:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
}

.how-process-card:nth-child(4):hover {
  border-color: rgba(0, 242, 170, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 242, 170, 0.1);
}
.how-process-card:nth-child(4)::before {
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
}

.how-process-card:hover::before {
  opacity: 1;
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}

.process-step-pill .pill-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.process-step-pill .pill-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.process-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.process-icon-box.emerald {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.2);
}

.process-icon-box.cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
}

.process-icon-box.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

.process-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 22px;
}

.process-deliverables {
  background: rgba(22, 22, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.deliverables-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.5;
}

.deliverables-list li i {
  color: var(--accent-emerald);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.deliverables-list li div {
  flex: 1;
}

.deliverables-list li strong {
  color: #ffffff;
  font-weight: 600;
}

.process-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 8px;
}

.footer-badge i {
  color: var(--muted);
  font-size: 12px;
}

.footer-badge strong {
  color: #ffffff;
}

.footer-badge.highlight {
  background: rgba(0, 242, 170, 0.08);
  border-color: rgba(0, 242, 170, 0.25);
  color: var(--accent-emerald);
}

.footer-badge.highlight i {
  color: var(--accent-emerald);
}

.footer-badge.highlight strong {
  color: var(--accent-emerald);
}

@media (max-width: 991px) {
  .how-process-grid {
    grid-template-columns: 1fr;
  }
}

/* Step Visual Cards */
.code-terminal-card,
.dag-visual-card,
.swarm-visual-card,
.verification-card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(24, 24, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.terminal-content {
  padding: 18px 20px;
  overflow-x: auto;
}

.terminal-content pre {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #dedede;
  margin: 0;
}

.hl-cmt { color: #6b7280; font-style: italic; }
.hl-key { color: var(--accent-cyan); }
.hl-str { color: #a7f3d0; }

/* DAG Graph Card */
.dag-visual-card {
  padding: 24px;
}

.dag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dag-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dag-status {
  font-size: 10px;
  font-family: var(--font-display);
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.dag-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dag-node {
  background: rgba(25, 25, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 240px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.dag-node.root-node {
  border-color: rgba(0, 242, 170, 0.3);
}

.node-badge {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--accent-emerald);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.node-badge.cyan { color: var(--accent-cyan); }
.node-badge.purple { color: #c084fc; }

.node-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.node-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.dag-split-lines {
  display: flex;
  justify-content: space-around;
  width: 70%;
  height: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
  border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

.dag-children-row {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: center;
}

.dag-children-row .dag-node {
  flex: 1;
}

.dag-merge-line {
  width: 1px;
  height: 16px;
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
}

.dag-node.merge-node {
  border-color: rgba(0, 242, 170, 0.4);
  background: rgba(0, 242, 170, 0.05);
}

/* Swarm Visual Card */
.swarm-visual-card {
  padding: 24px;
}

.swarm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.swarm-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseLight 1.5s infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.swarm-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.swarm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.swarm-agent-tile {
  background: rgba(22, 22, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
}

.swarm-agent-tile:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.tile-icon.emerald { background: rgba(0, 242, 170, 0.12); color: var(--accent-emerald); }
.tile-icon.cyan { background: rgba(0, 210, 255, 0.12); color: var(--accent-cyan); }
.tile-icon.purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

.tile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.tile-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-status {
  font-size: 11px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tile-status.success i {
  color: var(--accent-emerald);
  font-size: 10px;
}

/* Verification Card */
.verification-card {
  padding: 24px;
}

.veri-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.veri-badge {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
}

.veri-status {
  font-family: var(--font-display);
  font-size: 10px;
  color: #000000;
  background: var(--accent-emerald);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.veri-checks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.veri-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(22, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
}

.check-ok {
  color: var(--accent-emerald);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.veri-check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.veri-check-text strong {
  color: #ffffff;
  font-size: 13px;
}

.veri-check-text span {
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}

.veri-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.veri-time {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.veri-verified-pill {
  font-size: 11px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 4. Interactive Simulation Workbench */
.simulation-workbench {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: clamp(20px, 3.5vw, 36px);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.scenario-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 18px;
}

.scenario-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(22, 22, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-light);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.scenario-tab-btn i {
  color: var(--accent-cyan);
  font-size: 14px;
}

.scenario-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.scenario-tab-btn.active {
  background: rgba(0, 242, 170, 0.12);
  border-color: rgba(0, 242, 170, 0.4);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.15);
}

.scenario-tab-btn.active i {
  color: var(--accent-emerald);
}

.scenario-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(20, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.scenario-intent {
  flex: 1 1 500px;
}

.intent-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.intent-text {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.5;
  font-style: italic;
}

.btn-run-simulation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent-emerald);
  color: #000000;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.35);
  flex-shrink: 0;
}

.btn-run-simulation:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 170, 0.55);
}

.btn-run-simulation:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* App Flow Visualizer */
.sim-apps-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
  background: rgba(18, 18, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 18px clamp(12px, 2.5vw, 28px);
  overflow-x: auto;
}

.sim-app-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-width: 90px;
  transition: all 0.3s;
}

.sim-app-node.active .app-icon {
  background: rgba(0, 242, 170, 0.2);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.4);
  transform: scale(1.1);
}

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(28, 28, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  transition: all 0.3s;
}

.app-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.app-sub {
  font-size: 11px;
  color: var(--muted);
}

.sim-flow-arrow {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  min-width: 30px;
}

.flow-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: flowSlide 2s infinite ease-in-out;
}

@keyframes flowSlide {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Simulation Console Window */
.sim-console-window {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.console-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(18, 18, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-controls {
  display: flex;
  gap: 7px;
}

.console-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-title i {
  color: var(--accent-emerald);
}

.console-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--accent-emerald);
  letter-spacing: 0.1em;
}

.console-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.console-body {
  padding: 18px 22px;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.console-line {
  color: #d1d5db;
}

.console-line.line-dim { opacity: 0.7; }
.console-line.line-active { color: #ffffff; font-weight: 500; }
.console-line.line-success { color: #86efac; }
.console-line.line-highlight { color: var(--accent-emerald); font-weight: 600; }

.c-time { color: #6b7280; margin-right: 6px; }
.c-info { color: #93c5fd; font-weight: 600; }
.c-agent { color: #c084fc; font-weight: 600; }
.c-call { color: #fde047; font-weight: 600; }
.c-guard { color: var(--accent-cyan); font-weight: 600; }
.c-sync { color: #6ee7b7; font-weight: 600; }
.c-done { color: var(--accent-emerald); font-weight: 700; }

.console-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(18, 18, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.console-footer-bar .telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tel-label {
  font-size: 11px;
  color: var(--muted);
}

.tel-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.tel-val.highlight {
  color: var(--accent-emerald);
}

/* 5. 4-Tier Architecture Stack Grid */
.architecture-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.arch-layer-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
}

.arch-layer-card:hover {
  border-color: rgba(0, 242, 170, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 170, 0.08);
}

.layer-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.layer-num {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.layer-pill {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 6px;
}

.layer-pill.emerald { background: rgba(0, 242, 170, 0.1); color: var(--accent-emerald); }
.layer-pill.cyan { background: rgba(0, 210, 255, 0.1); color: var(--accent-cyan); }
.layer-pill.purple { background: rgba(168, 85, 247, 0.1); color: #c084fc; }

.layer-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.layer-desc {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.layer-specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.spec-label {
  color: var(--muted);
}

.spec-val {
  color: #ffffff;
  font-weight: 500;
}

/* 6. Enterprise Security Section */
.security-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.security-pillar-card {
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.security-pillar-card:hover {
  border-color: rgba(0, 242, 170, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
}

.pillar-icon-box.emerald { background: rgba(0, 242, 170, 0.12); color: var(--accent-emerald); }
.pillar-icon-box.cyan { background: rgba(0, 210, 255, 0.12); color: var(--accent-cyan); }
.pillar-icon-box.purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

.pillar-title {
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
}

.security-badges-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(12px, 2vw, 24px);
  padding: 18px 24px;
  background: rgba(14, 14, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.sec-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #d1d5db;
}

.sec-badge-item i {
  color: var(--accent-emerald);
}

/* 7. How It Works FAQ Accordion */
.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.active {
  border-color: rgba(0, 242, 170, 0.35);
  background: rgba(22, 22, 30, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent-emerald);
}

.faq-chevron {
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 520px;
  padding: 0 22px 20px 22px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.65;
}

/* Responsive Breakpoints for How It Works */
@media (max-width: 991px) {
  .pipeline-cards-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pipeline-arrow-divider {
    display: none;
  }

  .how-step-row,
  .how-step-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-step-row.reverse .step-info-col {
    order: 1;
  }

  .how-step-row.reverse .step-visual-col {
    order: 2;
  }
}

@media (max-width: 640px) {
  .pipeline-cards-row {
    grid-template-columns: 1fr;
  }

  .swarm-grid {
    grid-template-columns: 1fr;
  }

  .dag-children-row {
    flex-direction: column;
    align-items: center;
  }

  .visualizer-headline-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .visualizer-stepper-nav {
    width: 100%;
    overflow-x: auto;
  }

  .scenario-tabs-bar {
    flex-direction: column;
  }

  .scenario-tab-btn {
    width: 100%;
    justify-content: center;
  }

  .scenario-meta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-run-simulation {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Pricing & Enterprise Plans Page Styles
   ========================================================================== */

/* 1. Pricing Hero */
.pricing-hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(40px, 6vh, 70px);
  overflow: hidden;
  background-color: var(--bg);
}

.pricing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pricing-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pricing-hero-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 95vw;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 242, 170, 0.12) 0%, rgba(0, 210, 255, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.pricing-hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle 340px at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    rgba(0, 242, 170, 0.22) 0%,
    rgba(0, 210, 255, 0.1) 35%,
    rgba(0, 242, 170, 0.03) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.pricing-hero-section:hover .pricing-hero-cursor-glow {
  opacity: 1;
}

.pricing-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  z-index: 0;
}

.pricing-hero-container {
  position: relative;
  z-index: 3;
}

.pricing-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin: 18px 0 20px;
  text-shadow: 0 0 40px rgba(0, 242, 170, 0.25);
}

.pricing-hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18.5px);
  color: var(--muted-light);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 32px;
}

.pricing-telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(8px, 1.5vw, 16px);
}

/* 2. Interactive ROI Calculator */
.pricing-calc-card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-label i {
  color: var(--accent-cyan);
}

.slider-value-badge {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.1);
  border: 1px solid rgba(0, 242, 170, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.9);
}

.calc-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.7);
}

.slider-range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 0 2px;
}

.calc-benchmark-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.calc-benchmark-notice i {
  color: var(--accent-cyan);
}

/* Results Column */
.calc-results-col {
  background: rgba(22, 22, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
}

.calc-plan-hint {
  font-size: 11.5px;
  color: var(--muted);
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-metric-box {
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-title {
  font-size: 12px;
  color: var(--muted);
}

.metric-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-num {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric-num.emerald {
  color: var(--accent-emerald);
  text-shadow: 0 0 20px rgba(0, 242, 170, 0.3);
}

.metric-num.cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.metric-unit {
  font-size: 12px;
  color: var(--muted-light);
}

.metric-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.calc-roi-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
}

.roi-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roi-label {
  font-size: 11.5px;
  color: #dedede;
}

.roi-multiplier {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-emerald);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-emerald);
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(0, 242, 170, 0.3);
}

.btn-calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 242, 170, 0.5);
}

/* 3. Feature Comparison Matrix Table */
.matrix-table-wrap {
  background: rgba(14, 14, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.matrix-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.pricing-matrix-table th,
.pricing-matrix-table td {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.pricing-matrix-table thead th {
  background: rgba(20, 20, 26, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 22px;
}

.col-feature-name {
  width: 34%;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.col-tier {
  width: 22%;
  text-align: center;
}

.matrix-tier-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.matrix-tier-price {
  font-size: 13px;
  color: var(--muted);
}

.col-tier.featured-col {
  background: rgba(0, 242, 170, 0.04);
  position: relative;
}

.pricing-matrix-table thead th.featured-col {
  background: rgba(0, 242, 170, 0.08);
  border-left: 1px solid rgba(0, 242, 170, 0.25);
  border-right: 1px solid rgba(0, 242, 170, 0.25);
}

.pricing-matrix-table td.featured-col {
  background: rgba(0, 242, 170, 0.03);
  border-left: 1px solid rgba(0, 242, 170, 0.18);
  border-right: 1px solid rgba(0, 242, 170, 0.18);
  text-align: center;
}

.pricing-matrix-table td:not(.feature-label) {
  text-align: center;
  color: #d8d8d8;
}

.matrix-popular-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  color: #000000;
  background: var(--accent-emerald);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.category-header-row td {
  background: rgba(24, 24, 32, 0.8);
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  padding: 14px 22px;
}

.category-header-row td i {
  margin-right: 8px;
  color: var(--accent-emerald);
}

.feature-label {
  font-weight: 500;
  color: #f1f1f1;
}

.check-icon {
  color: var(--accent-emerald);
  font-size: 14px;
}

.x-icon {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.badge-emerald {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.btn-matrix-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 160px;
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-matrix-action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-matrix-action.featured {
  background: var(--accent-emerald);
  color: #000000;
  border: none;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.3);
}

.btn-matrix-action.featured:hover {
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.5);
  transform: translateY(-2px);
}

/* Responsive Styles for Pricing */
@media (max-width: 991px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .calc-metrics-grid {
    grid-template-columns: 1fr;
  }

  .calc-roi-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-calc-cta {
    justify-content: center;
  }
}

/* ==========================================================================
   Contact Us & Enterprise Inquiries Page Styles
   ========================================================================== */

/* 1. Contact Hero */
.contact-hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(40px, 6vh, 70px);
  overflow: hidden;
  background-color: var(--bg);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.contact-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-hero-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 95vw;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 242, 170, 0.12) 0%, rgba(0, 210, 255, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.contact-hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle 340px at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    rgba(0, 242, 170, 0.22) 0%,
    rgba(0, 210, 255, 0.1) 35%,
    rgba(0, 242, 170, 0.03) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.contact-hero-section:hover .contact-hero-cursor-glow {
  opacity: 1;
}

.contact-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  z-index: 0;
}

.contact-hero-container {
  position: relative;
  z-index: 3;
}

.contact-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin: 18px 0 20px;
  text-shadow: 0 0 40px rgba(0, 242, 170, 0.25);
}

.contact-hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18.5px);
  color: var(--muted-light);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 32px;
}

.contact-telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(8px, 1.5vw, 16px);
}

/* 2. Main Contact Grid (Channels & Interactive Form) */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-channels-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.channels-header {
  margin-bottom: 8px;
}

.channels-title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 14px 0 12px;
}

.channels-desc {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.65;
}

.channel-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.contact-channel-card:hover {
  border-color: rgba(0, 242, 170, 0.4);
  background: rgba(22, 22, 30, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 170, 0.06);
}

.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.channel-icon-box.emerald {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
}

.channel-icon-box.cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
}

.channel-icon-box.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
}

.channel-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.channel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.channel-response-time {
  font-size: 11px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.channel-purpose {
  font-size: 12.5px;
  color: var(--muted-light);
  line-height: 1.5;
  margin: 2px 0 6px;
}

.channel-email {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Global Hubs Box */
.global-hubs-box {
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px;
}

.hubs-heading {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hubs-heading i {
  color: var(--accent-emerald);
}

.hubs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hub-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  border-left: 2px solid rgba(0, 242, 170, 0.35);
  padding-left: 10px;
}

.hub-city {
  color: #ffffff;
  font-weight: 600;
}

.hub-address {
  color: var(--muted);
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  margin-bottom: 4px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.form-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.contact-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label,
.group-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #d1d5db;
}

.form-group label .req,
.group-label .req {
  color: var(--accent-emerald);
}

.input-with-icon,
.select-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i,
.select-with-icon i {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
}

.input-with-icon input,
.select-with-icon select,
.contact-interactive-form textarea {
  width: 100%;
  background: rgba(22, 22, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  transition: all 0.2s ease;
  outline: none;
}

.input-with-icon input {
  height: 46px;
  padding: 0 16px 0 42px;
}

.select-with-icon select {
  height: 46px;
  padding: 0 34px 0 42px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

.contact-interactive-form textarea {
  padding: 12px 16px;
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.input-with-icon input:focus,
.select-with-icon select:focus,
.contact-interactive-form textarea:focus {
  border-color: rgba(0, 242, 170, 0.5);
  background: rgba(26, 26, 34, 0.95);
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.15);
}

/* Topic Pills Row */
.topic-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted-light);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topic-pill input {
  display: none;
}

.topic-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.topic-pill.active {
  background: rgba(0, 242, 170, 0.12);
  border-color: rgba(0, 242, 170, 0.4);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 242, 170, 0.15);
}

/* Form Action & Submit Button */
.form-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent-emerald);
  color: #000000;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(0, 242, 170, 0.35);
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 170, 0.55);
}

.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.form-security-badge i {
  color: var(--accent-emerald);
}

.contact-feedback {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 10px;
}

.contact-feedback.success {
  background: rgba(0, 242, 170, 0.08);
  border: 1px solid rgba(0, 242, 170, 0.35);
  color: #86efac;
}

/* 3. Instant Demo Booking Banner */
.booking-banner-card {
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08) 0%, rgba(14, 14, 18, 0.95) 75%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 210, 255, 0.05);
}

.booking-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.booking-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.booking-desc {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.65;
  margin-bottom: 24px;
}

.booking-perks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #d1d5db;
}

.booking-perk i {
  color: var(--accent-cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.booking-picker-card {
  background: rgba(22, 22, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.picker-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.picker-title-wrap i {
  font-size: 24px;
  color: var(--accent-cyan);
}

.picker-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.picker-tz {
  font-size: 11px;
  color: var(--muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-slot-btn .slot-day {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-slot-btn .slot-time {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.demo-slot-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.demo-slot-btn.active {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
}

.demo-slot-btn.active .slot-day {
  color: var(--accent-cyan);
}

.btn-book-slot {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: #000000;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.btn-book-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.55);
}

.booking-slot-feedback {
  padding: 12px;
  border-radius: 10px;
  font-size: 12.5px;
  background: rgba(0, 242, 170, 0.1);
  border: 1px solid rgba(0, 242, 170, 0.3);
  color: #86efac;
  text-align: center;
}

/* Responsive Styles for Contact */
@media (max-width: 991px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form-row.two-cols {
    grid-template-columns: 1fr;
  }

  .slots-grid {
    grid-template-columns: 1fr;
  }

  .form-actions-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-contact-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Global Interactive & Responsive Enhancement Suite
   ========================================================================== */

/* 1. Global High-Tech Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: calc(100vw - 32px);
  width: 380px;
  pointer-events: none;
}

.toast-card {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px 16px;
  background: rgba(16, 16, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 170, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 242, 170, 0.15);
  overflow: hidden;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-card.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-card.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-card.info {
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 210, 255, 0.15);
}

.toast-card.warning {
  border-color: rgba(255, 180, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 180, 0, 0.15);
}

.toast-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 242, 170, 0.12);
  border: 1px solid rgba(0, 242, 170, 0.3);
  color: var(--accent-emerald);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.toast-card.info .toast-icon-wrap {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
}

.toast-card.warning .toast-icon-wrap {
  background: rgba(255, 180, 0, 0.12);
  border-color: rgba(255, 180, 0, 0.3);
  color: #fbbf24;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toast-msg {
  font-size: 12.5px;
  color: #b5b5b5;
  line-height: 1.45;
  word-break: break-word;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #666666;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}

.toast-close-btn:hover {
  color: #ffffff;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  width: 100%;
  transform-origin: left;
  animation: toastCountdown linear forwards;
}

.toast-card.info .toast-progress {
  background: var(--accent-cyan);
}

.toast-card.warning .toast-progress {
  background: #fbbf24;
}

@keyframes toastCountdown {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* 2. Global Floating Back-to-Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 170, 0.4);
  color: var(--accent-emerald);
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 242, 170, 0.15);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  background: var(--accent-emerald);
  color: #000000;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 170, 0.5);
}

/* 3. Contact Channels Copy Email Rows */
.channel-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #b5b5b5;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-email:hover {
  color: var(--accent-emerald);
  border-color: rgba(0, 242, 170, 0.4);
  background: rgba(0, 242, 170, 0.1);
  transform: translateY(-1px);
}

/* 4. Contact Demo Booking Email Input */
.booking-input-wrap {
  margin: 14px 0 16px;
}

.booking-input-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.booking-input-field i {
  color: var(--muted);
  font-size: 14px;
}

.booking-input-field input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
  width: 100%;
  outline: none;
}

.booking-input-field:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.booking-input-field:focus-within i {
  color: var(--accent-cyan);
}

/* 5. Feature Comparison Matrix Mobile Table Swipe Indicator */
.matrix-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.06);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}

.matrix-swipe-hint i {
  animation: pulseSwipe 1.8s infinite ease-in-out;
}

@keyframes pulseSwipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (max-width: 840px) {
  .matrix-swipe-hint {
    display: flex;
  }
  .pricing-matrix-table {
    min-width: 680px;
  }
}

/* 6. Comprehensive Responsive Layout & Mobile Enhancements */
@media (max-width: 768px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .floating-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  /* Prevent automatic iOS Safari zooming on text input focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Compact section header padding */
  .section-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Button touch target safety */
  .btn-cta,
  .btn-cta-secondary,
  .btn-calc-cta,
  .btn-book-slot,
  .btn-contact-submit,
  .btn-auth-submit {
    min-height: 48px;
  }

  /* Hero button stacking */
  .cta-wrapper {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .btn-cta,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Mobile menu full width padding */
  .mobile-menu {
    width: calc(100% - 24px);
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Section 1.5: Interactive Autonomous AI Automation Engine Visualization
   ========================================================================== */
.hero-engine-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.hero-engine-cta .engine-pulse-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00f2aa;
  box-shadow: 0 0 10px #00f2aa;
  position: relative;
}

.hero-engine-cta .engine-pulse-ping::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #00f2aa;
  animation: heroPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes heroPing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  80%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.automation-engine-section {
  position: relative;
  width: 100%;
  min-height: 860px;
  padding: 90px 0 80px;
  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Background Gradients & n8n Dot Matrix Grid */
.engine-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.engine-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.engine-ambient-glow.glow-emerald {
  width: 700px;
  height: 400px;
  top: 10%;
  left: 30%;
  background: radial-gradient(circle, rgba(0, 242, 170, 0.09) 0%, transparent 70%);
}

.engine-ambient-glow.glow-cyan {
  width: 650px;
  height: 380px;
  bottom: 5%;
  right: 20%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
}

/* Authentic n8n Workspace Dot Grid */
.n8n-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.cursor-glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  margin-left: -160px;
  margin-top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 170, 0.1) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.automation-engine-section:hover .cursor-glow-orb {
  opacity: 1;
}

/* Inner Container */
.engine-inner {
  position: relative;
  z-index: 4;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.engine-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid rgba(0, 242, 170, 0.3);
  border-radius: 9999px;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(0, 242, 170, 0.1);
}

.engine-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

.engine-badge-text {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e2e8f0;
}

.engine-badge-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}

.engine-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.text-gradient-emerald-cyan {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.engine-subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted-light);
  max-width: 760px;
  margin: 0 auto 30px;
}

/* Control & Telemetry Bar */
.engine-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(18, 20, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.engine-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted-light);
}

.pill-indicator.online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.pill-value {
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 600;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-emerald { color: var(--accent-emerald) !important; }

.engine-action-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-engine-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(0, 242, 170, 0.2) 0%, rgba(0, 210, 255, 0.2) 100%);
  border: 1px solid rgba(0, 242, 170, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 242, 170, 0.2);
  transition: all 0.2s ease;
}

.btn-engine-action:hover {
  background: linear-gradient(135deg, rgba(0, 242, 170, 0.35) 0%, rgba(0, 210, 255, 0.35) 100%);
  border-color: var(--accent-emerald);
  box-shadow: 0 6px 20px rgba(0, 242, 170, 0.35);
  transform: translateY(-1px);
}

.engine-speed-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2px;
}

.btn-speed {
  background: transparent;
  border: none;
  color: var(--muted-light);
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-speed.active {
  background: rgba(0, 242, 170, 0.18);
  color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(0, 242, 170, 0.2);
}

.btn-engine-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-engine-icon:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   n8n Workflow Canvas Stage
   ========================================================================== */
.n8n-workflow-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 46px 36px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* SVG Wires Layer - Hidden by default until "Run Live Simulation" is clicked */
.n8n-wires-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.n8n-wires-svg.wires-active,
.n8n-workflow-stage.sim-active .n8n-wires-svg {
  opacity: 1;
  visibility: visible;
}

.svg-base-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.svg-base-line.dashed-subwire {
  stroke-dasharray: 4 4;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.8;
}

.svg-active-line {
  fill: none;
  stroke: url(#n8nCableGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  animation: svgDashFlow 1.6s linear infinite;
  opacity: 0.9;
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

.svg-active-line.brightened {
  opacity: 1 !important;
  stroke-width: 3.5 !important;
  filter: drop-shadow(0 0 10px rgba(0, 242, 170, 0.9));
}

@keyframes svgDashFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

.svg-packet-dot {
  fill: var(--accent-emerald);
  filter: drop-shadow(0 0 8px var(--accent-emerald));
  transition: transform 0.05s linear;
}

.svg-packet-dot.packet-cyan {
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.svg-packet-dot.packet-burst {
  fill: #ffffff;
  filter: drop-shadow(0 0 12px var(--accent-emerald));
}

/* Nodes Horizontal Flow Container */
.n8n-nodes-flow {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  min-height: 380px;
}

.n8n-node-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.n8n-node-label {
  margin-top: 14px;
  text-align: center;
  max-width: 180px;
}

.n8n-node-label .label-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.n8n-node-label .label-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* Ports */
.n8n-port {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0e121c;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: all 0.2s ease;
}

.n8n-port-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #f1f5f9;
}

.n8n-port--in {
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
}

.n8n-port--out {
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
}

.n8n-node-wrapper:hover .n8n-port {
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   1. Trigger Node (D-Shaped n8n card) - Sleek Enterprise
   ========================================================================== */
.n8n-trigger-card {
  position: relative;
  width: 82px;
  height: 74px;
  background: linear-gradient(135deg, #131722 0%, #0e111a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px 14px 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.n8n-trigger-card:hover,
.n8n-trigger-card.pulse-arrival {
  border-color: #38bdf8;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.n8n-trigger-bolt {
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #f59e0b;
  font-size: 0.8rem;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.n8n-trigger-icon {
  font-size: 1.6rem;
  color: #38bdf8;
}

/* ==========================================================================
   2. Main AI Agent Node - High-Precision Quantum Obsidian
   ========================================================================== */
.n8n-node-wrapper--agent {
  flex: 0 1 auto;
}

.n8n-agent-card {
  position: relative;
  width: 250px;
  background: linear-gradient(180deg, #131826 0%, #0d101a 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.35);
  border-radius: 16px;
  padding: 16px 18px 24px;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.n8n-agent-card:hover,
.n8n-agent-card.pulse-arrival,
.n8n-agent-card.sim-computing {
  border-color: #818cf8 !important;
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.35), inset 0 0 20px rgba(99, 102, 241, 0.08) !important;
  transform: translateY(-2px);
}

/* Machinery Grid Layer & Sci-Fi Circuit Elements - Cinematic & Subtle */
.machinery-grid-layer {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.machinery-grid-lines {
  position: absolute;
  inset: -30px;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: 0 0;
  animation: machineryGridMove 12s linear infinite;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

@keyframes machineryGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(14px, 14px);
  }
}

.machinery-scanner {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(99, 102, 241, 0.35) 20%, 
    #818cf8 50%, 
    rgba(56, 189, 248, 0.5) 80%, 
    transparent 100%);
  box-shadow: 0 0 8px #818cf8, 0 0 14px rgba(56, 189, 248, 0.3);
  animation: machineryLaserScan 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.55;
}

@keyframes machineryLaserScan {
  0% {
    top: -5%;
    opacity: 0;
  }
  15% {
    opacity: 0.75;
  }
  85% {
    opacity: 0.75;
  }
  100% {
    top: 105%;
    opacity: 0;
  }
}

.machinery-circuit-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(99, 102, 241, 0.55);
  opacity: 0.7;
}

.machinery-circuit-corner.corner-tl {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.machinery-circuit-corner.corner-tr {
  top: 6px;
  right: 6px;
  border-left: none;
  border-bottom: none;
}

.machinery-circuit-corner.corner-bl {
  bottom: 6px;
  left: 6px;
  border-right: none;
  border-top: none;
}

.machinery-circuit-corner.corner-br {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

.machinery-status-pulse {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: machineryStatusBlink 1.8s ease-in-out infinite alternate;
}

@keyframes machineryStatusBlink {
  0% { opacity: 0.35; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

.n8n-agent-card.sim-computing .machinery-grid-lines,
.n8n-agent-card.pulse-arrival .machinery-grid-lines {
  opacity: 0.85 !important;
  animation-duration: 4s !important;
}

.n8n-agent-card.sim-computing .machinery-scanner,
.n8n-agent-card.pulse-arrival .machinery-scanner {
  animation-duration: 1.1s !important;
}

.n8n-agent-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.n8n-agent-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #a78bfa;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.n8n-agent-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
}

.n8n-agent-type {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Sub-Sockets along bottom of AI Agent */
.n8n-sub-sockets {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 16px;
  transform: translateY(100%);
}

.n8n-socket {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.socket-label {
  font-size: 0.65rem;
  color: #64748b;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-top: 4px;
}

.socket-diamond {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: #0d101a;
  border: 1.5px solid rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
}

.n8n-add-tool-btn {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s ease;
}

.n8n-add-tool-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #818cf8;
}

/* Sub-nodes row below AI Agent */
.n8n-subnodes-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 90px;
  width: 100%;
}

.n8n-subnode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.n8n-subnode-circle {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111522;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.n8n-subnode-item:hover .n8n-subnode-circle,
.n8n-subnode-item.pulse-arrival .n8n-subnode-circle {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.subnode-top-diamond {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0d101a;
  border: 1.5px solid rgba(99, 102, 241, 0.6);
}

.subnode-brand-text {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.subnode-label {
  margin-top: 10px;
  text-align: center;
}

.subnode-label .sn-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #f1f5f9;
}

.subnode-label .sn-type {
  display: block;
  font-size: 0.64rem;
  color: #64748b;
  font-family: var(--font-mono);
}

/* ==========================================================================
   3. Conditional Switch Node - Clean Enterprise Router
   ========================================================================== */
.n8n-switch-card {
  position: relative;
  width: 84px;
  height: 74px;
  background: #121622;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.n8n-switch-card:hover,
.n8n-switch-card.pulse-arrival {
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
  transform: translateY(-2px);
}

.n8n-switch-icon {
  font-size: 1.6rem;
  color: #94a3b8;
}

.n8n-switch-ports {
  position: absolute;
  right: -7px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.n8n-branch-port {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0f131d;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.n8n-branch-port .branch-label {
  position: absolute;
  right: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #64748b;
}

.n8n-branch-port.port-true {
  border-color: #10b981;
}

.n8n-branch-port.port-true .branch-label {
  color: #34d399;
}

.n8n-branch-port.port-false {
  border-color: #64748b;
}

.n8n-branch-port.port-false .branch-label {
  color: #94a3b8;
}

/* ==========================================================================
   4. Actions Column - Sleek Endpoints
   ========================================================================== */
.n8n-actions-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.n8n-action-card {
  position: relative;
  width: 84px;
  height: 74px;
  background: #121622;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.n8n-action-card:hover,
.n8n-action-card.pulse-arrival {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.n8n-action-icon {
  font-size: 1.7rem;
  color: #ffffff;
}

.action-slack .n8n-action-icon {
  color: #34d399;
}

.action-crm .n8n-action-icon {
  color: #38bdf8;
}

.n8n-chain-plus-btn {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.n8n-chain-plus-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #818cf8;
}

/* ==========================================================================
   Terminal Console Feed
   ========================================================================== */
.n8n-console-feed {
  margin-top: 30px;
  padding: 12px 18px;
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.console-feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-emerald);
  white-space: nowrap;
}

.console-feed-text {
  color: var(--muted-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   n8n Parameter Inspector Drawer
   ========================================================================== */
.n8n-inspector-drawer {
  position: absolute;
  bottom: 24px;
  right: 28px;
  width: 380px;
  max-width: calc(100% - 56px);
  background: rgba(18, 20, 26, 0.96);
  border: 1px solid rgba(0, 242, 170, 0.4);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 170, 0.15);
  backdrop-filter: blur(20px);
  z-index: 30;
  padding: 18px 20px;
  animation: drawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.inspector-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inspector-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.inspector-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 242, 170, 0.15);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.btn-inspector-close {
  background: transparent;
  border: none;
  color: var(--muted-light);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.btn-inspector-close:hover {
  color: #ffffff;
}

.inspector-section {
  margin-bottom: 14px;
}

.inspector-section .section-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.inspector-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.inspector-metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
}

.inspector-metric-card .lbl {
  font-size: 0.65rem;
  color: var(--muted);
  display: block;
}

.inspector-metric-card .val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

.inspector-code {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  overflow-x: auto;
  max-height: 140px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .n8n-nodes-flow {
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .n8n-workflow-stage {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .automation-engine-section {
    padding: 60px 0;
  }

  .engine-inner {
    padding: 0 16px;
  }

  .engine-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .engine-telemetry-strip {
    justify-content: space-between;
  }

  .engine-action-controls {
    justify-content: space-between;
  }

  .n8n-inspector-drawer {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }
}

/* ==========================================================================
   Production Workflow Template Switcher Grid (AI Automation, Web Dev, RAG, DevOps)
   ========================================================================== */
.workflow-template-tabs-wrap {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 28px;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 26px;
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 5;
}

.template-tabs-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.template-tabs-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tpl-lead-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #e2e8f0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.tpl-tabs-hint {
  font-size: 0.76rem;
  color: #94a3b8;
}

.btn-open-tpl-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 170, 0.18), rgba(0, 210, 255, 0.18));
  border: 1px solid rgba(0, 242, 170, 0.45);
  color: #00f2aa;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-open-tpl-external:hover {
  background: linear-gradient(135deg, #00f2aa, #00d2ff);
  color: #090b10;
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.45);
  transform: translateY(-2px);
}

/* 4-Column Template Cards Grid */
.workflow-template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1200px) {
  .workflow-template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .workflow-template-grid {
    grid-template-columns: 1fr;
  }
}

.wf-tab-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: rgba(22, 28, 40, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.wf-tab-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 242, 170, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.wf-tab-card.active {
  background: rgba(0, 242, 170, 0.08);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 24px rgba(0, 242, 170, 0.22), inset 0 0 20px rgba(0, 242, 170, 0.04);
  transform: translateY(-2px);
}

.wf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.wf-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.wf-card-icon.icon-emerald {
  background: rgba(0, 242, 170, 0.16);
  color: #00f2aa;
}

.wf-card-icon.icon-cyan {
  background: rgba(0, 210, 255, 0.16);
  color: #00d2ff;
}

.wf-card-icon.icon-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.wf-card-icon.icon-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.wf-tab-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.wf-tab-badge.badge-automation {
  background: rgba(0, 242, 170, 0.16);
  color: var(--accent-emerald);
}

.wf-tab-badge.badge-webdev {
  background: rgba(0, 210, 255, 0.18);
  color: #38bdf8;
}

.wf-tab-badge.badge-aidev {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.wf-tab-badge.badge-tools {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.wf-card-ext-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #00f2aa;
  background: rgba(0, 242, 170, 0.1);
  border: 1px solid rgba(0, 242, 170, 0.25);
  padding: 2px 7px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.wf-tab-card:hover .wf-card-ext-badge {
  background: #00f2aa;
  color: #090b10;
  box-shadow: 0 0 10px rgba(0, 242, 170, 0.4);
}

.wf-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.3;
}

.wf-card-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Canvas Top Bar (Status & Quick Launch)
   ========================================================================== */
.n8n-canvas-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.canvas-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.canvas-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

.canvas-bar-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.canvas-bar-tpl-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.canvas-bar-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  background: rgba(0, 242, 170, 0.15);
  color: #00f2aa;
  font-family: var(--font-mono);
}

.canvas-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.canvas-hint {
  font-size: 0.73rem;
  color: #94a3b8;
}

.btn-canvas-newtab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 242, 170, 0.18), rgba(0, 210, 255, 0.18));
  border: 1px solid rgba(0, 242, 170, 0.4);
  color: #00f2aa;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-canvas-newtab:hover {
  background: linear-gradient(135deg, #00f2aa, #00d2ff);
  color: #090b10;
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.4);
}

.inspector-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-inspector-newtab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 242, 170, 0.12);
  border: 1px solid rgba(0, 242, 170, 0.35);
  color: #00f2aa;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-inspector-newtab:hover {
  background: #00f2aa;
  color: #090b10;
  box-shadow: 0 0 12px rgba(0, 242, 170, 0.4);
}

/* ==========================================================================
   Upgraded Inspector Drawer & Tab Navigation
   ========================================================================== */
.n8n-inspector-drawer {
  width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.inspector-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.inspector-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inspector-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inspector-subbadge {
  font-size: 0.6rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
}

.inspector-tabs-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 14px;
}

.inspector-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.inspector-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.inspector-tab-btn.active {
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.inspector-body {
  overflow-y: auto;
  max-height: 55vh;
  padding-right: 4px;
}

.inspector-tab-pane {
  display: none;
  animation: fadeIn 0.2s ease;
}

.inspector-tab-pane.active {
  display: block;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--muted-light);
  font-size: 0.65rem;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  color: #ffffff;
  border-color: var(--accent-emerald);
}

/* Prompt Editor Wrap */
.prompt-editor-wrap {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1017;
  overflow: hidden;
}

.inspector-textarea {
  width: 100%;
  height: 120px;
  background: transparent;
  border: none;
  padding: 10px 12px;
  color: #e2e8f0;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  line-height: 1.5;
  resize: none;
  outline: none;
}

.variables-tag-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.var-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.72rem;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.var-tag code {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 210, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Live Test Execution Pane */
.test-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-run-node-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  color: #0d1017;
  border: none;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-run-node-test:hover {
  box-shadow: 0 0 16px rgba(0, 242, 170, 0.5);
  transform: translateY(-1px);
}

.test-status-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--muted-light);
}

.test-output-box {
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 110px;
  max-height: 140px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #00f2aa;
  margin-bottom: 14px;
}

.test-output-empty {
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-sans);
}

.test-benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.bm-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bm-label {
  font-size: 0.6rem;
  color: var(--muted);
}

.bm-val {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #ffffff;
}

/* Template Cards Mini */
.template-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-card-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.template-card-mini:hover {
  border-color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.04);
  transform: translateY(-2px);
}

.tc-mini-info h6 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.tc-mini-info p {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}

.btn-tc-apply {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-emerald);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Tool & Step Palette Modal
   ========================================================================== */
.tool-palette-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tool-palette-modal-overlay[hidden] {
  display: none !important;
}

.tool-palette-card {
  width: 600px;
  max-width: 100%;
  max-height: 85vh;
  background: #11141d;
  border: 1px solid rgba(0, 242, 170, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 242, 170, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.palette-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.palette-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.palette-title-wrap i {
  font-size: 1.6rem;
}

.palette-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.palette-subtitle {
  font-size: 0.74rem;
  color: var(--muted);
}

.btn-palette-close {
  background: transparent;
  border: none;
  color: var(--muted-light);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}

.btn-palette-close:hover {
  color: #ffffff;
}

.palette-categories {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.palette-cat-btn {
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-light);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.palette-cat-btn:hover,
.palette-cat-btn.active {
  background: rgba(0, 242, 170, 0.12);
  border-color: var(--accent-emerald);
  color: #ffffff;
}

.palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  overflow-y: auto;
  max-height: 48vh;
  padding-right: 4px;
}

@media (max-width: 640px) {
  .palette-grid {
    grid-template-columns: 1fr;
  }
}

.palette-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.palette-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.04);
}

.p-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.bg-purple { background: rgba(168, 85, 247, 0.25); color: #c084fc; }
.bg-emerald { background: rgba(0, 242, 170, 0.25); color: #00f2aa; }
.bg-cyan { background: rgba(0, 210, 255, 0.25); color: #00d2ff; }
.bg-blue { background: rgba(59, 130, 246, 0.25); color: #60a5fa; }
.bg-amber { background: rgba(245, 158, 11, 0.25); color: #fbbf24; }

.p-item-info h5 {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.p-item-info p {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 8px;
}

.btn-item-add {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-emerald);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-item-add:hover {
  background: var(--accent-emerald);
  color: #0d1017;
}

/* ==========================================================================
   Four Pillars Engineering Grid in Features (AI Automation, AI Dev, Web Dev, Tools)
   Acc. to GoArrow Web Theme & Styling
   ========================================================================== */
.four-pillars-grid,
.features-grid.four-pillars-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-top: 40px !important;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .four-pillars-grid,
  .features-grid.four-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  .four-pillars-grid,
  .features-grid.four-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.four-pillars-grid .pillar-card {
  padding: 24px 20px !important;
  background: rgba(14, 17, 24, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
}

.four-pillars-grid .pillar-card:hover {
  transform: translateY(-5px) !important;
}

.four-pillars-grid .pillar-card-emerald:hover {
  border-color: rgba(0, 242, 170, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 242, 170, 0.14) !important;
}

.four-pillars-grid .pillar-card-cyan:hover {
  border-color: rgba(0, 217, 245, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 217, 245, 0.14) !important;
}

.four-pillars-grid .pillar-card-purple:hover {
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(168, 85, 247, 0.14) !important;
}

.four-pillars-grid .pillar-card-amber:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.14) !important;
}

/* Card Header: Icon on left, Pill badge on right */
.four-pillars-grid .pillar-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 18px !important;
  width: 100% !important;
}

.four-pillars-grid .pillar-card-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 19px !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
}

.four-pillars-grid .pillar-card:hover .pillar-card-icon {
  transform: scale(1.08) !important;
}

.four-pillars-grid .pillar-card-icon.emerald {
  background: rgba(0, 242, 170, 0.12) !important;
  color: var(--accent-emerald) !important;
  border: 1px solid rgba(0, 242, 170, 0.35) !important;
}

.four-pillars-grid .pillar-card-icon.cyan {
  background: rgba(0, 217, 245, 0.12) !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(0, 217, 245, 0.35) !important;
}

.four-pillars-grid .pillar-card-icon.purple {
  background: rgba(168, 85, 247, 0.12) !important;
  color: #c084fc !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.four-pillars-grid .pillar-card-icon.amber {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

/* Category Pill Badges */
.four-pillars-grid .pillar-badge {
  font-size: 10px !important;
  font-family: var(--font-mono, monospace) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.four-pillars-grid .badge-emerald {
  color: var(--accent-emerald) !important;
  border: 1px solid rgba(0, 242, 170, 0.3) !important;
  background: rgba(0, 242, 170, 0.08) !important;
}

.four-pillars-grid .badge-cyan {
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(0, 217, 245, 0.3) !important;
  background: rgba(0, 217, 245, 0.08) !important;
}

.four-pillars-grid .badge-purple {
  color: #c084fc !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  background: rgba(168, 85, 247, 0.08) !important;
}

.four-pillars-grid .badge-amber {
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

/* Card Content */
.four-pillars-grid .pillar-card-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.four-pillars-grid .pillar-card-desc {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  line-height: 1.55 !important;
  margin-bottom: 16px !important;
  flex-grow: 1 !important;
}

/* Stacked Metrics Box - Prevents Any Text Overflow / Collision */
.four-pillars-grid .pillar-metrics-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  padding: 10px 12px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin-bottom: 18px !important;
  width: 100% !important;
}

.four-pillars-grid .metric-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  font-size: 0.76rem !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  width: 100% !important;
}

.four-pillars-grid .metric-row:last-child {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.four-pillars-grid .metric-label {
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.72rem !important;
  font-family: var(--font-mono, monospace) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  flex-shrink: 0 !important;
}

.four-pillars-grid .metric-label i {
  font-size: 10px !important;
}

.four-pillars-grid .metric-val {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  font-family: var(--font-mono, monospace) !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* Card Bottom Action Button */
.four-pillars-grid .pillar-cta-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  margin-top: auto !important;
}

.four-pillars-grid .pillar-cta-btn i {
  font-size: 0.72rem !important;
  transition: transform 0.2s ease !important;
}

.four-pillars-grid .pillar-cta-btn:hover i {
  transform: translateX(3px) !important;
}

.four-pillars-grid .pillar-card-emerald .pillar-cta-btn:hover {
  background: rgba(0, 242, 170, 0.14) !important;
  border-color: rgba(0, 242, 170, 0.45) !important;
  color: #00f2aa !important;
  box-shadow: 0 0 14px rgba(0, 242, 170, 0.2) !important;
}

.four-pillars-grid .pillar-card-cyan .pillar-cta-btn:hover {
  background: rgba(0, 217, 245, 0.14) !important;
  border-color: rgba(0, 217, 245, 0.45) !important;
  color: #00d2ff !important;
  box-shadow: 0 0 14px rgba(0, 217, 245, 0.2) !important;
}

.four-pillars-grid .pillar-card-purple .pillar-cta-btn:hover {
  background: rgba(168, 85, 247, 0.14) !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
  color: #c084fc !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.2) !important;
}

.four-pillars-grid .pillar-card-amber .pillar-cta-btn:hover {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2) !important;
}

/* Color utilities */
.text-amber { color: #fbbf24 !important; }
.text-purple { color: #c084fc !important; }

/* ==========================================================================
   How It Works — simple delivery UX (theme-matched, additive)
   ========================================================================== */

.how-easy-card {
  background: rgba(14, 14, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.how-easy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  margin-bottom: 16px;
}

.how-easy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.how-easy-list li {
  font-size: 14.5px;
  color: #d8d8d8;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}

.how-easy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.how-easy-numbered {
  counter-reset: easy-step;
}

.how-easy-numbered li {
  padding-left: 28px;
}

.how-easy-numbered li::before {
  display: none;
}

.how-easy-numbered li::marker {
  color: var(--accent-cyan);
}

.how-easy-numbered {
  list-style: decimal;
  padding-left: 18px;
}

.how-easy-numbered li {
  padding-left: 6px;
}

.how-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.how-roadmap-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.how-roadmap-card:hover {
  border-color: rgba(0, 242, 170, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.how-roadmap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 242, 170, 0.12);
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 14px;
}

.how-roadmap-card h3 {
  font-size: 16px;
  color: #fff;
  margin: 0 0 10px;
}

.how-roadmap-card p {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin: 0;
}

.how-featured-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  background: rgba(14, 14, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 36px);
}

.how-featured-copy h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  color: #fff;
  margin: 14px 0 14px;
}

.how-featured-copy p {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.65;
  margin: 0 0 12px;
}

.how-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.how-featured-tags span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

.how-featured-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.how-metric-tile {
  background: rgba(22, 22, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.how-metric-tile strong {
  font-size: 28px;
  color: var(--accent-emerald);
  letter-spacing: -0.03em;
}

.how-metric-tile span {
  font-size: 12.5px;
  color: var(--muted-light);
}

.how-engine-strip {
  margin-top: 48px;
}

.how-engine-title {
  font-size: 20px;
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
}

.how-value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.how-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-story-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.how-story-card:hover {
  border-color: rgba(0, 242, 170, 0.35);
  transform: translateY(-4px);
}

.how-story-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.how-story-card h3 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 14px;
}

.how-story-card p {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin: 0 0 10px;
}

.how-presence-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.how-presence-item {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 14px;
}

.how-presence-region {
  font-size: 13.5px;
  color: #fff;
  font-weight: 600;
}

.how-presence-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.how-presence-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
}

.how-presence-item strong {
  color: var(--accent-emerald);
  font-size: 14px;
  text-align: right;
}

.how-client-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.how-client-cloud span {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dedede;
}

@media (max-width: 991px) {
  .how-roadmap,
  .how-story-grid,
  .how-value-grid,
  .how-featured-panel {
    grid-template-columns: 1fr;
  }

  .how-featured-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .how-featured-metrics {
    grid-template-columns: 1fr;
  }

  .how-presence-item {
    grid-template-columns: 1fr auto;
  }

  .how-presence-region {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   GoArrow - Leadership & Team Members Showcase Styles
   ========================================================================== */
.leader-showcase-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(18, 18, 24, 0.8);
  border: 1px solid rgba(0, 242, 170, 0.25);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 170, 0.08);
  position: relative;
  overflow: hidden;
}

.leader-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
}

.leader-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 242, 170, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 170, 0.2);
  flex-shrink: 0;
}

.leader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-showcase-card:hover .leader-avatar-img {
  transform: scale(1.05);
}

.leader-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(0, 242, 170, 0.1);
  border: 1px solid rgba(0, 242, 170, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.leader-name {
  font-size: clamp(24px, 2.5vw, 32px);
  color: #fff;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.leader-title {
  font-size: 15px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 14px;
}

.leader-bio {
  font-size: 14.5px;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 20px;
}

.leader-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.leader-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.leader-pill i {
  color: var(--accent-emerald);
  margin-right: 6px;
}

/* Team Members Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.team-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 170, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-card:hover {
  border-color: rgba(0, 242, 170, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 242, 170, 0.12);
}

.team-card:hover::before {
  opacity: 1;
}

.team-photo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 2px solid rgba(0, 242, 170, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.team-card:hover .team-photo-img {
  transform: scale(1.08);
}

.team-card-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.team-card-desc {
  font-size: 12.5px;
  color: var(--muted-light);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.team-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

/* Three Ways We Create Value (Build, Scale, Partner) */
.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.value-pillar-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.value-pillar-card:hover {
  border-color: rgba(0, 210, 255, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 210, 255, 0.12);
}

.value-pillar-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-bottom: 8px;
}

.value-pillar-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.value-pillar-card h3 {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-pillar-card p {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 18px;
}

.value-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.value-pillar-list li {
  font-size: 12.5px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-pillar-list li i {
  color: var(--accent-emerald);
  font-size: 11px;
}

@media (max-width: 991px) {
  .leader-showcase-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .leader-avatar-wrapper {
    margin: 0 auto;
  }
  .leader-telemetry {
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-pillars-grid {
    grid-template-columns: 1fr;
  }
}

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