:root {
  --bg: #0d1117;
  --bg-soft: #111827;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f5f8ff;
  --muted: #a2adbf;
  --accent: #1f6bff;
  --accent-soft: #5f93ff;
  --accent-neon: #2f8bff;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;
}

html,
body {
  background: radial-gradient(circle at 12% 0%, #1a2a46 0%, var(--bg) 44%) fixed;
  color: var(--text);
  font-family: "Inter", "Geist", "Montserrat", system-ui, -apple-system, sans-serif;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.bento-card {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 107, 255, 0.72);
  box-shadow: 0 14px 38px rgba(31, 107, 255, 0.25);
}

.link-muted {
  color: var(--muted);
  transition: color 0.2s ease;
}

.link-muted:hover {
  color: #d8e0f3;
}

.input-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: 0.78rem;
  padding: 0.72rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-control:focus {
  border-color: rgba(31, 107, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.24);
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  color: #d3ddf3;
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  display: inline-block;
}

.status-dot.ok {
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.18);
}

.status-dot.warn {
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.16);
}

.status-dot.err {
  background: var(--err);
  box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.17);
}

.gradient-btn {
  background: linear-gradient(122deg, var(--accent), var(--accent-neon));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(31, 107, 255, 0.36);
}

.success-btn {
  background: linear-gradient(120deg, #159f63, #34d399);
  color: #032115;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2.4rem);
  letter-spacing: -0.02em;
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.live-preview {
  position: relative;
  overflow: hidden;
}

.live-preview::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -25%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 139, 255, 0.35), rgba(47, 139, 255, 0));
  pointer-events: none;
}

.pulse-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
  }
  80% {
    box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.otp-box {
  width: 2.85rem;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.sparkline {
  width: 100%;
  height: 120px;
}

.sparkline path {
  stroke: #2f8bff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkline .area {
  fill: rgba(47, 139, 255, 0.18);
}

.accordion-row {
  background: rgba(255, 255, 255, 0.03);
}

#findingsTicker {
  display: inline-block;
  min-width: 160%;
  animation: tickerMove 20s linear infinite;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-45%);
  }
}
