:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #050505;
  --panel: rgba(6, 6, 6, 0.94);
  --panel-strong: rgba(8, 8, 8, 0.96);
  --text: #f5f5f7;
  --muted: #b0b0ba;
  --accent: #4db8ff;
  --accent-strong: #6b4bff;
  --glow: rgba(107, 75, 255, 0.4);
  --glow-blue: rgba(77, 184, 255, 0.35);
  --border: rgba(140, 160, 220, 0.12);
  --success: #29f0aa;
  --danger: #ff4d7d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10% -10% -10%;
  background: radial-gradient(circle at 20% 15%, rgba(77, 184, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 25%, rgba(107, 75, 255, 0.18), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.98) 60%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  color: inherit;
  background: transparent;
}

main {
  position: relative;
  z-index: 2;
}

.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(77, 184, 255, 0.16), transparent 65%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: none;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loading-core {
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  display: grid;
  place-items: center;
  gap: 16px;
}

.loading-ring {
  width: 160px;
  height: 160px;
  border: none;
  border-radius: 0;
  margin: 0;
  background: url("89415119-421e-4946-a55c-c4ea716643ee.png") center / contain no-repeat;
  animation: pulse 2.2s ease-in-out infinite;
  filter: none;
}

.loading-text {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  backdrop-filter: none;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  z-index: 10;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-brand {
  min-width: 140px;
}

.nav-links {
  flex: 1;
  justify-content: center;
}

.nav-actions {
  min-width: 140px;
  justify-content: flex-end;
}

.navbar.is-hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: url("89415119-421e-4946-a55c-c4ea716643ee.png") center / contain no-repeat;
  box-shadow: none;
  transform: scale(6);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  background: transparent;
  padding: 0;
}

.dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown.open .dropdown-toggle {
  color: var(--text);
}

.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown.open .dropdown-toggle::after {
  transform: rotate(-135deg);
  border-color: var(--text);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: rgba(7, 9, 15, 0.95);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
  z-index: 12;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-menu a:hover {
  color: var(--text);
  background: rgba(122, 76, 255, 0.12);
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-button,
.ghost-button,
.outline-button {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, rgba(77, 184, 255, 0.9), rgba(107, 75, 255, 0.95));
  box-shadow: 0 16px 34px rgba(77, 184, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(77, 184, 255, 0.45);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(107, 75, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(122, 76, 255, 0.2);
}

.outline-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 8, 12, 0.6);
}

.outline-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 120px 8vw 80px;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% 0 -10%;
  background: radial-gradient(circle at 30% 30%, rgba(77, 184, 255, 0.22), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(107, 75, 255, 0.25), transparent 50%);
  filter: blur(20px);
  opacity: 0.7;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.85) 65%);
  z-index: 1;
  pointer-events: none;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero .eyebrow {
  text-align: center;
  display: block;
  width: 100%;
}


.hero-text h1 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.typing-text {
  display: inline-block;
  min-height: 1em;
  background: linear-gradient(120deg, #ffffff 0%, #d6deff 45%, #9cc9ff 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}

.typing-caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 8px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(77, 184, 255, 0.5);
  animation: caretBlink 0.85s steps(2, start) infinite;
}

.hero-text {
  text-align: center;
  max-width: 100%;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.subheadline {
  color: var(--muted);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.subnote {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -12px;
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  justify-content: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  color: var(--muted);
  font-size: 0.9rem;
  justify-content: center;
}

.hero-trust .signal {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  box-shadow: 0 0 12px rgba(41, 240, 170, 0.8);
}


.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  gap: 24px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 184, 255, 0.35), transparent 70%);
  filter: blur(6px);
  opacity: 0.7;
  z-index: 0;
}

.bot-orbit {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}

.bot-core {
  width: 90px;
  height: 90px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(77, 184, 255, 0.35), rgba(107, 75, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 40px rgba(107, 75, 255, 0.7);
  display: grid;
  place-items: center;
  position: relative;
}

.bot-eye {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--text), var(--accent));
  box-shadow: 0 0 18px rgba(90, 164, 255, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(122, 76, 255, 0.4);
  animation: spin 12s linear infinite;
}

.ring-two {
  width: 210px;
  height: 210px;
  border-style: solid;
  border-color: rgba(90, 164, 255, 0.2);
  animation-duration: 18s;
}

.ring-three {
  width: 250px;
  height: 250px;
  border-color: rgba(255, 255, 255, 0.12);
  animation-direction: reverse;
}

.hero-panel {
  width: min(360px, 90%);
  background: linear-gradient(145deg, rgba(10, 12, 18, 0.9), rgba(12, 14, 24, 0.8));
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(22px);
}

.panel-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(122, 76, 255, 0.15);
}

.panel-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.panel-body {
  padding: 24px;
  display: grid;
  gap: 18px;
  position: relative;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 3s linear infinite;
}

.pulse-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(122, 76, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 76, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  animation: gridPulse 6s ease-in-out infinite;
}

.threat-item {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(10, 15, 30, 0.75);
  border: 1px solid rgba(90, 164, 255, 0.2);
}

.stats {
  padding: 50px 8vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.trusted {
  padding: 80px 8vw 40px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.logo-chip {
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  text-align: center;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.stat-card {
  padding: 20px;
  background: linear-gradient(155deg, rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.65));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(122, 76, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-card h3 {
  font-size: 1.7rem;
}

section {
  padding: 90px 8vw;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.legal-content h3 {
  color: var(--text);
  margin-top: 8px;
  font-size: 1.1rem;
}

.legal-content ul {
  margin-left: 18px;
  display: grid;
  gap: 8px;
}

.auth {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 40px 0 60px;
}

.auth-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0;
  box-shadow: none;
  max-width: 620px;
  width: min(90vw, 620px);
}

.auth-header {
  margin-bottom: 24px;
}

.auth-form {
  display: grid;
  gap: 20px;
}

.auth-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.auth-form input {
  padding: 14px 4px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(107, 75, 255, 0.3);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.auth-form input:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 8px 20px rgba(77, 184, 255, 0.2);
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.auth-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.auth-switch {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--text);
}

.auth .primary-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.support {
  padding: 110px 8vw;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.support-form input,
.support-form select,
.support-form textarea {
  padding: 12px 4px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(107, 75, 255, 0.3);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.support-form textarea {
  border: 1px solid rgba(107, 75, 255, 0.3);
  padding: 12px;
  background: rgba(4, 4, 6, 0.6);
}

.support-info {
  display: grid;
  gap: 20px;
  color: var(--muted);
}

.support-info h3 {
  color: var(--text);
  margin-bottom: 6px;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 34px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 6px;
  transition: transform 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::after {
  content: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  color: var(--text);
}

.feature-card:hover::after {
  opacity: 0;
}

.feature-card .icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  margin: 0 auto 12px;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.how {
  position: relative;
  overflow: hidden;
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.flow-step {
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.9), rgba(10, 12, 18, 0.7));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.flow-step span {
  font-family: "Rajdhani", sans-serif;
  color: var(--accent);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(90, 164, 255, 0.4), transparent);
  z-index: 1;
  animation: flow 5s linear infinite;
}

.dashboard {
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.95), rgba(4, 4, 6, 0.95));
  border-top: 1px solid rgba(107, 75, 255, 0.18);
  border-bottom: 1px solid rgba(107, 75, 255, 0.18);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dashboard-panel {
  background: linear-gradient(160deg, rgba(12, 15, 26, 0.94), rgba(10, 12, 18, 0.8));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.main-panel {
  grid-column: span 2;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.panel-actions button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 76, 255, 0.3);
  font-size: 0.8rem;
  margin-left: 8px;
}

.chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  height: 120px;
  margin-bottom: 18px;
}

.chart-bar {
  height: 40%;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 10px 10px 4px 4px;
  animation: rise 3s ease-in-out infinite;
}

.chart-bar:nth-child(2) {
  height: 60%;
  animation-delay: 0.3s;
}

.chart-bar:nth-child(3) {
  height: 85%;
  animation-delay: 0.6s;
}

.chart-bar:nth-child(4) {
  height: 55%;
  animation-delay: 0.4s;
}

.chart-bar:nth-child(5) {
  height: 70%;
  animation-delay: 0.2s;
}

.panel-metrics {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.log-stream {
  display: grid;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  max-height: 180px;
  overflow: hidden;
}

.log-item {
  padding: 10px;
  border-radius: 12px;
  background: rgba(8, 10, 18, 0.75);
  border: 1px solid rgba(107, 75, 255, 0.22);
  animation: logSlide 8s linear infinite;
}

.alert-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(10, 12, 22, 0.82);
  border: 1px solid rgba(255, 77, 125, 0.3);
  margin-bottom: 12px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.9), rgba(10, 12, 18, 0.7));
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
}

.testimonials {
  overflow: hidden;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.testimonial-card {
  scroll-snap-align: start;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.72));
  border: 1px solid var(--border);
  min-height: 160px;
  display: grid;
  gap: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.pricing-card {
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.72));
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.pricing-card ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.pricing-card.featured {
  border: 1px solid rgba(90, 164, 255, 0.4);
  box-shadow: 0 24px 60px rgba(90, 164, 255, 0.2);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 184, 255, 0.18), transparent 45%);
  opacity: 0.7;
  pointer-events: none;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.72));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  background: transparent;
}

.faq-answer {
  padding: 0 22px 0;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  padding: 0 22px 18px;
  max-height: 120px;
}

.final-cta {
  position: relative;
  padding: 130px 8vw;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -20% 0;
  background: radial-gradient(circle at center, rgba(107, 75, 255, 0.35), transparent 60%);
  opacity: 0.85;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.cta-content h2 {
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.footer {
  padding: 70px 8vw 50px;
  color: var(--muted);
  border-top: 1px solid rgba(107, 75, 255, 0.12);
  background: linear-gradient(180deg, rgba(4, 4, 6, 0.98), rgba(6, 8, 14, 0.95));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(160px, 1fr));
  gap: 24px 40px;
  padding-bottom: 26px;
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.footer-social a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(107, 75, 255, 0.12);
  padding-top: 22px;
}

.pay-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(90, 164, 255, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(90, 164, 255, 1);
  }
}

@keyframes scan {
  from {
    top: 0;
  }
  to {
    top: 100%;
  }
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes flow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes logSlide {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-40px);
    opacity: 0.4;
  }
}

@keyframes aurora {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2%, 1%, 0) scale(1.03);
  }
}

@keyframes caretBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .navbar {
    padding: 16px 6vw;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 6vw;
    background: rgba(4, 4, 6, 0.98);
    padding: 24px;
    border-radius: 16px;
    display: none;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--border);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(8, 10, 18, 0.9);
    border-radius: 12px;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .main-panel {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 100px;
  }

  .nav-actions .ghost-button,
  .nav-actions .primary-button {
    display: none;
  }

  .panel-metrics {
    flex-direction: column;
  }
}
