:root {
  --bg: #050505;
  --bg-elevated: #050505;
  --border: #1a1a1a;
  --text: #ffffff;
  --muted: #666666;
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.02);
  --success: #00ff88;
  --error: #ff4a4a;
  --info: #7ab8ff;
  --warning: #ffaa00;
  --radius: 4px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Enhanced animations */
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(94, 228, 163, 0.3), 0 0 40px rgba(94, 228, 163, 0.15);
  }

  50% {
    box-shadow: 0 0 30px rgba(94, 228, 163, 0.5), 0 0 60px rgba(94, 228, 163, 0.25);
  }
}

@keyframes cyber-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.03));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.04));
  }
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  background: #050505 !important;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  background-attachment: fixed !important;
  color: var(--text);
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #fff;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.9em;
}

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

.small {
  font-size: 0.85rem;
}

.shell-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 255, 255, 0.14), transparent 55%);
}

/* Landing */
.page-landing {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4rem;
  position: relative;
}

.landing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 3rem;
}

.pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.link-quiet {
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-main {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-accent {
  background: linear-gradient(120deg, #fff, #a8adb8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.15);
  }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 60%);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: float-in 0.6s ease-out both;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 30%) var(--mouse-y, 30%), rgba(94, 228, 163, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(94, 228, 163, 0.4);
  box-shadow: 0 0 30px rgba(94, 228, 163, 0.2), 0 12px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(160deg, rgba(94, 228, 163, 0.1), rgba(122, 184, 255, 0.05));
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d4d8e0 100%);
  color: #0a0b0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(232, 234, 239, 0.6), 0 16px 50px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* Auth — full-bleed video heroes; padding here inset the flex child and showed --bg bands */
.page-auth {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  position: relative;
  background: #050505 !important;
}

html:has(body.page-auth) {
  margin: 0;
  padding: 0;
  background: #050505 !important;
}

.auth-layout {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.auth-panel {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(14, 16, 24, 0.85);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: float-in 0.6s ease-out;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.02), transparent 70%);
  pointer-events: none;
}

.auth-panel>* {
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-panel h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.checklist {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.input-dark,
select.input-dark {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: all 0.2s;
}

/* Force darker appearance for selects and their options where possible */
select.input-dark {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1rem + 2px), calc(100% - 12px) calc(1rem + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

select.input-dark option {
  background: rgba(16,16,18,0.95);
  color: #fff;
}

/* Hide native expand icon in IE/Edge */
select.input-dark::-ms-expand { display: none; }

/* Panel-specific overrides to ensure dark backgrounds */
.page-app-new .panel .input-dark,
.page-app-new .panel select.input-dark {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.06) !important;
  color: #fff !important;
}

.input-dark:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.input-dark::placeholder {
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.field-error {
  color: var(--error);
  font-size: 0.8rem;
}

/* Login hero page */
.login-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.login-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.02), transparent 70%);
  pointer-events: none;
  animation: cyber-glow 4s ease-in-out infinite;
}

.login-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 500px;
  animation: float-in 0.8s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #e8eaef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.hero-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2.5rem;
  line-height: 1.6;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.input-hero {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.input-hero::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.input-hero:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.input-hero:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.input-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: -0.8rem;
  display: block;
}

.btn-hero {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  border: none;
  background: #0f65ff;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 101, 255, 0.3);
  margin-top: 0.5rem;
}

.btn-hero:hover {
  background: #1953d6;
  box-shadow: 0 12px 36px rgba(15, 101, 255, 0.5);
  transform: translateY(-2px);
}

.btn-hero:active {
  transform: translateY(0);
}

.key-box {
  padding: 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  word-break: break-all;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.row-btns {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.key-textarea {
  width: 100%;
  min-height: 160px;
  --bg-app: #0a0a0a;
  --bg-sidebar: #0a0a0a;
  --bg-main: #0a0a0a;
  --bg-card: #0a0a0a;
  --bg-input: #0a0a0a;
  --border: #1a1a1a;
  --text-main: #cfd4d8;
  --muted: #555;
  --accent: #fff;
  --success: #00ff88;
  --error: #ff4a4a;
  --warning: #ffaa00;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-main);
  resize: vertical;
  background-color: transparent !important;
}

/* App shell */
.page-app-new {
  background: #050505 !important;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  color: #ebe8e3;
  min-height: 100vh;
  font-family: var(--font);
  margin: 0;
  padding: 0;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: transparent !important;
}

.app-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  background-color: transparent !important;
}

.app-branding {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.app-branding .hi-logo-text {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.app-branding .muted {
  font-size: 0.75rem;
}

.app-user-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-group {
  text-align: right;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.app-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
}

.search-section {
  width: 100%;
  max-width: 800px;
  margin-bottom: 4rem;
}

.search-form-wide {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}

.search-input-new {
  width: 100%;
  background: #111218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.search-input-new:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: #16171d;
}

.search-submit-new {
  background: #1a1b23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0 1.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-submit-new:hover {
  background: #23242d;
  border-color: rgba(255, 255, 255, 0.2);
}

.search-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  padding: 0.25rem;
  border-radius: 10px;
  justify-content: center;
}

.tab-item {
  background: #111218;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s;
}

.tab-item:hover {
  color: #fff;
  background: #1a1b23;
  border-color: rgba(255, 255, 255, 0.1);
}

.tab-item.active {
  background: #1a1b23;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-item.disabled,
.tab-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #0a0b10;
  border-color: rgba(255, 255, 255, 0.02);
  color: rgba(139, 144, 157, 0.5);
}

.tab-item.disabled:hover,
.tab-item:disabled:hover {
  background: #0a0b10;
  border-color: rgba(255, 255, 255, 0.02);
  color: rgba(139, 144, 157, 0.5);
}

.tab-icon {
  opacity: 0.8;
  font-size: 0.9rem;
}

.tab-item.active .tab-icon {
  opacity: 1;
}

.search-submit-new i {
  font-weight: 900;
}

.spinner-inner i {
  font-weight: 900;
}

.mini-header .icon i {
  font-weight: 900;
  font-size: 0.85rem;
}

.card-header-simple .icon i {
  font-weight: 900;
  font-size: 0.9rem;
}

.alert-info-box .icon i {
  font-weight: 900;
  font-size: 0.95rem;
}

.tab-separator {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.5rem;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
  text-align: center;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: spin 1s linear infinite;
}

.spinner-inner {
  font-size: 1.5rem;
  animation: reverse-spin 1s linear infinite;
}

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

@keyframes reverse-spin {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.osint-results-grid {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-bottom: 4rem;
}

@media (max-width: 1000px) {
  .osint-results-grid {
    grid-template-columns: 1fr;
  }
}

.results-card {
  background: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-profile {
  grid-column: 1 / 2;
  min-height: 280px;
}

.card-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.profile-meta h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #fff;
}

.profile-tag {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.profile-ids {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.profile-ids code {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.profile-bio {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1.25rem;
}

.results-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mini-card {
  padding: 1.25rem;
}

.mini-header {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
}

.mini-header .badge {
  background: #16171d;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.6rem;
}

.connection-item, .history-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
}

.connection-item:not(:last-child), .history-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.conn-type {
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  background: #1a1b23;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.conn-name {
  font-size: 0.75rem;
  font-weight: 600;
  flex: 1;
  color: rgba(255, 255, 255, 0.85);
}

.tiny-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hist-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hist-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}

.full-width {
  grid-column: 1 / -1;
}

.card-header-simple {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.alert { color: #fbd38d; background: rgba(251, 211, 141, 0.06); border: 1px solid rgba(251, 211, 141, 0.1); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.6rem; }
.badge.success { color: #5ee4a3; background: rgba(94, 228, 163, 0.06); border: 1px solid rgba(94, 228, 163, 0.1); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.6rem; }

.card-body-simple {
  padding: 0.5rem 0;
}

.card-body-complex {
  padding-top: 0.5rem;
}

.alert-info-box {
  background: rgba(251, 211, 141, 0.03);
  border: 1px solid rgba(251, 211, 141, 0.1);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  font-size: 0.75rem;
  color: rgba(251, 211, 141, 0.8);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  line-height: 1.5;
}

.social-match-card {
  background: #111218;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
}

.match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.match-type {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.match-link {
  font-size: 0.7rem;
  color: #5ee4a3;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.match-link:hover {
  opacity: 1;
}

.match-body {
  display: flex;
  gap: 1.5rem;
}

.match-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.match-details h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 2rem;
}

.detail {
  font-size: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.detail .label { color: rgba(255, 255, 255, 0.3); }
.detail .val { font-weight: 600; color: rgba(255, 255, 255, 0.8); }

.app-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-user {
    width: 100%;
  }
}

.sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0.75rem 0 0.35rem;
}

.nav-item {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-muted {
  opacity: 0.45;
  pointer-events: none;
}

.nav-admin {
  color: #c9b8ff;
}

.sidebar-user {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-top: auto;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.rank-pill {
  font-size: 0.75rem;
  color: var(--muted);
}

.app-main {
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 1100px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.app-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.inline-logout {
  margin: 0;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2));
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: float-in 0.6s ease-out both;
}

.metric-card:nth-child(1) {
  animation-delay: 0.1s;
}

.metric-card:nth-child(2) {
  animation-delay: 0.2s;
}

.metric-card:nth-child(3) {
  animation-delay: 0.3s;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
  animation: card-glow 8s ease-in-out infinite;
}

.metric-card:hover {
  border-color: rgba(94, 228, 163, 0.4);
  box-shadow: 0 0 30px rgba(94, 228, 163, 0.2), 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px) scale(1.02);
}

.metric-glow::after {
  background: radial-gradient(circle at 70% 80%, rgba(94, 228, 163, 0.12), transparent 50%);
}

@keyframes card-glow {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(0, 0);
  }

  50% {
    opacity: 1;
    transform: translate(4%, 4%);
  }
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.metric-hint {
  font-size: 0.8rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.panel {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(14, 16, 24, 0.65);
  margin-bottom: 1.25rem;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.flex-grow {
  flex: 1;
  min-width: 200px;
}

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

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.flash-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.flash {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.flash-success {
  background: rgba(94, 228, 163, 0.12);
  border: 1px solid rgba(94, 228, 163, 0.35);
  color: var(--success);
}

.flash-error {
  background: rgba(255, 123, 123, 0.1);
  border: 1px solid rgba(255, 123, 123, 0.35);
  color: var(--error);
}

.flash-info {
  background: rgba(122, 184, 255, 0.1);
  border: 1px solid rgba(122, 184, 255, 0.3);
  color: var(--info);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Animated cards (scroll-in) */
.card-anim {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.card-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Front page: OSINT reference layout ——— */
.page-landing-osint {
  --os-bg: #0a0a0a;
  --os-panel: #121212;
  --os-panel-2: #161616;
  --os-border: rgba(255, 255, 255, 0.08);
  --os-muted: #737373;
  --os-text: #fafafa;
  --os-blue: #3b82f6;
  --os-blue-dim: rgba(59, 130, 246, 0.15);
  --os-green: #4ade80;
  --os-green-bg: rgba(74, 222, 128, 0.12);
  --os-amber: #fbbf24;
  --os-radius: 14px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--os-bg);
  color: var(--os-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page-landing-osint a {
  color: inherit;
}

.osint-landing {
  position: relative;
  z-index: 1;
  padding: 1rem clamp(0.85rem, 2.5vw, 1.5rem) 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.osint-ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 42% at 50% 18%,
      rgba(255, 255, 255, 0.09),
      transparent 72%);
  z-index: 0;
}

.osint-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 1.75rem;
}

.osint-pill-tg {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--os-muted);
  background: var(--os-panel);
  border: 1px solid var(--os-border);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.osint-pill-tg:hover {
  color: var(--os-text);
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--os-panel-2);
  text-decoration: none;
}

.osint-top-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1rem;
}

.osint-link-quiet {
  font-size: 0.8rem;
  color: var(--os-muted);
  text-decoration: none;
}

.osint-link-quiet:hover {
  color: var(--os-text);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .osint-top {
    flex-direction: column;
    gap: 0.75rem;
  }

  .osint-top-right {
    position: static;
    transform: none;
  }
}

.osint-hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.osint-hero-title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.osint-hero-line {
  display: inline;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  color: var(--os-text);
}

.osint-hero-online {
  display: inline;
  margin-left: 0.35rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  color: rgba(250, 250, 250, 0.38);
  font-weight: 700;
}

.osint-hero-desc {
  max-width: 28rem;
  margin: 0 auto 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--os-muted);
  font-weight: 400;
}

.osint-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.osint-hero-secondary {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--os-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--os-border);
  text-decoration: none;
}

.osint-hero-secondary:hover {
  color: var(--os-text);
  border-color: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

/* ——— Pill navbar (reference style) ——— */
.pill-nav-outer {
  position: sticky;
  top: 0.65rem;
  z-index: 100;
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 0 0.25rem;
}

.pill-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 40px -12px rgba(59, 130, 246, 0.35),
    0 0 60px -20px rgba(255, 255, 255, 0.06);
}

.pill-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.pill-nav-brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.pill-nav-mark {
  display: flex;
  color: #fff;
}

.pill-nav-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  flex: 1;
  max-width: min(100%, 28rem);
}

.pill-nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a8a8a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.pill-nav-link:hover {
  color: #d4d4d4;
  text-decoration: none;
}

.pill-nav-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.pill-nav-cluster--minimal {
  flex: 0 1 auto;
  max-width: none;
}

.pill-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pill-nav-side {
  font-size: 0.76rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  white-space: nowrap;
}

.pill-nav-side:hover {
  color: #f4f4f5;
  text-decoration: none;
}

.pill-nav-side--cta {
  color: #e5e7eb;
  font-weight: 600;
}

.pill-nav-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.pill-nav-avatar:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .pill-nav {
    flex-wrap: wrap;
    border-radius: 1.25rem;
    padding: 0.5rem 0.65rem;
  }

  .pill-nav-cluster {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .pill-nav-actions {
    order: 2;
    margin-left: auto;
  }

  .pill-nav-link {
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
  }
}

/* ——— Landing page content blocks ——— */
.lp-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}

.lp-heading {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--os-text);
}

.lp-intro {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--os-muted);
}

.lp-section--bento {
  max-width: 920px;
}

.lp-section--how,
.lp-section--pricing-wide,
.lp-section--redeem {
  max-width: 920px;
}

/* ——— How it works: cinematic step cards ——— */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 800px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.how-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, #141416 0%, #0c0c0e 100%);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.how-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 24px 56px -16px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 56px -12px rgba(59, 130, 246, 0.2);
}

.how-card__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, #0a0a0c 0%, #060607 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.how-card__chrome {
  display: flex;
  gap: 5px;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.how-card__chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.how-card__chrome span:nth-child(1) {
  background: rgba(248, 113, 113, 0.55);
}

.how-card__chrome span:nth-child(2) {
  background: rgba(251, 191, 36, 0.55);
}

.how-card__chrome span:nth-child(3) {
  background: rgba(74, 222, 128, 0.45);
}

.how-card__scene {
  position: absolute;
  inset: 2.1rem 0.65rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.how-key-window {
  position: absolute;
  inset: 0.65rem;
  padding: 0.55rem 0.65rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.88);
}

.how-key-label {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.35rem;
}

.how-key-line {
  display: block;
  color: #93c5fd;
}

.how-key-caret {
  display: inline-block;
  width: 2px;
  height: 0.75rem;
  margin-left: 2px;
  background: #60a5fa;
  vertical-align: -2px;
  opacity: 0;
}

.how-key-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 0%,
      transparent 40%,
      rgba(96, 165, 250, 0.07) 50%,
      transparent 60%,
      transparent 100%);
  background-size: 100% 220%;
  background-position: 0 -100%;
  opacity: 0;
  pointer-events: none;
}

.how-rank-lane {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.how-rank-chip {
  padding: 0.25rem 0.5rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 24, 0.9);
  color: rgba(255, 255, 255, 0.5);
  transform: translateY(4px);
  opacity: 0.65;
  transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.how-rank-chip--b {
  border-color: rgba(180, 120, 70, 0.35);
}

.how-rank-chip--s {
  border-color: rgba(59, 130, 246, 0.35);
}

.how-rank-chip--u {
  border-color: rgba(167, 139, 250, 0.4);
}

.how-rank-spark {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.35rem;
  height: 2.5rem;
  opacity: 0.35;
}

.how-rank-path {
  stroke-dasharray: 8 80;
  stroke-dashoffset: 0;
}

.how-dash-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.5;
}

.how-dash-rows {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.how-dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.45rem;
  font-size: 0.58rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateX(-6px);
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.how-dash-id {
  color: rgba(255, 255, 255, 0.55);
}

.how-dash-tag {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: #4ade80;
  letter-spacing: 0.08em;
}

.how-card__body {
  padding: 1rem 1rem 1.15rem;
}

.how-card__step {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: rgba(59, 130, 246, 0.85);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.how-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--os-text);
}

.how-card__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--os-muted);
}

/* ——— Redeem: terminal panel ——— */
.lp-redeem-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #121214 0%, #0a0a0c 100%);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 720px) {
  .lp-redeem-card {
    grid-template-columns: 1fr;
  }
}

.lp-redeem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow:
    0 24px 64px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(59, 130, 246, 0.1),
    0 0 48px -14px rgba(59, 130, 246, 0.18);
}

.lp-redeem-viz {
  position: relative;
  min-height: 11rem;
  background: #050506;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 720px) {
  .lp-redeem-viz {
    min-height: 9rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.lp-redeem-chrome {
  display: flex;
  gap: 5px;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-redeem-chrome span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.lp-redeem-term {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.lp-redeem-term code {
  display: block;
  white-space: pre-wrap;
}

.lp-term-line--dim {
  color: rgba(255, 255, 255, 0.35);
}

.lp-term-line--ok {
  color: #4ade80;
}

.lp-term-caret {
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 2px;
  background: #60a5fa;
  vertical-align: -1px;
  opacity: 0;
}

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

.lp-redeem-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-redeem-heading {
  margin-bottom: 0.35rem;
}

.lp-redeem-intro {
  margin-bottom: 1rem;
}

/* Bento feature cards (HIJACK-style) */
.bento-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.7rem;
}

.bento-card--span-wide-top {
  grid-column: 1;
  grid-row: 1;
}

.bento-card--span-tall-right {
  grid-column: 2;
  grid-row: 1;
}

.bento-card--span-narrow-bottom {
  grid-column: 1;
  grid-row: 2;
}

.bento-card--span-wide-bottom {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 800px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .bento-card--span-wide-top,
  .bento-card--span-tall-right,
  .bento-card--span-narrow-bottom,
  .bento-card--span-wide-bottom {
    grid-column: 1;
    grid-row: auto;
  }
}

.bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, #161618 0%, #101012 100%);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow:
    0 24px 56px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 48px -8px rgba(59, 130, 246, 0.22);
}

.bento-viz {
  position: relative;
  flex: 1;
  min-height: 7.5rem;
  padding: 1rem 1.1rem;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(59, 130, 246, 0.07), transparent 55%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-viz--modules {
  min-height: 8.5rem;
}

.bento-viz__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 4.5rem;
  width: 100%;
  pointer-events: none;
}

.bento-mod-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  max-width: 100%;
}

.bento-mod-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(30, 30, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bento-viz--live {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 9rem;
}

.bento-pill {
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.bento-wave {
  width: 100%;
  height: 3.5rem;
  flex: 1;
  min-height: 3rem;
}

.bento-viz--flow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7rem;
}

.bento-flow {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.bento-flow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 22, 26, 0.9);
  color: rgba(255, 255, 255, 0.45);
}

.bento-flow-node--core {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

.bento-flow-line {
  width: 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(59, 130, 246, 0.35));
  border-radius: 1px;
}

.bento-viz--collab {
  min-height: 8rem;
  padding: 0.85rem 1rem;
}

.bento-collab-top {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.bento-collab-top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.bento-collab-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.bento-chip {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(24, 24, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  max-width: 11rem;
}

.bento-cursors {
  position: relative;
  height: 2rem;
}

.bento-cursor {
  position: absolute;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: #fff;
}

.bento-cursor--a {
  left: 18%;
  top: 0;
  background: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.bento-cursor--a::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -5px;
  border: 4px solid transparent;
  border-top-color: #3b82f6;
}

.bento-cursor--b {
  left: 52%;
  top: 0.35rem;
  background: #6366f1;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.bento-cursor--b::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -5px;
  border: 4px solid transparent;
  border-top-color: #6366f1;
}

.bento-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.bento-body-icon {
  display: flex;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.bento-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.bento-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--os-muted);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes bento-curve-flow {
    to {
      stroke-dashoffset: -120;
    }
  }

  @keyframes bento-cell-twinkle {

    0%,
    100% {
      opacity: 1;
      border-color: rgba(255, 255, 255, 0.06);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    40% {
      opacity: 0.92;
      border-color: rgba(59, 130, 246, 0.35);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 14px rgba(59, 130, 246, 0.2);
    }

    60% {
      opacity: 1;
      border-color: rgba(255, 255, 255, 0.1);
    }
  }

  @keyframes bento-pill-pulse {

    0%,
    100% {
      transform: scale(1);
      opacity: 1;
    }

    50% {
      transform: scale(1.03);
      opacity: 0.92;
    }
  }

  @keyframes bento-wave-drift {

    0%,
    100% {
      transform: translateX(0) translateY(0);
    }

    50% {
      transform: translateX(-3%) translateY(2px);
    }
  }

  @keyframes bento-wave-line-dash {
    to {
      stroke-dashoffset: -56;
    }
  }

  @keyframes bento-core-glow {

    0%,
    100% {
      box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
      transform: scale(1);
    }

    50% {
      box-shadow: 0 0 28px rgba(59, 130, 246, 0.55);
      transform: scale(1.06);
    }
  }

  @keyframes bento-line-shimmer {
    0% {
      opacity: 0.5;
      filter: brightness(0.9);
    }

    50% {
      opacity: 1;
      filter: brightness(1.25);
    }

    100% {
      opacity: 0.5;
      filter: brightness(0.9);
    }
  }

  @keyframes bento-node-fade {

    0%,
    100% {
      opacity: 0.55;
    }

    50% {
      opacity: 1;
    }
  }

  @keyframes bento-chip-rise {

    0%,
    100% {
      transform: translateX(0);
      opacity: 0.88;
    }

    50% {
      transform: translateX(4px);
      opacity: 1;
    }
  }

  @keyframes bento-cursor-float-a {

    0%,
    100% {
      transform: translate(0, 0);
    }

    50% {
      transform: translate(6px, -4px);
    }
  }

  @keyframes bento-cursor-float-b {

    0%,
    100% {
      transform: translate(0, 0);
    }

    50% {
      transform: translate(-5px, 3px);
    }
  }

  @keyframes bento-dot-blink {

    0%,
    100% {
      opacity: 0.25;
      transform: scale(1);
    }

    50% {
      opacity: 0.85;
      transform: scale(1.15);
    }
  }

  .bento-curve-path {
    stroke-dasharray: 24 600;
    stroke-dashoffset: 0;
    animation: bento-curve-flow 5s linear infinite;
  }

  .bento-mod-cell {
    animation: bento-cell-twinkle 2.8s ease-in-out infinite;
  }

  .bento-mod-cell:nth-child(1) {
    animation-delay: 0s;
  }

  .bento-mod-cell:nth-child(2) {
    animation-delay: 0.12s;
  }

  .bento-mod-cell:nth-child(3) {
    animation-delay: 0.24s;
  }

  .bento-mod-cell:nth-child(4) {
    animation-delay: 0.36s;
  }

  .bento-mod-cell:nth-child(5) {
    animation-delay: 0.48s;
  }

  .bento-mod-cell:nth-child(6) {
    animation-delay: 0.6s;
  }

  .bento-mod-cell:nth-child(7) {
    animation-delay: 0.72s;
  }

  .bento-mod-cell:nth-child(8) {
    animation-delay: 0.2s;
  }

  .bento-mod-cell:nth-child(9) {
    animation-delay: 0.32s;
  }

  .bento-mod-cell:nth-child(10) {
    animation-delay: 0.44s;
  }

  .bento-mod-cell:nth-child(11) {
    animation-delay: 0.56s;
  }

  .bento-mod-cell:nth-child(12) {
    animation-delay: 0.68s;
  }

  .bento-mod-cell:nth-child(13) {
    animation-delay: 0.8s;
  }

  .bento-mod-cell:nth-child(14) {
    animation-delay: 0.92s;
  }

  .bento-pill {
    animation: bento-pill-pulse 2.4s ease-in-out infinite;
  }

  .bento-wave-motion {
    animation: bento-wave-drift 4.5s ease-in-out infinite;
    transform-origin: center;
  }

  .bento-wave-line {
    stroke-dasharray: 12 18;
    stroke-dashoffset: 0;
    animation: bento-wave-line-dash 3.5s linear infinite;
  }

  .bento-flow-node:not(.bento-flow-node--core) {
    animation: bento-node-fade 2.2s ease-in-out infinite;
  }

  .bento-flow-node:not(.bento-flow-node--core):first-of-type {
    animation-delay: 0s;
  }

  .bento-flow-node:not(.bento-flow-node--core):last-of-type {
    animation-delay: 0.5s;
  }

  .bento-flow-node--core {
    animation: bento-core-glow 2s ease-in-out infinite;
  }

  .bento-flow-line {
    animation: bento-line-shimmer 1.8s ease-in-out infinite;
  }

  .bento-flow-line:last-of-type {
    animation-delay: 0.35s;
  }

  .bento-chip:nth-child(1) {
    animation: bento-chip-rise 3.2s ease-in-out infinite;
    animation-delay: 0s;
  }

  .bento-chip:nth-child(2) {
    animation: bento-chip-rise 3.2s ease-in-out infinite;
    animation-delay: 0.25s;
  }

  .bento-chip:nth-child(3) {
    animation: bento-chip-rise 3.2s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  .bento-cursor--a {
    animation: bento-cursor-float-a 3.5s ease-in-out infinite;
  }

  .bento-cursor--b {
    animation: bento-cursor-float-b 4s ease-in-out infinite;
    animation-delay: 0.6s;
  }

  .bento-collab-top span:nth-child(1) {
    animation: bento-dot-blink 1.6s ease-in-out infinite;
  }

  .bento-collab-top span:nth-child(2) {
    animation: bento-dot-blink 1.6s ease-in-out infinite;
    animation-delay: 0.25s;
  }

  .bento-collab-top span:nth-child(3) {
    animation: bento-dot-blink 1.6s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  .bento-body-icon svg {
    animation: bento-node-fade 3s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .bento-card:hover {
    transform: none;
  }
}

.lp-steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--os-muted);
}

.lp-steps li {
  margin-bottom: 0.8rem;
  animation: float-in 0.6s ease-out backwards;
}

.lp-steps li:nth-child(1) {
  animation-delay: 0.1s;
}

.lp-steps li:nth-child(2) {
  animation-delay: 0.2s;
}

.lp-steps li:nth-child(3) {
  animation-delay: 0.3s;
}

.lp-steps strong {
  color: var(--os-text);
  font-weight: 600;
}

.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

@media (max-width: 600px) {
  .lp-pricing {
    grid-template-columns: 1fr;
  }
}

.lp-price-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #131316 0%, #0c0c0f 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.45s ease;
  animation: float-in 0.6s ease-out backwards;
}

.lp-price-card:nth-child(1) {
  animation-delay: 0.1s;
}

.lp-price-card:nth-child(2) {
  animation-delay: 0.2s;
}

.lp-price-card:nth-child(3) {
  animation-delay: 0.3s;
}

.lp-price-card:hover {
  transform: translateY(-10px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 20px 56px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 44px -10px rgba(59, 130, 246, 0.22);
}

.lp-price-card--featured {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(165deg, #141820 0%, #0c1018 100%);
  box-shadow:
    0 0 48px -12px rgba(59, 130, 246, 0.35),
    inset 0 1px 0 rgba(96, 165, 250, 0.12);
  z-index: 1;
}

.lp-price-card--featured:hover {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow:
    0 24px 64px -16px rgba(0, 0, 0, 0.55),
    0 0 64px -8px rgba(59, 130, 246, 0.45),
    inset 0 1px 0 rgba(147, 197, 253, 0.18);
}

.lp-price-viz {
  position: relative;
  height: 7.5rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lp-price-viz__glow {
  position: absolute;
  inset: -40%;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.lp-price-viz--bronze .lp-price-viz__glow {
  background: radial-gradient(circle at 50% 80%, rgba(180, 120, 70, 0.4), transparent 55%);
}

.lp-price-viz--silver .lp-price-viz__glow {
  background: radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.45), rgba(167, 139, 250, 0.2) 45%, transparent 60%);
}

.lp-price-viz--ultimate .lp-price-viz__glow {
  background: radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.35), rgba(59, 130, 246, 0.15) 40%, transparent 65%);
}

.lp-price-card:hover .lp-price-viz__glow {
  opacity: 0.55;
  transform: scale(1.08);
}

.lp-price-bars {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 3.25rem;
}

.lp-price-bars i {
  display: block;
  width: 9px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(205, 150, 90, 0.9), rgba(120, 80, 45, 0.5));
  box-shadow: 0 0 12px rgba(180, 120, 70, 0.25);
  transform-origin: bottom;
  transform: scaleY(0.35);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-price-bars i:nth-child(1) {
  height: 28%;
}

.lp-price-bars i:nth-child(2) {
  height: 45%;
}

.lp-price-bars i:nth-child(3) {
  height: 62%;
}

.lp-price-bars i:nth-child(4) {
  height: 78%;
}

.lp-price-bars i:nth-child(5) {
  height: 100%;
}

.lp-price-card:hover .lp-price-bars i {
  transform: scaleY(1);
}

.lp-price-bars i:nth-child(1) {
  transition-delay: 0s;
}

.lp-price-bars i:nth-child(2) {
  transition-delay: 0.04s;
}

.lp-price-bars i:nth-child(3) {
  transition-delay: 0.08s;
}

.lp-price-bars i:nth-child(4) {
  transition-delay: 0.12s;
}

.lp-price-bars i:nth-child(5) {
  transition-delay: 0.16s;
}

.lp-price-viz__label {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.28);
}

.lp-price-wave {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.85rem;
  height: 3rem;
  opacity: 0.55;
}

.lp-price-wave-path {
  stroke-dasharray: 12 100;
  stroke-dashoffset: 0;
}

.lp-price-orbit {
  position: absolute;
  inset: 0.5rem;
  pointer-events: none;
}

.lp-price-orbit span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 10px rgba(147, 197, 253, 0.6);
  opacity: 0.4;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.lp-price-orbit span:nth-child(1) {
  left: 12%;
  top: 35%;
}

.lp-price-orbit span:nth-child(2) {
  left: 48%;
  top: 18%;
}

.lp-price-orbit span:nth-child(3) {
  right: 14%;
  top: 42%;
}

.lp-price-card:hover .lp-price-orbit span {
  opacity: 1;
}

.lp-price-hexgrid {
  position: absolute;
  inset: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.lp-price-hexgrid span {
  width: 1.1rem;
  height: 1.1rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.lp-price-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0 -1.125rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(99, 102, 241, 0.35));
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.35);
  transform: scale(0.85);
  opacity: 0.75;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.lp-price-card:hover .lp-price-core {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(129, 140, 248, 0.55);
}

.lp-price-card:hover .lp-price-hexgrid span:nth-child(odd) {
  transform: translateY(-3px);
  background: rgba(129, 140, 248, 0.15);
}

.lp-price-card:hover .lp-price-hexgrid span:nth-child(even) {
  transform: translateY(3px);
  background: rgba(59, 130, 246, 0.12);
}

.lp-price-copy {
  padding: 1.15rem 1rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-price-name {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--os-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lp-price-amount {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: linear-gradient(135deg, #fff 0%, #c4c9d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-price-detail {
  margin: 0;
  font-size: 0.78rem;
  color: var(--os-muted);
}

.lp-footnote {
  margin: 0;
  font-size: 0.78rem;
  color: var(--os-muted);
  line-height: 1.6;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.lp-pill-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a3a3a3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: default;
  user-select: none;
}

.lp-footer {
  margin-top: 2.5rem;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--os-muted);
}

.lp-footer a {
  color: var(--os-muted);
  text-decoration: none;
}

.lp-footer a:hover {
  color: var(--os-text);
  text-decoration: underline;
}

.lp-footer-dot {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.osint-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a0a0a;
  background: linear-gradient(180deg, #ffffff 0%, #f1f2f4 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 28px -8px rgba(255, 255, 255, 0.16);
}

.osint-coming-soon:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #0a0a0a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 0 36px -6px rgba(255, 255, 255, 0.22);
}

.osint-shell-outer {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.osint-shell-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: 108%;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.osint-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 32px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  overflow: hidden;
  min-height: 0;
}

.osint-dashboard--mock {
  min-height: auto;
  opacity: 0.97;
}

/* Rim + edge glow (static, no pulse) */
.osint-dashboard-rim {
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 96px -14px rgba(96, 165, 250, 0.38),
    0 0 132px -22px rgba(167, 139, 250, 0.26),
    0 28px 72px rgba(0, 0, 0, 0.55);
}

.osint-dashboard-rim::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.45) 0%,
      transparent 35%,
      transparent 65%,
      rgba(168, 85, 247, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.65;
  z-index: 2;
}

.osint-dashboard-rim>* {
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .osint-dashboard {
    grid-template-columns: 1fr;
  }

  .osint-sidebar {
    border-right: none !important;
    border-bottom: 1px solid var(--os-border);
  }
}

.osint-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--os-border);
  background: rgba(10, 10, 10, 0.5);
}

.osint-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.osint-brand-icon {
  color: var(--os-blue);
  display: flex;
}

.osint-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.osint-nav-label {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--os-muted);
}

.osint-nav-label:first-child {
  margin-top: 0;
}

.osint-nav-item {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--os-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.osint-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--os-text);
  text-decoration: none;
}

.osint-nav-item.is-active {
  background: var(--os-blue-dim);
  color: var(--os-blue);
  font-weight: 500;
}

.osint-nav--mock .osint-nav-item {
  cursor: default;
  pointer-events: none;
}

.osint-main--mock {
  padding: 1rem 1.1rem 1.1rem;
  gap: 0.75rem;
}

/* Mock main: empty canvas only (copy lives in .osint-hero above) */
.osint-main--preview-empty {
  justify-content: stretch;
  align-items: stretch;
  min-height: 13rem;
  padding: 1rem 1.1rem 1.1rem;
}

.osint-preview-canvas {
  flex: 1;
  min-height: 11rem;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: rgba(0, 0, 0, 0.2);
}

.osint-input--fake {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--os-muted);
  user-select: none;
}

.osint-search-btn--fake {
  margin-top: 0.65rem;
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

.osint-docs-btn--fake {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.osint-export-btn--fake {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.osint-user-card {
  margin-top: 1.25rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--os-border);
  background: var(--os-panel-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.osint-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--os-green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  flex-shrink: 0;
}

.osint-user-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.osint-user-credits {
  font-size: 0.72rem;
  color: var(--os-muted);
}

.osint-main {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.osint-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.osint-main-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.osint-main-desc {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--os-muted);
}

.osint-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--os-muted);
  border: 1px solid var(--os-border);
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.osint-docs-btn:hover {
  color: var(--os-text);
  border-color: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.osint-search-card {
  background: var(--os-panel-2);
  border: 1px solid var(--os-border);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
}

.osint-main--mock .osint-search-card {
  padding: 0.75rem 0.85rem 0.85rem;
}

.osint-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.osint-source {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--os-muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--os-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.osint-source:hover {
  color: var(--os-text);
  border-color: rgba(255, 255, 255, 0.12);
}

.osint-source.is-on {
  background: var(--os-blue-dim);
  border-color: rgba(59, 130, 246, 0.45);
  color: var(--os-blue);
}

span.osint-source.is-on {
  cursor: default;
}

.osint-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.osint-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.osint-field-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--os-muted);
}

.osint-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--os-text);
  background: #0d0d0d;
  border: 1px solid var(--os-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.osint-input:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.osint-input:focus {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.osint-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 700px) {
  .osint-field-row {
    grid-template-columns: 1fr;
  }
}

.osint-search-btn {
  margin-top: 1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #0a0a0a;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}

.osint-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.osint-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .osint-stats {
    grid-template-columns: 1fr;
  }
}

.osint-stat {
  background: var(--os-panel-2);
  border: 1px solid var(--os-border);
  border-radius: 12px;
  padding: 1rem 1.05rem;
  position: relative;
  overflow: hidden;
  animation: osint-stat-glow 4s ease-in-out infinite;
}

.osint-stat:nth-child(2) {
  animation-delay: 0.5s;
}

.osint-stat:nth-child(3) {
  animation-delay: 1s;
}

@keyframes osint-stat-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 0 0 24px -8px rgba(255, 255, 255, 0.06);
  }
}

.osint-stat-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08), transparent 55%);
  pointer-events: none;
}

.osint-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--os-muted);
  margin-bottom: 0.35rem;
}

.osint-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.osint-main--mock .osint-stat {
  padding: 0.65rem 0.75rem;
}

.osint-main--mock .osint-stat-value {
  font-size: 1.2rem;
}

.osint-stat-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.35rem;
}

.osint-stat-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.osint-icon-clock {
  color: var(--os-green);
}

.osint-icon-bolt {
  color: var(--os-amber);
}

.osint-results {
  border: 1px solid var(--os-border);
  border-radius: 12px;
  background: var(--os-panel-2);
  overflow: hidden;
}

.osint-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--os-border);
}

.osint-results-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.osint-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--os-green-bg);
  color: var(--os-green);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.osint-export {
  display: flex;
  gap: 0.4rem;
}

.osint-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--os-muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--os-border);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.osint-export-btn:hover {
  color: var(--os-text);
  border-color: rgba(255, 255, 255, 0.12);
}

.osint-code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  opacity: 0.85;
}

.osint-results-body {
  padding: 1rem 1.1rem 1.15rem;
  background-color: #0e0e0e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.osint-kv {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.osint-kv>div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: baseline;
}

@media (max-width: 520px) {
  .osint-kv>div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.osint-kv dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--os-muted);
}

.osint-kv dd {
  margin: 0;
  font-size: 0.88rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--os-text);
}

.osint-nav-admin {
  color: #c4b5fd !important;
}

.osint-inline-form {
  display: inline;
  margin: 0;
}

.osint-btn-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--os-muted);
}

.osint-btn-link:hover {
  color: var(--os-text);
  text-decoration: underline;
}

.osint-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.osint-guest-gate {
  padding: 0.25rem 0;
}

.osint-guest-text {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--os-muted);
  line-height: 1.5;
}

.osint-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.osint-search-btn--link {
  text-decoration: none;
  width: auto;
  min-width: 140px;
}

.osint-subcard-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.osint-subcard-desc {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--os-muted);
  line-height: 1.45;
}

.osint-inline-redeem {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.osint-input--flex {
  flex: 1;
  min-width: 200px;
}

.osint-redeem-submit {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.osint-redeem-submit:hover {
  filter: brightness(1.05);
}

.osint-panel-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--os-blue);
  background: var(--os-blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.osint-panel-btn:hover {
  background: rgba(59, 130, 246, 0.22);
  text-decoration: none;
  color: #93c5fd;
}

.osint-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--os-muted);
}

.osint-activity-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--os-border);
}

.osint-activity-list li:last-child {
  border-bottom: none;
}

.osint-docs-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--os-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.osint-docs-list li {
  margin-bottom: 0.4rem;
}

.osint-badge-muted {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--os-muted) !important;
  border-color: var(--os-border) !important;
}

.osint-results-placeholder {
  margin: 0;
  font-size: 0.88rem;
  color: var(--os-muted);
}

.osint-results-empty .osint-results-body {
  min-height: 4rem;
  display: flex;
  align-items: center;
}

.osint-flash-list {
  margin: 0 0 1rem;
}

/* ——— HIJACK-style landing (breach.rip) ——— */
.page-landing-hi {
  --os-bg: #000000;
  --hi-muted: #9a9a9e;
  --hi-line: rgba(255, 255, 255, 0.12);
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
}

html:has(body.page-landing-hi) {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

html:has(body.page-landing-hi),
html:has(body.page-auth) {
  overflow-x: clip;
}

.page-landing-hi .osint-landing.hi-landing {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.page-landing-hi .osint-landing {
  position: relative;
  z-index: 1;
}

/* No staged “hi-page-ready” reveal — it caused reload flashes (hidden nav/hero, overlay fades). */

.page-landing-hi .card-anim {
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ——— Load-in: staggered slide-up + soft pop (video layer untouched) ——— */
@keyframes hi-rise-in {
  from {
    opacity: 0;
    transform: translateY(1.35rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-landing-hi .hi-nav-logo,
.page-auth .hi-nav-logo {
  animation: hi-rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.page-landing-hi .hi-nav-link,
.page-auth .hi-nav-link {
  animation: hi-rise-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-landing-hi .hi-nav-link:nth-child(1),
.page-auth .hi-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.page-landing-hi .hi-nav-link:nth-child(2),
.page-auth .hi-nav-link:nth-child(2) {
  animation-delay: 0.14s;
}

.page-landing-hi .hi-nav-link:nth-child(3),
.page-auth .hi-nav-link:nth-child(3) {
  animation-delay: 0.18s;
}

.page-landing-hi .hi-nav-link:nth-child(4),
.page-auth .hi-nav-link:nth-child(4) {
  animation-delay: 0.22s;
}

.page-landing-hi .hi-nav-link:nth-child(5),
.page-auth .hi-nav-link:nth-child(5) {
  animation-delay: 0.26s;
}

.page-landing-hi .hi-nav-actions,
.page-auth .hi-nav-actions {
  animation: hi-rise-in 0.64s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

/* Dashboard: apply the same rise-in load animation to elements marked with .hi-load-in */
.page-app-new .hi-load-in {
  animation: hi-rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-app-new .hi-load-in:nth-child(1) { animation-delay: 0.06s; }
.page-app-new .hi-load-in:nth-child(2) { animation-delay: 0.12s; }
.page-app-new .hi-load-in:nth-child(3) { animation-delay: 0.18s; }
.page-app-new .hi-load-in:nth-child(4) { animation-delay: 0.24s; }


.page-landing-hi .hi-hero-title,
.page-auth .hi-hero-title {
  animation: hi-rise-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.page-landing-hi .hi-hero-lead {
  animation: hi-rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.page-landing-hi .hi-hero-actions,
.page-auth .hi-hero .auth-container {
  animation: hi-rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

.hi-landing-scroll .hi-panel.hi-load-in {
  animation: hi-rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hi-landing-scroll .hi-catalog.hi-load-in {
  animation: hi-rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hi-landing-scroll .hi-panel.hi-load-in:nth-child(2) {
  animation-delay: 0.58s;
}

.hi-landing-scroll .hi-panel.hi-load-in:nth-child(3) {
  animation-delay: 0.7s;
}

.hi-landing-scroll .hi-panel.hi-load-in:nth-child(4) {
  animation-delay: 0.82s;
}

.hi-features-band .hi-features-header.hi-load-in {
  animation: hi-rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
}

.hi-features-band .hi-feature-card.hi-load-in {
  animation: hi-rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hi-features-band .hi-feature-card.hi-load-in:nth-child(1) {
  animation-delay: 0.56s;
}

.hi-features-band .hi-feature-card.hi-load-in:nth-child(2) {
  animation-delay: 0.64s;
}

.hi-features-band .hi-feature-card.hi-load-in:nth-child(3) {
  animation-delay: 0.72s;
}

@media (prefers-reduced-motion: reduce) {

  .page-landing-hi .hi-nav-logo,
  .page-auth .hi-nav-logo,
  .page-landing-hi .hi-nav-link,
  .page-auth .hi-nav-link,
  .page-landing-hi .hi-nav-actions,
  .page-auth .hi-nav-actions,
  .page-landing-hi .hi-hero-title,
  .page-auth .hi-hero-title,
  .page-landing-hi .hi-hero-lead,
  .page-landing-hi .hi-hero-actions,
  .page-auth .hi-hero .auth-container,
  .hi-landing-scroll .hi-panel.hi-load-in,
  .hi-landing-scroll .hi-catalog.hi-load-in,
  .hi-catalog .hi-pro-card.hi-load-in,
  .hi-catalog .hi-price-card.hi-load-in,
  .hi-features-band .hi-features-header.hi-load-in,
  .hi-features-band .hi-feature-card.hi-load-in,
  .hi-features-band .hi-feature-card--live::before,
  .hi-features-band .hi-feat-visual,
  .hi-features-band .hi-feat-mod--pop,
  .orbit-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hi-features-band .hi-feature-card--live:hover::before {
    box-shadow: none;
  }
}

.hi-opening {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: #f4f3f0;
}

.hi-opening-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #06070d;
}

.hi-opening-ambient {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  left: -4%;
  top: -4%;
}

.hi-opening-ambient-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(195deg, #05060a 0%, #080b14 55%, #0a0c12 100%);
}

/* Overscan inside wrap (overflow hidden) — kills letterboxing / top “black” sliver without clipping bleed */
.hi-opening-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.hi-opening-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  min-width: 118%;
  min-height: 118%;
  max-width: none;
  transform: translate(-50%, -50%) scale(1.14);
  object-fit: cover;
  object-position: center 42%;
}

.hi-opening-ambient-pulse {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 100% 75% at 50% 70%, transparent 28%, rgba(0, 0, 0, 0.48) 100%);
  animation: hiAmbientPulse 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hiAmbientPulse {
  0% {
    opacity: 0.82;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hi-opening-ambient-pulse {
    animation: none;
  }

  .hi-opening-video {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.hi-opening-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light top so sky/stays bright; darken only lower band for UI contrast */
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 42%),
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
  pointer-events: none;
}

.hi-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hi-opening-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  box-sizing: border-box;
}

.hi-main {
  max-width: min(1240px, 100%);
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2rem) 3rem;
}

.hi-nav-outer {
  margin-bottom: 0;
  flex-shrink: 0;
}

.hi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    calc(1.5rem + env(safe-area-inset-top, 0px))
    clamp(1.35rem, 4vw, 2rem)
    1.35rem;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.hi-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hi-logo-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1.5px solid #fff;
  position: relative;
  flex-shrink: 0;
}

.hi-logo-icon::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 1.5px;
  background: #fff;
  right: -0.2rem;
  bottom: 0.1rem;
  transform: rotate(45deg);
}

.hi-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: lowercase;
}

/* Smooth scrolling for landing page anchors */
body.page-landing-hi {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hi-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hi-nav-link {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}

.hi-nav-link:hover {
  color: #fff;
}

.hi-nav-actions {
  display: flex;
  align-items: center;
}

.hi-btn-outline-xs {
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}

.hi-btn-outline-xs:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hi-btn-outline {
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}

.hi-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hi-nav--opening .hi-nav-link {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.hi-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hi-nav-brand-text {
  letter-spacing: 0.2em;
}

.hi-nav-brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.hi-nav-logo {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.hi-nav-logo::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  right: -0.28rem;
  bottom: 0.12rem;
  transform: rotate(42deg);
  border-radius: 1px;
}

.hi-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 1.35rem;
  flex: 1;
}

.hi-nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hi-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.hi-nav-link:hover {
  color: #e4e4e7;
  text-decoration: none;
}

.hi-nav-link.is-active {
  color: #fff;
}

.hi-nav--opening .hi-nav-link.is-active,
.hi-nav--opening .hi-nav-link:hover {
  color: #f4f4f5;
}

.hi-nav-cta {
  flex-shrink: 0;
}

.hi-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hi-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
}

.hi-btn-ghost--inverse {
  border-color: rgba(255, 255, 255, 0.5);
}

.hi-btn-ghost--arrow {
  gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1.15rem;
}

.hi-btn-ghost-orbit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hi-btn-ghost-orbit-arrow {
  font-size: 0.75rem;
  line-height: 1;
  transform: translateX(1px);
}

.hi-btn-ghost--arrow:hover .hi-btn-ghost-orbit {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
}

.hi-btn-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hi-muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}

.hi-btn-text:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .hi-nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.35rem 1rem;
  }

  .hi-nav {
    flex-wrap: wrap;
  }

  .hi-nav--opening .hi-nav-link {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

.hi-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
}

.hi-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 clamp(1.35rem, 4vw, 2rem)
    calc(clamp(5.5rem, 16vh, 9.5rem) + env(safe-area-inset-bottom, 0px));
}

.hi-hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  color: #fff;
}

.hi-hero-title i {
  display: block;
  font-weight: 400;
  font-style: italic;
  opacity: 0.9;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.alert {
  background: transparent;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.alert-error {
  color: #ff4444;
}

.hi-hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hi-btn-outline-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: auto;
  min-width: 240px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 1.25rem 2.5rem;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.hi-btn-outline-large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-1px);
}

.hi-btn-circle-arrow {
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}

/* Auth specific override for full width */
.auth-container .hi-btn-outline-large {
  width: 100%;
}

.hi-ilo-stack {
  position: relative;
  width: 100%;
  height: min(400px, 52vh);
  min-height: 300px;
}

.hi-ilo-stack--sidebar {
  height: 420px;
  min-height: 360px;
  max-height: calc(100vh - 6rem);
}

.hi-lookup-shell-stack .hi-ilo-stack--sidebar {
  max-height: min(420px, 52vh);
}

.hi-neo-stack {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
}

.hi-lookup-shell-stack .hi-neo-stack {
  max-height: min(420px, 52vh);
}

.hi-neo-card {
  position: absolute;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease, border-color 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.hi-neo-card--back {
  width: 85%;
  height: 190px;
  top: 4%;
  right: 2%;
  padding: 1rem;
  z-index: 1;
  transform: rotateX(12deg) rotateY(-8deg) rotateZ(3deg) translateZ(-40px);
  opacity: 0.7;
  animation: neoFloatBack 12s ease-in-out infinite alternate;
}

.hi-neo-card--main {
  width: 95%;
  max-width: 320px;
  bottom: 8%;
  left: 2%;
  padding: 1.25rem;
  z-index: 2;
  transform: rotateX(4deg) rotateY(6deg) rotateZ(-2deg) translateZ(30px);
  animation: neoFloatMain 14s ease-in-out infinite alternate;
}

.hi-lookup-shell:hover .hi-neo-card--main {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.95), 0 0 120px -20px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hi-lookup-shell:hover .hi-neo-card--back {
  opacity: 0.4;
  filter: blur(4px);
}

@keyframes neoFloatBack {
  0% {
    transform: rotateX(12deg) rotateY(-8deg) rotateZ(3deg) translateZ(-40px);
  }

  100% {
    transform: rotateX(15deg) rotateY(-10deg) rotateZ(5deg) translateZ(-30px) translateY(-8px);
  }
}

@keyframes neoFloatMain {
  0% {
    transform: rotateX(4deg) rotateY(6deg) rotateZ(-2deg) translateZ(30px);
  }

  100% {
    transform: rotateX(7deg) rotateY(9deg) rotateZ(-1deg) translateZ(35px) translateY(-6px);
  }
}

.hi-neo-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: #a1a1aa;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hi-neo-icon {
  color: #818cf8;
  font-size: 0.9rem;
}

.hi-neo-graph {
  position: relative;
  height: 110px;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  border-radius: 8px;
  overflow: hidden;
}

.hi-neo-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
}

.hi-neo-node-c {
  top: 45%;
  left: 45%;
  width: 10px;
  height: 10px;
  background: #818cf8;
  box-shadow: 0 0 15px #818cf8;
}

.hi-neo-node-1 {
  top: 15%;
  left: 20%;
  animation: neoPulseFast 2s infinite alternate;
}

.hi-neo-node-2 {
  top: 75%;
  left: 30%;
}

.hi-neo-node-3 {
  top: 55%;
  left: 75%;
}

.hi-neo-line {
  position: absolute;
  height: 1px;
  background: rgba(99, 102, 241, 0.4);
  transform-origin: 0 50%;
}

.hi-neo-line-1 {
  top: 50%;
  left: 48%;
  width: 42px;
  transform: rotate(-135deg);
}

.hi-neo-line-2 {
  top: 50%;
  left: 48%;
  width: 45px;
  transform: rotate(115deg);
}

.hi-neo-line-3 {
  top: 50%;
  left: 48%;
  width: 68px;
  transform: rotate(15deg);
}

.hi-neo-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.hi-neo-tag {
  font-size: 0.55rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #a5b4fc;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hi-neo-live-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.hi-neo-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: neoPulseFast 1.5s infinite alternate;
}

@keyframes neoPulseFast {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.hi-neo-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.hi-neo-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3730a3, #312e81);
  border: 1px solid rgba(165, 180, 252, 0.4);
  box-shadow: 0 0 20px rgba(55, 48, 163, 0.4);
}

.hi-neo-user h4 {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4f4f5;
  letter-spacing: 0.02em;
}

.hi-neo-user span {
  font-size: 0.65rem;
  color: #71717a;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.hi-neo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hi-neo-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hi-neo-sl {
  font-size: 0.55rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hi-neo-sv {
  font-size: 0.95rem;
  color: #f4f4f5;
  font-weight: 700;
}

.hi-neo-alert {
  color: #f87171;
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.45);
}

.hi-neo-feed {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hi-neo-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.7rem;
  line-height: 1.4;
}

.hi-neo-fi-time {
  color: #52525b;
  min-width: 48px;
  font-size: 0.65rem;
  padding-top: 0.05rem;
}

.hi-neo-fi-event {
  color: #a1a1aa;
}

.hi-neo-fi-event em {
  color: #e4e4e7;
  font-style: normal;
  font-weight: 500;
}

.hi-neo-module {
  position: absolute;
  top: 35%;
  right: -3%;
  width: 46px;
  height: 60px;
  border-radius: 8px;
  background: rgba(24, 24, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  z-index: 3;
  animation: neoFloatMod 8s ease-in-out infinite alternate;
  transform: translateZ(60px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hi-neo-mod-icon {
  color: #52525b;
  font-size: 0.8rem;
  line-height: 1;
}

.hi-neo-mod-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.hi-neo-bar {
  width: 3px;
  background: #6366f1;
  border-radius: 1px;
}

@keyframes neoFloatMod {
  0% {
    transform: translateY(0) translateZ(60px);
  }

  100% {
    transform: translateY(-18px) translateZ(50px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hi-neo-card--back,
  .hi-neo-card--main,
  .hi-neo-module {
    animation: none;
  }
}

.hi-hero-title {
  margin: 0 0 1.75rem;
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.07;
  color: #ebe8e3;
  font-style: normal;
}

.hi-hero-em {
  font-style: italic;
  font-weight: 500;
  color: #f5f3ef;
}

.hi-hero-muted {
  color: #71717a;
  font-weight: 600;
}

.hi-hero-desc,
.hi-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
}

.hi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-start;
  align-items: center;
}

.hi-main--after-hero {
  padding-top: 3rem;
}

/* Feature band (below video hero) */
.hi-features-band {
  position: relative;
  z-index: 2;
  background: #0a0b10;
  padding:
    clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(5rem, 12vw, 8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.hi-features-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hi-features-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  align-items: start;
}

/* Nudge the features header down to create more space from the hero */
.hi-features-header {
  margin-top: clamp(1.25rem, 3.5vw, 2.5rem);
}

.hi-features-header h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
}

.hi-features-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #8b8b99;
  max-width: 36rem;
}

.hi-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.65rem);
}

.hi-feature-card {
  background: #12141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.hi-feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hi-feature-card-blurb {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #8b8f9c;
}

.hi-features-band .hi-feature-card--live {
  position: relative;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.hi-features-band .hi-feature-card--live::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  pointer-events: none;
  z-index: 0;
  animation: hi-card-aura 4.8s ease-in-out infinite;
}

.hi-features-band .hi-feature-card--live:nth-child(1)::before {
  animation-delay: 0s;
}

.hi-features-band .hi-feature-card--live:nth-child(2)::before {
  animation-delay: 1.6s;
}

.hi-features-band .hi-feature-card--live:nth-child(3)::before {
  animation-delay: 3.2s;
}

.hi-features-band .hi-feature-card--live > * {
  position: relative;
  z-index: 1;
}

@keyframes hi-card-aura {

  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(99, 102, 241, 0),
      0 20px 48px rgba(0, 0, 0, 0.35);
  }

  50% {
    box-shadow:
      0 0 42px -10px rgba(99, 102, 241, 0.28),
      0 26px 52px rgba(0, 0, 0, 0.42);
  }
}

.hi-features-band .hi-feature-card--live:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
}

.hi-features-band .hi-feature-card--live:hover::before {
  animation-play-state: paused;
}

.hi-features-band .hi-feat-visual {
  animation: hi-feat-visual-breathe 5s ease-in-out infinite;
}

.hi-features-band .hi-feature-card--live:nth-child(1) .hi-feat-visual {
  animation-delay: 0s;
}

.hi-features-band .hi-feature-card--live:nth-child(2) .hi-feat-visual {
  animation-delay: 0.6s;
}

.hi-features-band .hi-feature-card--live:nth-child(3) .hi-feat-visual {
  animation-delay: 1.2s;
}

@keyframes hi-feat-visual-breathe {

  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.06);
    background-color: rgba(0, 0, 0, 0.35);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.42);
  }
}

.hi-features-band .hi-feat-mod--pop {
  animation: hi-feat-mod-nudge 3.2s ease-in-out infinite;
}

.hi-features-band .hi-feat-mod--pop:nth-of-type(1) {
  animation-delay: 0s;
}

.hi-features-band .hi-feat-mod--pop:nth-of-type(2) {
  animation-delay: 0.2s;
}

.hi-features-band .hi-feat-mod--pop:nth-of-type(3) {
  animation-delay: 0.4s;
}

@keyframes hi-feat-mod-nudge {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

.hi-feat-visual--shield .orbit {
  position: absolute;
  inset: 8% 6%;
  pointer-events: none;
  z-index: 0;
}

.orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: hi-orbit-dot 2.5s ease-in-out infinite;
}

.orbit-dot--a {
  top: 6%;
  left: 18%;
  background: rgba(122, 184, 255, 0.95);
}

.orbit-dot--b {
  top: 38%;
  right: 10%;
  background: rgba(94, 228, 163, 0.95);
  animation-delay: 0.45s;
}

.orbit-dot--c {
  bottom: 12%;
  left: 36%;
  background: rgba(232, 197, 71, 0.95);
  animation-delay: 0.9s;
}

@keyframes hi-orbit-dot {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hi-feat-visual {
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 0.85rem;
  overflow: hidden;
}

.hi-feat-visual--modules {
  gap: 0.45rem;
}

.hi-feat-mod {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
}

.hi-feat-mod i {
  font-size: 0.7rem;
  opacity: 0.85;
}

.hi-feat-mod--amber {
  border-left: 3px solid #e8c547;
}

.hi-feat-mod--green {
  border-left: 3px solid var(--success);
}

.hi-feat-mod--rose {
  border-left: 3px solid #f472b6;
}

.hi-feat-visual-cap {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #7a7d8a;
}

.hi-feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.hi-feat-tags span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9a9dad;
}

.hi-feat-visual--pipe {
  padding: 0.75rem 0.65rem;
}

.hi-feat-pipe-hd {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7080;
  margin-bottom: 0.65rem;
  padding: 0 0.15rem;
}

.hi-feat-pipe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hi-feat-pipe-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
}

.hi-feat-pipe-ic {
  width: 1.1rem;
  display: inline-flex;
  justify-content: center;
  font-size: 0.62rem;
}

.hi-feat-pipe-ic--ok {
  color: var(--success);
}

.hi-feat-pipe-ic--run {
  color: #e8c547;
}

.hi-feat-pipe-ic--run i {
  animation: hi-feat-spin 1.1s linear infinite;
}

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

.hi-feat-pipe-t {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: #6b7080;
}

@media (prefers-reduced-motion: reduce) {
  .hi-feat-pipe-ic--run i {
    animation: none;
  }
}

.hi-feat-visual--shield {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.25));
}

.hi-feat-shield-ring {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hi-feat-shield-iclarge {
  font-size: 3.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.hi-feat-shield-check {
  position: absolute;
  right: 0.15rem;
  bottom: 0.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--success);
  color: #07080c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  box-shadow: 0 4px 14px rgba(94, 228, 163, 0.35);
}

@media (max-width: 960px) {
  .hi-features-header {
    grid-template-columns: 1fr;
  }

  .hi-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage: solid band below full-viewport video hero */
.hi-landing-scroll {
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* Landing: products + pricing catalog */
.hi-catalog {
  max-width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 1.75rem) clamp(3.5rem, 8vw, 5.5rem);
  scroll-margin-top: 100px;
}

.hi-catalog-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.hi-catalog-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.hi-catalog-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
}

.hi-catalog-lead {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: #8f939e;
}

.hi-pro-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.hi-pro-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 900px) {
  .hi-pro-card {
    grid-template-columns: minmax(240px, 0.95fr) 1fr 1fr;
    align-items: start;
    gap: clamp(1.75rem, 3vw, 2.5rem);
    padding: clamp(2rem, 3.5vw, 2.65rem) clamp(2rem, 3.5vw, 2.75rem);
  }
}

.hi-pro-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.hi-pro-card-intro {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hi-pro-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
}

.hi-pro-card-title {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hi-pro-card-cat {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b707a;
}

.hi-pro-card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: rgba(244, 245, 248, 0.88);
}

.hi-pro-card-cta {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease, gap 0.2s ease;
}

.hi-pro-card-cta:hover {
  color: #fff;
}

.hi-pro-card-cta span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hi-pro-card-cta:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

.hi-pro-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hi-pro-card-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.hi-pro-bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--hi-pro-accent, #7ab8ff);
}

.hi-pro-card--blue {
  --hi-pro-accent: #4d9fff;
}

.hi-pro-card--violet {
  --hi-pro-accent: #a78bfa;
}

.hi-pro-card--green {
  --hi-pro-accent: #48cf8d;
}

.hi-pro-feat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hi-pro-feat strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.hi-pro-feat-sub {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #7a7f89;
}

.hi-catalog-pricing {
  scroll-margin-top: 5rem;
}

.hi-catalog-pricing-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}

.hi-catalog-pricing-h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hi-catalog-pricing-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #8f939e;
}

.hi-pricing-grid--catalog {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  margin-top: 0.25rem;
}

.hi-catalog .hi-pro-card.hi-load-in {
  animation: hi-rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hi-catalog .hi-pro-card.hi-load-in:nth-child(1) {
  animation-delay: 0.56s;
}

.hi-catalog .hi-pro-card.hi-load-in:nth-child(2) {
  animation-delay: 0.64s;
}

.hi-catalog .hi-pro-card.hi-load-in:nth-child(3) {
  animation-delay: 0.72s;
}

.hi-catalog .hi-price-card.hi-load-in {
  animation: hi-rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hi-catalog .hi-price-card.hi-load-in:nth-child(1) {
  animation-delay: 0.78s;
}

.hi-catalog .hi-price-card.hi-load-in:nth-child(2) {
  animation-delay: 0.86s;
}

.hi-catalog .hi-price-card.hi-load-in:nth-child(3) {
  animation-delay: 0.94s;
}

.hi-panel {
  max-width: 38rem;
  margin: 0 auto 2.75rem;
  padding: 0 0.25rem;
}

.hi-panel--testimonials {
  max-width: 1200px;
  width: 100%;
  margin: 8rem auto 4rem;
  padding: 0 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hi-test-head {
  text-align: left;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.hi-test-h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.hi-test-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #a1a1aa;
}

.hi-test-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hi-test-marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.hi-test-track {
  display: flex;
  gap: 1.25rem;
  min-width: max-content;
  will-change: transform;
  animation: scrollMarquee 100s linear infinite;
}

.hi-test-track:hover {
  animation-play-state: paused;
}

.hi-test-track--reverse {
  animation: scrollMarquee 115s linear infinite reverse;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

/* Visual: Platform Modules */
.hi-visual--modules {
  background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.hi-module-nodes {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hi-node {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hi-node i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
}

.hi-node:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.hi-visual-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Visual: Live Intelligence */
.hi-live-graph {
  width: 80%;
  height: 120px;
  position: relative;
  background: linear-gradient(transparent, rgba(59, 130, 246, 0.05));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hi-graph-line {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Cpath d='M0,80 Q50,20 100,70 T200,30 T300,60 T400,20' fill='none' stroke='%233b82f6' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.hi-graph-source-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Visual: Workflow Automation */
.hi-workflow-nodes {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hi-wf-node {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hi-wf-node--active {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.hi-wf-node i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
}

.hi-wf-node--active i {
  color: #3b82f6;
}

/* Visual: Team Collaboration */
.hi-team-ui {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.hi-team-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  width: 140px;
  text-align: center;
}

.hi-team-cursor {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hi-team-cursor i {
  font-size: 0.9rem;
  color: #3b82f6;
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

.hi-team-cursor span {
  background: #3b82f6;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.hi-cursor--1 { top: 20%; right: 25%; }
.hi-cursor--2 { bottom: 20%; left: 25%; }

.hi-h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hi-sub {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--hi-muted);
}

.hi-steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--hi-muted);
}

.hi-steps li {
  margin-bottom: 0.75rem;
}

.hi-steps strong {
  color: #f4f4f5;
  font-weight: 600;
}

.hi-panel--tiers {
  max-width: min(1180px, 100%);
}

.hi-products-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(272px, 360px);
  gap: 1.75rem 2.25rem;
  align-items: start;
}

.hi-products-tiers {
  min-width: 0;
}

.hi-products-lookup {
  position: sticky;
  top: 1.25rem;
  min-width: 0;
  height: calc(100% - 1.25rem);
}

.hi-lookup-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(168deg, #16161a 0%, #0e0e12 45%, #0a0a0d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px -20px rgba(0, 0, 0, 0.85),
    0 0 80px -36px rgba(99, 102, 241, 0.14);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hi-lookup-shell:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 56px -20px rgba(0, 0, 0, 0.9),
    0 0 100px -30px rgba(99, 102, 241, 0.25);
}

.hi-lookup-shell-intro {
  padding: 1.25rem 1.35rem 1.15rem;
}

.hi-lookup-shell-intro .hi-lookup-chips {
  margin-top: 0.85rem;
}

.hi-lookup-shell-stack {
  flex: 1;
  min-height: 0;
  padding: 0.5rem 1.1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}

.hi-lookup-eyebrow {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #63636b;
}

.hi-lookup-rail-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fafafa;
}

.hi-lookup-rail-copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8b8b93;
}

.hi-lookup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hi-lookup-chip {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.hi-lookup-shell-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  padding: 0.95rem 1.35rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.38);
}

.hi-ilo-foot-label {
  grid-column: 1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}

.hi-ilo-foot-value {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #f4f4f5;
}

.hi-ilo-foot-hint {
  grid-column: 1;
  font-size: 0.72rem;
  color: #52525b;
}

.hi-ilo-live {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
  animation: livePulse 2s ease-in-out infinite alternate;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
  }
}

.hi-tiers-head {
  margin-bottom: 1.75rem;
}

.hi-tiers-h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.hi-tiers-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--hi-muted);
}

.hi-tiers-lead strong {
  color: #d4d4d8;
  font-weight: 600;
}

.hi-tier-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.82fr) minmax(0, 0.82fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: #0c0c0e;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hi-tier-card:last-of-type {
  margin-bottom: 0;
}

.hi-tier-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #101012;
}

.hi-tier-card--featured {
  border-color: rgba(255, 255, 255, 0.11);
  background: #0e0e11;
}

.hi-tier-card--featured:hover {
  border-color: rgba(167, 139, 250, 0.22);
  background: #111014;
}

.hi-tier-col {
  display: flex;
  align-items: center;
  padding: 1.35rem 1.25rem 1.35rem 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  min-width: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hi-tier-metric {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
}

.hi-tier-metric-body {
  min-width: 0;
}

.hi-tier-spec-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 12px -2px currentColor;
}

.hi-tier-card--bronze .hi-tier-spec-dot {
  background: #3b82f6;
  color: #3b82f6;
}

.hi-tier-card--silver .hi-tier-spec-dot {
  background: #a78bfa;
  color: #a78bfa;
}

.hi-tier-card--ultimate .hi-tier-spec-dot {
  background: #34d399;
  color: #34d399;
}

.hi-tier-spec-title {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e4e4e7;
}

.hi-tier-spec-desc {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #71717a;
}

@media (max-width: 960px) {
  .hi-products-split {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hi-products-lookup {
    position: relative;
    top: auto;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hi-lookup-shell-stack .hi-ilo-stack--sidebar {
    height: 380px;
    min-height: 320px;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .hi-tier-card {
    grid-template-columns: 1fr;
  }

  .hi-tier-plan {
    padding: 1.25rem 1.2rem 1rem;
  }

  .hi-tier-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 1.2rem 1.2rem;
    align-items: flex-start;
  }

  .hi-tier-blurb {
    flex: none;
    padding-bottom: 1rem;
  }
}

.hi-foot {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #52525b;
}

.hi-redeem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.hi-pill-muted {
  display: inline-flex;
  padding: 0.42rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #52525b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.hi-footer {
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: 0.78rem;
  color: #52525b;
}

.hi-footer a {
  color: #71717a;
  text-decoration: none;
}

.hi-footer a:hover {
  color: #d4d4d8;
  text-decoration: none;
}

.hi-footer-dot {
  margin: 0 0.4rem;
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .page-landing-hi .card-anim {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* New Pricing Grid */
.hi-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hi-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hi-price-card {
  position: relative;
  background: #0a0a0c;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hi-price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.hi-price-card--popular {
  border-color: rgba(255, 255, 255, 0.2);
}

.hi-price-card--value {
  border-color: rgba(251, 211, 141, 0.3);
}

.hi-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hi-price-badge--alert {
  background: #fbd38d;
}

.hi-price-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hi-price-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hi-price-amount {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.hi-price-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.hi-price-dur {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.hi-price-lt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2.5rem;
}

.hi-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  flex-grow: 1;
}

.hi-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.hi-price-features li i {
  font-size: 0.75rem;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.4);
}

.hi-price-features--alert li i {
  color: #fbd38d;
}

.hi-price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hi-price-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.hi-price-btn--primary {
  background: #fff;
  color: #000;
  border: none;
}

.hi-price-btn--primary:hover {
  background: #f0f0f0;
}

.hi-price-btn--alert {
  background: #fbd38d;
  color: #000;
  border: none;
}

.hi-price-btn--alert:hover {
  background: #f6ad55;
}

.hi-btn-arrow {
  transition: transform 0.2s ease;
}

.hi-price-btn:hover .hi-btn-arrow {
  transform: translateX(4px);
}

/* Footer Styles */
.hi-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.hi-footer-content {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.hi-footer-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: 0;
}

.hi-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hi-footer-section ul li {
  margin-bottom: 0.75rem;
}

.hi-footer-section ul li a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.hi-footer-section ul li a:hover {
  color: var(--accent);
  text-decoration: none;
}

.hi-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hi-footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.hi-footer-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  max-width: 340px;
  font-family: 'Playfair Display', var(--font);
  font-style: italic;
  font-weight: 400;
}

.hi-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hi-footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.hi-footer-socials {
  display: flex;
  gap: 1rem;
}

.hi-footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.hi-footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .hi-footer-content {
    grid-template-columns: 1fr;
  }

  .hi-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hi-footer-socials {
    justify-content: center;
  }
}

/* Dashboard Enhancements */
.search-box {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 20px;
  margin: 0 auto 30px;
}

.no-results-container {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 30px 20px;
  margin: 1.5rem auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.results-container {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 20px;
  margin: 0 auto 30px;
}

.no-results-content {
  max-width: 450px;
  width: 100%;
  z-index: 1;
}

.no-results-container svg {
  width: 40px;
  height: 40px;
  stroke: #4a9eff;
  fill: none;
  margin: 0 auto 12px;
  display: block;
}

.no-results-container h2 {
  color: #fff;
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.no-results-container p {
  color: #888;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.guide-section {
  margin-bottom: 4rem;
}

.guide-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.guide-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  animation: float-in 0.6s ease-out both;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; }
.guide-card:nth-child(4) { animation-delay: 0.4s; }

.guide-card:hover {
  transform: translateY(-8px);
  border-color: rgba(94, 228, 163, 0.3);
  box-shadow: 0 12px 32px rgba(94, 228, 163, 0.12);
}

.guide-card-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(94, 228, 163, 0.15), rgba(94, 228, 163, 0.05));
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.5rem;
  border: 1px solid rgba(94, 228, 163, 0.2);
}

.guide-card-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}

.guide-card-content p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.feature-highlights {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(94, 228, 163, 0.02));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.feature-highlights h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.5rem 0;
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  background: rgba(94, 228, 163, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  background: rgba(94, 228, 163, 0.1);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1.3rem;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .no-results-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .no-results-container h2 {
    font-size: 1.4rem;
  }
}

/* Fix: normalize and center the "No Results Found" block (override template styles) */
.no-results-container {
  background: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-left: 1px solid #333 !important;
  border-radius: 6px !important;
  padding: 40px !important;
  margin: 0 0 30px 0 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 220px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.no-results-content {
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.no-results-container svg {
  margin: 0 auto 18px !important;
  display: block !important;
  width: 64px !important;
  height: 64px !important;
}

.no-results-container h2 {
  color: #fff !important;
  margin: 0 0 8px 0 !important;
  font-size: 24px !important;
}

.no-results-container p {
  color: #888 !important;
  margin: 0 !important;
  font-size: 14px !important;
}

@media (max-width: 768px) {
  .no-results-container {
    padding: 30px !important;
    min-height: 160px !important;
  }
  .no-results-content { padding: 0 8px !important; }
}

/* Scrolling jitter fix for dashboard pages */
html {
  scroll-behavior: auto !important;
}

/* Hide expensive, fixed glows on the app/dashboard to improve scroll perf */
.page-app-new .shell-glow,
.page-app-new .osint-ambient-glow {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure the app container doesn't force repaints during scroll */
.page-app-new .app-container {
  will-change: auto !important;
}

/* Keep fonts smooth while scrolling */
.page-app-new, .page-app-new * {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Remove colored glow/aura from feature cards */
.hi-features-band .hi-feature-card--live::before {
  display: none;
  animation: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Disable subtle breathing background animation on feature visuals */
.hi-features-band .hi-feat-visual {
  animation: none !important;
  background-color: rgba(0,0,0,0.36) !important;
  border-color: rgba(255,255,255,0.06) !important;
}