/* ===================================================
   VENTURE ROBOT SOLUTIONS — venturerobotsolutions.com
   Stylesheet
   =================================================== */

/* --- 1. VARIABLES & RESET --- */
:root {
  --color-bg-dark:     #0a0d12;
  --color-bg-dark2:    #0d1117;
  --color-bg-darkest:  #060810;
  --color-bg-light:    #f4f6f9;
  --color-bg-lightgray:#eef1f5;
  --color-accent:      #87a9ce;
  --color-accent-dark: #1e3a5f;
  --color-accent-rgb:  135, 169, 206;
  --color-success:     #4caf82;
  --color-danger:      #e05c3a;
  --color-text-white:  #ffffff;
  --color-text-muted:  #b0bec5;
  --color-text-dark:   #1a1f2e;
  --color-text-dark-muted: #4a5568;
  --color-border-glass:rgba(135, 169, 206, 0.2);
  --font-display:      'Syne', sans-serif;
  --font-body:         'DM Sans', sans-serif;
  --font-mono:         'JetBrains Mono', monospace;
  --radius-card:       1rem;
  --radius-xl:         1.5rem;
  --radius-pill:       9999px;
  --shadow-card:       0 8px 32px rgba(0,0,0,0.25);
  --shadow-card-light: 0 4px 24px rgba(0,0,0,0.08);
  --glass-bg:          rgba(255,255,255,0.05);
  --glass-border:      1px solid rgba(135,169,206,0.2);
  --transition:        0.3s ease;
  --section-pad:       7rem 0;
  --navbar-h:          72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- 2. SCROLL ANIMATIONS --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

/* --- 3. LAYOUT UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { position: relative; overflow: hidden; }

.section-dark     { background: var(--color-bg-dark);     color: var(--color-text-white); }
.section-dark2    { background: var(--color-bg-dark2);    color: var(--color-text-white); }
.section-light    { background: var(--color-bg-light);    color: var(--color-text-dark); }
.section-lightgray{ background: var(--color-bg-lightgray);color: var(--color-text-dark); }

.section-pad { padding: var(--section-pad); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* --- 4. TYPOGRAPHY --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}
.section-h2.dark    { color: var(--color-text-dark); }
.section-h2.accent  { color: var(--color-accent); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.section-subtitle.dark { color: var(--color-text-dark-muted); }

.section-body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

.tagline-center {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-top: 3.5rem;
  letter-spacing: 0.02em;
}

.mono { font-family: var(--font-mono); }
.accent { color: var(--color-accent) !important; }

/* --- 5. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: #9fbcdb;
  border-color: #9fbcdb;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}
.btn-pill   { border-radius: var(--radius-pill); }
.btn-full   { width: 100%; }

/* --- 6. CARDS --- */
.card {
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); }

.card-glass-dark {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card-glass-dark:hover {
  border-color: rgba(var(--color-accent-rgb), 0.4);
  box-shadow: 0 0 30px rgba(var(--color-accent-rgb), 0.08);
}

.card-light {
  background: #ffffff;
  box-shadow: var(--shadow-card-light);
  border: 1px solid rgba(0,0,0,0.05);
}
.card-light:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.13); }

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

.card-icon    { font-size: 2rem; margin-bottom: 1rem; }
.card-icon-lg { font-size: 2.5rem; margin-bottom: 1.25rem; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text-white);
}
.card-light h3 { color: var(--color-text-dark); }
.card p  {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.card-light p { color: var(--color-text-dark-muted); }

/* --- 7. DECORATIVE ELEMENTS --- */
.diamond-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.diamond-deco--hero {
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.7;
}
.diamond-deco--left {
  top: 10%;
  left: -80px;
  width: 300px;
  height: 300px;
}
.diamond-deco--contact {
  bottom: 5%;
  left: -40px;
  width: 280px;
  height: 280px;
}

.dot-grid {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(rgba(135,169,206,0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}
.dot-grid--hero {
  top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 120px;
  opacity: 0.5;
}
.dot-grid--top {
  top: 0; left: 0; right: 0;
  height: 80px; width: 100%;
  opacity: 0.3;
}

/* ===================================================
   NAVBAR
   =================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(10,13,18,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(var(--color-accent-rgb), 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--color-text-white); background: rgba(255,255,255,0.06); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language selector */
.lang-selector { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.5rem;
  transition: all var(--transition);
}
.lang-current:hover {
  color: var(--color-accent);
  border-color: rgba(var(--color-accent-rgb), 0.4);
}
.lang-current svg { transition: transform var(--transition); }
.lang-selector.open .lang-current svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #14191f;
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.lang-dropdown button:hover {
  background: rgba(var(--color-accent-rgb), 0.1);
  color: var(--color-accent);
}
.lang-dropdown button.active-lang { color: var(--color-accent); }

.nav-cta { font-size: 0.9rem; padding: 0.6rem 1.4rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6,8,16,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu-inner { text-align: center; }
.mobile-links { margin-bottom: 2.5rem; }
.mobile-links li + li { margin-top: 0.5rem; }
.mobile-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-white);
  transition: color var(--transition);
  display: block;
  padding: 0.4rem 0;
}
.mobile-links a:hover { color: var(--color-accent); }

.mobile-lang {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.mobile-lang button {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  transition: all var(--transition);
}
.mobile-lang button:hover,
.mobile-lang button.active-lang { color: var(--color-accent); border-color: var(--color-accent); }

.mobile-cta { margin-top: 0.5rem; }

/* ===================================================
   SECTION 1 — HERO
   =================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--navbar-h) + 2rem) 0 4rem;
  position: relative;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow { margin-bottom: 1.25rem; }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  font-size: 0.82rem;
  color: rgba(176,190,197,0.7);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  isolation: isolate;
}

/* Orbit cluster: live trust telemetry around Delio */
.hero-orbit-cluster {
  --orbit-scale: 1;
  width: clamp(360px, 40vw, 480px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  transform: scale(var(--orbit-scale));
  transform-origin: center;
}

.orbit-aura {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(var(--color-accent-rgb), 0.3) 0%,
    rgba(var(--color-accent-rgb), 0.06) 45%,
    rgba(10,13,18,0) 70%
  );
  filter: blur(2px);
  z-index: 0;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-accent-rgb), 0.22);
  box-shadow: inset 0 0 20px rgba(var(--color-accent-rgb), 0.08);
}
.orbit-ring--inner {
  width: 262px;
  height: 262px;
  opacity: 0.75;
}
.orbit-ring--outer {
  width: 364px;
  height: 364px;
  opacity: 0.45;
}

.orbit-core {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 68%),
    linear-gradient(160deg, rgba(14,18,28,0.96), rgba(7,10,16,0.94));
  border: 1px solid rgba(var(--color-accent-rgb), 0.36);
  box-shadow: 0 18px 42px rgba(0,0,0,0.45), 0 0 36px rgba(var(--color-accent-rgb), 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  padding: 0.3rem;
  position: relative;
  z-index: 3;
}

.orbit-core::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(76,175,130,0.15), 0 0 12px rgba(76,175,130,0.8);
  animation: livePulse 2s ease-in-out infinite;
}

.orbit-core-logo {
  width: min(198px, 128%);
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.3);
  transform-origin: center;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.4));
}

.orbit-slot {
  position: absolute;
  inset: 0;
  transform: rotate(var(--start-angle));
  z-index: 4;
}

.orbit-track {
  position: absolute;
  inset: 0;
}

.orbit-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Counter-rotate each chip so labels remain horizontal and readable */
  transform: translate(-50%, -50%) translateX(var(--radius)) rotate(calc(var(--start-angle) * -1));
  min-width: 118px;
  max-width: 128px;
  padding: 0.46rem 0.58rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(var(--color-accent-rgb), 0.3);
  background: linear-gradient(160deg, rgba(17,22,33,0.86), rgba(7,10,16,0.9));
  box-shadow: 0 10px 26px rgba(0,0,0,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.22;
  text-align: left;
  pointer-events: none;
}

.orbit-slot--outer .orbit-chip {
  border-color: rgba(76,175,130,0.28);
  background: linear-gradient(160deg, rgba(13,19,30,0.86), rgba(5,9,15,0.92));
}

.orbit-chip-label {
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(135,169,206,0.85);
  margin-bottom: 0.28rem;
}

.orbit-chip-value {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--color-success); }
  50% { opacity: 0.7; box-shadow: 0 0 12px var(--color-success); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* ===================================================
   SECTION 2 — THE PROBLEM
   =================================================== */
#problem { padding: var(--section-pad); overflow: hidden; }

#problem .section-header { text-align: center; }
#problem .container { position: relative; z-index: 1; }

/* Faded background face (same visual intent as roadmap bg face) */
.problem-bg-face {
  position: absolute;
  left: -36px;
  bottom: 1rem;
  width: 220px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.problem-bg-face img { width: 100%; }

/* Problem layout: 2x2 cards + right photo */
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 2rem;
}

.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

#problem .card-light { text-align: left; height: 100%; }
#problem .card-light h3 { color: var(--color-text-dark); }
#problem .card-light p  { color: var(--color-text-dark-muted); }
#problem .card-icon { line-height: 1; }

/* 4th card highlight for the citation */
.card-quote-highlight {
  border-color: rgba(var(--color-accent-rgb), 0.35);
  background: linear-gradient(145deg, rgba(var(--color-accent-rgb), 0.16) 0%, #ffffff 78%);
  box-shadow: 0 10px 30px rgba(var(--color-accent-rgb), 0.16);
}
.card-quote-highlight:hover { box-shadow: 0 12px 34px rgba(var(--color-accent-rgb), 0.24); }

.quote-mark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.problem-quote-card {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-dark) !important;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.card-quote-highlight cite {
  font-size: 0.8rem;
  color: var(--color-text-dark-muted);
  font-style: normal;
}

.problem-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.problem-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===================================================
   SECTION 3 — THE SOLUTION
   =================================================== */
#solution { padding: var(--section-pad); }

.solution-bg-face {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.solution-bg-face img { width: 100%; }

#solution .container { position: relative; z-index: 1; }
#solution .section-header { text-align: center; }

/* ===================================================
   SECTION 4 — ARCHITECTURE
   =================================================== */
#architecture { padding: var(--section-pad); }
#architecture .section-header { text-align: center; }

/* (brain-diagram removed — replaced by arch-stack) */

/* Architecture banner */
.arch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--color-bg-dark);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.arch-cards .card-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dark-muted);
  margin-bottom: 0.75rem;
  display: block;
}
.arch-cards .card-number.accent { color: var(--color-accent); }
.arch-cards .card--key { border-left: 3px solid var(--color-accent); }

/* ===================================================
   SECTION 5 — MEET DELIO
   =================================================== */
#delio { padding: var(--section-pad); }
#delio .section-header { text-align: center; }

/* Video */
.video-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto 4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  background: #000;
}
.video-showcase video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.video-toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.video-toggle:hover { background: rgba(var(--color-accent-rgb), 0.3); border-color: var(--color-accent); }

/* Emotion panel */
.delio-emotion-panel {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.delio-main-face-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.delio-face-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--color-accent-rgb), 0.15) 0%, transparent 70%);
  pointer-events: none;
}
#delio-main-face {
  width: 280px;
  height: 280px;
  object-fit: contain;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
}

.emotion-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.emotion-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  text-align: center;
}
.emotion-card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.5);
  background: rgba(var(--color-accent-rgb), 0.08);
  transform: translateY(-2px);
}
.emotion-card.active {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.14);
}

/* Image container: square, inset with rounded corners */
.emotion-card-img {
  background: rgba(var(--color-accent-rgb), 0.07);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  margin: 0.5rem 0.5rem 0;
  border-radius: 0.65rem;
  transition: background var(--transition);
}
.emotion-card:hover .emotion-card-img,
.emotion-card.active .emotion-card-img {
  background: rgba(var(--color-accent-rgb), 0.12);
}
.emotion-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.45rem;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.28));
}

/* Text area below image */
.emotion-card-text {
  padding: 0.6rem 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.emotion-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-white);
  line-height: 1.3;
}
.emotion-caption {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  font-style: italic;
}

/* Delio specs */
.delio-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.spec-icon { font-size: 1.5rem; }

/* (market and business sections removed) */

/* ===================================================
   SECTION 8 — ROADMAP
   =================================================== */
#roadmap { padding: var(--section-pad); overflow: hidden; }
#roadmap .section-header { text-align: center; }

.roadmap-delio-face {
  position: absolute;
  right: -20px;
  bottom: 2rem;
  width: 200px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.roadmap-delio-face img { width: 100%; }

#roadmap .container { position: relative; z-index: 1; }

/* Timeline — horizontal on desktop */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), rgba(var(--color-accent-rgb), 0.3));
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.timeline-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(var(--color-accent-rgb), 0.4);
  background: var(--color-bg-lightgray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark-muted);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.timeline-circle.active,
.timeline-item.active .timeline-circle {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
  box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.4);
}

.timeline-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card-light);
  text-align: left;
  max-width: 320px;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
}
.timeline-item.active .timeline-card {
  border-color: rgba(var(--color-accent-rgb), 0.3);
  box-shadow: 0 4px 24px rgba(var(--color-accent-rgb), 0.1);
}
.timeline-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.timeline-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}
.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}
.timeline-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.timeline-card li {
  font-size: 0.85rem;
  color: var(--color-text-dark-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.timeline-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ===================================================
   SECTION 9 — TEAM
   =================================================== */
#team { padding: var(--section-pad); }
#team .section-header { text-align: center; }

.card-team { text-align: center; }
.team-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(var(--color-accent-rgb), 0.3);
  background: rgba(var(--color-accent-rgb), 0.1);
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-team h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.team-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.team-bio {
  font-size: 0.85rem;
  color: rgba(176,190,197,0.7);
  line-height: 1.5;
}

/* ===================================================
   SECTION 10 — PARTNERS
   =================================================== */
#partners { padding: var(--section-pad); }
#partners .section-header { text-align: center; }

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.55;
  filter: grayscale(1);
  transition: all var(--transition);
  text-decoration: none;
}
.partner-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
.partner-item img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.partner-item span {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================================
   SECTION 11 — CONTACT / THE ASK
   =================================================== */
#contact { padding: var(--section-pad); }
#contact .section-header { text-align: center; }

.contact-delio-bg {
  position: absolute;
  right: -60px;
  bottom: 0;
  width: 380px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.contact-delio-bg img { width: 100%; }

#contact .container { position: relative; z-index: 1; }

.ask-cards .card { text-align: center; }
.ask-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.ask-cards .card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--color-accent-rgb), 0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.12);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.85rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(var(--color-accent-rgb), 0.95) 50%),
    linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.95) 50%, transparent 50%),
    linear-gradient(to right, rgba(var(--color-accent-rgb), 0.2), rgba(var(--color-accent-rgb), 0.08));
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px),
    calc(100% - 2.25rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 62%;
  background-repeat: no-repeat;
}
.form-group select:hover {
  border-color: rgba(var(--color-accent-rgb), 0.4);
  background-color: rgba(255,255,255,0.08);
}
.form-group select option { background: #14191f; }
.form-group textarea { resize: vertical; min-height: 100px; }

html[dir='rtl'] .form-group select {
  padding-right: 1rem;
  padding-left: 2.85rem;
  background-position:
    18px calc(50% - 3px),
    12px calc(50% - 3px),
    2.25rem 50%;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-danger);
}

/* Form feedback states */
.form-success,
.form-error {
  text-align: center;
  padding: 2rem;
}
.form-success img,
.form-error img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.form-success h3,
.form-error h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
}
.form-success p,
.form-error p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-icon { font-size: 1.25rem; }
.contact-item a {
  color: var(--color-text-muted);
  transition: color var(--transition);
  word-break: break-all;
}
.contact-item a:hover { color: var(--color-accent); }
.contact-item span { color: var(--color-text-muted); }

.linkedin-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent) !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}
.linkedin-link:hover { opacity: 0.8; }

.vision-statement {
  text-align: center;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-top: 4rem;
  padding: 2rem;
  border-top: 1px solid rgba(var(--color-accent-rgb), 0.15);
}

/* ===================================================
   FOOTER
   =================================================== */
#footer {
  background: var(--color-bg-darkest);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 3rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-col--brand img { margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  font-style: italic;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(176,190,197,0.5);
  font-family: var(--font-mono);
}

.footer-col--nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col--nav a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col--nav a:hover { color: var(--color-accent); }

.footer-col--social {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-linkedin:hover { color: var(--color-accent); }

.footer-lang {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-lang button {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.35rem;
  transition: all var(--transition);
}
.footer-lang button:hover,
.footer-lang button.active-lang { color: var(--color-accent); border-color: rgba(var(--color-accent-rgb), 0.4); }

/* ===================================================
   RESPONSIVE — TABLET (640–1024px)
   =================================================== */
@media (max-width: 1024px) {
  :root { --section-pad: 5rem 0; }

  .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-h1 { font-size: clamp(2.25rem, 5vw, 3rem); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { text-align: center; }
  .hero-visual { order: -1; align-items: center; }
  .hero-orbit-cluster { width: min(90vw, 460px); --orbit-scale: 1; }

  .problem-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 2rem;
  }

  /* arch hub: reduce padding + gaps at tablet */
  .arch-hub-grid { padding: 2rem; column-gap: 2rem; row-gap: 2rem; }
  .arch-hw-row { padding: 1rem 1.5rem; gap: 1rem; }

  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline-item { align-items: flex-start; flex-direction: row; gap: 1.5rem; }
  .timeline-node { flex-direction: column; align-items: center; }
  .timeline-card { max-width: 100%; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col--brand { grid-column: 1 / -1; }
}

/* ===================================================
   RESPONSIVE — MOBILE (< 640px)
   =================================================== */
@media (max-width: 768px) {
  :root { --section-pad: 4rem 0; }
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .nav-container { justify-content: space-between; }

  /* Hero */
  .hero-orbit-cluster { width: min(96vw, 390px); --orbit-scale: 0.92; }
  .orbit-ring--inner { width: 244px; height: 244px; }
  .orbit-ring--outer { width: 332px; height: 332px; }
  .orbit-core { width: 174px; height: 174px; }
  .orbit-core-logo {
    width: min(170px, 116%);
    transform: scale(1.2);
  }
  .orbit-chip {
    min-width: 102px;
    max-width: 112px;
    padding: 0.38rem 0.48rem;
    border-radius: 0.72rem;
  }
  .orbit-chip-label { font-size: 0.45rem; margin-bottom: 0.18rem; }
  .orbit-chip-value { font-size: 0.62rem; }

  /* Cards */
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }

  /* Problem */
  .problem-layout { grid-template-columns: 1fr; gap: 2rem; }
  .problem-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-photo { max-width: 520px; margin: 0 auto; }
  .problem-photo img { min-height: 0; height: 320px; object-position: center top; }
  .problem-bg-face { width: 150px; left: -28px; bottom: 0; opacity: 0.06; }

  /* Solution bg face */
  .solution-bg-face { display: none; }

  /* Emotion cards */
  .emotion-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
  .emotion-card-text { padding: 0.5rem 0.4rem 0.6rem; }
  .emotion-label { font-size: 0.68rem; }
  .emotion-caption { display: none; }

  #delio-main-face { width: 200px; height: 200px; }

  /* Delio specs */
  .delio-specs { grid-template-columns: repeat(2, 1fr); }

  /* Arch banner */
  .arch-banner { flex-direction: column; text-align: center; gap: 1rem; }
  .arch-hub-grid { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; row-gap: 1.5rem; }
  .arch-hub-mod--3 { grid-row: 1; grid-column: 1; max-width: 100%; }
  .arch-brain-core { grid-column: 1; grid-row: 2; }
  .arch-hub-mod--1 { grid-column: 1; grid-row: 3; justify-self: center; max-width: 100%; }
  .arch-hub-mod--2 { grid-column: 1; grid-row: 4; justify-self: center; max-width: 100%; }
  .arch-brain-core::after { display: none; }
  .arch-hw-divider { padding: 0.5rem 1rem; }
  .arch-stack-header { padding: 0.75rem 1rem; }
  .arch-hw-row { padding: 1rem; gap: 1rem; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col--brand { grid-column: auto; }

  /* Timeline */
  .timeline-item { flex-direction: column; align-items: center; }

  /* Video */
  .video-showcase video { max-height: 220px; }

  /* Diamond deco */
  .diamond-deco { display: none; }

  /* Section h2 */
  .section-h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }

  .brain-diagram { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .hero-orbit-cluster { width: min(98vw, 340px); --orbit-scale: 0.8; }
  .orbit-slot--outer { display: none; }
  .orbit-chip { min-width: 96px; max-width: 106px; }
  .emotion-cards { grid-template-columns: repeat(2, 1fr); }
  .problem-cards-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   RTL SUPPORT (Arabic)
   =================================================== */
[dir="rtl"] #problem .card-light { text-align: right; }
[dir="rtl"] .biz-list li,
[dir="rtl"] .timeline-card li {
  padding-left: 0;
  padding-right: 1.2rem;
}
[dir="rtl"] .biz-list li::before,
[dir="rtl"] .timeline-card li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .arch-banner { flex-direction: row-reverse; }
[dir="rtl"] .arch-layer { direction: rtl; }
[dir="rtl"] .orbit-chip { text-align: right; }
[dir="rtl"] .orbit-core::before { right: auto; left: 26px; }
[dir="rtl"] .footer-col--nav a { text-align: right; }
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .timeline-item { flex-direction: row-reverse; }
[dir="rtl"] .timeline-card li { text-align: right; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .timeline::before { left: auto; right: 50px; }

/* ===================================================
   NEURAL GLOW ANIMATION FOR BRAIN SVG
   =================================================== */
@keyframes neuralPulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0.4; }
}
.brain-svg circle:last-of-type {
  animation: neuralPulse 3s ease-in-out infinite;
}

/* Subtle shimmer on active emotion card */
@keyframes shimmer {
  0%   { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0); }
  50%  { box-shadow: 0 0 16px 2px rgba(var(--color-accent-rgb), 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0); }
}
.emotion-card.active { animation: shimmer 2.5s ease-in-out infinite; }

/* Count-up animation class */
.counting { transition: none; }

/* ===================================================
   ARCHITECTURE HUB DIAGRAM
   =================================================== */
.arch-hub-diagram {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.09);
  margin-bottom: 3rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.arch-stack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--color-bg-dark);
  border-bottom: 2px solid var(--color-accent);
}
.arch-stack-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.arch-stack-header-left .mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.arch-stack-header-left span:last-child {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.arch-stack-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(135,169,206,0.7);
  border: 1px solid rgba(135,169,206,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

/* Hub grid: 3-column layout with brain at center */
.arch-hub-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 2.5rem;
  row-gap: 2.5rem;
  padding: 2.5rem;
  align-items: center;
  justify-items: center;
  position: relative;
}
.arch-hub-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 68%, rgba(var(--color-accent-rgb), 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Module cards */
.arch-hub-mod {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  max-width: 220px;
  width: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.arch-hub-mod:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(var(--color-accent-rgb), 0.14);
}
.arch-hub-mod--3 {
  grid-column: 1 / 4;
  grid-row: 1;
  justify-self: center;
  max-width: 420px;
  background: rgba(var(--color-accent-rgb), 0.11);
  border: 2px solid rgba(var(--color-accent-rgb), 0.45);
}
.arch-hub-mod--1 {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  background: rgba(var(--color-accent-rgb), 0.035);
  border: 2px solid rgba(var(--color-accent-rgb), 0.15);
}
.arch-hub-mod--2 {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  background: rgba(var(--color-accent-rgb), 0.065);
  border: 2px solid rgba(var(--color-accent-rgb), 0.25);
}
.arch-mod-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}
.arch-mod-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
}
.arch-mod-icon { font-size: 1.15rem; }
.arch-hub-mod h3 {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.arch-mod-brain-tag {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  color: var(--color-accent);
  opacity: 0.75;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.3rem;
}
.arch-hub-mod p {
  font-size: 0.71rem;
  color: var(--color-text-dark-muted);
  line-height: 1.5;
}

/* Brain core node */
.arch-brain-core {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-accent-rgb), 0.09);
  border: 2px solid rgba(var(--color-accent-rgb), 0.4);
  box-shadow: 0 0 0 10px rgba(var(--color-accent-rgb), 0.05),
              0 0 0 20px rgba(var(--color-accent-rgb), 0.02);
  text-align: center;
}
/* Vertical spoke: mod-03 ↕ brain */
.arch-brain-core::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  height: 2.5rem;
  width: 2px;
  background: linear-gradient(to top,
    rgba(var(--color-accent-rgb), 0.5) 0%,
    rgba(var(--color-accent-rgb), 0.1) 100%);
  pointer-events: none;
}
/* Horizontal spoke: mod-01 ← brain → mod-02 */
.arch-brain-core::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -200px;
  right: -200px;
  height: 2px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(var(--color-accent-rgb), 0.2) 25%,
    rgba(var(--color-accent-rgb), 0.35) 50%,
    rgba(var(--color-accent-rgb), 0.2) 75%,
    transparent 100%);
  pointer-events: none;
}
/* Pulsing outer ring */
.arch-brain-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--color-accent-rgb), 0.25);
  animation: archPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes archPulse {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(1.07); opacity: 1;   }
}
/* Outer static ring */
.arch-brain-ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-accent-rgb), 0.1);
  pointer-events: none;
}
.arch-bc-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.15rem;
  position: relative;
  z-index: 2;
}
.arch-bc-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  display: block;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}
.arch-bc-sub {
  font-size: 0.54rem;
  color: var(--color-text-dark-muted);
  letter-spacing: 0.05em;
  display: block;
  position: relative;
  z-index: 2;
}

/* Hardware row */
.arch-hw-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: rgba(0,0,0,0.022);
}
.arch-hw-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-dark-muted);
  text-align: center;
  font-weight: 700;
}
.arch-hw-row h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}
.arch-hw-row p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-dark-muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.arch-existing-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-dark-muted);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.arch-hw-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 2rem;
  background: rgba(0,0,0,0.03);
  border-top: 1px dashed rgba(0,0,0,0.1);
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.arch-hw-divider::before,
.arch-hw-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.arch-hw-divider span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ===================================================
   EMOTION CARDS — REDESIGNED
   =================================================== */

/* Page-load stagger for hero */
.hero-content .eyebrow   { animation: fadeUp 0.6s ease 0.1s both; }
.hero-h1                 { animation: fadeUp 0.6s ease 0.2s both; }
.hero-sub                { animation: fadeUp 0.6s ease 0.3s both; }
.hero-ctas               { animation: fadeUp 0.6s ease 0.4s both; }
.hero-trust              { animation: fadeUp 0.6s ease 0.5s both; }
.hero-visual             { animation: fadeUp 0.6s ease 0.3s both; }

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

/* Remove default scroll animations on already-visible hero items */
.hero-content .animate-on-scroll,
.hero-visual.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}
