/* =========================================================
   BIKORA SYSTEMS
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  --bg-dark: #09090b;

  --bg-card: rgba(24, 24, 27, 0.6);
  --bg-card-hover: rgba(39, 39, 42, 0.8);

  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;

  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);

  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #f43f5e;
  --accent-amber: #f59e0b;

  --glow-cyan: rgba(34, 211, 238, 0.2);
  --glow-blue: rgba(59, 130, 246, 0.2);

  --shadow-lg:
    0 25px 50px -12px rgba(0, 0, 0, 0.5);

  --max-w: 1280px;

  --font-sans:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --font-mono:
    "Fira Code",
    Consolas,
    monospace;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;

  font-family: var(--font-sans);
  color: var(--text-main);

  background-color: var(--bg-dark);

  background-image:
    radial-gradient(
      circle at 15% 0%,
      var(--glow-cyan),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      var(--glow-blue),
      transparent 25%
    );

  overflow-x: hidden;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* Subtle grid */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -1;

  background-image:
    linear-gradient(
      var(--border-light) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      var(--border-light) 1px,
      transparent 1px
    );

  background-size: 60px 60px;

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      transparent 80%
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      transparent 80%
    );

  pointer-events: none;
}


/* Light texture */

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 999;

  opacity: 0.025;

  mix-blend-mode: soft-light;

  pointer-events: none;

  background-image:
    url(
      "data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"
    );
}


.homepage-network-canvas {
  position: fixed;

  inset: 0;

  z-index: 0;

  width: 100%;
  height: 100%;

  opacity: 0.84;

  pointer-events: none;
}


nav,
main,
footer {
  position: relative;

  z-index: 1;
}


a {
  color: inherit;

  text-decoration: none;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}


button {
  font: inherit;

  outline: none;
}


ul {
  list-style: none;
}


img {
  max-width: 100%;
  display: block;
}


.wrap {
  width: min(
    var(--max-w),
    calc(100% - 48px)
  );

  margin: 0 auto;
}


.section {
  padding: 120px 0;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
  line-height: 1.1;

  letter-spacing: -0.03em;

  font-weight: 700;
}


.kicker {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--accent-cyan);

  font-weight: 600;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  font-size: 12px;

  margin-bottom: 16px;
}


.pulse-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--accent-cyan);

  box-shadow:
    0 0 12px var(--accent-cyan);

  animation:
    pulse 2s infinite;
}


@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}


.text-gradient {
  background:
    linear-gradient(
      to right,
      #ffffff,
      var(--text-muted)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* =========================================================
   4. ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;

  left: 18px;
  top: 12px;

  z-index: 1000;

  transform:
    translateY(-180%);

  padding:
    10px 14px;

  border-radius: 10px;

  background:
    var(--text-main);

  color:
    var(--bg-dark);

  font-weight: 700;

  transition:
    transform 0.2s ease;
}


.skip-link:focus {
  transform:
    translateY(0);
}


:focus-visible {
  outline:
    2px solid
    var(--accent-cyan);

  outline-offset:
    4px;
}


:focus:not(:focus-visible) {
  outline: none;
}


/* =========================================================
   5. NAVIGATION
   ========================================================= */

nav {
  position: sticky;

  top: 0;

  z-index: 100;

  background:
    rgba(9, 9, 11, 0.7);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);

  border-bottom:
    1px solid
    var(--border);
}


.nav-inner {
  height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}


.brand {
  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 700;

  font-size: 16px;
}


.brand-mark {
  width: 32px;
  height: 32px;

  border-radius: 8px;

  display: grid;

  place-items: center;

  color:
    var(--bg-dark);

  font-size: 15px;

  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      var(--accent-cyan),
      var(--accent-blue)
    );
}


.brand small {
  color:
    var(--text-muted);

  font-weight: 400;

  font-size: 14px;
}


.navlinks {
  display: flex;

  gap: 32px;

  align-items: center;

  font-size: 14px;

  font-weight: 500;

  color:
    var(--text-muted);
}


.navlinks a:hover {
  color:
    var(--text-main);
}


.nav-cta {
  border:
    1px solid
    var(--border);

  padding:
    8px 16px;

  border-radius:
    999px;

  background:
    rgba(255, 255, 255, 0.03);

  color:
    var(--text-muted);

  cursor: pointer;

  transition:
    all 0.2s ease;
}


.nav-cta:hover {
  background:
    var(--text-main);

  color:
    var(--bg-dark);
}


/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.035);

  color:
    var(--text-main);

  cursor: pointer;

  align-items: center;

  justify-content: center;
}


.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";

  display: block;

  width: 18px;
  height: 2px;

  background:
    currentColor;

  border-radius: 2px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


.menu-toggle span {
  margin:
    4px 0;
}


.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}


.menu-toggle[aria-expanded="true"]::before {
  transform:
    translateY(6px)
    rotate(45deg);
}


.menu-toggle[aria-expanded="true"]::after {
  transform:
    translateY(-6px)
    rotate(-45deg);
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
  min-height:
    calc(100vh - 72px);

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 64px;

  align-items: center;

  padding:
    80px 0;
}


.hero h1 {
  font-size:
    clamp(
      48px,
      6vw,
      80px
    );

  margin-bottom:
    24px;
}


.hero p {
  font-size:
    18px;

  color:
    var(--text-muted);

  max-width:
    90%;

  margin-bottom:
    40px;
}


.actions {
  display: flex;

  gap: 16px;

  flex-wrap: wrap;
}


.btn {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    14px 24px;

  border-radius:
    12px;

  font-weight:
    600;

  font-size:
    15px;

  cursor:
    pointer;

  transition:
    all 0.2s ease;

  border:
    1px solid
    transparent;
}


.btn-primary {
  background:
    var(--text-main);

  color:
    var(--bg-dark);

  box-shadow:
    0 4px 14px
    rgba(255, 255, 255, 0.1);
}


.btn-primary:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 6px 20px
    rgba(255, 255, 255, 0.15);
}


.btn-primary:disabled,
.run-experience-btn:disabled,
.btn-block:disabled {
  cursor:
    wait;

  opacity:
    0.7;
}


.btn-secondary {
  background:
    rgba(255, 255, 255, 0.05);

  color:
    var(--text-main);

  border-color:
    var(--border);
}


.btn-secondary:hover {
  background:
    rgba(255, 255, 255, 0.1);
}


.hero-meta {
  display: flex;

  gap: 24px;

  margin-top:
    48px;

  color:
    var(--text-muted);

  font-size:
    13px;

  font-weight:
    500;
}


.hero-meta span {
  display: flex;

  align-items:
    center;

  gap: 8px;
}


.hero-meta i {
  width: 6px;
  height: 6px;

  border-radius:
    50%;

  background:
    var(--accent-green);
}


/* =========================================================
   7. GLASS PANELS
   ========================================================= */

.glass-panel {
  background:
    var(--bg-card);

  backdrop-filter:
    blur(20px);

  -webkit-backdrop-filter:
    blur(20px);

  border:
    1px solid
    var(--border);

  border-radius:
    24px;

  box-shadow:
    var(--shadow-lg);
}


/* =========================================================
   8. HERO PRODUCT STAGE
   ========================================================= */

.product-stage {
  position: relative;

  perspective:
    1000px;
}


.browser {
  transform:
    rotateY(-5deg)
    rotateX(2deg);

  transition:
    transform 0.5s ease;

  overflow:
    hidden;
}


.browser:hover {
  transform:
    rotateY(0deg)
    rotateX(0deg);
}


.browser-top {
  height: 48px;

  display: flex;

  align-items: center;

  gap: 16px;

  padding:
    0 20px;

  background:
    rgba(255, 255, 255, 0.02);

  border-bottom:
    1px solid
    var(--border);
}


.mac-lights {
  display:
    flex;

  gap:
    8px;
}


.mac-lights i {
  width:
    12px;

  height:
    12px;

  border-radius:
    50%;
}


.mac-lights i:nth-child(1) {
  background:
    #ff5f56;
}


.mac-lights i:nth-child(2) {
  background:
    #ffbd2e;
}


.mac-lights i:nth-child(3) {
  background:
    #27c93f;
}


.browser-address {
  flex: 1;

  height:
    28px;

  background:
    rgba(0, 0, 0, 0.2);

  border-radius:
    6px;

  display:
    flex;

  align-items:
    center;

  padding:
    0 12px;

  font-size:
    12px;

  color:
    var(--text-muted);

  font-family:
    var(--font-mono);
}


.browser-body {
  padding:
    24px;
}


.workflow-head {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  margin-bottom:
    24px;
}


.workflow-head h3 {
  font-size:
    20px;

  font-weight:
    600;
}


.status-badge {
  padding:
    4px 12px;

  border-radius:
    999px;

  font-size:
    11px;

  font-weight:
    700;

  text-transform:
    uppercase;

  letter-spacing:
    0.05em;

  background:
    rgba(34, 211, 238, 0.1);

  color:
    var(--accent-cyan);

  border:
    1px solid
    rgba(34, 211, 238, 0.2);
}


.status-badge.is-idle {
  color:
    var(--accent-cyan);

  border-color:
    rgba(34, 211, 238, 0.2);

  background:
    rgba(34, 211, 238, 0.1);
}


.status-badge.is-running {
  color:
    var(--accent-amber);

  border-color:
    rgba(245, 158, 11, 0.35);

  background:
    rgba(245, 158, 11, 0.08);
}


.status-badge.is-success {
  color:
    var(--accent-green);

  border-color:
    rgba(16, 185, 129, 0.35);

  background:
    rgba(16, 185, 129, 0.08);
}


.workflow-nodes {
  display:
    grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap:
    12px;

  margin-bottom:
    24px;
}


.w-node {
  background:
    rgba(0, 0, 0, 0.2);

  border:
    1px solid
    var(--border);

  border-radius:
    12px;

  padding:
    16px 12px;

  position:
    relative;

  transition:
    all 0.3s ease;

  text-align:
    center;
}


.w-node .step-num {
  font-size:
    10px;

  color:
    var(--text-muted);

  margin-bottom:
    8px;

  font-family:
    var(--font-mono);
}


.w-node strong {
  display:
    block;

  font-size:
    13px;

  margin-bottom:
    4px;
}


.w-node.active {
  border-color:
    var(--accent-cyan);

  background:
    rgba(34, 211, 238, 0.05);

  box-shadow:
    0 0 20px
    var(--glow-cyan);
}


.w-node.done {
  border-color:
    var(--accent-green);
}


.w-node.active strong {
  color:
    var(--accent-cyan);
}


.w-node.done strong {
  color:
    var(--accent-green);
}


.output-grid {
  display:
    grid;

  grid-template-columns:
    2fr 1fr;

  gap:
    16px;
}


.out-card {
  background:
    rgba(0, 0, 0, 0.2);

  border:
    1px solid
    var(--border);

  border-radius:
    12px;

  padding:
    16px;
}


.out-card .display-label {
  display:
    block;

  font-size:
    11px;

  color:
    var(--text-muted);

  text-transform:
    uppercase;

  margin-bottom:
    8px;
}


.out-card p {
  font-size:
    13px;

  color:
    var(--text-main);

  font-family:
    var(--font-mono);

  line-height:
    1.5;
}


.score {
  font-size:
    32px;

  font-weight:
    800;

  color:
    var(--accent-green);

  line-height:
    1;

  margin-top:
    8px;
}


/* =========================================================
   9. CAPABILITIES
   ========================================================= */

.trust-banner {
  border-top:
    1px solid
    var(--border);

  border-bottom:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.01);
}


.trust-grid {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);
}


.trust-item {
  padding:
    32px 24px;

  border-right:
    1px solid
    var(--border);
}


.trust-item:last-child {
  border-right:
    none;
}


.trust-item strong {
  display:
    block;

  font-size:
    15px;

  margin-bottom:
    4px;
}


.trust-item span {
  font-size:
    13px;

  color:
    var(--text-muted);
}


/* =========================================================
   10. SECTION HEADINGS
   ========================================================= */

.section-head {
  margin-bottom:
    64px;

  max-width:
    600px;
}


.section-head h2 {
  font-size:
    clamp(
      32px,
      4vw,
      48px
    );

  margin-bottom:
    16px;
}


.section-head p {
  color:
    var(--text-muted);

  font-size:
    18px;
}


/* =========================================================
   ABOUT / WHAT WE BUILD / FAQ
   ========================================================= */

.about-section {
  padding-bottom:
    72px;
}


.build-section {
  padding-top:
    0;
}


.about-layout {
  display:
    grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap:
    clamp(
      32px,
      5vw,
      72px
    );

  align-items:
    start;
}


.about-copy {
  display:
    grid;

  gap:
    18px;

  color:
    var(--text-muted);

  font-size:
    17px;

  max-width:
    760px;
}


.audience-statement {
  padding-left:
    18px;

  border-left:
    2px solid
    rgba(34, 211, 238, 0.55);

  color:
    var(--text-main);
}


.capability-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(240px, 1fr)
    );

  gap:
    24px;
}


.capability-card,
.faq-item {
  background:
    var(--bg-card);

  border:
    1px solid
    var(--border);

  border-radius:
    20px;

  padding:
    28px;
}


.capability-card h3,
.faq-item h3 {
  font-size:
    20px;

  margin-bottom:
    12px;
}


.capability-card p,
.faq-item p {
  color:
    var(--text-muted);

  font-size:
    14px;
}


.faq-section {
  padding-bottom:
    72px;
}


.faq-list {
  display:
    grid;

  gap:
    14px;

  max-width:
    900px;
}


/* =========================================================
   11. AUTOMATION LAB
   ========================================================= */

.automation-shell {
  display:
    grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap:
    24px;

  align-items:
    stretch;
}


.automation-source,
.automation-engine {
  background:
    var(--bg-card);

  border:
    1px solid
    var(--border);

  border-radius:
    20px;

  overflow:
    hidden;

  min-height:
    520px;

  box-shadow:
    var(--shadow-lg);
}


.automation-window-top {
  height:
    48px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    14px;

  padding:
    0 18px;

  border-bottom:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.02);
}


.automation-window-title {
  font-family:
    var(--font-mono);

  color:
    var(--text-muted);

  font-size:
    11px;

  letter-spacing:
    0.04em;
}


.experience-label {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    7px;

  padding:
    5px 9px;

  border-radius:
    999px;

  font-size:
    10px;

  color:
    var(--accent-amber);

  border:
    1px solid
    rgba(245, 158, 11, 0.25);

  background:
    rgba(245, 158, 11, 0.08);

  text-transform:
    uppercase;

  letter-spacing:
    0.08em;

  font-weight:
    700;
}


.source-body,
.engine-body {
  padding:
    20px;
}


.source-toolbar {
  display:
    flex;

  gap:
    10px;

  margin-bottom:
    18px;

  align-items:
    center;
}


.source-search {
  flex:
    1;

  border:
    1px solid
    var(--border);

  background:
    rgba(0, 0, 0, 0.18);

  color:
    var(--text-muted);

  border-radius:
    10px;

  padding:
    10px 12px;

  font-family:
    var(--font-mono);

  font-size:
    11px;
}


.source-filter {
  border:
    1px solid
    var(--border);

  border-radius:
    10px;

  padding:
    10px 12px;

  color:
    var(--text-muted);

  font-size:
    11px;

  background:
    rgba(255, 255, 255, 0.03);
}


.message-card {
  border:
    1px solid
    var(--border);

  border-radius:
    14px;

  padding:
    16px;

  background:
    rgba(0, 0, 0, 0.18);

  margin-bottom:
    12px;

  transition:
    0.25s ease;
}


.message-card.active {
  border-color:
    rgba(34, 211, 238, 0.45);

  box-shadow:
    0 0 26px
    rgba(34, 211, 238, 0.1);

  background:
    rgba(34, 211, 238, 0.04);
}


.message-card[role="button"] {
  cursor:
    pointer;
}


.message-card[role="button"]:hover {
  border-color:
    rgba(255, 255, 255, 0.22);
}


.message-card[aria-pressed="true"] {
  border-color:
    rgba(34, 211, 238, 0.45);

  background:
    rgba(34, 211, 238, 0.045);

  box-shadow:
    0 0 24px
    rgba(34, 211, 238, 0.08);
}


.message-head {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  margin-bottom:
    8px;
}


.message-head strong {
  font-size:
    13px;
}


.message-head span {
  color:
    var(--text-muted);

  font-size:
    10px;

  font-family:
    var(--font-mono);
}


.message-card p {
  font-size:
    12px;

  color:
    var(--text-muted);

  line-height:
    1.55;
}


.message-tags {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    7px;

  margin-top:
    12px;
}


.message-tags span {
  padding:
    4px 8px;

  border-radius:
    999px;

  border:
    1px solid
    var(--border);

  color:
    #d4d4d8;

  font-size:
    10px;

  background:
    rgba(255, 255, 255, 0.025);
}


.selected-indicator {
  margin-top:
    10px;

  font-size:
    9px;

  color:
    var(--accent-cyan);

  text-transform:
    uppercase;

  letter-spacing:
    0.08em;
}


.engine-summary {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    18px;

  align-items:
    flex-start;

  margin-bottom:
    20px;
}


.engine-summary h3 {
  font-size:
    20px;

  margin-bottom:
    6px;
}


.engine-summary p {
  color:
    var(--text-muted);

  font-size:
    12px;
}


.run-experience-btn {
  flex:
    0 0 auto;

  border:
    1px solid
    rgba(34, 211, 238, 0.35);

  background:
    rgba(34, 211, 238, 0.09);

  color:
    var(--accent-cyan);

  padding:
    10px 14px;

  border-radius:
    10px;

  cursor:
    pointer;

  font-size:
    11px;

  font-weight:
    700;

  transition:
    0.2s;
}


.run-experience-btn:hover {
  background:
    var(--accent-cyan);

  color:
    var(--bg-dark);
}


.engine-flow {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    10px;

  margin-bottom:
    16px;
}


.engine-step {
  position:
    relative;

  padding:
    14px 12px 31px;

  min-height:
    112px;

  border-radius:
    12px;

  border:
    1px solid
    var(--border);

  background:
    rgba(0, 0, 0, 0.18);

  transition:
    0.3s ease;
}


.engine-step small {
  font-family:
    var(--font-mono);

  font-size:
    9px;

  color:
    #71717a;
}


.engine-step strong {
  display:
    block;

  font-size:
    12px;

  margin:
    7px 0 4px;
}


.engine-step p {
  color:
    var(--text-muted);

  font-size:
    10px;

  line-height:
    1.35;
}


.engine-step .engine-state {
  position:
    absolute;

  left:
    12px;

  bottom:
    10px;

  font-family:
    var(--font-mono);

  font-size:
    9px;

  color:
    #71717a;
}


.engine-step.running {
  border-color:
    var(--accent-cyan);

  background:
    rgba(34, 211, 238, 0.05);

  box-shadow:
    0 0 22px
    var(--glow-cyan);
}


.engine-step.running .engine-state {
  color:
    var(--accent-cyan);
}


.engine-step.complete {
  border-color:
    rgba(16, 185, 129, 0.45);
}


.engine-step.complete .engine-state {
  color:
    var(--accent-green);
}


.engine-progress {
  height:
    6px;

  border-radius:
    999px;

  background:
    rgba(255, 255, 255, 0.06);

  overflow:
    hidden;

  margin-bottom:
    16px;
}


.engine-progress i {
  display:
    block;

  height:
    100%;

  width:
    0;

  background:
    linear-gradient(
      90deg,
      var(--accent-cyan),
      var(--accent-blue)
    );

  transition:
    width 0.35s ease;
}


.automation-result {
  display:
    grid;

  grid-template-columns:
    1.25fr 0.75fr;

  gap:
    12px;
}


.result-card {
  padding:
    14px;

  border-radius:
    12px;

  border:
    1px solid
    var(--border);

  background:
    rgba(0, 0, 0, 0.18);
}


.result-card .display-label {
  display:
    block;

  color:
    var(--text-muted);

  font-size:
    9px;

  text-transform:
    uppercase;

  letter-spacing:
    0.08em;

  margin-bottom:
    8px;
}


.result-card pre {
  white-space:
    pre-wrap;

  margin:
    0;

  color:
    #d4d4d8;

  font-family:
    var(--font-mono);

  font-size:
    10px;

  line-height:
    1.55;
}


.result-score {
  font-size:
    30px;

  font-weight:
    800;

  color:
    var(--accent-green);

  line-height:
    1;

  margin-top:
    6px;
}


.result-note {
  color:
    var(--text-muted);

  font-size:
    10px;

  margin-top:
    8px;
}


.automation-caption {
  margin-top:
    14px;

  color:
    #71717a;

  font-size:
    10px;

  font-family:
    var(--font-mono);
}


/* =========================================================
   12. CYBERSECURITY
   ========================================================= */

.cyber-grid {
  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    24px;
}


.terminal-box {
  background:
    #000000;

  border:
    1px solid
    var(--border);

  border-radius:
    16px;

  overflow:
    hidden;

  display:
    flex;

  flex-direction:
    column;
}


.terminal-header {
  background:
    #111111;

  padding:
    12px 16px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  border-bottom:
    1px solid
    #333333;
}


.terminal-title {
  font-size:
    12px;

  color:
    var(--text-muted);

  font-family:
    var(--font-mono);
}


.terminal-body {
  padding:
    16px;

  font-family:
    var(--font-mono);

  font-size:
    13px;

  color:
    #a1a1aa;

  height:
    360px;

  overflow-y:
    auto;
}


.terminal-line {
  margin-bottom:
    8px;
}


.t-ok {
  color:
    var(--accent-green);
}


.t-warn {
  color:
    var(--accent-amber);
}


.t-err {
  color:
    var(--accent-red);
}


.t-sys {
  color:
    var(--accent-cyan);
}


.cursor {
  display:
    inline-block;

  width:
    8px;

  height:
    16px;

  background:
    #ffffff;

  vertical-align:
    middle;

  animation:
    blink 1s step-end infinite;
}


@keyframes blink {
  50% {
    opacity:
      0;
  }
}


/* Threat map */

.threat-map-container {
  position:
    relative;

  height:
    360px;

  border-radius:
    16px;

  border:
    1px solid
    var(--border);

  background:
    #0a0a0c;

  overflow:
    hidden;
}


.radar-grid {
  position:
    absolute;

  inset:
    0;

  background-image:
    radial-gradient(
      var(--border) 1px,
      transparent 1px
    );

  background-size:
    40px 40px;

  background-position:
    center;

  opacity:
    0.5;
}


.radar-scan {
  position:
    absolute;

  top:
    50%;

  left:
    50%;

  width:
    200%;

  height:
    200%;

  background:
    conic-gradient(
      from 0deg,
      transparent 70%,
      rgba(34, 211, 238, 0.4) 100%
    );

  transform-origin:
    0 0;

  animation:
    spin 4s linear infinite;

  pointer-events:
    none;
}


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


.node-point {
  position:
    absolute;

  width:
    12px;

  height:
    12px;

  border-radius:
    50%;

  background:
    var(--accent-blue);

  box-shadow:
    0 0 15px
    var(--accent-blue);

  transform:
    translate(-50%, -50%);

  transition:
    all 0.3s;
}


.node-point.alert {
  background:
    var(--accent-red);

  box-shadow:
    0 0 20px
    var(--accent-red);

  animation:
    alertPulse 1s infinite;
}


.node-point.safe {
  background:
    var(--accent-green);

  box-shadow:
    0 0 15px
    var(--accent-green);
}


@keyframes alertPulse {
  0% {
    transform:
      translate(-50%, -50%)
      scale(1);
  }

  50% {
    transform:
      translate(-50%, -50%)
      scale(1.5);
  }

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


/*
   These replace the inline positioning
   used by the original V9.
*/

.node-position-1 {
  top:
    30%;

  left:
    20%;
}


.node-position-2 {
  top:
    70%;

  left:
    35%;
}


.node-position-3 {
  top:
    50%;

  left:
    50%;
}


.node-position-4 {
  top:
    20%;

  left:
    75%;
}


.node-position-target {
  top:
    65%;

  left:
    80%;
}


.threat-action {
  position:
    absolute;

  bottom:
    20px;

  right:
    20px;

  background:
    rgba(24, 24, 27, 0.9);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);

  border:
    1px solid
    var(--border);

  padding:
    16px;

  border-radius:
    12px;

  width:
    260px;
}


.threat-action h4 {
  font-size:
    13px;

  color:
    var(--accent-red);

  margin-bottom:
    4px;
}


.threat-action p {
  font-size:
    12px;

  color:
    var(--text-muted);

  margin-bottom:
    12px;
}


.threat-action.is-safe h4 {
  color:
    var(--accent-green);
}


.cyber-actions {
  display:
    flex;

  gap:
    8px;

  margin-top:
    10px;
}


.btn-block {
  flex:
    1;

  background:
    rgba(244, 63, 94, 0.1);

  color:
    var(--accent-red);

  border:
    1px solid
    rgba(244, 63, 94, 0.3);

  padding:
    8px;

  border-radius:
    6px;

  font-size:
    12px;

  font-weight:
    600;

  cursor:
    pointer;

  transition:
    0.2s;
}


.btn-block:hover {
  background:
    var(--accent-red);

  color:
    #ffffff;
}


.btn-reset {
  flex:
    1;

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.035);

  color:
    var(--text-muted);

  padding:
    8px;

  border-radius:
    6px;

  font-size:
    12px;

  font-weight:
    600;

  cursor:
    pointer;
}


.btn-reset:hover {
  color:
    var(--text-main);

  background:
    rgba(255, 255, 255, 0.07);
}


/* =========================================================
   13. PRODUCTS
   ========================================================= */

.project-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    24px;
}


.project-card {
  background:
    var(--bg-card);

  border:
    1px solid
    var(--border);

  border-radius:
    20px;

  padding:
    32px;

  transition:
    0.3s ease;

  position:
    relative;

  overflow:
    hidden;
}


.project-card:hover {
  transform:
    translateY(-5px);

  background:
    var(--bg-card-hover);

  border-color:
    rgba(255, 255, 255, 0.2);
}


.project-meta {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    10px;

  margin-bottom:
    20px;
}


.tag {
  display:
    inline-block;

  padding:
    4px 10px;

  border-radius:
    999px;

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.05);

  font-size:
    11px;

  font-weight:
    600;

  text-transform:
    uppercase;

  letter-spacing:
    0.05em;

  color:
    var(--accent-cyan);
}


.project-meta .tag {
  margin-bottom:
    0;
}


.project-status {
  padding:
    4px 9px;

  border-radius:
    999px;

  font-size:
    10px;

  color:
    var(--text-muted);

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.025);
}


.project-card h3 {
  font-size:
    22px;

  margin-bottom:
    12px;
}


.project-card p {
  font-size:
    14px;

  color:
    var(--text-muted);

  margin-bottom:
    24px;
}


.project-card ul {
  font-size:
    13px;

  color:
    var(--text-main);
}


.project-card li {
  margin-bottom:
    8px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;
}


.project-card li::before {
  content:
    "";

  display:
    block;

  width:
    4px;

  height:
    4px;

  background:
    var(--accent-blue);

  border-radius:
    50%;
}


/* =========================================================
   14. TECHNOLOGY
   ========================================================= */

.tech-stack {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    12px;
}


.tech-pill {
  padding:
    10px 20px;

  border-radius:
    999px;

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.03);

  font-size:
    14px;

  font-weight:
    500;

  color:
    var(--text-muted);

  transition:
    0.2s;
}


.tech-pill:hover {
  color:
    var(--text-main);

  border-color:
    rgba(255, 255, 255, 0.2);

  background:
    rgba(255, 255, 255, 0.08);
}


/* =========================================================
   15. CTA
   ========================================================= */

.cta-box {
  padding:
    80px;

  border-radius:
    32px;

  text-align:
    center;

  background:
    linear-gradient(
      180deg,
      rgba(24, 24, 27, 0.8),
      rgba(9, 9, 11, 0.9)
    );

  border:
    1px solid
    var(--border);

  position:
    relative;

  overflow:
    hidden;
}


.cta-box h2 {
  font-size:
    clamp(
      32px,
      5vw,
      56px
    );

  margin:
    16px auto 24px;

  max-width:
    800px;
}


.cta-box p {
  font-size:
    18px;

  color:
    var(--text-muted);

  margin:
    0 auto 40px;

  max-width:
    600px;
}


/* =========================================================
   16. CONTACT MODAL
   ========================================================= */

.contact-overlay {
  position:
    fixed;

  inset:
    0;

  z-index:
    300;

  display:
    grid;

  place-items:
    center;

  padding:
    24px;

  background:
    rgba(0, 0, 0, 0.72);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);

  opacity:
    0;

  visibility:
    hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}


.contact-overlay.open {
  opacity:
    1;

  visibility:
    visible;
}


.contact-modal {
  width:
    min(560px, 100%);

  max-height:
    calc(100vh - 48px);

  max-height:
    calc(100dvh - 48px);

  border:
    1px solid
    var(--border);

  border-radius:
    24px;

  background:
    linear-gradient(
      180deg,
      rgba(24, 24, 27, 0.98),
      rgba(9, 9, 11, 0.99)
    );

  box-shadow:
    0 35px 100px
    rgba(0, 0, 0, 0.65);

  overflow-x:
    hidden;

  overflow-y:
    auto;

  transform:
    translateY(16px)
    scale(0.985);

  transition:
    transform 0.25s ease;
}


.contact-overlay.open .contact-modal {
  transform:
    translateY(0)
    scale(1);
}


.contact-modal-head {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  padding:
    20px 22px;

  border-bottom:
    1px solid
    var(--border);
}


.contact-modal-head strong {
  font-size:
    15px;
}


.contact-close {
  width:
    34px;

  height:
    34px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    9px;

  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.03);

  color:
    var(--text-muted);

  cursor:
    pointer;

  font-size:
    18px;

  transition:
    0.2s ease;
}


.contact-close:hover {
  color:
    #ffffff;

  background:
    rgba(255, 255, 255, 0.08);
}


.contact-modal-body {
  padding:
    26px;
}


.contact-modal-body h3 {
  font-size:
    28px;

  margin-bottom:
    10px;
}


.contact-modal-body > p {
  color:
    var(--text-muted);

  font-size:
    14px;

  margin-bottom:
    24px;
}


.contact-form {
  display:
    grid;

  gap:
    14px;
}


.form-row {
  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    14px;
}


.field label {
  display:
    block;

  margin-bottom:
    7px;

  color:
    #d4d4d8;

  font-size:
    11px;

  font-weight:
    600;
}


.optional-label {
  color:
    var(--text-muted);

  font-weight:
    400;
}


.field input,
.field textarea {
  width:
    100%;

  border:
    1px solid
    var(--border);

  background:
    rgba(0, 0, 0, 0.22);

  color:
    var(--text-main);

  border-radius:
    11px;

  padding:
    12px 13px;

  outline:
    none;

  font:
    inherit;

  font-size:
    13px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.field textarea {
  min-height:
    120px;

  resize:
    vertical;
}


.field input:focus,
.field textarea:focus {
  border-color:
    rgba(34, 211, 238, 0.55);

  box-shadow:
    0 0 0 3px
    rgba(34, 211, 238, 0.07);
}


.field-error {
  min-height:
    17px;

  color:
    var(--accent-red);

  font-size:
    11px;

  margin-top:
    5px;
}


.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color:
    rgba(244, 63, 94, 0.6);
}


.contact-submit {
  width:
    100%;

  margin-top:
    4px;
}


.contact-form-note {
  min-height:
    18px;

  margin-top:
    10px;

  text-align:
    center;

  color:
    var(--text-muted);

  font-size:
    11px;
}


.contact-form-note.success {
  color:
    var(--accent-green);
}


.contact-form-note.error {
  color:
    var(--accent-amber);
}


.privacy-note {
  color:
    var(--text-muted);

  font-size:
    10px;

  line-height:
    1.55;
}


.privacy-note a,
.legal-links a {
  text-decoration:
    underline;

  text-decoration-color:
    rgba(255, 255, 255, 0.25);

  text-underline-offset:
    3px;
}


.contact-success {
  display:
    none;

  text-align:
    center;

  padding:
    18px 0 8px;
}


.contact-success.show {
  display:
    block;
}


.contact-success-mark {
  width:
    48px;

  height:
    48px;

  margin:
    0 auto 14px;

  border-radius:
    50%;

  display:
    grid;

  place-items:
    center;

  color:
    var(--accent-green);

  border:
    1px solid
    rgba(16, 185, 129, 0.35);

  background:
    rgba(16, 185, 129, 0.08);

  font-weight:
    800;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

footer {
  padding:
    48px 0;

  border-top:
    1px solid
    var(--border);

  margin-top:
    64px;

  font-size:
    14px;

  color:
    var(--text-muted);
}


.footer-inner {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  flex-wrap:
    wrap;

  gap:
    24px;
}


.legal-links {
  display:
    flex;

  gap:
    16px;

  align-items:
    center;

  flex-wrap:
    wrap;
}


.legal-links a:hover {
  color:
    var(--text-main);
}


/* =========================================================
   18. REVEAL ANIMATIONS
   ========================================================= */

.reveal {
  opacity:
    0;

  transform:
    translateY(30px);

  transition:
    opacity 0.8s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      ),
    transform 0.8s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      );
}


.reveal.visible {
  opacity:
    1;

  transform:
    translateY(0);
}


/* Replaces V9 inline transition-delay styles */

.delay-1 {
  transition-delay:
    0.1s;
}


.delay-2 {
  transition-delay:
    0.2s;
}


.delay-3 {
  transition-delay:
    0.3s;
}


/* =========================================================
   19. LEGAL PAGES
   privacy.html + terms.html
   ========================================================= */

body.legal-page {
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(34, 211, 238, 0.12),
      transparent 26%
    ),
    var(--bg-dark);

  line-height:
    1.72;
}


.legal-page .wrap {
  width:
    min(
      920px,
      calc(100% - 36px)
    );
}


.legal-page nav {
  background:
    rgba(9, 9, 11, 0.85);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}


.legal-nav {
  height:
    70px;

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;
}


.legal-brand {
  font-weight:
    800;

  text-decoration:
    none;
}


.legal-brand span {
  color:
    var(--text-muted);

  font-weight:
    400;
}


.legal-back {
  font-size:
    13px;

  color:
    var(--text-muted);
}


.legal-back:hover {
  color:
    var(--text-main);
}


.legal-main {
  padding:
    72px 0 90px;
}


.legal-eyebrow {
  color:
    var(--accent-cyan);

  font-size:
    12px;

  text-transform:
    uppercase;

  letter-spacing:
    0.1em;

  font-weight:
    700;
}


.legal-page h1 {
  font-size:
    clamp(
      42px,
      7vw,
      68px
    );

  letter-spacing:
    -0.05em;

  line-height:
    1;

  margin:
    14px 0 18px;
}


.legal-page h2 {
  font-size:
    22px;

  margin-top:
    42px;

  letter-spacing:
    -0.02em;
}


.legal-page p,
.legal-page li {
  color:
    var(--text-muted);
}


.legal-updated {
  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, 0.025);

  border-radius:
    14px;

  padding:
    14px 16px;

  margin:
    24px 0 36px;

  font-size:
    13px;
}


.legal-content {
  border:
    1px solid
    var(--border);

  background:
    rgba(24, 24, 27, 0.55);

  border-radius:
    24px;

  padding:
    clamp(
      24px,
      5vw,
      48px
    );
}


.legal-content ul {
  padding-left:
    22px;

  list-style:
    disc;
}


.legal-page footer {
  padding:
    30px 0;

  margin-top:
    0;

  font-size:
    12px;
}


.legal-footer {
  display:
    flex;

  gap:
    16px;

  flex-wrap:
    wrap;
}


/* =========================================================
   20. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior:
      auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      0.001ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.001ms !important;
  }


  .reveal {
    opacity:
      1 !important;

    transform:
      none !important;
  }


  .browser {
    transform:
      none !important;
  }


  .homepage-network-canvas {
    display:
      none;
  }

}


/* =========================================================
   21. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .hero {
    grid-template-columns:
      1fr;

    text-align:
      center;

    gap:
      40px;

    padding:
      40px 0;
  }


  .hero p,
  .hero h1 {
    margin-left:
      auto;

    margin-right:
      auto;
  }


  .actions,
  .hero-meta {
    justify-content:
      center;
  }


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


  .trust-item:nth-child(2) {
    border-right:
      none;
  }


  .trust-item:nth-child(-n + 2) {
    border-bottom:
      1px solid
      var(--border);
  }


  .about-layout {
    grid-template-columns:
      1fr;
  }


  .automation-shell {
    grid-template-columns:
      1fr;
  }


  .cyber-grid,
  .output-grid {
    grid-template-columns:
      1fr;
  }


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

}


/* =========================================================
   22. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .wrap {
    width:
      min(
        var(--max-w),
        calc(100% - 32px)
      );
  }


  .section {
    padding:
      88px 0;
  }


  .menu-toggle {
    display:
      flex;

    flex-direction:
      column;
  }


  .nav-inner {
    position:
      relative;
  }


  .navlinks {
    display:
      none;

    position:
      absolute;

    left:
      0;

    right:
      0;

    top:
      64px;

    padding:
      16px;

    flex-direction:
      column;

    align-items:
      stretch;

    gap:
      4px;

    border:
      1px solid
      var(--border);

    border-radius:
      16px;

    background:
      rgba(9, 9, 11, 0.97);

    box-shadow:
      var(--shadow-lg);
  }


  .navlinks.open {
    display:
      flex;
  }


  .navlinks a,
  .navlinks .nav-cta {
    display:
      block;

    width:
      100%;

    text-align:
      left;

    padding:
      12px 14px;

    border-radius:
      10px;
  }


  .workflow-nodes {
    grid-template-columns:
      1fr;
  }


  .trust-grid,
  .project-grid {
    grid-template-columns:
      1fr;
  }


  .trust-item {
    border-right:
      none;

    border-bottom:
      1px solid
      var(--border);
  }


  .trust-item:last-child {
    border-bottom:
      none;
  }


  .engine-flow {
    grid-template-columns:
      1fr 1fr;
  }


  .automation-result {
    grid-template-columns:
      1fr;
  }


  .cta-box {
    padding:
      40px 24px;
  }


  .hero-meta {
    flex-wrap:
      wrap;
  }


  .threat-action {
    left:
      16px;

    right:
      16px;

    bottom:
      16px;

    width:
      auto;
  }


  .footer-inner {
    flex-direction:
      column;

    align-items:
      flex-start;
  }

}


/* =========================================================
   23. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 640px) {

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


  .contact-modal-body {
    padding:
      22px;
  }


  .engine-flow {
    grid-template-columns:
      1fr;
  }


  .engine-summary {
    flex-direction:
      column;
  }


  .run-experience-btn {
    width:
      100%;
  }


  .hero-meta {
    gap:
      12px;
  }


  .legal-nav {
    gap:
      18px;
  }


  .legal-back {
    text-align:
      right;
  }

}
