:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #111118;
  --accent: #FF6B35;
  --accent-soft: #FF8A5C;
  --accent-glow: rgba(255, 107, 53, 0.3);
  --accent-glow-soft: rgba(255, 107, 53, 0.08);
  --text-primary: #F5F5F7;
  --text-secondary: #8E8E93;
  --text-tertiary: #5A5A60;
  --wave-active: #FF6B35;
  --wave-idle: rgba(255, 107, 53, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --panel-bg: rgba(17, 17, 24, 0.55);
}

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

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

/* ambient backdrop — warm horizon glow, very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 55%, rgba(255, 107, 53, 0.08), transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255, 107, 53, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

#root {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo-mark-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(120, 200, 255, 0.18));
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lw-arkana {
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.12em;
}

.lw-tech {
  font-size: 0.62rem;
  color: var(--text-secondary);
  letter-spacing: 0.35em;
  margin-top: 3px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Language toggle — segmented pill */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: rgba(17, 17, 24, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.lang-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 100px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.lang-opt {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.4s ease;
  min-width: 36px;
  text-align: center;
}

.lang-opt:hover {
  color: var(--text-secondary);
}

.lang-opt.is-active {
  color: var(--accent);
}

.lang-divider {
  width: 1px;
  height: 12px;
  background: var(--border-subtle);
  z-index: 1;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================
   STAGE
   ========================================= */
.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
}

/* top-of-page micro caption above core */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 8px;
  text-wrap: balance;
  max-width: min(900px, calc(100vw - 760px));
}

@media (max-width: 1180px) {
  .headline { max-width: 100%; }
}

.headline em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

.subheadline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 480px;
  margin-bottom: 56px;
  text-wrap: pretty;
  line-height: 1.6;
}

/* =========================================
   CORE — wave rings
   ========================================= */
.core-wrap {
  position: relative;
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.core-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--wave-idle);
  animation: pulseIdle 4s ease-in-out infinite;
}

.core-wrap.speaking .ring {
  animation: pulseSpeaking 1.4s ease-in-out infinite;
  border-color: var(--wave-active);
}

.core-wrap.listening .ring {
  animation: pulseListening 1.8s ease-in-out infinite;
  border-color: var(--wave-active);
}

.core-wrap.processing .ring {
  animation: pulseProcessing 2.2s ease-in-out infinite;
  border-color: var(--accent-soft);
}

.ring-1 { width: 180px; height: 180px; animation-delay: 0s; }
.ring-2 { width: 260px; height: 260px; animation-delay: 0.3s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 0.6s; }
.ring-4 { width: 420px; height: 420px; animation-delay: 0.9s; }
.ring-5 { width: 500px; height: 500px; animation-delay: 1.2s; }

@keyframes pulseIdle {
  0%   { transform: scale(0.95); opacity: 0.6; }
  50%  { transform: scale(1.04); opacity: 0.25; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

@keyframes pulseSpeaking {
  0%   { transform: scale(0.92); opacity: 0.9; border-width: 1.5px; }
  50%  { transform: scale(1.15); opacity: 0.2; border-width: 1px; }
  100% { transform: scale(0.92); opacity: 0.9; border-width: 1.5px; }
}

@keyframes pulseListening {
  0%   { transform: scale(0.98); opacity: 0.8; }
  50%  { transform: scale(1.06); opacity: 0.35; }
  100% { transform: scale(0.98); opacity: 0.8; }
}

@keyframes pulseProcessing {
  0%   { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50%  { transform: scale(1.02) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
}

/* core button */
.core-btn {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.12), rgba(17, 17, 24, 0.9) 70%);
  border: 1px solid rgba(255, 107, 53, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 0 30px rgba(255, 107, 53, 0.05);
}

.core-wrap.speaking .core-btn,
.core-wrap.listening .core-btn {
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.35), rgba(255, 107, 53, 0.08) 70%);
  border-color: rgba(255, 107, 53, 0.6);
  box-shadow:
    0 0 60px rgba(255, 107, 53, 0.4),
    0 0 120px rgba(255, 107, 53, 0.2),
    inset 0 0 40px rgba(255, 107, 53, 0.15);
}

.core-wrap.processing .core-btn {
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.2), rgba(17, 17, 24, 0.9) 70%);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow:
    0 0 30px rgba(255, 107, 53, 0.2),
    inset 0 0 20px rgba(255, 107, 53, 0.08);
}

.core-btn:hover {
  transform: scale(1.04);
}

/* inner orb — equalizer bars */
.eq {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
}

.eq span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  height: 4px;
  transition: height 0.4s ease, opacity 0.4s ease;
  opacity: 0.4;
}

.core-wrap.idle .eq span:nth-child(1) { height: 6px; }
.core-wrap.idle .eq span:nth-child(2) { height: 10px; }
.core-wrap.idle .eq span:nth-child(3) { height: 14px; }
.core-wrap.idle .eq span:nth-child(4) { height: 10px; }
.core-wrap.idle .eq span:nth-child(5) { height: 6px; }

.core-wrap.speaking .eq span,
.core-wrap.listening .eq span {
  opacity: 1;
  animation: eqBounce 0.9s ease-in-out infinite;
}

.core-wrap.speaking .eq span:nth-child(1),
.core-wrap.listening .eq span:nth-child(1) { animation-delay: 0s; }
.core-wrap.speaking .eq span:nth-child(2),
.core-wrap.listening .eq span:nth-child(2) { animation-delay: 0.15s; }
.core-wrap.speaking .eq span:nth-child(3),
.core-wrap.listening .eq span:nth-child(3) { animation-delay: 0.3s; }
.core-wrap.speaking .eq span:nth-child(4),
.core-wrap.listening .eq span:nth-child(4) { animation-delay: 0.45s; }
.core-wrap.speaking .eq span:nth-child(5),
.core-wrap.listening .eq span:nth-child(5) { animation-delay: 0.6s; }

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 24px; }
}

.core-wrap.processing .eq span {
  animation: eqProc 1.2s ease-in-out infinite;
  opacity: 0.8;
}
.core-wrap.processing .eq span:nth-child(1) { animation-delay: 0s; }
.core-wrap.processing .eq span:nth-child(2) { animation-delay: 0.1s; }
.core-wrap.processing .eq span:nth-child(3) { animation-delay: 0.2s; }
.core-wrap.processing .eq span:nth-child(4) { animation-delay: 0.3s; }
.core-wrap.processing .eq span:nth-child(5) { animation-delay: 0.4s; }

@keyframes eqProc {
  0%, 100% { height: 4px; opacity: 0.3; }
  50% { height: 12px; opacity: 1; }
}

/* state caption below core */
.state-caption {
  position: absolute;
  top: calc(100% + 28px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 520px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: opacity 0.4s ease, transform 0.4s ease;
  line-height: 1.6;
}

.state-caption.speaking-status {
  color: var(--accent);
  opacity: 0.7;
}

/* =========================================
   CHAT WINDOW (left side, typewriter)
   ========================================= */
.chat-window {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  max-width: calc(100vw - 64px);
  background: rgba(17, 17, 24, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px 18px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 107, 53, 0.04) inset;
  z-index: 50;
  animation: chatWindowIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Space Grotesk', sans-serif;
}

@keyframes chatWindowIn {
  from { opacity: 0; transform: translate(-12px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

.chat-window__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-window__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.45), rgba(255, 107, 53, 0.08) 70%);
  border: 1px solid rgba(255, 107, 53, 0.5);
  display: grid;
  place-items: center;
  grid-auto-flow: column;
  gap: 2px;
  flex-shrink: 0;
}
.chat-window__avatar span {
  width: 2px;
  height: 9px;
  background: var(--accent);
  border-radius: 1px;
  display: block;
  opacity: 0.85;
}
.chat-window.listening .chat-window__avatar span,
.chat-window.speaking .chat-window__avatar span,
.chat-window.processing .chat-window__avatar span {
  animation: eqBounce 0.9s ease-in-out infinite;
}
.chat-window__avatar span:nth-child(1) { animation-delay: 0s; }
.chat-window__avatar span:nth-child(2) { animation-delay: 0.15s; }
.chat-window__avatar span:nth-child(3) { animation-delay: 0.3s; }

.chat-window__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.chat-window__title strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.005em;
}
.chat-window__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.chat-window__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
  animation: chatDot 1.4s ease-in-out infinite;
}
@keyframes chatDot {
  50% { opacity: 0.4; }
}

.chat-window__body {
  padding-top: 14px;
  min-height: 60px;
  max-height: 50vh;
  overflow-y: auto;
}

.chat-bubble {
  position: relative;
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.18);
  border-radius: 4px 14px 14px 14px;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: 0.005em;
  word-break: break-word;
}

.chat-caret {
  display: inline-block;
  width: 7px;
  height: 0.95rem;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caretBlink 0.8s steps(2) infinite;
}

.chat-window__placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 8px 0;
}
.chat-window__dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chat-window__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  animation: chatTypingDot 1.2s ease-in-out infinite;
}
.chat-window__dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-window__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.caret {
  display: inline-block;
  width: 6px;
  height: 1rem;
  background: var(--accent);
  opacity: 0.55;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caretBlink 0.8s steps(2) infinite;
}

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

/* End call button — compact floating pill just under the core button */
.end-call-btn {
  position: absolute;
  top: calc(50% + 88px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.4);
  color: #ff8a8a;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  animation: endCallIn 0.35s ease;
  white-space: nowrap;
  z-index: 5;
}
.end-call-btn svg {
  width: 14px;
  height: 14px;
}
.end-call-btn:hover {
  background: rgba(255, 60, 60, 0.16);
  border-color: rgba(255, 110, 110, 0.55);
  color: #ffb0b0;
}
.end-call-btn:focus-visible {
  outline: 1px solid #ff8a8a;
  outline-offset: 2px;
}
@keyframes endCallIn {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* =========================================
   CTA
   ========================================= */
.cta-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  /* Anchored to the footer divider line so the button sits flush on it */
  position: absolute;
  left: 50%;
  bottom: 64px; /* footer height ≈ 88px, half-button ≈ 24px → 88 - 24 ≈ 64 */
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 4;
}

.cta-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--bg-primary);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 15px 40px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.4), 0 0 60px rgba(255, 107, 53, 0.15);
  transform: translateY(-1px);
}

.cta-btn svg {
  transition: transform 0.35s ease;
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.cta-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-meta .pwr-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* =========================================
   SERVICES PANEL
   ========================================= */
.services-panel {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 20px;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 53, 0.2) transparent;
}

.services-panel::-webkit-scrollbar { width: 4px; }
.services-panel::-webkit-scrollbar-thumb { background: rgba(255, 107, 53, 0.2); border-radius: 4px; }

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.services-header h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.services-header .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

@keyframes serviceIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.service-item:hover::before {
  opacity: 1;
}

/* Right-aligned hint arrow that appears on hover/focus */
.service-item.is-interactive {
  align-items: center;
}
.service-cta {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: grid;
  place-items: center;
}
.service-cta svg {
  width: 14px;
  height: 14px;
}
.service-item.is-interactive:hover .service-cta,
.service-item.is-interactive:focus-visible .service-cta {
  opacity: 1;
  transform: translateX(0);
}
.service-item.is-interactive:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.service-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

.service-item:hover .service-icon {
  background: rgba(255, 107, 53, 0.14);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}

.service-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.service-text {
  flex: 1;
  min-width: 0;
}

.service-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}

.service-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  position: relative;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
}

.footer p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1180px) {
  .services-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(640px, calc(100% - 48px));
    margin: 24px auto 0;
  }
  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .stage {
    padding-bottom: 40px;
  }
  /* Back to in-flow on smaller screens so it doesn't overlap services */
  .cta-zone {
    position: static;
    transform: none;
    margin-top: 48px;
  }
  /* Chat window slides to the top, full width */
  .chat-window {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 32px));
    max-height: 38vh;
  }
  @keyframes chatWindowIn {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }
}

@media (max-width: 720px) {
  .header {
    padding: 0 24px;
  }
  .header-right {
    gap: 16px;
  }
  .lang-opt {
    padding: 5px 10px;
    min-width: 32px;
    font-size: 0.62rem;
  }
  .stage {
    padding: 110px 20px 40px;
  }
  .core-wrap {
    width: 360px;
    height: 360px;
  }
  .ring-1 { width: 120px; height: 120px; }
  .ring-2 { width: 180px; height: 180px; }
  .ring-3 { width: 240px; height: 240px; }
  .ring-4 { width: 300px; height: 300px; }
  .ring-5 { width: 360px; height: 360px; }
  .core-btn { width: 100px; height: 100px; }
  .headline { font-size: 2rem; }
  .services-panel {
    width: calc(100% - 32px);
  }
  .services-list {
    grid-template-columns: 1fr;
  }
  .state-caption {
    font-size: 0.7rem;
  }
  .state-caption.speaking {
    font-size: 0.95rem;
    padding: 0 16px;
  }
}
