: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;
}

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;
}

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: 1100px !important;
  padding: 10px 24px !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;
}

.nav-glass ul {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.nav-glass ul 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 ul li a:hover {
  color: #ffffff !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; }

@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="email"], 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;
  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;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.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;
}

.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;
}

.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;
}
