@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/satoshi');

:root {
  --bg: #04060b;
  --bg-alt: #0b1220;
  --teal: #2ef5e3;
  --teal-strong: #47fff0;
  --teal-soft: rgba(46, 245, 227, 0.18);
  --teal-glow: rgba(46, 245, 227, 0.6);
  --accent: #7cf6ff;
  --text: #e7f2fb;
  --text-strong: #ffffff;
  --muted: #9db0c3;
  --card: rgba(8, 15, 26, 0.78);
  --border: rgba(46, 245, 227, 0.32);
  --border-strong: rgba(124, 246, 255, 0.42);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  --parallax-x: 0;
  --parallax-y: 0;
}

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

body {
  font-family: "Satoshi", "Poppins", "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at 12% 12%, rgba(46, 245, 227, 0.16), transparent 45%),
    radial-gradient(circle at 78% 18%, rgba(124, 246, 255, 0.12), transparent 40%),
    radial-gradient(circle at 60% 85%, rgba(16, 165, 190, 0.18), transparent 55%),
    linear-gradient(180deg, #04060b 0%, #060b14 55%, #04060b 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  color-scheme: dark;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: min(34vw, 540px);
  height: min(34vw, 540px);
  background: url("assets/kann-fingerprint.svg") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  mix-blend-mode: screen;
  filter: saturate(145%) drop-shadow(0 0 28px rgba(65, 222, 232, 0.22));
}

body::before {
  top: -40px;
  right: -80px;
  transform: translate3d(calc(var(--parallax-x) * 10px), calc(var(--parallax-y) * -10px), 0) rotate(-8deg);
}

body::after {
  bottom: -70px;
  left: -90px;
  transform: translate3d(calc(var(--parallax-x) * -11px), calc(var(--parallax-y) * 10px), 0) rotate(170deg);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", "Satoshi", "Poppins", sans-serif;
  letter-spacing: -0.02em;
}

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

button {
  font-family: inherit;
}

.section {
  padding: 96px 10vw;
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10vw 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.9) 0%, rgba(4, 6, 11, 0) 100%);
  border-bottom: 1px solid rgba(124, 246, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand-logo-img {
  display: block;
  height: 108px;
  width: auto;
  max-width: min(80vw, 780px);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(65, 222, 232, 0.26));
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, #8bfff5 0%, var(--teal) 35%, #0f7e87 65%, #042d33 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #021215;
  box-shadow: 0 0 24px var(--teal-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover {
  color: var(--text-strong);
  background: rgba(124, 246, 255, 0.08);
  box-shadow: 0 0 12px rgba(124, 246, 255, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(124, 246, 255, 0.25);
  background: rgba(8, 15, 26, 0.75);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(46, 245, 227, 0.18);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 11, 0.7);
  display: none;
  z-index: 999;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 14, 24, 0.98), rgba(6, 10, 18, 0.95));
  border-left: 1px solid rgba(124, 246, 255, 0.25);
  padding: 24px;
  display: grid;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  backdrop-filter: blur(20px);
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-weight: 600;
}

.nav-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: grid;
  gap: 12px;
}

.mobile-nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-strong);
  background: rgba(124, 246, 255, 0.06);
  border: 1px solid rgba(124, 246, 255, 0.2);
}

.mobile-nav-links a:hover {
  background: rgba(124, 246, 255, 0.14);
  border-color: rgba(124, 246, 255, 0.4);
}

.no-scroll {
  overflow: hidden;
}

 

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(120deg, var(--teal-strong), #0fb7c2 55%, #0a7b88);
  color: #021215;
  box-shadow: 0 0 30px rgba(46, 245, 227, 0.55), inset 0 0 12px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(46, 245, 227, 0.7);
}

.btn-outline:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--teal-strong);
  box-shadow: 0 0 18px rgba(46, 245, 227, 0.25);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  background: rgba(8, 15, 26, 0.35);
  box-shadow: inset 0 0 18px rgba(46, 245, 227, 0.08);
}

.btn-ghost {
  border: 1px solid rgba(124, 246, 255, 0.2);
  color: var(--text-strong);
  background: rgba(8, 15, 26, 0.45);
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(124, 246, 255, 0.35);
  background: rgba(124, 246, 255, 0.08);
  color: var(--teal-strong);
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-strong);
  background: linear-gradient(120deg, #ffffff 10%, #8af8ff 45%, var(--teal) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(124, 246, 255, 0.15);
}

.subhead {
  color: rgba(231, 242, 251, 0.7);
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat span {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
}

.stat p {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  gap: 24px;
}

.tool-hero .hero-visual {
  align-items: start;
}

.ai-illustration {
  width: 320px;
  height: 320px;
  position: relative;
  display: grid;
  place-items: center;
}

.ai-illustration .core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #9ffff6 0%, var(--teal) 40%, #0e7e88 70%);
  box-shadow: 0 0 60px var(--teal-glow);
  animation: pulse 4s ease-in-out infinite;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(46, 245, 227, 0.3);
  animation: rotate 12s linear infinite;
}

.ring-1 {
  width: 200px;
  height: 200px;
}

.ring-2 {
  width: 260px;
  height: 260px;
  animation-direction: reverse;
}

.ring-3 {
  width: 310px;
  height: 310px;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 15px var(--teal-glow);
}

.node-1 { top: 40px; left: 140px; }
.node-2 { bottom: 60px; left: 30px; }
.node-3 { top: 110px; right: 40px; }
.node-4 { bottom: 20px; right: 110px; }

.scan-line {
  position: absolute;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 3s ease-in-out infinite;
  top: 50%;
}

.glass-panel {
  width: 80%;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 18, 30, 0.85), rgba(7, 12, 20, 0.7));
  border: 1px solid rgba(124, 246, 255, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.mini-bars span {
  height: 36px;
  background: linear-gradient(180deg, var(--teal), transparent);
  border-radius: 8px;
  animation: float 2.5s ease-in-out infinite;
}

.mini-bars span:nth-child(2) { animation-delay: 0.3s; height: 26px; }
.mini-bars span:nth-child(3) { animation-delay: 0.6s; height: 44px; }
.mini-bars span:nth-child(4) { animation-delay: 0.9s; height: 32px; }
.mini-bars span:nth-child(5) { animation-delay: 1.2s; height: 38px; }

.section-head {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(124, 246, 255, 0.12);
}

.section-head.with-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.glass-card {
  background:
    linear-gradient(165deg, rgba(10, 18, 30, 0.82), rgba(7, 12, 20, 0.7)) padding-box,
    linear-gradient(135deg, rgba(124, 246, 255, 0.5), rgba(46, 245, 227, 0.12), rgba(46, 245, 227, 0.4)) border-box;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  position: relative;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(124, 246, 255, 0.22), transparent 60%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.glass-card::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 190px;
  height: 190px;
  background: url("assets/kann-fingerprint.svg") center/contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  filter: saturate(140%);
  transform: rotate(-12deg);
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.hud-float {
  will-change: transform, box-shadow;
  transform-style: preserve-3d;
}

body.fx-ready .hud-float.is-visible {
  transform: translate3d(calc(var(--parallax-x) * var(--hud-x, 0px)), calc(var(--parallax-y) * var(--hud-y, 0px)), 0);
}

body.fx-ready .glass-card.hud-float.is-visible:hover {
  transform: translate3d(
    calc(var(--parallax-x) * var(--hud-x, 0px)),
    calc(var(--parallax-y) * var(--hud-y, 0px) - 4px),
    0
  );
}

.reveal-enter {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card h3 {
  margin-bottom: 8px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #0f99a4);
  box-shadow: 0 0 12px rgba(46, 245, 227, 0.35);
  transition: width 0.3s ease;
}

.question-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.question-category {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46, 245, 227, 0.25);
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.question-help {
  color: var(--muted);
  font-size: 0.85rem;
}

.step-dots {
  display: flex;
  gap: 6px;
}

.step-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.step-dots span.active {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
}

.question-sub {
  color: var(--muted);
  margin-bottom: 16px;
}

.options {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-strong);
}

.option {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(46, 245, 227, 0.25);
  background: rgba(7, 14, 22, 0.9);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
  text-align: left;
  width: 100%;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  -webkit-appearance: none;
  appearance: none;
  text-shadow: 0 0 12px rgba(46, 245, 227, 0.2);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(46, 245, 227, 0.08), 0 10px 22px rgba(0, 0, 0, 0.45);
}

.option.active {
  border-color: var(--teal);
  background: rgba(46, 245, 227, 0.12);
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
}

.option:hover,
.option:focus,
.option:focus-visible,
.option:active {
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  border-color: rgba(46, 245, 227, 0.6);
  background: rgba(46, 245, 227, 0.08);
}

.option:focus-visible {
  outline: 2px solid rgba(46, 245, 227, 0.8);
  outline-offset: 2px;
}

.range-wrap {
  margin-bottom: 18px;
}

.range-value {
  color: var(--muted);
  margin-top: 8px;
}

input[type=\"range\"] {
  width: 100%;
  accent-color: var(--teal);
}

.tool-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.insights-card {
  display: grid;
  gap: 18px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.insight-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}

.insight-grid strong {
  font-size: 1.2rem;
}

.glow-pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46, 245, 227, 0.08);
  color: var(--teal);
  font-size: 0.85rem;
  width: fit-content;
}

.processing {
  display: flex;
  justify-content: center;
}

.processing-card {
  max-width: 560px;
  text-align: center;
  display: grid;
  gap: 16px;
}

.spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid rgba(46, 245, 227, 0.2);
  border-top-color: var(--teal);
  margin: 0 auto;
  animation: spin 1.2s linear infinite;
}

.progress {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), #0f99a4);
  transition: width 0.3s ease;
}

.scan-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.result-main .tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--teal);
  margin-bottom: 12px;
}

.reason-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.reason-list li {
  padding-left: 18px;
  position: relative;
}

.reason-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.top-ideas {
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  padding-left: 20px;
}

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-cards {
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.report-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.signals .mini-list li {
  color: var(--text);
}

.report-cover {
  margin-bottom: 24px;
  background:
    linear-gradient(145deg, rgba(2, 47, 52, 0.88), rgba(4, 26, 29, 0.86)) padding-box,
    linear-gradient(135deg, rgba(65, 222, 232, 0.62), rgba(0, 94, 96, 0.68), rgba(65, 222, 232, 0.35)) border-box;
  box-shadow: 0 30px 70px rgba(0, 22, 24, 0.72);
  overflow: hidden;
}

.report-cover::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 222, 232, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.report-logo-wrap {
  border-radius: 16px;
  padding: 24px 36px;
  border: 1px solid rgba(65, 222, 232, 0.35);
  background: rgba(2, 16, 20, 0.68);
  box-shadow: inset 0 0 24px rgba(65, 222, 232, 0.12);
}

.report-logo {
  width: min(96vw, 1120px);
  max-width: 100%;
  display: block;
}

.report-title h3 {
  color: #dff9fb;
}

.report-title .muted {
  color: rgba(223, 249, 251, 0.72);
}

.cover-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(65, 222, 232, 0.38);
  background: rgba(65, 222, 232, 0.12);
  color: #d9fbff;
  font-size: 0.85rem;
  font-weight: 600;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.kpi-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(7, 47, 50, 0.75), rgba(5, 28, 31, 0.6));
  border: 1px solid rgba(65, 222, 232, 0.28);
}

.kpi-card span {
  color: rgba(223, 249, 251, 0.72);
  font-size: 0.85rem;
}

.kpi-card strong {
  display: block;
  font-size: 1.4rem;
  margin-top: 6px;
  color: #8af6ff;
}

#dashboard-report .glass-card:not(.report-cover) {
  background:
    linear-gradient(165deg, rgba(4, 28, 31, 0.84), rgba(6, 20, 23, 0.76)) padding-box,
    linear-gradient(135deg, rgba(65, 222, 232, 0.42), rgba(0, 94, 96, 0.18), rgba(65, 222, 232, 0.28)) border-box;
  border: 1px solid transparent;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.meter {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 14px;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #0f99a4);
}

.mini-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.mini-list a {
  color: var(--text);
  text-decoration: none;
}

.mini-list a:hover {
  color: var(--teal);
}

.mini-list span {
  color: var(--muted);
  font-size: 0.8rem;
}

.bar-graph {
  height: 140px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
}

.bar-graph span {
  background: linear-gradient(180deg, var(--teal), transparent);
  border-radius: 12px 12px 4px 4px;
}

.chart-wrap {
  height: 180px;
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(124, 246, 255, 0.2);
  background: linear-gradient(165deg, rgba(8, 15, 26, 0.72), rgba(8, 15, 26, 0.4));
  box-shadow: inset 0 0 30px rgba(124, 246, 255, 0.06);
  padding: 8px;
}

.chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.guide-summary {
  margin-bottom: 28px;
}

.summary-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.summary-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 130px;
  height: 130px;
  background: url("assets/kann-fingerprint.svg") center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(140%);
}

.step-card h4 {
  margin-bottom: 10px;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.step-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.step-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.feature h4 {
  margin-bottom: 8px;
}

.cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  background: radial-gradient(circle at top, rgba(46, 245, 227, 0.18), rgba(5, 7, 11, 0.9));
  padding: 56px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-card .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.auth-card {
  width: min(460px, 92vw);
  display: grid;
  gap: 14px;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.auth-form input,
.auth-form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.auth-form textarea,
.wizard-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
}

.auth-form select option,
select option {
  color: var(--text);
  background: #0b1119;
}

.auth-form input::placeholder,
.auth-form select::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(163, 178, 191, 0.85);
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46, 245, 227, 0.2);
}

.auth-error {
  color: #ff9aa2;
  min-height: 20px;
}

.reset-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.reset-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.reset-row input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.reset-row input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46, 245, 227, 0.2);
}

.social-divider {
  text-align: center;
  color: var(--muted);
  margin: 8px 0;
}

.social-auth {
  display: grid;
  gap: 10px;
}

.social-btn {
  justify-content: center;
}

.social-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 11, 0.7);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 24px;
}

.social-card {
  width: min(420px, 90vw);
  display: grid;
  gap: 12px;
}

.social-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.social-form {
  display: grid;
  gap: 12px;
}

.otp-block {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.admin-metric {
  font-size: 2rem;
  color: var(--teal);
}

.admin-table {
  margin-top: 12px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

thead th {
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tbody td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-user {
  color: var(--teal);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-pill.active {
  color: var(--teal);
  border-color: rgba(46, 245, 227, 0.4);
}

.status-pill.disabled {
  color: #ff9aa2;
  border-color: rgba(255, 154, 162, 0.4);
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions .btn {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.dashboard-empty {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.setup-wizard {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.wizard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wizard-progress {
  color: var(--teal);
  font-weight: 600;
}

.wizard-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.wizard-status-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}

.wizard-status-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.wizard-status-grid strong.connected {
  color: var(--teal);
}

.wizard-status-grid strong.missing {
  color: #ff9aa2;
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-step {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.wizard-step.active {
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 0 12px rgba(46, 245, 227, 0.2);
}

.wizard-panels {
  display: grid;
  gap: 12px;
}

.wizard-panel {
  display: none;
  gap: 12px;
}

.wizard-panel.active {
  display: grid;
}

.wizard-form {
  display: grid;
  gap: 12px;
}

.wizard-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.wizard-form input,
.wizard-form select,
.wizard-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.wizard-form input:focus,
.wizard-form textarea:focus,
.wizard-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46, 245, 227, 0.2);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-note {
  max-width: 760px;
}

.admin-key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-key-grid .admin-full {
  grid-column: 1 / -1;
}

.mentor-section {
  padding-top: 64px;
}

.mentor-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.mentor-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mentor-sidebar h4 {
  margin-top: 6px;
}

.mentor-quick {
  display: grid;
  gap: 10px;
}

.mentor-quick-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-radius: 14px;
}

.mentor-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 620px;
}

.mentor-status-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mentor-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(124, 246, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(6, 12, 20, 0.8), rgba(4, 8, 14, 0.68));
  box-shadow: inset 0 0 24px rgba(124, 246, 255, 0.06);
  padding: 16px;
  min-height: 360px;
  overflow-y: auto;
}

.mentor-message {
  max-width: min(88%, 720px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 246, 255, 0.2);
  background: rgba(8, 15, 26, 0.8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.mentor-message.from-user {
  justify-self: end;
  border-color: rgba(46, 245, 227, 0.34);
  background: linear-gradient(135deg, rgba(23, 86, 90, 0.52), rgba(8, 25, 31, 0.88));
}

.mentor-message.from-assistant {
  justify-self: start;
}

.mentor-message.is-typing {
  animation: mentorPulse 1.2s ease-in-out infinite;
}

.mentor-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--teal);
  margin-bottom: 4px;
}

.mentor-message p {
  white-space: pre-wrap;
  color: var(--text-strong);
}

.mentor-form {
  display: grid;
  gap: 10px;
}

.mentor-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 246, 255, 0.22);
  background: rgba(7, 14, 23, 0.86);
  color: var(--text-strong);
  resize: vertical;
  min-height: 110px;
}

.mentor-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46, 245, 227, 0.2);
}

.mentor-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 32px 10vw 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 245, 227, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 245, 227, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(124, 246, 255, 0.12), transparent 55%);
  background-size: 90px 90px, 90px 90px, 100% 100%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(calc(var(--parallax-x) * -10px), calc(var(--parallax-y) * -10px), 0);
  animation: gridDrift 34s linear infinite;
}

.bg-grid::before,
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-grid::before {
  background: repeating-linear-gradient(
    -24deg,
    rgba(124, 246, 255, 0.04) 0,
    rgba(124, 246, 255, 0.04) 2px,
    transparent 2px,
    transparent 24px
  );
  mix-blend-mode: screen;
  opacity: 0.4;
}

.bg-grid::after {
  background: linear-gradient(90deg, transparent 0%, rgba(124, 246, 255, 0.18) 50%, transparent 100%);
  width: 55%;
  transform: translateX(-120%);
  animation: sweep 11s ease-in-out infinite;
}

.glow-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 245, 227, 0.4), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  opacity: 0.75;
  transition: transform 0.35s ease-out;
  animation: orbBreathe 8s ease-in-out infinite;
}

.orb-1 {
  top: -80px;
  right: 10%;
  transform: translate3d(calc(var(--parallax-x) * 14px), calc(var(--parallax-y) * -12px), 0);
}

.orb-2 {
  bottom: -60px;
  left: 5%;
  transform: translate3d(calc(var(--parallax-x) * -16px), calc(var(--parallax-y) * 12px), 0);
}

.hidden {
  display: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scan {
  0% { transform: translateX(-60%); opacity: 0.4; }
  50% { transform: translateX(0%); opacity: 1; }
  100% { transform: translateX(60%); opacity: 0.4; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 180px 180px, 180px 180px, 0 0; }
}

@keyframes sweep {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: 0.45; }
  50% { transform: translateX(90%); opacity: 0.2; }
  100% { transform: translateX(160%); opacity: 0; }
}

@keyframes orbBreathe {
  0%, 100% { opacity: 0.55; filter: blur(10px) saturate(100%); }
  50% { opacity: 0.88; filter: blur(13px) saturate(130%); }
}

@keyframes mentorPulse {
  0%, 100% { opacity: 0.56; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .bg-grid,
  .bg-grid::after,
  .glow-orb,
  .reveal-enter,
  .glass-card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
  .reveal-enter {
    opacity: 1 !important;
    transform: none !important;
  }
  body.fx-ready .hud-float,
  body.fx-ready .glass-card.hud-float:hover {
    transform: none !important;
  }
}

@media (max-width: 960px) {
  .topbar { gap: 10px; }
  .brand { min-width: 0; flex: 1; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-logo-img { height: 84px; max-width: 58vw; }
  .section { padding: 80px 6vw; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .mentor-layout { grid-template-columns: 1fr; }
  .mentor-panel { min-height: 560px; }
  .mentor-messages { min-height: 320px; }
  .reveal-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .topbar { padding: 20px 6vw 0; }
  .brand-logo-img { height: 68px; max-width: 50vw; }
  body::before,
  body::after {
    width: 260px;
    height: 260px;
    opacity: 0.08;
    filter: saturate(120%) drop-shadow(0 0 14px rgba(65, 222, 232, 0.15));
    animation: none;
  }
  .glass-card::before {
    width: 120px;
    height: 120px;
    opacity: 0.07;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-head.with-actions { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 36px 24px; }
  .footer { flex-direction: column; gap: 16px; }
  .reset-row,
  .otp-row {
    grid-template-columns: 1fr;
  }
  .wizard-actions {
    flex-direction: column;
  }
  .wizard-steps {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-key-grid {
    grid-template-columns: 1fr;
  }
  .mentor-panel {
    min-height: 0;
  }
  .mentor-messages {
    min-height: 300px;
    max-height: 55vh;
  }
  .mentor-form-actions {
    flex-direction: column;
  }
  .mentor-form-actions .btn {
    width: 100%;
  }
  .bg-grid {
    animation: none;
  }
  .bg-grid::before,
  .bg-grid::after {
    display: none;
  }
  .glow-orb {
    width: 280px;
    height: 280px;
    animation: none;
  }
  body.fx-ready .hud-float,
  body.fx-ready .glass-card.hud-float:hover {
    transform: none;
  }
}
