/* =========================================================
   OneAI — Premium Local AI Hub
   Custom styles, animations & glow effects
   ========================================================= */

:root {
  --bg-pure: #000000;
  --bg-deep: #04060d;
  --bg-navy: #070b1a;
  --bg-card: rgba(12, 16, 32, 0.65);
  --border-soft: rgba(120, 140, 220, 0.12);
  --border-glow: rgba(120, 180, 255, 0.35);

  --neon-blue: #3b82ff;
  --neon-cyan: #22e0ff;
  --neon-violet: #a45bff;
  --neon-magenta: #ff3df0;

  --text-primary: #f4f7ff;
  --text-secondary: #aab3cc;
  --text-muted: #6c7491;

  --grad-primary: linear-gradient(135deg, #22e0ff 0%, #3b82ff 35%, #a45bff 70%, #ff3df0 100%);
  --grad-blue-violet: linear-gradient(135deg, #3b82ff 0%, #a45bff 100%);
  --grad-cyan-blue: linear-gradient(135deg, #22e0ff 0%, #3b82ff 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.03em;
}

.font-mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---------- Background grid & ambient ---------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bg-radial-vignette {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(164, 91, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(34, 224, 255, 0.10) 0%, transparent 55%),
    var(--bg-pure);
}

/* Soft floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.orb-blue   { background: #3b82ff; }
.orb-violet { background: #a45bff; }
.orb-cyan   { background: #22e0ff; }
.orb-magenta{ background: #ff3df0; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-30px) translateX(20px); }
}
.float-slow { animation: floatY 14s ease-in-out infinite; }
.float-med  { animation: floatY 9s ease-in-out infinite; }

/* ---------- Gradient text ---------- */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
.text-gradient-blue {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-violet {
  background: var(--grad-blue-violet);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2b6fff 0%, #6b3bff 50%, #c33bff 100%);
  box-shadow:
    0 0 0 1px rgba(140, 170, 255, 0.35) inset,
    0 10px 40px -10px rgba(80, 110, 255, 0.7),
    0 0 60px -15px rgba(164, 91, 255, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(180, 200, 255, 0.55) inset,
    0 18px 60px -10px rgba(80, 110, 255, 0.95),
    0 0 90px -10px rgba(164, 91, 255, 0.95);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(140, 170, 255, 0.45);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

/* ---------- Cards & glass ---------- */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(140, 180, 255, 0.18), rgba(164, 91, 255, 0.06) 50%, rgba(34, 224, 255, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.feature-card {
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px -30px rgba(80, 110, 255, 0.35),
    0 0 0 1px rgba(140, 180, 255, 0.25) inset;
}
.feature-card:hover::before { opacity: 1; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(120, 160, 255, 0.08);
  border: 1px solid rgba(140, 180, 255, 0.2);
  color: #b6c4e8;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ---------- Model chips (hero showcase) ---------- */
.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 20, 40, 0.6);
  border: 1px solid rgba(140, 180, 255, 0.15);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  color: #d8e1ff;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  cursor: default;
  white-space: nowrap;
}
.model-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 200, 255, 0.45);
  background: rgba(30, 40, 80, 0.7);
  box-shadow: 0 8px 24px -10px rgba(80, 130, 255, 0.6);
  color: #ffffff;
}
.model-chip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(140, 180, 255, 0.4));
}
.model-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.model-chip--more {
  background: linear-gradient(135deg, rgba(59, 130, 255, 0.18), rgba(164, 91, 255, 0.18));
  border-color: rgba(140, 180, 255, 0.4);
  color: #ffffff;
  font-weight: 600;
}

/* ---------- Hero text glow ---------- */
.hero-title {
  text-shadow:
    0 0 60px rgba(80, 110, 255, 0.35),
    0 0 120px rgba(164, 91, 255, 0.15);
}

/* ---------- Trust bar ---------- */
.trust-item {
  color: #c8d1e8;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.trust-item svg { color: var(--neon-cyan); }

/* ---------- Install command block ---------- */
.command-box {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 14, 30, 0.95), rgba(6, 8, 20, 0.95));
  border: 1px solid rgba(140, 180, 255, 0.25);
  border-radius: 18px;
  box-shadow:
    0 30px 80px -20px rgba(80, 110, 255, 0.35),
    0 0 60px -10px rgba(164, 91, 255, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.command-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-violet), var(--neon-magenta), transparent);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.command-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #d8e4ff;
  word-break: break-all;
  line-height: 1.7;
}
.command-text .tok-kw   { color: #ff86c8; }
.command-text .tok-fn   { color: #62d6ff; }
.command-text .tok-str  { color: #c5b3ff; }
.command-text .tok-arg  { color: #8aa3ff; }
.command-text .tok-com  { color: #5e6a8a; }

.copy-btn {
  transition: all 0.25s ease;
}
.copy-btn:hover {
  border-color: rgba(140, 180, 255, 0.55) !important;
  background: rgba(60, 100, 200, 0.18) !important;
}

/* ---------- Step cards ---------- */
.step-card {
  position: relative;
  transition: transform 0.4s ease;
}
.step-card:hover { transform: translateY(-5px); }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.95;
}
.kbd {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a2240, #0c1228);
  border: 1px solid rgba(140, 180, 255, 0.25);
  box-shadow: 0 2px 0 rgba(140, 180, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #d8e4ff;
}

/* ---------- Auto-copy badge ---------- */
.autocopy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 224, 255, 0.10), rgba(74, 222, 128, 0.10));
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #c8e8d8;
  font-size: 0.92rem;
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.05), 0 14px 40px -20px rgba(74, 222, 128, 0.5);
  position: relative;
  overflow: hidden;
}
.autocopy-badge svg { color: #4ade80; }
.autocopy-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.autocopy-badge.refreshed {
  animation: badgeFlash 0.6s ease;
}
@keyframes badgeFlash {
  0%   { background: linear-gradient(135deg, rgba(34, 224, 255, 0.30), rgba(74, 222, 128, 0.30)); }
  100% { background: linear-gradient(135deg, rgba(34, 224, 255, 0.10), rgba(74, 222, 128, 0.10)); }
}

/* ---------- Funnel step labels ---------- */
.funnel-step-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.funnel-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22e0ff, #3b82ff 50%, #a45bff);
  color: #fff;
  box-shadow: 0 4px 18px -4px rgba(80, 130, 255, 0.6);
}
.funnel-step-title {
  color: #d8e1ff;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- "Why this way" block ---------- */
.why-block {
  background:
    linear-gradient(135deg, rgba(255, 61, 240, 0.05), rgba(164, 91, 255, 0.05) 50%, rgba(59, 130, 255, 0.05)),
    rgba(8, 12, 26, 0.7);
  border: 1px solid rgba(255, 100, 230, 0.25);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.why-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff3df0, #a45bff, #3b82ff, transparent);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}
@media (min-width: 768px) {
  .why-block { padding: 2.6rem 2.8rem; }
}
.why-header {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff3df0, #a45bff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 61, 240, 0.4);
}
.why-card {
  background: rgba(8, 10, 24, 0.55);
  border: 1px solid rgba(140, 180, 255, 0.12);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 100, 230, 0.35);
  background: rgba(20, 14, 40, 0.65);
}
.why-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #ff86c8, #a45bff);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Step icon (small) ---------- */
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 224, 255, 0.15), rgba(164, 91, 255, 0.15));
  border: 1px solid rgba(140, 180, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-meta {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(140, 180, 255, 0.15);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(140, 180, 255, 0.35) 10%, rgba(164, 91, 255, 0.35) 90%, transparent);
}
.timeline-item {
  position: relative;
  padding: 0 0 2.2rem 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22e0ff, #3b82ff 50%, #a45bff);
  box-shadow: 0 0 0 4px rgba(80, 130, 255, 0.18), 0 0 18px rgba(80, 130, 255, 0.7);
}
.timeline-dot--end {
  background: linear-gradient(135deg, #a45bff, #ff3df0);
  box-shadow: 0 0 0 4px rgba(255, 61, 240, 0.18), 0 0 18px rgba(255, 61, 240, 0.7);
}
.timeline-content {
  background: rgba(10, 14, 28, 0.55);
  border: 1px solid rgba(140, 180, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  border-color: rgba(140, 180, 255, 0.35);
  background: rgba(18, 22, 44, 0.7);
}
.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.3rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 88px;
  right: 22px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 224, 255, 0.18), rgba(74, 222, 128, 0.18)), rgba(8, 12, 26, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 18px 50px -10px rgba(74, 222, 128, 0.4);
  backdrop-filter: blur(14px);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease;
  max-width: calc(100vw - 44px);
}
.toast.show {
  transform: translateX(0);
  opacity: 1;
}
.toast svg { color: #4ade80; flex-shrink: 0; }

/* ---------- Notice / warning ---------- */
.notice {
  background:
    linear-gradient(135deg, rgba(255, 61, 240, 0.10), rgba(164, 91, 255, 0.10));
  border: 1px solid rgba(255, 100, 230, 0.3);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.notice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 61, 240, 0.18), transparent 60%);
  pointer-events: none;
}

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(8, 12, 26, 0.7);
  border: 1px solid rgba(140, 180, 255, 0.15);
}
.compare-table th, .compare-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(140, 180, 255, 0.08);
}
.compare-table th {
  background: rgba(20, 26, 50, 0.5);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d8e1ff;
  font-size: 0.95rem;
}
.compare-table th.col-oneai {
  background: linear-gradient(135deg, rgba(59, 130, 255, 0.25), rgba(164, 91, 255, 0.25));
  color: #ffffff;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(40, 50, 90, 0.18); }

.check { color: #4ade80; }
.cross { color: #ff7b9d; }

/* ---------- Performance bars ---------- */
.perf-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(140, 180, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.perf-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-primary);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  box-shadow: 0 0 20px rgba(80, 130, 255, 0.6);
  width: 0;
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Chat widget ---------- */
.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
}
.chat-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82ff, #a45bff);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 14px 40px -10px rgba(80, 110, 255, 0.7),
    0 0 50px -10px rgba(164, 91, 255, 0.7);
  transition: transform 0.3s ease;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(140, 180, 255, 0.4);
  animation: ringPulse 2.5s ease-out infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0;   }
}
.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 44px);
  background: rgba(10, 14, 30, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(140, 180, 255, 0.25);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  transform-origin: bottom right;
  transform: scale(0.92) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  transition: all 0.35s ease;
  padding: 1.1rem 0;
}
.site-header.scrolled {
  background: rgba(4, 6, 16, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(140, 180, 255, 0.1);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #22e0ff, #3b82ff 50%, #a45bff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(80, 130, 255, 0.55);
  position: relative;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.15);
}
.logo-mark::after {
  content: "1";
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(180, 220, 255, 0.8);
}

/* ---------- Image media frame ---------- */
.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(140, 180, 255, 0.18);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.media-frame:hover img { transform: scale(1.06); }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* ---------- Hero image ---------- */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.05) contrast(1.05);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, #000 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ---------- Install-complete page specifics ---------- */
.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(140, 180, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--grad-primary);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(80, 130, 255, 0.7);
  transition: width 0.5s ease;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(14, 20, 40, 0.55);
  border: 1px solid rgba(140, 180, 255, 0.1);
  transition: all 0.4s ease;
}
.check-row.done {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(34, 90, 60, 0.18);
}
.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(140, 180, 255, 0.2);
  border-top-color: var(--neon-cyan);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success burst */
.success-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22e0ff, #3b82ff 50%, #a45bff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 0 0 8px rgba(80, 130, 255, 0.12),
    0 0 0 18px rgba(80, 130, 255, 0.06),
    0 20px 60px -10px rgba(80, 130, 255, 0.7);
  animation: successPop 0.8s cubic-bezier(.2,.8,.2,1.4);
}
@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Misc ---------- */
hr.soft {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 180, 255, 0.25), transparent);
}

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 180, 255, 0.4), transparent);
}

::selection {
  background: rgba(164, 91, 255, 0.4);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #04060d; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2b3a6b, #4a3a7a);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3b4d8a, #6b4ea8);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem) !important; }
  .step-num { font-size: 3rem; }
  .command-text { font-size: 0.78rem; }
}
