/* sitealive.css — SiteAlive GuardWorks v2.0 */

:root {
  --sa-black: #06080b;
  --sa-dark: #0a0e14;
  --sa-panel: #0f1520;
  --sa-border: #182030;
  --sa-border2: #1e2a3d;
  --sa-accent: #2b7fd4;
  --sa-accent-glow: rgba(43,127,212,.2);
  --sa-red: #c0392b;
  --sa-green: #22c55e;
  --sa-green-dim: rgba(34,197,94,.15);
  --sa-yellow: #f59e0b;
  --sa-orange: #e67e22;
  --sa-white: #eef3fa;
  --sa-text: #8fa8c8;
  --sa-dim: #3a4d62;
  --sa-mono: 'JetBrains Mono', 'Courier New', monospace;
  --sa-display: 'Bebas Neue', 'Impact', sans-serif;
  --sa-body: 'Inter', -apple-system, sans-serif;
}

/* ══ TRIGGER FIXED ══ */
#sitealive-trigger {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: rgba(6, 8, 11, 0.92);
  border: 1px solid var(--sa-accent);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  transform: translateY(16px);
  box-shadow: 0 0 0 0 var(--sa-accent-glow);
}
#sitealive-trigger.sa-visible {
  opacity: 1;
  transform: translateY(0);
  animation: triggerGlow 3s ease infinite;
}
#sitealive-trigger:hover {
  background: rgba(26, 95, 168, 0.3);
  box-shadow: 0 0 32px var(--sa-accent-glow), 0 0 0 1px var(--sa-accent);
  transform: translateY(-2px);
}
@keyframes triggerGlow {
  0%,100% { box-shadow: 0 0 12px rgba(43,127,212,.15); }
  50% { box-shadow: 0 0 28px rgba(43,127,212,.35); }
}
.sa-trigger-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sa-green);
  flex-shrink: 0;
  position: relative;
}
.sa-trigger-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--sa-green);
  animation: ringPulse 2s ease infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.sa-trigger-text {
  font-family: var(--sa-mono);
  font-size: 11px;
  color: var(--sa-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ══ HERO BUTTON ══ */
.sa-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--sa-accent);
  color: var(--sa-white);
  font-family: var(--sa-mono);
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .3s;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.sa-hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sa-accent);
  transform: translateX(-101%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.sa-hero-btn:hover::before { transform: translateX(0); }
.sa-hero-btn:hover { box-shadow: 0 0 32px var(--sa-accent-glow); }
.sa-hero-btn span { position: relative; z-index: 1; }
.sa-hero-btn-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sa-green); position: relative; z-index: 1; animation: ringPulse 2s ease infinite; }

/* ══ OVERLAY ══ */
#sitealive-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  background: rgba(6, 8, 11, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
#sitealive-overlay.sa-open {
  display: flex;
  flex-direction: column;
}

/* noise overlay */
#sitealive-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

/* scanlines */
#sitealive-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.03) 2px,
    rgba(0,0,0,.03) 4px
  );
  pointer-events: none;
}

/* ══ PROGRESS ══ */
.sa-progress {
  height: 1px;
  background: var(--sa-border);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.sa-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sa-accent) 0%, var(--sa-green) 100%);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.sa-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 4px;
  height: 5px;
  background: var(--sa-green);
  box-shadow: 0 0 8px var(--sa-green);
}

/* ══ TOPBAR ══ */
.sa-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--sa-border);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.sa-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sa-logo {
  font-family: var(--sa-display);
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--sa-white);
}
.sa-sep { color: var(--sa-border2); }
.sa-story-label {
  font-family: var(--sa-mono);
  font-size: 10px;
  color: var(--sa-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sa-dots-wrap { display: flex; gap: 8px; align-items: center; }
.sa-dot {
  width: 24px;
  height: 2px;
  background: var(--sa-border2);
  cursor: pointer;
  transition: all .3s;
}
.sa-dot.sa-dot-active { background: var(--sa-accent); box-shadow: 0 0 8px var(--sa-accent-glow); width: 32px; }
.sa-dot:hover { background: var(--sa-dim); }
.sa-close-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--sa-border);
  background: transparent;
  color: var(--sa-dim);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  font-family: var(--sa-mono);
  flex-shrink: 0;
}
.sa-close-btn:hover { color: var(--sa-white); border-color: var(--sa-accent); box-shadow: 0 0 16px var(--sa-accent-glow); }

/* ══ MAIN AREA ══ */
.sa-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* ══ SLIDE ══ */
.sa-slide {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: saSlideIn .5s cubic-bezier(.4,0,.2,1);
}
.sa-slide.sa-slide-active { display: flex; }
@keyframes saSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══ SCENE ══ */
.sa-scene {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 60px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* ══ CINEMA TYPE ══ */
.sa-cin-label {
  font-family: var(--sa-mono);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--sa-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: saFadeUp .5s ease forwards;
}
.sa-cin-line {
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  animation: saFadeUp .6s cubic-bezier(.4,0,.2,1) forwards;
  margin-bottom: 4px;
}
@keyframes saFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.sa-cin-xl { font-family: var(--sa-display); font-size: clamp(36px,6vw,72px); letter-spacing: 3px; }
.sa-cin-lg { font-family: var(--sa-display); font-size: clamp(28px,4.5vw,56px); letter-spacing: 2px; }
.sa-cin-md { font-family: var(--sa-body); font-size: clamp(14px,1.8vw,20px); font-weight: 300; line-height: 1.6; margin-bottom: 2px; }
.sa-cin-sm { height: 12px; }
.sa-col-white { color: var(--sa-white); }
.sa-col-accent { color: var(--sa-accent); }
.sa-col-green { color: var(--sa-green); }
.sa-col-dim { color: var(--sa-dim); }
.sa-col-text { color: var(--sa-text); }

/* ══ NETWORK ══ */
.sa-net-wrap { width: 100%; position: relative; }
.sa-net-headline {
  font-family: var(--sa-display);
  font-size: clamp(18px,3vw,32px);
  color: var(--sa-white);
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0;
  animation: saFadeUp .5s ease .1s forwards;
}
#sa-net-canvas { width: 100%; height: 200px; }

/* ══ TRILOGY ══ */
.sa-trilogy-headline {
  font-family: var(--sa-display);
  font-size: clamp(16px,2.5vw,28px);
  color: var(--sa-white);
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: saFadeUp .5s ease .1s forwards;
}
.sa-trilogy-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; width: 100%; }
.sa-trilogy-card {
  border: 1px solid var(--sa-border);
  padding: 20px 16px;
  background: rgba(15,21,32,.8);
  opacity: 0;
  transform: translateY(20px);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.sa-trilogy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sa-accent);
  transform: scaleX(0);
  transition: transform .5s ease;
}
.sa-trilogy-card.sa-card-show { opacity: 1; transform: translateY(0); }
.sa-trilogy-card.sa-card-show::before { transform: scaleX(1); }
.sa-card-icon { font-size: 24px; margin-bottom: 10px; color: var(--sa-accent); }
.sa-card-name { font-family: var(--sa-display); font-size: 18px; color: var(--sa-white); letter-spacing: 2px; margin-bottom: 6px; }
.sa-card-tag { font-family: var(--sa-mono); font-size: 9px; color: var(--sa-green); letter-spacing: 2px; margin-bottom: 8px; }
.sa-card-desc { font-size: 12px; color: var(--sa-text); line-height: 1.5; }

/* ══ SECURITY LAYERS ══ */
.sa-sec-headline {
  font-family: var(--sa-display);
  font-size: clamp(22px,4vw,44px);
  color: var(--sa-white);
  letter-spacing: 3px;
  margin-bottom: 6px;
  opacity: 0;
  animation: saFadeUp .5s ease .1s forwards;
}
.sa-sec-sub {
  font-family: var(--sa-mono);
  font-size: 11px;
  color: var(--sa-text);
  letter-spacing: 1px;
  margin-bottom: 20px;
  opacity: 0;
  animation: saFadeUp .5s ease .3s forwards;
}
.sa-sec-layers { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.sa-sec-layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--sa-border);
  background: rgba(15,21,32,.6);
  opacity: 0;
  transform: translateX(-24px);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.sa-sec-layer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sa-accent);
  transform: scaleY(0);
  transition: transform .4s ease;
}
.sa-sec-layer.sa-layer-show { opacity: 1; transform: translateX(0); }
.sa-sec-layer.sa-layer-show::before { transform: scaleY(1); }
.sa-layer-icon { font-size: 14px; width: 20px; text-align: center; flex-shrink: 0; }
.sa-layer-name { font-family: var(--sa-mono); font-size: 10px; color: var(--sa-accent); letter-spacing: 2px; width: 120px; flex-shrink: 0; }
.sa-layer-desc { font-size: 12px; color: var(--sa-text); flex: 1; }
.sa-layer-status { font-family: var(--sa-mono); font-size: 9px; color: var(--sa-green); margin-left: auto; flex-shrink: 0; letter-spacing: 1px; }

/* ══ LOGOS ══ */
.sa-logos-headline {
  font-family: var(--sa-display);
  font-size: clamp(20px,3.5vw,40px);
  color: var(--sa-white);
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0;
  animation: saFadeUp .5s ease .1s forwards;
}
.sa-logos-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; width: 100%; margin-bottom: 16px; }
.sa-logo-item {
  border: 1px solid var(--sa-border);
  padding: 12px 8px;
  text-align: center;
  font-family: var(--sa-mono);
  font-size: 9px;
  color: var(--sa-dim);
  letter-spacing: 1px;
  opacity: 0;
  transition: all .4s ease;
  line-height: 1.4;
}
.sa-logo-item.sa-logo-show {
  opacity: 1;
  color: var(--sa-white);
  border-color: var(--sa-border2);
  background: rgba(43,127,212,.04);
}
.sa-logos-sub { font-size: 13px; color: var(--sa-text); text-align: center; opacity: 0; animation: saFadeUp .5s ease 1.8s forwards; }

/* ══ SPLIT ══ */
.sa-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.sa-split-label { font-family: var(--sa-mono); font-size: 9px; letter-spacing: 3px; margin-bottom: 12px; }
.sa-split-label.sa-label-red { color: var(--sa-red); }
.sa-split-label.sa-label-green { color: var(--sa-green); }
.sa-chaos-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sa-border);
  padding: 7px 12px;
  font-family: var(--sa-mono);
  font-size: 10px;
  color: var(--sa-dim);
  margin-bottom: 4px;
  animation: chaosFlicker 4s infinite;
}
@keyframes chaosFlicker {
  0%,100% { transform: translateX(0); opacity: .5; }
  20% { transform: translateX(2px); opacity: .8; }
  60% { transform: translateX(-1px); opacity: .6; }
}
.sa-order-box {
  border: 1px solid rgba(34,197,94,.3);
  background: rgba(34,197,94,.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 160px;
}
.sa-order-word1 { font-family: var(--sa-display); font-size: 44px; color: var(--sa-white); letter-spacing: 2px; }
.sa-order-word2 { font-family: var(--sa-display); font-size: 44px; color: var(--sa-green); letter-spacing: 2px; }
.sa-order-roles { font-family: var(--sa-mono); font-size: 9px; color: var(--sa-dim); text-align: center; letter-spacing: 1px; line-height: 1.8; }

/* ══ GROWTH ══ */
.sa-growth-headline {
  font-family: var(--sa-display);
  font-size: clamp(18px,3vw,36px);
  color: var(--sa-white);
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0;
  animation: saFadeUp .5s ease .1s forwards;
}
.sa-growth-points { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; width: 100%; }
.sa-growth-point {
  border: 1px solid var(--sa-border);
  padding: 14px 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: all .5s cubic-bezier(.4,0,.2,1);
}
.sa-growth-point.sa-point-show { opacity: 1; transform: translateY(0); }
.sa-growth-val { font-family: var(--sa-display); font-size: 32px; color: var(--sa-accent); letter-spacing: 1px; }
.sa-growth-label { font-family: var(--sa-mono); font-size: 9px; color: var(--sa-text); letter-spacing: 1px; margin: 4px 0; }
.sa-growth-desc { font-size: 11px; color: var(--sa-dim); line-height: 1.4; }

/* ══ STEPS ══ */
.sa-steps { display: flex; flex-direction: column; gap: 0; width: 100%; }
.sa-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--sa-border);
  opacity: 0;
  transform: translateX(-20px);
  transition: all .6s cubic-bezier(.4,0,.2,1);
}
.sa-step:last-child { border-bottom: none; }
.sa-step.sa-step-show { opacity: 1; transform: translateX(0); }
.sa-step-num { font-family: var(--sa-display); font-size: 52px; color: var(--sa-border2); line-height: 1; flex-shrink: 0; width: 60px; transition: color .3s; }
.sa-step.sa-step-show .sa-step-num { color: var(--sa-accent); }
.sa-step-body { padding-top: 10px; }
.sa-step-title { font-size: 15px; font-weight: 600; color: var(--sa-white); margin-bottom: 4px; }
.sa-step-desc { font-size: 13px; color: var(--sa-text); line-height: 1.6; }

/* ══ BOTTOM BAR ══ */
.sa-bottom {
  border-top: 1px solid var(--sa-border);
  padding: 14px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: rgba(6,8,11,.8);
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.sa-q-row { display: flex; gap: 8px; align-items: center; }
.sa-q-input {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sa-border);
  color: var(--sa-white);
  padding: 10px 16px;
  font-family: var(--sa-body);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
  font-style: italic;
}
.sa-q-input:focus { border-color: var(--sa-accent); font-style: normal; }
.sa-q-input::placeholder { color: var(--sa-dim); }
.sa-q-btn {
  background: var(--sa-accent);
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: var(--sa-mono);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.sa-q-btn:hover { background: #3b8fd4; box-shadow: 0 0 20px rgba(43,127,212,.4); }
.sa-answer-box {
  display: none;
  font-size: 13px;
  color: var(--sa-text);
  line-height: 1.7;
  padding: 10px 14px;
  border-left: 2px solid var(--sa-accent);
  background: rgba(43,127,212,.05);
  animation: saFadeUp .3s ease;
}
.sa-links-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sa-page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--sa-border2);
  color: var(--sa-accent);
  font-family: var(--sa-mono);
  font-size: 9px;
  padding: 5px 14px;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}
.sa-page-link:hover { border-color: var(--sa-accent); background: var(--sa-accent-glow); box-shadow: 0 0 12px rgba(43,127,212,.2); }
.sa-nav-row { display: flex; justify-content: space-between; align-items: center; }
.sa-nav-btn {
  background: transparent;
  border: 1px solid var(--sa-border);
  color: var(--sa-dim);
  font-family: var(--sa-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all .2s;
}
.sa-nav-btn:hover { color: var(--sa-white); border-color: var(--sa-accent); }
.sa-nav-btn:disabled { opacity: .2; cursor: default; pointer-events: none; }
.sa-nav-counter { font-family: var(--sa-mono); font-size: 10px; color: var(--sa-dim); letter-spacing: 2px; }
.sa-slide-dots { display: flex; gap: 4px; }
.sa-s-dot { width: 16px; height: 2px; background: var(--sa-border2); cursor: pointer; transition: all .2s; }
.sa-s-dot.sa-s-dot-active { background: var(--sa-accent); }

/* ══ CHAT ══ */
#sa-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sa-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
  transition: all .3s;
}
#sa-chat-btn:hover { transform: scale(1.1); box-shadow: 0 4px 32px rgba(192,57,43,.6); }
#sa-chat-widget {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 320px;
  background: var(--sa-panel);
  border: 1px solid var(--sa-border);
  z-index: 99998;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
#sa-chat-widget.sa-chat-open { display: flex; animation: saFadeUp .3s ease; }
.sa-chat-hdr { padding: 12px 16px; border-bottom: 1px solid var(--sa-border); display: flex; align-items: center; gap: 10px; }
.sa-chat-hdr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sa-green); animation: ringPulse 2s infinite; }
.sa-chat-hdr-name { font-size: 12px; font-weight: 600; color: var(--sa-white); }
.sa-chat-hdr-status { font-family: var(--sa-mono); font-size: 9px; color: var(--sa-green); margin-left: auto; letter-spacing: 1px; }
.sa-chat-msgs { padding: 12px; max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.sa-chat-msgs::-webkit-scrollbar { width: 2px; }
.sa-chat-msgs::-webkit-scrollbar-thumb { background: var(--sa-border); }
.sa-chat-msg { max-width: 88%; font-size: 12px; line-height: 1.55; }
.sa-chat-msg.sa-in { align-self: flex-start; background: rgba(255,255,255,.04); border: 1px solid var(--sa-border); padding: 8px 12px; border-radius: 2px 8px 8px 8px; color: var(--sa-text); }
.sa-chat-msg.sa-out { align-self: flex-end; background: var(--sa-red); color: white; padding: 8px 12px; border-radius: 8px 8px 2px 8px; }
.sa-chat-foot { padding: 10px; border-top: 1px solid var(--sa-border); display: flex; gap: 6px; }
.sa-chat-inp { flex: 1; background: rgba(255,255,255,.03); border: 1px solid var(--sa-border); color: var(--sa-white); padding: 8px 12px; font-size: 12px; font-family: var(--sa-body); outline: none; }
.sa-chat-inp::placeholder { color: var(--sa-dim); }
.sa-chat-inp:focus { border-color: var(--sa-red); }
.sa-chat-send { background: var(--sa-red); color: white; border: none; padding: 8px 14px; cursor: pointer; font-size: 14px; }

/* ══ REEL BUTTON ══ */
.sa-reel-btn {
  background: rgba(192,57,43,.15);
  border-color: var(--sa-red) !important;
  color: var(--sa-red) !important;
  transition: all .2s;
}
.sa-reel-btn:hover { background: rgba(192,57,43,.3) !important; }
.sa-reel-btn.sa-reel-active {
  background: var(--sa-red) !important;
  color: white !important;
  animation: reelPulse 1.5s ease infinite;
}
@keyframes reelPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}

/* ══ RESPONSIVE ══ */

/* Tablet: ≤ 768px */
@media (max-width: 768px) {
  .sa-scene { padding: 24px 28px; }
  .sa-bottom { padding: 12px 28px; }
  .sa-trilogy-cards { grid-template-columns: repeat(2,1fr); }
  .sa-growth-points { grid-template-columns: repeat(2,1fr); }
  .sa-logos-grid { grid-template-columns: repeat(3,1fr); }
  .sa-cin-xl { font-size: clamp(28px,7vw,52px); }
  .sa-cin-lg { font-size: clamp(22px,5.5vw,40px); }
  .sa-dots-wrap { gap: 5px; }
  .sa-dot { width: 18px; }
  .sa-dot.sa-dot-active { width: 24px; }
  #sa-chat-widget { width: min(320px, calc(100vw - 32px)); right: 16px; }
}

/* Mobile: ≤ 480px */
@media (max-width: 480px) {
  /* Trigger */
  #sitealive-trigger {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    padding: 11px 18px;
    white-space: nowrap;
  }
  #sitealive-trigger.sa-visible {
    transform: translateX(-50%) translateY(0);
    animation: triggerGlowMobile 3s ease infinite;
  }
  @keyframes triggerGlowMobile {
    0%,100% { box-shadow: 0 0 12px rgba(43,127,212,.15); }
    50%      { box-shadow: 0 0 28px rgba(43,127,212,.35); }
  }
  .sa-trigger-text { font-size: 10px; letter-spacing: 1px; }

  /* Chat btn */
  #sa-chat-btn { bottom: 16px; right: 16px; width: 44px; height: 44px; font-size: 18px; }
  #sa-chat-widget { width: calc(100vw - 24px); right: 12px; bottom: 72px; }

  /* Topbar */
  .sa-topbar { padding: 10px 14px; }
  .sa-topbar-left { gap: 8px; }
  .sa-logo { font-size: 13px; letter-spacing: 2px; }
  .sa-sep { display: none; }
  .sa-story-label { display: none; }
  .sa-dots-wrap { gap: 4px; }
  .sa-dot { width: 14px; }
  .sa-dot.sa-dot-active { width: 20px; }
  .sa-close-btn { width: 30px; height: 30px; font-size: 16px; }

  /* Scene */
  .sa-scene { padding: 16px 16px; }

  /* Cinema */
  .sa-cin-xl { font-size: clamp(24px,8vw,40px); letter-spacing: 1px; }
  .sa-cin-lg { font-size: clamp(20px,6.5vw,32px); letter-spacing: 1px; }
  .sa-cin-md { font-size: 14px; }
  .sa-cin-label { font-size: 8px; margin-bottom: 16px; }

  /* Network */
  #sa-net-canvas { height: 140px; }
  .sa-net-headline { font-size: clamp(14px,5vw,22px); }

  /* Trilogy */
  .sa-trilogy-cards { grid-template-columns: 1fr; gap: 8px; }
  .sa-trilogy-headline { font-size: clamp(14px,4.5vw,20px); margin-bottom: 14px; }
  .sa-trilogy-card { padding: 14px 12px; }
  .sa-card-name { font-size: 15px; }

  /* Security */
  .sa-sec-headline { font-size: clamp(18px,6vw,30px); }
  .sa-sec-layers { gap: 6px; }
  .sa-sec-layer { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
  .sa-layer-name { width: auto; min-width: 90px; }
  .sa-layer-status { display: none; }

  /* Logos */
  .sa-logos-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .sa-logo-item { font-size: 8px; padding: 10px 6px; }
  .sa-logos-headline { font-size: clamp(16px,5.5vw,26px); }

  /* Split */
  .sa-split { grid-template-columns: 1fr; gap: 12px; }
  .sa-order-box { min-height: 100px; }
  .sa-order-word1, .sa-order-word2 { font-size: 32px; }

  /* Growth */
  .sa-growth-points { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .sa-growth-headline { font-size: clamp(14px,5vw,24px); }
  .sa-growth-val { font-size: 26px; }
  .sa-growth-point { padding: 10px; }

  /* Steps */
  .sa-step-num { font-size: 36px; width: 44px; }
  .sa-step-title { font-size: 13px; }
  .sa-step-desc { font-size: 12px; }

  /* Bottom bar */
  .sa-bottom { padding: 10px 14px; gap: 8px; }
  .sa-q-row { flex-wrap: wrap; }
  .sa-q-input { min-width: 0; font-size: 13px; padding: 9px 12px; }
  .sa-q-btn { width: 100%; padding: 9px 16px; font-size: 11px; }
  .sa-nav-row { gap: 6px; }
  .sa-nav-btn { padding: 6px 10px; font-size: 9px; letter-spacing: 1px; }
  .sa-nav-counter { font-size: 9px; }
  .sa-answer-box { font-size: 12px; padding: 8px 10px; }
  .sa-links-row { gap: 6px; }
  .sa-page-link { font-size: 8px; padding: 4px 10px; }

  /* Hero button */
  .sa-hero-btn { padding: 10px 18px; font-size: 10px; }
}

/* Small mobile: ≤ 360px */
@media (max-width: 360px) {
  .sa-cin-xl { font-size: 22px; }
  .sa-cin-lg { font-size: 18px; }
  .sa-growth-points { grid-template-columns: 1fr 1fr; }
  .sa-nav-btn { padding: 5px 8px; font-size: 8px; }
  .sa-dots-wrap { display: none; }
}
