@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  color-scheme: dark;
  --bg-base: #000000;
  --bg-subtle: #060609;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(26, 26, 36, 0.9);
  --bg-elevated: rgba(32, 32, 44, 0.85);
  --bg-glass: rgba(12, 12, 18, 0.82);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-active: rgba(41, 151, 255, 0.4);

  --fg-primary: #f5f5f7;
  --fg-secondary: #86868b;
  --fg-tertiary: #515154;

  --brand-blue: #2997ff;
  --brand-blue-hover: #0077ed;
  --brand-blue-glow: rgba(41, 151, 255, 0.28);

  --accent-security: #30d158;
  --accent-crimson: #ff453a;
  --accent-purple: #bf5af2;
  --accent-amber: #ffd60a;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--fg-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  color-scheme: dark;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-base);
  color: var(--fg-primary);
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input, select, textarea {
  color-scheme: dark;
}

select {
  color-scheme: dark !important;
  background-color: #141420;
  color: #f5f5f7;
}

select option,
option {
  color-scheme: dark !important;
  background-color: #141420 !important;
  color: #f5f5f7 !important;
  padding: 8px 12px;
}

select option:checked {
  background-color: #2997ff !important;
  color: #ffffff !important;
}

.apple-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 14px 14px;
  padding-right: 36px !important;
  cursor: pointer;
}

.apple-select::-ms-expand {
  display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #f5f5f7 !important;
  -webkit-box-shadow: 0 0 0px 1000px #141420 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.w-1\.5 { width: 6px !important; }
.h-1\.5 { height: 6px !important; }
.w-2 { width: 8px !important; }
.h-2 { height: 8px !important; }
.w-2\.5 { width: 10px !important; }
.h-2\.5 { height: 10px !important; }
.w-3 { width: 12px !important; }
.h-3 { height: 12px !important; }
.w-3\.5 { width: 14px !important; }
.h-3\.5 { height: 14px !important; }
.w-4 { width: 16px !important; }
.h-4 { height: 16px !important; }
.w-6 { width: 24px !important; }
.h-6 { height: 24px !important; }
.w-7 { width: 28px !important; }
.h-7 { height: 28px !important; }
.w-8 { width: 32px !important; }
.h-8 { height: 32px !important; }
.w-12 { width: 48px !important; }
.h-12 { height: 48px !important; }
.w-24 { width: 96px !important; }
.h-24 { height: 96px !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.h-\[220px\] { height: 220px !important; }
.h-\[340px\] { height: 340px !important; }

.text-\[10px\] { font-size: 10px !important; line-height: 14px !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 15px !important; }
.text-xs { font-size: 12px !important; line-height: 16px !important; }
.text-sm { font-size: 14px !important; line-height: 20px !important; }
.text-base { font-size: 16px !important; line-height: 24px !important; }
.text-lg { font-size: 18px !important; line-height: 28px !important; }
.text-xl { font-size: 20px !important; line-height: 28px !important; }
.text-2xl { font-size: 24px !important; line-height: 32px !important; }
.text-3xl { font-size: 30px !important; line-height: 36px !important; }
.text-4xl { font-size: 36px !important; line-height: 40px !important; }
.text-5xl { font-size: 48px !important; line-height: 1.1 !important; }
.text-6xl { font-size: 60px !important; line-height: 1.08 !important; }
.text-7xl { font-size: 72px !important; line-height: 1.05 !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-mono { font-family: var(--font-mono) !important; font-variant-numeric: tabular-nums; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.uppercase { text-transform: uppercase !important; }
.leading-relaxed { line-height: 1.625 !important; }
.leading-\[1\.08\] { line-height: 1.08 !important; }
.tabular-nums { font-variant-numeric: tabular-nums !important; }
.line-through { text-decoration: line-through !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }

.text-primary { color: var(--fg-primary) !important; }
.text-secondary { color: var(--fg-secondary) !important; }
.text-secondary\/40 { color: rgba(134, 134, 139, 0.4) !important; }
.text-white { color: #ffffff !important; }
.text-white\/90 { color: rgba(255, 255, 255, 0.9) !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6) !important; }
.text-white\/50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-accent-security { color: var(--accent-security) !important; }
.text-accent-crimson { color: var(--accent-crimson) !important; }
.text-accent-purple { color: var(--accent-purple) !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-300 { color: #6ee7b7 !important; }
.text-yellow-300 { color: #fde047 !important; }
.text-purple-300 { color: #d8b4fe !important; }

.hover\:text-white:hover { color: #ffffff !important; }
.hover\:text-brand-blue:hover { color: var(--brand-blue) !important; }
.group-hover\:text-brand-blue:hover { color: var(--brand-blue) !important; }

.bg-base, .bg-\[\#000000\] { background-color: #000000 !important; }
.bg-subtle, .bg-\[\#060609\] { background-color: #060609 !important; }
.bg-\[\#09090d\]\/90 { background-color: rgba(9, 9, 13, 0.9) !important; }
.bg-\[\#0b0b10\]\/80 { background-color: rgba(11, 11, 16, 0.8) !important; }
.bg-\[\#07070b\]\/95 { background-color: rgba(7, 7, 11, 0.95) !important; }
.bg-\[\#0a0a0f\]\/60 { background-color: rgba(10, 10, 15, 0.6) !important; }
.bg-\[\#050508\] { background-color: #050508 !important; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4) !important; }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5) !important; }

.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02) !important; }
.bg-white\/\[0\.03\] { background-color: rgba(255, 255, 255, 0.03) !important; }
.bg-white\/\[0\.04\] { background-color: rgba(255, 255, 255, 0.04) !important; }
.bg-white\/\[0\.05\] { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/\[0\.06\] { background-color: rgba(255, 255, 255, 0.06) !important; }
.bg-white\/\[0\.08\] { background-color: rgba(255, 255, 255, 0.08) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2) !important; }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.3) !important; }
.hover\:bg-white\/\[0\.06\]:hover { background-color: rgba(255, 255, 255, 0.06) !important; }
.hover\:bg-white\/\[0\.12\]:hover { background-color: rgba(255, 255, 255, 0.12) !important; }

.bg-brand-blue { background-color: var(--brand-blue) !important; }
.bg-brand-blue\/10 { background-color: rgba(41, 151, 255, 0.1) !important; }
.bg-brand-blue\/15 { background-color: rgba(41, 151, 255, 0.15) !important; }
.bg-brand-blue\/20 { background-color: rgba(41, 151, 255, 0.2) !important; }
.bg-accent-security { background-color: var(--accent-security) !important; }
.bg-accent-security\/10 { background-color: rgba(48, 209, 88, 0.1) !important; }
.bg-accent-security\/15 { background-color: rgba(48, 209, 88, 0.15) !important; }
.bg-accent-security\/20 { background-color: rgba(48, 209, 88, 0.2) !important; }
.bg-accent-crimson { background-color: var(--accent-crimson) !important; }
.bg-accent-crimson\/10 { background-color: rgba(255, 69, 58, 0.1) !important; }
.bg-accent-crimson\/15 { background-color: rgba(255, 69, 58, 0.15) !important; }
.bg-accent-crimson\/20 { background-color: rgba(255, 69, 58, 0.2) !important; }
.bg-accent-crimson\/50 { background-color: rgba(255, 69, 58, 0.5) !important; }
.bg-accent-purple\/10 { background-color: rgba(191, 90, 242, 0.1) !important; }
.bg-accent-purple\/15 { background-color: rgba(191, 90, 242, 0.15) !important; }
.bg-accent-purple\/20 { background-color: rgba(191, 90, 242, 0.2) !important; }

.bg-\[\#ff5f56\] { background-color: #ff5f56 !important; }
.bg-\[\#ffbd2e\] { background-color: #ffbd2e !important; }
.bg-\[\#27c93f\] { background-color: #27c93f !important; }
.bg-\[\#ff453a\] { background-color: #ff453a !important; }
.bg-\[\#2997ff\] { background-color: #2997ff !important; }
.bg-\[\#bf5af2\] { background-color: #bf5af2 !important; }
.bg-\[\#30d158\] { background-color: #30d158 !important; }

.border { border-width: 1px; border-style: solid; border-color: var(--border-hairline) !important; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--border-hairline) !important; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--border-hairline) !important; }
.border-l { border-left-width: 1px; border-left-style: solid; border-left-color: var(--border-hairline) !important; }
.border-r { border-right-width: 1px; border-right-style: solid; border-right-color: var(--border-hairline) !important; }

.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.border-white\/\[0\.06\] { border-color: rgba(255, 255, 255, 0.06) !important; }
.border-white\/\[0\.08\] { border-color: rgba(255, 255, 255, 0.08) !important; }
.border-brand-blue\/20 { border-color: rgba(41, 151, 255, 0.2) !important; }
.border-brand-blue\/30 { border-color: rgba(41, 151, 255, 0.3) !important; }
.border-brand-blue\/40 { border-color: rgba(41, 151, 255, 0.4) !important; }
.border-accent-security\/20 { border-color: rgba(48, 209, 88, 0.2) !important; }
.border-accent-security\/30 { border-color: rgba(48, 209, 88, 0.3) !important; }
.border-accent-crimson\/30 { border-color: rgba(255, 69, 58, 0.3) !important; }
.border-accent-crimson\/40 { border-color: rgba(255, 69, 58, 0.4) !important; }
.border-accent-purple\/20 { border-color: rgba(191, 90, 242, 0.2) !important; }
.border-accent-purple\/30 { border-color: rgba(191, 90, 242, 0.3) !important; }

.bg-gradient-to-r {
  background-image: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.6)) !important;
}
.bg-gradient-to-tr {
  background-image: linear-gradient(to top right, #2997ff, #bf5af2) !important;
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, #111624, #0a0a0f) !important;
}
.bg-clip-text {
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.text-transparent {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-baseline { align-items: baseline !important; }
.items-stretch { align-items: stretch !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }

.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-7 { gap: 1.75rem !important; }
.gap-8 { gap: 2rem !important; }

.p-1\.5 { padding: 0.375rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }

.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-7 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-14 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }

.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-32 { padding-top: 8rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-5 { padding-bottom: 1.25rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.pb-24 { padding-bottom: 6rem !important; }
.pl-3 { padding-left: 0.75rem !important; }
.pl-6 { padding-left: 1.5rem !important; }
.pr-1 { padding-right: 0.25rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-28 { margin-top: 7rem !important; }
.mt-32 { margin-top: 8rem !important; }

.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 0.75rem !important; }
.ml-4 { margin-left: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.space-y-1\.5 > * + * { margin-top: 0.375rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }

.rounded-sm { border-radius: 4px !important; }
.rounded { border-radius: 6px !important; }
.rounded-lg { border-radius: 10px !important; }
.rounded-xl { border-radius: 14px !important; }
.rounded-2xl { border-radius: 20px !important; }
.rounded-3xl { border-radius: 28px !important; }
.rounded-full { border-radius: 9999px !important; }

.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.top-4 { top: 1rem !important; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }
.-top-3\.5 { top: -0.875rem !important; }
.left-1\/2 { left: 50% !important; }
.-translate-x-1\/2 { transform: translateX(-50%) !important; }
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-50 { z-index: 50 !important; }

.max-w-lg { max-width: 32rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-visible { overflow: visible !important; }
.whitespace-nowrap { white-space: nowrap !important; }
.pointer-events-none { pointer-events: none !important; }

.opacity-0 { opacity: 0 !important; }
.opacity-20 { opacity: 0.2 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-75 { opacity: 0.75 !important; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important; }
.shadow-glow-sm { box-shadow: 0 0 15px rgba(41, 151, 255, 0.3) !important; }
.shadow-glow-md { box-shadow: 0 0 35px rgba(41, 151, 255, 0.2) !important; }

.-rotate-90 { transform: rotate(-90deg) !important; }

.transition-all { transition-property: all !important; }
.transition-colors { transition-property: color, background-color, border-color !important; }
.transition-opacity { transition-property: opacity !important; }
.transition-transform { transition-property: transform !important; }
.duration-300 { transition-duration: 300ms !important; }
.duration-500 { transition-duration: 500ms !important; }

.backdrop-blur-md { backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; }
.backdrop-blur-xl { backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; }
.backdrop-blur-2xl { backdrop-filter: blur(40px) !important; -webkit-backdrop-filter: blur(40px) !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

.nav-glass {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1040px !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  background: rgba(12, 12, 18, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 0 rgba(255, 255, 255, 0.15) !important;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: max-width, padding;
}

@media (min-width: 640px) {
  .nav-glass {
    padding: 8px 22px !important;
  }
}

.nav-brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  user-select: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.nav-brand:hover {
  opacity: 0.9 !important;
}

.nav-logo-text {
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}

.nav-glass .nav-links {
  display: none !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.25s ease !important;
  will-change: opacity, transform, max-width;
}

@media (min-width: 768px) {
  .nav-glass .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    max-width: 450px !important;
    opacity: 1 !important;
  }
}

.nav-glass .nav-links li a {
  color: #86868b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.nav-glass .nav-links li a:hover {
  color: #ffffff !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  max-width: 360px !important;
  opacity: 1 !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.25s ease !important;
  will-change: opacity, transform, max-width;
}

.nav-login-btn {
  background: transparent !important;
  border: none !important;
  color: #86868b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 6px 10px !important;
  border-radius: 9999px !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.nav-login-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.nav-glass .btn-apple-primary {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 12px var(--brand-blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-glass .btn-apple-primary:hover {
  background: var(--brand-blue-hover) !important;
  box-shadow: 0 4px 18px var(--brand-blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.btn-mobile-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #86868b !important;
  border-radius: 9999px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.btn-mobile-menu:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .btn-mobile-menu,
  .md\:hidden {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nav-glass .btn-apple-primary {
    padding: 7px 13px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }
  .nav-glass .btn-apple-primary svg {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
  }
}

/* ==========================================================================
   Compact Dynamic Island Navbar on Scroll
   ========================================================================== */
.nav-glass.nav-compact {
  max-width: 126px !important;
  padding: 7px 16px !important;
  justify-content: center !important;
  background: rgba(10, 11, 16, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(255, 255, 255, 0.12),
              0 0 20px rgba(41, 151, 255, 0.15) !important;
  cursor: pointer;
}

.nav-glass.nav-compact .nav-brand {
  margin: 0 !important;
  justify-content: center !important;
}

.nav-glass.nav-compact .nav-logo-text {
  font-size: 14.5px !important;
}

.nav-glass.nav-compact .nav-links {
  max-width: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.9) !important;
}

.nav-glass.nav-compact .nav-actions {
  max-width: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.9) !important;
}

/* Desktop Hover Expansion */
@media (min-width: 768px) {
  .nav-glass.nav-compact:hover {
    max-width: 1040px !important;
    padding: 8px 22px !important;
    justify-content: space-between !important;
    cursor: default;
    box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.95),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                0 0 32px rgba(41, 151, 255, 0.22) !important;
  }
  .nav-glass.nav-compact:hover .nav-links {
    display: flex !important;
    max-width: 450px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: scale(1) !important;
  }
  .nav-glass.nav-compact:hover .nav-actions {
    max-width: 360px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: scale(1) !important;
  }
}


.btn-apple-primary,
.btn-apple-glow,
.btn-apple-glass {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-apple-primary svg,
.btn-apple-glow svg,
.btn-apple-glass svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.btn-apple-primary {
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(41, 151, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-apple-primary:hover {
  background: var(--brand-blue-hover) !important;
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

.btn-apple-glow {
  background: linear-gradient(180deg, #2ea0ff 0%, #1579df 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 0 25px var(--brand-blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.btn-apple-glow:hover {
  box-shadow: 0 0 35px rgba(41, 151, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-1.5px) !important;
}

.btn-apple-glass {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: var(--fg-primary) !important;
  border: 1px solid var(--border-hairline) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.btn-apple-glass:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--border-hover) !important;
  transform: translateY(-1px) !important;
}

.hero-gradient-text {
  background: linear-gradient(180deg, #ffffff 20%, #a1a1a6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.bento-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid var(--border-hairline) !important;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 20px 40px -15px rgba(0, 0, 0, 0.7) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.bento-card:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14), 0 25px 50px -15px rgba(0, 0, 0, 0.9) !important;
}

.bento-glow {
  position: absolute !important;
  bottom: -60px !important;
  right: -60px !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  filter: blur(60px) !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.apple-mac-window, .code-mac-window {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 0.12) !important;
}

.pricing-card {
  transition: transform 0.3s ease, border-color 0.3s ease !important;
}
.pricing-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--border-hover) !important;
}

.pricing-card.popular {
  box-shadow: 0 0 40px rgba(41, 151, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.faq-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-item.active .faq-content {
  display: block !important;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg) !important;
}
.faq-item.active {
  border-color: rgba(41, 151, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.cta-banner {
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 0 rgba(255, 255, 255, 0.15) !important;
}

.cta-bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.15), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.bg-grid-pattern {
  background-size: 40px 40px;
  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);
}

#ambient-glow {
  background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(41, 151, 255, 0.12), transparent 80%);
  pointer-events: none;
  will-change: background;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes pulse {
  50% {
    opacity: .5;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-ping { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite !important; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }
.animate-fade-in { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; }

/* ==========================================================================
   Apple-grade BlurText Hero Entrance Animation (ReactBits / Motion spec)
   ========================================================================== */
@keyframes blurTextFromTop {
  0% {
    filter: blur(12px);
    opacity: 0;
    transform: translateY(-48px);
  }
  60% {
    filter: blur(4px);
    opacity: 0.6;
    transform: translateY(5px);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blurTextSubtleFromTop {
  0% {
    filter: blur(8px);
    opacity: 0;
    transform: translateY(-24px);
  }
  60% {
    filter: blur(3px);
    opacity: 0.65;
    transform: translateY(3px);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blurCardFromBottom {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  65% {
    filter: blur(3px);
    opacity: 0.8;
    transform: translateY(-2px) scale(1.006);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge-blur,
.blur-word,
.blur-word-subtle,
.hero-btn-blur,
.hero-metric-card {
  opacity: 0;
  will-change: transform, filter, opacity;
}

.hero-content.is-visible .hero-badge-blur {
  animation: blurTextSubtleFromTop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 50ms;
}

.hero-content.is-visible .blur-word {
  display: inline-block;
  margin-right: 0.26em;
  animation: blurTextFromTop 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--delay, 0ms));
}

.hero-content.is-visible .hero-gradient-text .blur-word {
  background: linear-gradient(180deg, #ffffff 20%, #a1a1a6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-content.is-visible .blur-word-subtle {
  display: inline-block;
  margin-right: 0.24em;
  animation: blurTextSubtleFromTop 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--delay, 0ms));
}

.hero-content.is-visible .hero-btn-blur {
  animation: blurCardFromBottom 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--delay, 0ms));
}

.hero-content.is-visible .hero-metric-card {
  animation: blurCardFromBottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--delay, 0ms));
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-blur,
  .blur-word,
  .blur-word-subtle,
  .hero-btn-blur,
  .hero-metric-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:w-auto { width: auto !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .sm\:p-8 { padding: 2rem !important; }
  .sm\:p-16 { padding: 4rem !important; }
  .sm\:text-base { font-size: 16px !important; }
  .sm\:text-lg { font-size: 18px !important; }
  .sm\:text-xl { font-size: 20px !important; }
  .sm\:text-3xl { font-size: 30px !important; }
  .sm\:text-4xl { font-size: 36px !important; }
  .sm\:text-5xl { font-size: 48px !important; }
  .sm\:text-6xl { font-size: 60px !important; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-center { align-items: center !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .md\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .md\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .md\:text-7xl { font-size: 72px !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .lg\:border-b-0 { border-bottom-width: 0 !important; }
  .lg\:border-r { border-right-width: 1px !important; border-right-style: solid !important; border-right-color: var(--border-hairline) !important; }
}

#threat-chart-svg {
  filter: drop-shadow(0 4px 12px rgba(255, 69, 58, 0.2));
}

.chart-point {
  cursor: pointer;
  transition: r 0.2s ease, fill 0.2s ease;
}

.chart-point:hover {
  r: 7 !important;
  fill: #ffffff !important;
}

#chart-tooltip {
  transition: transform 0.15s ease, opacity 0.15s ease;
}

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
    background-color: rgba(48, 209, 88, 0.15);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    background-color: transparent;
  }
}

.new-stream-row {
  animation: rowFadeIn 0.7s ease-out forwards;
}

.sdk-tab {
  cursor: pointer;
  border: none;
  background: transparent;
  color: #86868b;
  transition: all 0.2s ease;
}

.sdk-tab:hover {
  color: #ffffff;
}

.sdk-tab.active {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-copy {
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-block {
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.custom-scroll::-webkit-scrollbar {
  width: 5px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.auth-card {
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--accent-security);
  border-color: var(--accent-security);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.badge-active {
  background: rgba(48, 209, 88, 0.12);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.25);
}

.badge-banned {
  background: rgba(255, 69, 58, 0.12);
  color: #ff453a;
  border: 1px solid rgba(255, 69, 58, 0.25);
}

input[type="text"], input[type="password"], select {
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25) !important;
  outline: none !important;
}

table {
  border-collapse: collapse;
}

tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8) !important; }
.max-w-md { max-width: 28rem !important; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.bg-\[\#0d0d14\]\/95 { background-color: rgba(13, 13, 20, 0.95) !important; }
.top-5 { top: 1.25rem !important; }
.right-5 { right: 1.25rem !important; }
.hover\:bg-white\/\[0\.14\]:hover { background-color: rgba(255, 255, 255, 0.14) !important; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1) !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.pr-10 { padding-right: 2.5rem !important; }
.right-3 { right: 0.75rem !important; }
.top-1\/2 { top: 50% !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }
.mt-5 { margin-top: 1.25rem !important; }
.min-h-screen { min-height: 100vh !important; }
.bg-\[\#06060a\] { background-color: #06060a !important; }
.pt-20 { padding-top: 5rem !important; }
.pb-20 { padding-bottom: 5rem !important; }
.top-0 { top: 0 !important; }
.z-40 { z-index: 40 !important; }
.bg-\[\#0a0a10\]\/85 { background-color: rgba(10, 10, 16, 0.85) !important; }
.bg-transparent { background-color: transparent !important; }
.bg-\[\#111116\] { background-color: #111116 !important; }
.leading-tight { line-height: 1.25 !important; }
.bg-\[\#0e0e16\] { background-color: #0e0e16 !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.text-right { text-align: right !important; }
.p-2\.5 { padding: 0.625rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.border-accent-crimson\/20 { border-color: rgba(255, 69, 58, 0.2) !important; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6) !important; }
.cursor-pointer { cursor: pointer !important; }

@media (min-width: 640px) {
  .sm\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .sm\:flex { display: flex !important; }
  .sm\:w-64 { width: 16rem !important; }
}

@media (min-width: 768px) {
  .md\:block { display: block !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: #060609;
}

.dashboard-sidebar {
  width: 260px;
  max-width: 260px;
  box-sizing: border-box;
  flex-shrink: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  overflow-y: auto;
  overflow-x: hidden !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-sidebar::-webkit-scrollbar,
#sidebar-nav-app::-webkit-scrollbar,
#sidebar-nav-global::-webkit-scrollbar {
  width: 4px;
}

.dashboard-sidebar::-webkit-scrollbar-track,
#sidebar-nav-app::-webkit-scrollbar-track,
#sidebar-nav-global::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb,
#sidebar-nav-app::-webkit-scrollbar-thumb,
#sidebar-nav-global::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover,
#sidebar-nav-app::-webkit-scrollbar-thumb:hover,
#sidebar-nav-global::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

#sidebar-nav-app,
#sidebar-nav-global {
  overflow-x: hidden !important;
  max-width: 100%;
  box-sizing: border-box;
}

.dashboard-content {
  flex: 1;
  margin-left: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  .dashboard-content {
    margin-left: 0;
  }
}

.sidebar-category {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #515154;
  padding: 16px 16px 6px 16px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-between: space-between;
  gap: 10px;
  padding: 8px 14px;
  margin: 2px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #86868b;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
  max-width: calc(100% - 20px);
}

.sidebar-nav-item:hover {
  color: #f5f5f7;
  background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-nav-item.active {
  color: #ffffff;
  background-color: rgba(41, 151, 255, 0.12);
  border-color: rgba(41, 151, 255, 0.25);
  font-weight: 600;
}

.sidebar-nav-item.active svg {
  color: #2997ff;
}

.sidebar-nav-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #86868b;
  margin-left: auto;
  font-family: var(--font-mono);
}

.sidebar-nav-item.active .sidebar-nav-badge {
  background-color: rgba(41, 151, 255, 0.25);
  color: #2997ff;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s infinite ease-in-out;
  border-radius: 8px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 6px;
  border-radius: 4px;
}

.skeleton-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  background: #0e0e16;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  margin-bottom: 16px;
}

.error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.25);
  border-radius: 14px;
  color: #ff453a;
  margin-bottom: 20px;
  font-size: 13px;
}

.scrollbar-none {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.scrollbar-none::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.app-tab,
.admin-tab {
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: #86868b;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.app-tab:hover,
.admin-tab:hover {
  color: #ffffff;
}

.app-tab.active,
.admin-tab.active {
  color: #2997ff;
  border-bottom-color: #2997ff;
  font-weight: 600;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.badge-active {
  background: rgba(48, 209, 88, 0.12);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.25);
}

.badge-expired {
  background: rgba(255, 214, 10, 0.12);
  color: #ffd60a;
  border: 1px solid rgba(255, 214, 10, 0.25);
}

.badge-revoked {
  background: rgba(255, 69, 58, 0.12);
  color: #ff453a;
  border: 1px solid rgba(255, 69, 58, 0.25);
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #86868b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #86868b;
}

.pagination-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.audit-timeline {
  position: relative;
  padding-left: 20px;
}

.audit-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.audit-item {
  position: relative;
  margin-bottom: 18px;
}

.audit-dot {
  position: absolute;
  left: -20px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2997ff;
  border: 2px solid #060609;
}

/* ----------------------------------------------------
   Mobile Responsiveness & Apple Glass Enhancements
   ---------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-menu-drawer {
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.85), 0 0 32px rgba(41, 151, 255, 0.12);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.drawer-closed {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
}

.mobile-menu-drawer.drawer-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.15 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .nav-glass {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ==========================================================================
   Капча и проверочные ползунки
   ========================================================================== */

.unoshield-meme-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0d12;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.unoshield-meme-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.unoshield-meme-card.is-selected {
  border-color: #2997ff !important;
  box-shadow: 0 0 0 1px #2997ff;
}

.unoshield-meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Строки ползунков */
.unoshield-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.unoshield-slider-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  width: 44px;
  flex-shrink: 0;
}

.unoshield-slider-val {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
}

.unoshield-slider-val.is-done {
  color: #2997ff;
  font-weight: 500;
}

.unoshield-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  border: none;
  cursor: pointer;
}

.unoshield-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: grab;
  transition: transform 0.1s ease;
}

.unoshield-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.unoshield-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
}

.unoshield-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: grab;
}

.unoshield-range.is-completed::-webkit-slider-thumb {
  background: #2997ff;
}

.unoshield-range.is-completed::-moz-range-thumb {
  background: #2997ff;
}

/* ==========================================================================
   Dashboard List Rows & Widgets (.ua-list-row)
   ========================================================================== */

.ua-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s ease;
}

.ua-list-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.ua-list-row-main {
  min-width: 0;
  flex: 1;
}

.ua-list-row-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ua-list-row-sub {
  font-size: 11px;
  color: #86868b;
  margin-top: 2px;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ua-panel-link {
  font-size: 12px;
  font-weight: 500;
  color: #2997ff;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ua-panel-link:hover {
  color: #ffffff;
  background: rgba(41, 151, 255, 0.15);
}

.ua-pill {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ua-state {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ua-state-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ua-state-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.ua-state-text {
  font-size: 11px;
  color: #86868b;
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.4;
}

.ua-state-actions {
  margin-top: 14px;
}

/* ----------------------------------------------------
   Mobile Responsiveness & Apple Glass Enhancements
   ---------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-menu-drawer {
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.85), 0 0 32px rgba(41, 151, 255, 0.12);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.drawer-closed {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
}

.mobile-menu-drawer.drawer-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.15 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .nav-glass {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ==========================================================================
   Apple-Style Segmented Control Billing Switcher
   ========================================================================== */
#billing-switcher-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  user-select: none;
}

#billing-switcher-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
  z-index: 1;
  transition: left 320ms cubic-bezier(0.16, 1, 0.3, 1), width 320ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: left, width;
}

#billing-monthly,
#billing-yearly {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: color 200ms ease;
}

/* ==========================================================================
   UnoAuth Premium Payment Modal & Methods Grid
   ========================================================================== */
#payment-modal {
  transition: opacity 200ms ease, visibility 200ms ease;
}

#payment-modal .custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
#payment-modal .custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
#payment-modal .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}
#payment-modal .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ua-pay-method {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  min-height: 82px;
  padding: 18px 12px 12px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

.ua-pay-method:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ua-pay-method.active {
  background: rgba(41, 151, 255, 0.12) !important;
  border-color: #2997ff !important;
  box-shadow: 0 0 18px rgba(41, 151, 255, 0.28), inset 0 0 0 1px #2997ff !important;
}

.ua-pay-method .ua-pay-method-badge,
.ua-pay-method > span.absolute {
  position: absolute !important;
  top: 6px !important;
  right: 8px !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  font-family: var(--font-mono, monospace) !important;
  letter-spacing: 0.04em !important;
  pointer-events: none !important;
}

.ua-pay-method-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.2;
}

.pay-period-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.pay-period-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.pay-period-btn.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: #2997ff !important;
  box-shadow: 0 2px 10px rgba(41, 151, 255, 0.35) !important;
}

.ua-methods-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--secondary, #86868b);
}

.ua-methods-empty-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.ua-methods-empty-text {
  font-size: 11px;
  line-height: 1.5;
  max-width: 280px;
}

/* ==========================================================================
   Hero Background Video (Play1.mp4) - Smooth Transitions & Alpha Masks
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  /* Progressive hardware-accelerated cubic mask: zero harsh lines */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 3%,
    rgba(0, 0, 0, 0.75) 10%,
    black 20%,
    black 72%,
    rgba(0, 0, 0, 0.85) 85%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 3%,
    rgba(0, 0, 0, 0.75) 10%,
    black 20%,
    black 72%,
    rgba(0, 0, 0, 0.85) 85%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.03);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-video-element.is-ready {
  opacity: 0.55;
  transform: translate(-50%, -50%) scale(1);
}

/* Central ambient radial tint: keeps text contrast ultra-clear */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Top fade: softly connects to black at the top under floating nav */
.hero-video-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    rgba(0, 0, 0, 0.95) 20%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.15) 80%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Bottom fade: seamless dissolve into pure black (#000000) right before Bento grid */
.hero-video-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(
    to top,
    #000000 0%,
    rgba(0, 0, 0, 0.96) 25%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.2) 85%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Enhanced readability shadows against moving video */
.hero-title {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-element {
    display: none !important;
  }
}

/* ==========================================================================
   Pricing Background Video (play2.mp4) - Smooth Transitions & Alpha Masks
   ========================================================================== */
.pricing-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.pricing-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  /* Progressive hardware-accelerated cubic mask: zero harsh lines */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 3%,
    rgba(0, 0, 0, 0.75) 10%,
    black 20%,
    black 75%,
    rgba(0, 0, 0, 0.8) 85%,
    rgba(0, 0, 0, 0.3) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 3%,
    rgba(0, 0, 0, 0.75) 10%,
    black 20%,
    black 75%,
    rgba(0, 0, 0, 0.8) 85%,
    rgba(0, 0, 0, 0.3) 94%,
    transparent 100%
  );
}

.pricing-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.03);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.pricing-video-element.is-ready {
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(1);
}

/* Ambient radial overlay to preserve card and text readability */
.pricing-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Top fade: softly connects to black from features / bento section */
.pricing-video-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    rgba(0, 0, 0, 0.95) 25%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 0.18) 85%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Bottom fade: seamless dissolve into pure black (#000000) before FAQ */
.pricing-video-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(
    to top,
    #000000 0%,
    rgba(0, 0, 0, 0.96) 25%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.2) 85%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-video-element {
    display: none !important;
  }
}

/* ==========================================================================
   SlideCommit (Slide to Pay) Interactive Slider Component
   ========================================================================== */
.slide-commit-container {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.slide-commit-track {
  background: var(--track-color, #151726);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.slide-commit-track:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.slide-commit-fill {
  background: linear-gradient(90deg, rgba(41, 151, 255, 0.65) 0%, rgba(41, 151, 255, 0.95) 100%);
  width: 0px;
  box-shadow: 0 0 24px rgba(41, 151, 255, 0.45);
  transition: width 0s linear;
}

.slide-commit-track.is-success .slide-commit-fill {
  background: var(--success-color, #22c55e) !important;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.6) !important;
}

.slide-commit-track.is-error .slide-commit-fill {
  background: var(--danger-color, #e5484d) !important;
  box-shadow: 0 0 25px rgba(229, 72, 77, 0.6) !important;
}

.slide-commit-label {
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.slide-shimmer-text {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.4) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideTextShimmer 2.2s infinite linear;
}

@keyframes slideTextShimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -180% 0; }
}

.slide-shimmer-arrow {
  color: #2997ff;
  -webkit-text-fill-color: #2997ff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  animation: chevronSlide 1.2s ease-in-out infinite;
}

@keyframes chevronSlide {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(5px); opacity: 1; }
}

.slide-commit-handle {
  background: var(--handle-color, #ffffff);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 #ffffff;
  transition: transform 0s linear, background-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.slide-commit-handle:hover {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 15px rgba(255, 255, 255, 0.35);
}

.slide-commit-handle.is-dragging {
  cursor: grabbing !important;
}

/* returnBounce: 0.35s fluid spring physics */
.slide-commit-track.is-bouncing .slide-commit-handle,
.slide-commit-track.is-bouncing .slide-commit-fill {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Fast smooth glide for confirm / finish */
.slide-commit-track.is-sliding-finish .slide-commit-handle,
.slide-commit-track.is-sliding-finish .slide-commit-fill {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), width 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.slide-commit-track.is-success .slide-commit-handle {
  background: var(--success-color, #22c55e) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6) !important;
}

.slide-commit-track.is-error .slide-commit-handle {
  background: var(--danger-color, #e5484d) !important;
  box-shadow: 0 0 20px rgba(229, 72, 77, 0.6) !important;
}

.slide-commit-track.is-shake {
  animation: slideShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes slideShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
  40%, 60% { transform: translate3d(5px, 0, 0); }
}

/* ==========================================================================
   CodeSlots Component Styles (ReactBits Port)
   ========================================================================== */

@keyframes code-slots-blink {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes code-slots-shake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.code-slots-wrapper {
  --cs-accent: #f5f5f5;
  --cs-ink: #f5f5f5;
  --cs-slot: #27272a;
  --cs-digit: #18181b;
  --cs-danger: #ff3b30;
  --cs-size: 44px;
  --cs-height: 52px;
  --cs-gap: 8px;
  --cs-radius: 12px;
  --cs-font: 22px;
  position: relative;
  display: inline-block;
}

.code-slots-row {
  position: relative;
  display: inline-flex;
  gap: var(--cs-gap, 8px);
  cursor: text;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 200ms ease;
}

.code-slots-row.is-error {
  animation: code-slots-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.code-slots-input {
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: inherit;
  border: 0;
  background: transparent;
  caret-color: transparent;
  color: transparent;
  outline: none;
  font-size: 16px;
}

.code-slot-item {
  position: relative;
  width: var(--cs-size, 44px);
  height: var(--cs-height, 52px);
  border-radius: var(--cs-radius, 12px);
  background-color: var(--cs-slot, #27272a);
  overflow: hidden;
  user-select: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.code-slot-item.is-active {
  background-color: #323238;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.code-slots-row.is-error .code-slot-item {
  border-color: rgba(255, 59, 48, 0.45);
  background-color: rgba(255, 59, 48, 0.15);
}

.code-slot-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--cs-accent, #f5f5f5);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.2), background-color 200ms ease;
  will-change: transform;
}

.code-slot-item.is-filled .code-slot-fill {
  transform: scale(1);
}

.code-slots-row.is-error .code-slot-fill {
  background-color: var(--cs-danger, #ff3b30);
  transform: scale(1);
}

.code-slot-digit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: var(--cs-font, 22px);
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  color: var(--cs-digit, #18181b);
  opacity: 0;
  transform: translateY(8px);
  transition: transform 0.26s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.2s ease;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

.code-slot-item.is-filled .code-slot-digit {
  opacity: 1;
  transform: translateY(0);
}

.code-slots-row.is-error .code-slot-digit {
  color: #ffffff;
}

.code-slots-caret {
  pointer-events: none;
  position: absolute;
  top: 25%;
  left: calc(var(--cs-size, 44px) / 2 - 0.75px);
  z-index: 5;
  width: 1.5px;
  height: 50%;
  opacity: 0;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), opacity 0.15s ease;
  will-change: transform;
}

.code-slots-caret.is-visible {
  opacity: 1;
}

.code-slots-caret-line {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--cs-ink, #f5f5f5);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: code-slots-blink 1s linear infinite;
}

/* Success wash merge overlay */
.code-slots-wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: var(--cs-radius, 12px);
  background-color: var(--cs-accent, #f5f5f5);
  color: var(--cs-digit, #18181b);
  display: grid;
  place-items: center;
  opacity: 0;
  clip-path: inset(0 50% round var(--cs-radius, 12px));
  transition: clip-path 0.32s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease;
}

.code-slots-row.is-success .code-slots-wash {
  opacity: 1;
  clip-path: inset(0 0% round var(--cs-radius, 12px));
}

.code-slots-check {
  display: grid;
  place-items: center;
  transform: translateY(8px) scale(0.85);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.25) 0.12s, opacity 0.25s ease 0.12s;
}

.code-slots-row.is-success .code-slots-check {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ==========================================================================
   Profile Appearance & Dynamic Glass Preview
   ========================================================================== */
.btn-preset-page-bg {
  position: relative;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn-preset-page-bg:hover {
  transform: scale(1.15);
}

.btn-preset-page-bg:active {
  transform: scale(0.95);
}

#preview-page-bg-box {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: background;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#liquid-glass-preview-box {
  will-change: transform, backdrop-filter, background, box-shadow;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   GlassSurface (React Bits Advanced Liquid Glass with Optical Dispersion)
   ========================================================================== */
.glass-surface {
  position: relative;
  overflow: hidden;
  transition: opacity 260ms ease-out, transform 260ms ease-out, box-shadow 260ms ease-out, background 260ms ease-out;
}

.glass-surface-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -9999;
}

/* ==========================================================================
   JellyRadio (React Bits Physics-based Radio/Tab Component)
   ========================================================================== */
.jelly-radio {
  --jr-chip: #27272a;
  --jr-active: #f5f5f5;
  --jr-text: #f5f5f5;
  --jr-active-text: #18181b;
  --jr-gap: 8px;
  --jr-radius: 18px;
  --jr-h: 36px;
  --jr-font: 13px;
  --jr-px: 16px;
  --jr-pad-x: 16px;
  --jr-pad-y: 6px;

  display: inline-flex;
  align-items: center;
  user-select: none;
  -webkit-touch-callout: none;
  gap: var(--jr-gap);
  padding: var(--jr-pad-y) var(--jr-pad-x);
}

.jelly-chip {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  transform-origin: center center;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.jelly-chip[data-on="true"] {
  cursor: default;
  z-index: 2;
}

.jelly-chip:disabled {
  cursor: default;
  opacity: 0.4;
}

.jelly-chip-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  overflow: hidden;
  border-radius: var(--jr-radius);
  background-color: var(--jr-chip);
  color: var(--jr-text);
  height: var(--jr-h);
  padding: 0 var(--jr-px);
  font-size: var(--jr-font);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
              background-color 200ms ease,
              color 200ms ease,
              box-shadow 200ms ease;
}

.jelly-chip:active .jelly-chip-inner {
  transform: scale(0.97);
}

.jelly-chip[data-on="true"] .jelly-chip-inner {
  background-color: var(--jr-active);
  color: var(--jr-active-text);
  font-weight: 600;
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.jelly-chip-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--jr-text);
  opacity: 0;
  border-radius: inherit;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.jelly-chip[data-on="false"]:hover .jelly-chip-inner::before {
  opacity: 0.11;
}

.jelly-chip:focus-visible .jelly-chip-inner {
  box-shadow: 0 0 0 2px #060609, 0 0 0 4px var(--brand-blue, #2997ff);
}

/* --- UnoAuth Shield: KeyAuth Sidebar, Live Radar & Killswitch Styles --- */
@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes killswitch-blink {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 58, 0.4), inset 0 0 10px rgba(255, 69, 58, 0.2); }
  50% { box-shadow: 0 0 35px rgba(255, 69, 58, 0.8), inset 0 0 20px rgba(255, 69, 58, 0.4); }
}

.radar-sweep-beam {
  animation: radar-sweep 4s linear infinite;
  transform-origin: center center;
}

.radar-ping-ring {
  animation: pulse-ring 2.5s ease-in-out infinite;
}

.killswitch-active-btn {
  animation: killswitch-blink 1.8s ease-in-out infinite;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* KeyAuth UI: Manage Applications & Subscriptions */
.keyauth-kpi-card {
  background: #14141e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.keyauth-kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.keyauth-kpi-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.keyauth-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: #8b949e;
  letter-spacing: 0.02em;
}

.keyauth-app-card {
  background: #12121c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.keyauth-app-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.keyauth-app-card.is-selected {
  border-color: rgba(48, 209, 88, 0.45);
  box-shadow: 0 0 15px rgba(48, 209, 88, 0.08);
}

.keyauth-pill-active {
  background: rgba(48, 209, 88, 0.14);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.35);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.keyauth-pill-paused {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.app-action-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.app-action-btn:active {
  transform: translateY(0);
}

.app-btn-selected {
  background: #0d4429;
  color: #3fb950;
  border: 1px solid rgba(63, 185, 80, 0.45);
}
.app-btn-select {
  background: rgba(255, 255, 255, 0.08);
  color: #c9d1d9;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.app-btn-rename {
  background: #492675;
  color: #d2a8ff;
  border: 1px solid rgba(187, 128, 255, 0.4);
}
.app-btn-desc {
  background: #094754;
  color: #56d4dd;
  border: 1px solid rgba(86, 212, 221, 0.4);
}
.app-btn-pause {
  background: #733c00;
  color: #ffab70;
  border: 1px solid rgba(255, 166, 87, 0.4);
}
.app-btn-resume {
  background: #144e2b;
  color: #56d364;
  border: 1px solid rgba(86, 211, 100, 0.4);
}
.app-btn-delete {
  background: #6e1c24;
  color: #ff7b72;
  border: 1px solid rgba(255, 123, 114, 0.4);
}

.app-btn-refresh-secret {
  background: #a35200;
  color: #ffffff;
  border: 1px solid rgba(255, 166, 87, 0.3);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.app-btn-refresh-secret:hover {
  background: #bd6000;
  filter: brightness(1.1);
}

.keyauth-credential-box {
  background: #0f0f17;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  position: relative;
}
.keyauth-credential-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8b949e;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.keyauth-credential-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #ffffff;
  word-break: break-all;
}

.keyauth-notice-box {
  background: rgba(14, 42, 82, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  color: #bfdbfe;
  font-size: 11.5px;
  line-height: 1.5;
}

/* Subscriptions Card & Modal */
.keyauth-sub-card {
  background: #14141f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.keyauth-sub-card:hover {
  background: #171724;
  border-color: rgba(255, 255, 255, 0.16);
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2d333b;
  transition: .2s;
  border-radius: 20px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}
input:checked + .switch-slider {
  background-color: #2563eb;
}
input:checked + .switch-slider:before {
  transform: translateX(16px);
}
