:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --panel: rgba(20, 20, 20, 0.72);
  --panel-strong: #171717;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.08);
  --green: #34d399;
  --red: #ff4d4d;
  --red-soft: rgba(255, 77, 77, 0.14);
  --shadow: rgba(0, 0, 0, 0.28);
  --page-bg-start: #090909;
  --page-bg-end: #0d0d0d;
  --page-glow: rgba(255, 255, 255, 0.05);
  --brand-gradient: linear-gradient(135deg, #fff, #d8d8d8);
  --brand-text: #0a0a0a;
  --primary-button-gradient: linear-gradient(135deg, #fff, #d9d9d9);
  --primary-button-text: #090909;
  --primary-button-glow: rgba(255, 255, 255, 0.14);
  --nav-highlight: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
  --glitch-a: rgba(255, 255, 255, 0.98);
  --glitch-b: rgba(0, 0, 0, 0.95);
  --typewriter-text: rgba(245, 245, 245, 0.96);
  --typewriter-caret: rgba(255, 255, 255, 0.8);
  --toggle-bg: rgba(17, 17, 17, 0.9);
  --toggle-border: rgba(255, 255, 255, 0.12);
  --toggle-text: #f5f5f5;
  --scroll-track: transparent;
  --scroll-thumb: rgba(255, 255, 255, 0.28);
  --scroll-thumb-hover: rgba(255, 255, 255, 0.48);
}

html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::selection {
  background: transparent !important;
  color: inherit !important;
}

::-moz-selection {
  background: transparent !important;
  color: inherit !important;
}

input,
textarea,
select {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

body.admin-page,
body.admin-page * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

body.admin-page .window-bar,
body.admin-page .mac-stepper-btn,
body.admin-page .mac-toggle-item,
body.admin-page .btn-mac-primary,
body.admin-page .traffic-dot,
body.admin-page button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.admin-page ::selection {
  background: rgba(10, 132, 255, 0.4) !important;
  color: #ffffff !important;
}

body.admin-page ::-moz-selection {
  background: rgba(10, 132, 255, 0.4) !important;
  color: #ffffff !important;
}

body.light-theme {
  --page-bg-start: #ffffff;
  --page-bg-end: #ffffff;
  --page-glow: rgba(17, 17, 17, 0.05);
  --brand-gradient: linear-gradient(135deg, #111111, #444444);
  --brand-text: #f5f5f5;
  --primary-button-gradient: linear-gradient(135deg, #111111, #2f2f2f);
  --primary-button-text: #f7f7f7;
  --primary-button-glow: rgba(17, 17, 17, 0.14);
  --nav-highlight: linear-gradient(90deg, #111111, rgba(17, 17, 17, 0.45));
  --text: #111111;
  --muted: #4d4d4d;
  --line: rgba(17, 17, 17, 0.12);
  --glitch-a: rgba(17, 17, 17, 0.98);
  --glitch-b: rgba(255, 255, 255, 0.95);
  --typewriter-text: rgba(17, 17, 17, 0.96);
  --typewriter-caret: rgba(17, 17, 17, 0.8);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #f9f9f9;
  --toggle-bg: rgba(255, 255, 255, 0.78);
  --toggle-border: rgba(17, 17, 17, 0.12);
  --toggle-text: #111111;
  --scroll-track: transparent;
  --scroll-thumb: rgba(0, 0, 0, 0.35);
  --scroll-thumb-hover: rgba(0, 0, 0, 0.65);
}

.warning-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 5, 8, 0.62);
  backdrop-filter: blur(24px) saturate(0.7) brightness(0.42);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.warning-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 80, 80, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.warning-overlay:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.warning-overlay.is-visible~.page-shell {
  filter: blur(18px) saturate(0.55) brightness(0.5);
  transform: scale(1.02);
  transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.warning-panel {
  position: relative;
  width: min(680px, 100%);
  padding: 2rem 2rem 1.75rem;
  border: 1px solid rgba(255, 120, 120, 0.38);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(20, 10, 12, 0.96), rgba(10, 7, 8, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 77, 77, 0.12),
    0 26px 60px rgba(0, 0, 0, 0.76),
    0 0 28px rgba(255, 77, 77, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(0.96) translateY(16px);
  opacity: 0;
  animation: panel-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.warning-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 28%, rgba(255, 77, 77, 0.12) 48%, transparent 62%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.warning-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.warning-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.warning-kicker::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.9);
}

.warning-code {
  color: rgba(255, 177, 177, 0.85);
}

.warning-title {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: #fff5f5;
  font-size: clamp(2.6rem, 4vw, 4.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 77, 77, 0.45), 0 0 32px rgba(255, 77, 77, 0.18);
  animation: warning-flicker 2.8s steps(1, end) infinite;
}

.warning-title::before,
.warning-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.warning-title::before {
  color: rgba(255, 90, 90, 0.8);
  transform: translate(-4px, 0);
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 41%);
  filter: blur(0.5px);
  animation: warning-glitch-1 0.9s infinite steps(1, end);
}

.warning-title::after {
  color: rgba(255, 220, 220, 0.72);
  transform: translate(4px, 0);
  clip-path: polygon(0 58%, 100% 52%, 100% 100%, 0 100%);
  filter: blur(0.4px);
  animation: warning-glitch-2 1.1s infinite steps(1, end);
}

.warning-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}

.warning-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  min-width: 186px;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(255, 90, 90, 0.9);
  border-radius: 0;
  background: linear-gradient(180deg, #ff2929 0%, #f20808 38%, #a60606 100%);
  color: #fff4f4;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 8px 18px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(255, 33, 33, 0.9),
    inset 0 0 0 rgba(255, 255, 255, 0);
}

.warning-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.warning-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 45%);
  pointer-events: none;
}

.warning-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 130, 130, 1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 26px rgba(0, 0, 0, 0.35),
    0 0 26px rgba(255, 33, 33, 1),
    inset 0 0 0 rgba(255, 255, 255, 0);
}

.warning-btn:active {
  transform: translateY(0) scale(0.99);
}

@keyframes warning-glitch-1 {

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

  12% {
    transform: translate(-5px, 2px);
    opacity: 1;
  }

  24% {
    transform: translate(3px, -1px);
    opacity: 0.7;
  }

  38% {
    transform: translate(-7px, 1px);
    opacity: 1;
  }

  52% {
    transform: translate(1px, 3px);
    opacity: 0.8;
  }

  66% {
    transform: translate(5px, -2px);
    opacity: 1;
  }

  80% {
    transform: translate(-2px, 1px);
    opacity: 0.9;
  }
}

@keyframes warning-glitch-2 {

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

  16% {
    transform: translate(5px, -2px);
    opacity: 1;
  }

  32% {
    transform: translate(-4px, 1px);
    opacity: 0.8;
  }

  48% {
    transform: translate(7px, 0);
    opacity: 1;
  }

  64% {
    transform: translate(-3px, -2px);
    opacity: 0.8;
  }

  82% {
    transform: translate(2px, 2px);
    opacity: 1;
  }
}

@keyframes warning-flicker {

  0%,
  100% {
    opacity: 1;
  }

  10% {
    opacity: 0.96;
  }

  12% {
    opacity: 0.88;
  }

  14% {
    opacity: 1;
  }

  42% {
    opacity: 0.94;
  }

  45% {
    opacity: 1;
  }

  80% {
    opacity: 0.97;
  }

  82% {
    opacity: 0.88;
  }

  84% {
    opacity: 1;
  }
}

@keyframes panel-enter {
  0% {
    transform: scale(0.96) translateY(18px);
    opacity: 0;
  }

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

body[data-lang="ko"] {
  --page-bg-start: #070b12;
  --page-bg-end: #111827;
  --page-glow: rgba(96, 165, 250, 0.16);
  --brand-gradient: linear-gradient(135deg, #f87171 0%, #60a5fa 100%);
  --brand-text: #ffffff;
  --primary-button-gradient: linear-gradient(135deg, #fca5a5 0%, #93c5fd 100%);
  --primary-button-text: #0b1020;
  --primary-button-glow: rgba(96, 165, 250, 0.35);
  --nav-highlight: linear-gradient(90deg, #fca5a5, #93c5fd);
  --line: rgba(255, 255, 255, 0.12);
  --glitch-a: rgba(239, 68, 68, 0.96);
  --glitch-b: rgba(59, 130, 246, 0.94);
  --typewriter-text: rgba(255, 217, 217, 0.96);
  --typewriter-caret: rgba(96, 165, 250, 0.8);
}

body.light-theme {
  --page-bg-start: #f7f5f2;
  --page-bg-end: #efeae3;
  --page-glow: rgba(17, 17, 17, 0.1);
  --brand-gradient: linear-gradient(135deg, #111111, #444444);
  --brand-text: #f5f5f5;
  --primary-button-gradient: linear-gradient(135deg, #111111, #2f2f2f);
  --primary-button-text: #f7f7f7;
  --primary-button-glow: rgba(17, 17, 17, 0.14);
  --nav-highlight: linear-gradient(90deg, #111111, rgba(17, 17, 17, 0.45));
  --text: #111111;
  --muted: #4d4d4d;
  --line: rgba(17, 17, 17, 0.12);
  --glitch-a: rgba(17, 17, 17, 0.98);
  --glitch-b: rgba(255, 255, 255, 0.95);
  --typewriter-text: rgba(17, 17, 17, 0.96);
  --typewriter-caret: rgba(17, 17, 17, 0.8);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #f9f9f9;
  --toggle-bg: rgba(255, 255, 255, 0.78);
  --toggle-border: rgba(17, 17, 17, 0.12);
  --toggle-text: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--page-bg-start) 0%, var(--page-bg-end) 100%);
  transition: background 0.35s ease, color 0.35s ease;
}

body.light-theme {
  background: #ffffff;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(17, 17, 17, 0.04), transparent 28%),
    var(--page-bg-start);
  background-size: 64px 64px, 64px 64px, auto, auto;
  transition: background 0.35s ease;
}

body.light-theme .page-shell {
  background: #ffffff;
}

body.light-theme .page-shell::before {
  display: none;
}

body.light-theme .page-glow {
  display: none;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

.page-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(72px);
  background: var(--page-glow);
  pointer-events: none;
}

.page-glow-left {
  left: 8%;
  top: 4%;
}

.page-glow-right {
  right: 10%;
  bottom: 8%;
}

.home-page {
  background: #000;
}

.home-page .page-shell {
  isolation: isolate;
  background: #000;
}

.home-page .page-shell::before {
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.72) 100%);
}

.space-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.space-backdrop::before,
.space-backdrop::after {
  position: absolute;
  inset: -8%;
  content: "";
  pointer-events: none;
}

.space-backdrop::before {
  opacity: 0.48;
  background-image:
    radial-gradient(1px 1px at 7% 13%, rgba(255, 255, 255, 0.9) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 21% 68%, rgba(255, 255, 255, 0.84) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 29% 31%, rgba(255, 255, 255, 0.92) 99%, transparent 100%),
    radial-gradient(1px 1px at 43% 88%, rgba(255, 255, 255, 0.76) 99%, transparent 100%),
    radial-gradient(1px 1px at 52% 18%, rgba(255, 255, 255, 0.88) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 67% 73%, rgba(255, 255, 255, 0.82) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 74% 36%, rgba(255, 255, 255, 0.9) 99%, transparent 100%),
    radial-gradient(1px 1px at 94% 22%, rgba(255, 255, 255, 0.78) 99%, transparent 100%);
  background-size: 900px 740px;
  animation: star-drift 180s linear infinite;
}

.space-backdrop::after {
  opacity: 0.22;
  background-image:
    radial-gradient(1px 1px at 12% 41%, rgba(255, 255, 255, 0.95) 99%, transparent 100%),
    radial-gradient(1px 1px at 24% 88%, rgba(255, 255, 255, 0.82) 99%, transparent 100%),
    radial-gradient(1px 1px at 35% 9%, rgba(255, 255, 255, 0.82) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 57%, rgba(255, 255, 255, 0.86) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 91%, rgba(255, 255, 255, 0.88) 99%, transparent 100%),
    radial-gradient(1px 1px at 73% 13%, rgba(255, 255, 255, 0.82) 99%, transparent 100%),
    radial-gradient(1px 1px at 81% 61%, rgba(255, 255, 255, 0.94) 99%, transparent 100%);
  background-size: 1060px 860px;
  animation: star-twinkle 8s ease-in-out infinite alternate, star-drift 210s linear infinite reverse;
}

.space-nebula {
  position: absolute;
  z-index: 0;
  inset: -12%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.48;
  filter: blur(48px);
  background:
    radial-gradient(ellipse 34% 16% at 18% 36%, rgba(255, 255, 255, 0.105), transparent 75%),
    radial-gradient(ellipse 30% 13% at 72% 57%, rgba(210, 210, 210, 0.085), transparent 76%),
    radial-gradient(ellipse 26% 12% at 45% 82%, rgba(255, 255, 255, 0.07), transparent 78%);
  animation: nebula-drift 90s ease-in-out infinite alternate;
}

.space-dust {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    radial-gradient(1px 1px at 15% 28%, rgba(255, 255, 255, 0.8) 99%, transparent 100%),
    radial-gradient(1px 1px at 36% 74%, rgba(255, 255, 255, 0.55) 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 57% 42%, rgba(255, 255, 255, 0.7) 99%, transparent 100%),
    radial-gradient(1px 1px at 78% 83%, rgba(255, 255, 255, 0.6) 99%, transparent 100%),
    radial-gradient(1px 1px at 91% 18%, rgba(255, 255, 255, 0.75) 99%, transparent 100%);
  background-size: 1360px 1080px;
  animation: dust-float 70s ease-in-out infinite alternate;
}

.shooting-stars {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shooting-stars span {
  position: absolute;
  top: var(--meteor-top);
  left: var(--meteor-left);
  width: var(--meteor-length);
  height: 1.5px;
  opacity: 0;
  transform: rotate(var(--meteor-angle));
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24) 42%, rgba(255, 255, 255, 0.82) 86%, #fff);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.62));
  animation: meteor-flight var(--meteor-duration) linear infinite;
  animation-delay: var(--meteor-delay);
}

.shooting-stars span:nth-child(1) {
  --meteor-top: 12%;
  --meteor-left: 78%;
  --meteor-length: 170px;
  --meteor-angle: 142deg;
  --meteor-end-x: -64vw;
  --meteor-end-y: 50vh;
  --meteor-mid-x: -35.2vw;
  --meteor-mid-y: 27.5vh;
  --meteor-duration: 17s;
  --meteor-delay: 0s;
}

.shooting-stars span:nth-child(2) {
  --meteor-top: 68%;
  --meteor-left: 20%;
  --meteor-length: 135px;
  --meteor-angle: 322deg;
  --meteor-end-x: 58vw;
  --meteor-end-y: -42vh;
  --meteor-mid-x: 31.9vw;
  --meteor-mid-y: -23.1vh;
  --meteor-duration: 21s;
  --meteor-delay: 3s;
}

.shooting-stars span:nth-child(3) {
  --meteor-top: 30%;
  --meteor-left: 12%;
  --meteor-length: 115px;
  --meteor-angle: 42deg;
  --meteor-end-x: 58vw;
  --meteor-end-y: 52vh;
  --meteor-mid-x: 31.9vw;
  --meteor-mid-y: 28.6vh;
  --meteor-duration: 24s;
  --meteor-delay: 7s;
}

.shooting-stars span:nth-child(4) {
  --meteor-top: 82%;
  --meteor-left: 82%;
  --meteor-length: 155px;
  --meteor-angle: 222deg;
  --meteor-end-x: -60vw;
  --meteor-end-y: -42vh;
  --meteor-mid-x: -33vw;
  --meteor-mid-y: -23.1vh;
  --meteor-duration: 19s;
  --meteor-delay: 11s;
}

.shooting-stars span:nth-child(5) {
  --meteor-top: 46%;
  --meteor-left: 58%;
  --meteor-length: 100px;
  --meteor-angle: 155deg;
  --meteor-end-x: -48vw;
  --meteor-end-y: 24vh;
  --meteor-mid-x: -26.4vw;
  --meteor-mid-y: 13.2vh;
  --meteor-duration: 23s;
  --meteor-delay: 15s;
}

@keyframes star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-36px, 24px, 0);
  }
}

@keyframes star-twinkle {
  from {
    opacity: 0.16;
  }

  to {
    opacity: 0.38;
  }
}

@keyframes dust-float {
  from {
    transform: translate3d(-0.3%, -0.3%, 0) scale(1);
  }

  to {
    transform: translate3d(0.3%, 0.3%, 0) scale(1.01);
  }
}

@keyframes nebula-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes meteor-flight {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--meteor-angle));
  }

  4% {
    opacity: 0.92;
  }

  12% {
    opacity: 0.72;
    transform: translate3d(var(--meteor-mid-x), var(--meteor-mid-y), 0) rotate(var(--meteor-angle));
  }

  20% {
    opacity: 0;
    transform: translate3d(var(--meteor-end-x), var(--meteor-end-y), 0) rotate(var(--meteor-angle));
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--meteor-end-x), var(--meteor-end-y), 0) rotate(var(--meteor-angle));
  }
}

@media (prefers-reduced-motion: reduce) {
  .space-backdrop,
  .space-backdrop::before,
  .space-backdrop::after,
  .space-nebula,
  .space-dust,
  .shooting-stars span {
    animation: none;
  }

  .shooting-stars {
    display: none;
  }
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 2rem));
  padding: 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 16, 16, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px var(--shadow);
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-theme .topbar {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.07);
}

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

.brand-logo {
  display: block;
  width: 118px;
  height: 36px;
  object-fit: cover;
  transform: scale(1.25);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: var(--brand-gradient);
  color: var(--brand-text);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #b8b8b8;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--nav-highlight);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 8rem;
  padding: 0 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-actions .btn {
  min-width: 8.2rem;
  width: 8.2rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-button-gradient);
  color: var(--primary-button-text);
  box-shadow: 0 12px 24px var(--primary-button-glow);
}

.btn-ghost,
.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8.5rem 0 5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0 3rem;
  min-height: 720px;
}

.spacer-lower {
  height: 200px;
  width: 100%;
}

.terminal-section {
  margin-top: 5rem;
  padding: 2.5rem 0 4rem;
}

.terminal-window {
  position: relative;
  width: min(1400px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.98), rgba(8, 8, 10, 1));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.terminal-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 0%,
      transparent 24%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(255, 255, 255, 0.18) 45%,
      rgba(0, 0, 0, 0.18) 52%,
      transparent 62%,
      transparent 100%);
  transform: translateX(-135%);
  animation: beam-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

.terminal-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 1px,
      transparent 2px,
      transparent 4px);
  opacity: 0.6;
  pointer-events: none;
}

@keyframes beam-sweep {
  0% {
    transform: translateX(-135%);
  }

  30% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

.terminal-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 58px;
  padding: 0 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(37, 37, 41, 0.96), rgba(25, 25, 29, 0.94));
}

.traffic-lights {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  padding-right: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.24);
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #28c840;
}

.title-text {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.terminal-body {
  position: relative;
  z-index: 1;
  padding: 1.8rem 1.35rem 2rem;
  background: rgba(7, 7, 9, 0.98);
}

.terminal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.terminal-right {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.globe-container {
  width: 600px;
  height: 600px;
}

.globe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.access-group {
  margin-bottom: 1.5rem;
}

.access-group:last-child {
  margin-bottom: 0;
}

.group-label {
  margin: 0 0 0.8rem;
  padding-left: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.terminal-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 1rem 1.15rem 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #eff5fb;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.terminal-option::before {
  content: ">";
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  margin-right: 0.15rem;
}

.terminal-option+.terminal-option {
  margin-top: 0.85rem;
}

.option-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.option-name {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-separator {
  color: rgba(255, 255, 255, 0.5);
}

.option-copy {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 640px) {
  .terminal-section {
    margin-top: 4.5rem;
  }

  .terminal-option {
    flex-wrap: wrap;
    gap: 0.2rem 0.6rem;
    padding: 0.9rem 0.8rem;
  }

  .option-copy {
    width: 100%;
    line-height: 1.5;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
}

.hero h1 {
  margin: 2rem auto 1.25rem;
  max-width: 900px;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
  font-weight: 800;
  transition: color 0.3s ease;
}

body.light-theme .hero h1,
body.light-theme .feature-copy h2,
body.light-theme .feature-copy li,
body.light-theme .terminal-option,
body.light-theme .group-label,
body.light-theme .title-text,
body.light-theme .terminal-option .option-prefix,
body.light-theme .terminal-option .option-name,
body.light-theme .terminal-option .option-copy {
  color: #111111;
}

.hero h1 span {
  color: #d9d9d9;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.typewriter {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 1.8em;
  color: var(--typewriter-text);
  border-right: 2px solid var(--typewriter-caret);
  white-space: normal;
  overflow: hidden;
  animation: blink-caret 0.8s step-end infinite;
}

.glitch-text {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--text);
  text-shadow: none;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
}

@keyframes blink-caret {

  0%,
  50% {
    border-color: rgba(255, 255, 255, 0.9);
  }

  50.01%,
  100% {
    border-color: transparent;
  }
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-large {
  min-width: 180px;
  min-height: 52px;
  font-size: 1rem;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 25%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  color: var(--text);
}

.auth-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
}

.auth-card {
  width: min(760px, 92vw);
  max-width: 760px;
  margin: 0;
  padding: 2rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  background: var(--primary-button-gradient);
  color: var(--primary-button-text);
  font-weight: 800;
}

.auth-card h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.auth-subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

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

.auth-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
}

.verification-box {
  padding: 0.9rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.verification-question {
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.2rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-meta a,
.auth-switch a,
.auth-back a {
  color: var(--text);
  text-decoration: none;
}

.auth-actions {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.auth-switch,
.auth-back {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-switch a,
.auth-back a {
  font-weight: 700;
}

@media (max-width: 640px) {
  .nav-actions .btn {
    min-width: 7rem;
    width: 7rem;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.stats article {
  padding: 1.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(22, 22, 22, 0.7);
}

.stats strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: rgba(22, 22, 22, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
  scroll-margin-top: 30vh;
}

body.light-theme .feature-panel,
body.light-theme .stats article,
body.light-theme .visual-card,
body.light-theme .terminal-window,
body.light-theme .terminal-body {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.tag {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-copy h2 {
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.06em;
}

.feature-copy p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #ebebeb;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-weight: 700;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(12, 12, 12, 0.8);
  overflow: hidden;
}

.visual-glow {
  position: absolute;
  top: 18%;
  right: 18%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(38px);
}

.visual-block {
  position: absolute;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.visual-block-lg {
  width: 58%;
  height: 52%;
  left: 18%;
  top: 18%;
}

.visual-block-sm {
  width: 24%;
  height: 24%;
  right: 18%;
  bottom: 18%;
}

.visual-block-sm.alt {
  left: 18%;
  right: auto;
}

@media (max-width: 820px) {
  .topbar {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .feature-panel {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .btn {
    flex: 1;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 9rem;
  }
}

.dashboard-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #0b0d11 0%, #12161d 100%);
  color: var(--text);
}

.dashboard-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 18, 22, 0.9);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-nav .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dashboard-user .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-main {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.2rem;
}

.dashboard-hero h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.06em;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.08);
  color: #baf7dc;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.kpi-card {
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(17, 19, 22, 0.88);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.kpi-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kpi-card strong {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
}

.kpi-card small {
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 1rem;
}

.panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(17, 19, 22, 0.88);
}

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

.panel-header h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
  color: #baf7dc;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 0.55rem;
  height: 230px;
  padding-top: 0.5rem;
}

.bar {
  display: block;
  height: var(--h);
  min-height: 35%;
  border-radius: 0.7rem 0.7rem 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2));
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.status-list span {
  color: var(--muted);
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
}

.activity-table th,
.activity-table td {
  padding: 0.9rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.activity-table th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge.success {
  background: rgba(52, 211, 153, 0.12);
  color: #baf7dc;
}

.badge.warning {
  background: rgba(255, 190, 92, 0.12);
  color: #f7d181;
}

.badge.danger {
  background: rgba(255, 77, 77, 0.12);
  color: #ffb7b7;
}

@media (max-width: 900px) {
  .dashboard-topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .dashboard-topbar {
    align-items: flex-start;
  }

  .dashboard-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-user {
    width: 100%;
    justify-content: flex-end;
  }

  .dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing Section ── */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.8rem 0 0.6rem;
}

.pricing-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.pricing-category {
  margin-bottom: 3.5rem;
}

.pricing-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 1.5rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-popular {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), var(--panel));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.pricing-card-popular:hover {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 56px rgba(0, 0, 0, 0.35);
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #e0e0e0);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}

.pricing-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.pricing-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-spec:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.spec-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pricing-card-footer {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-period {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* Pricing light theme */
body.light-theme .pricing-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .pricing-card::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(0, 0, 0, 0.02), transparent 60%);
}

body.light-theme .pricing-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

body.light-theme .pricing-card-popular {
  border-color: rgba(0, 0, 0, 0.15);
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.02), rgba(255, 255, 255, 0.72));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
}

body.light-theme .pricing-badge {
  background: linear-gradient(135deg, #1c1c1e, #333);
  color: #fff;
}

body.light-theme .pricing-spec {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Pricing responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .pricing-section {
    padding: 2.5rem 1rem 3rem;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-header .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.8rem 0 0.6rem;
}

.faq-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--text);
  color: var(--bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.4rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* FAQ Light theme */
body.light-theme .faq-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .faq-item:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

body.light-theme .faq-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ===== MAC TERMINAL & 3D DOT GLOBE ===== */
.terminal-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.terminal-window {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-lights .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.traffic-lights .dot.red {
  background: #ff5f56;
  border: 1px solid rgba(224, 68, 62, 0.5);
}

.traffic-lights .dot.yellow {
  background: #ffbd2e;
  border: 1px solid rgba(222, 161, 35, 0.5);
}

.traffic-lights .dot.green {
  background: #27c93f;
  border: 1px solid rgba(26, 177, 47, 0.5);
}

.title-text {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.terminal-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 1.8rem;
  align-items: center;
  min-height: 300px;
}

.terminal-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.terminal-sys-header .sys-kicker {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

.terminal-sys-header .sys-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.3rem 0 0;
  letter-spacing: -0.02em;
}

.terminal-logs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.log-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
  flex-wrap: wrap;
}

.l-time {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
}

.l-badge {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-sys {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.badge-ok {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-net {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.l-text {
  color: rgba(255, 255, 255, 0.85);
}

.terminal-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.globe-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#dotGlobeCanvas {
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.globe-overlay-label {
  position: absolute;
  bottom: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.terminal-bottom-bar {
  padding: 0.85rem 1.4rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid var(--line);
}

.terminal-prompt-box {
  display: flex;
  align-items: center;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.prompt-user {
  color: #ffffff;
  font-weight: 700;
}

.prompt-path {
  color: #ffffff;
  font-weight: 700;
}

.prompt-cmd {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 2px;
}

.blinking-cursor {
  color: #ffffff;
  font-size: 0.9rem;
  margin-left: 4px;
  animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .terminal-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Vanilla JS Dot Globe --- */
#dot-globe-container {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dot-globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Landing-page surfaces tuned for the monochrome space background. */
.home-page .topbar {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.88);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.045);
}

.home-page .topbar .nav {
  color: rgba(255, 255, 255, 0.68);
}

.home-page .topbar .nav a:hover {
  color: #fff;
}

.home-page .btn-primary {
  background: linear-gradient(145deg, #fff, #cfcfcf);
  color: #080808;
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.8);
}

.home-page .btn-primary:hover {
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.2), inset 0 1px rgba(255, 255, 255, 0.9);
}

.home-page .btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  color: #f5f5f5;
}

.home-page .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.home-page .eyebrow,
.home-page .tag {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 8px 28px rgba(0, 0, 0, 0.24);
}

.home-page .eyebrow::before {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.home-page .hero h1 {
  text-shadow: 0 8px 48px rgba(255, 255, 255, 0.09);
}

.home-page .stats article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.19);
  background: linear-gradient(155deg, #090909, #030303 78%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 16px 38px rgba(0, 0, 0, 0.58);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-page .stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 22px 48px rgba(0, 0, 0, 0.48);
}

.home-page .stats strong {
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.home-page .stats span {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .feature-panel {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, #080808, #020202 76%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 28px 70px rgba(0, 0, 0, 0.68);
}

.home-page .feature-copy h2 {
  color: #f7f7f7;
}

.home-page .feature-copy p,
.home-page .feature-list li {
  color: rgba(255, 255, 255, 0.7);
}

.home-page .feature-list li::before {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.home-page .visual-card {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, #080808, #010101 78%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.68);
}

.home-page .visual-glow {
  background: rgba(255, 255, 255, 0.09);
  filter: blur(46px);
}

.home-page .visual-block {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, #111, #050505 82%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 14px 36px rgba(0, 0, 0, 0.58);
}

.home-page .terminal-window {
  border-color: rgba(255, 255, 255, 0.21);
  background: linear-gradient(155deg, #080808, #010101 76%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.78), inset 0 1px rgba(255, 255, 255, 0.075);
}

.home-page .terminal-titlebar {
  background: linear-gradient(180deg, #0c0c0c, #060606);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.home-page .terminal-body {
  background: #020202;
}

.home-page .terminal-option {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(110deg, #0a0a0a, #030303);
}

.home-page .terminal-option:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(110deg, #101010, #050505);
}

.home-page .pricing-card {
  border-color: rgba(255, 255, 255, 0.19);
  background: linear-gradient(155deg, #090909, #020202 76%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 18px 42px rgba(0, 0, 0, 0.62);
}

.home-page .pricing-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%);
}

.home-page .pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 24px 54px rgba(0, 0, 0, 0.58);
}

.home-page .pricing-card-popular {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(155deg, #0d0d0d, #030303 76%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.035), 0 22px 50px rgba(0, 0, 0, 0.68);
}

.home-page .pricing-badge {
  background: linear-gradient(145deg, #fff, #c9c9c9);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.16);
}

.home-page .billing-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: #050505;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.home-page .billing-opt {
  color: rgba(255, 255, 255, 0.65);
}

.home-page .billing-opt.active {
  color: #080808;
}

.home-page .billing-slider {
  background: linear-gradient(145deg, #fff, #c9c9c9);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.14);
}

.home-page .faq-item {
  border-color: rgba(255, 255, 255, 0.19);
  background: linear-gradient(145deg, #090909, #020202 78%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 14px 36px rgba(0, 0, 0, 0.58);
}

.home-page .faq-item:hover,
.home-page .faq-item.active {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 18px 42px rgba(0, 0, 0, 0.46);
}

.home-page .faq-icon {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
}

.home-page .faq-item.active .faq-icon {
  background: linear-gradient(145deg, #fff, #c9c9c9);
  color: #080808;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .stats article {
    transition: none;
  }
}

.warning-overlay {
  padding: 1.25rem;
  background: rgba(3, 3, 4, 0.76);
  backdrop-filter: blur(26px) saturate(0.68) brightness(0.42);
}

.warning-overlay::before {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%, rgba(255, 255, 255, 0.018));
}

.warning-panel {
  width: min(540px, 100%);
  padding: 1.8rem 2rem 1.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background:
    radial-gradient(ellipse at 50% -15%, rgba(255, 255, 255, 0.09), transparent 54%),
    linear-gradient(155deg, rgba(22, 22, 24, 0.985), rgba(8, 8, 9, 0.995));
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.085);
}

.warning-panel::before {
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 24%,
    rgba(255, 255, 255, 0.025) 38%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(0, 0, 0, 0.08) 52%,
    transparent 62%,
    transparent 100%);
  transform: translateX(-135%);
  animation: warning-panel-beam 8s ease-in-out infinite;
}

.warning-brand,
.warning-meta,
.warning-title,
.warning-copy,
.warning-btn {
  position: relative;
  z-index: 2;
}

@keyframes warning-panel-beam {
  0% {
    transform: translateX(-135%);
  }

  30%,
  100% {
    transform: translateX(110%);
  }
}

.warning-brand {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.35rem;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.warning-brand img {
  display: block;
  width: min(184px, 62%);
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(255, 255, 255, 0.13));
}

.warning-meta {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.64rem;
  letter-spacing: 0.17em;
}

.warning-kicker {
  gap: 0.5rem;
}

.warning-kicker::before {
  width: 0.44rem;
  height: 0.44rem;
  background: #f1f1f1;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.52);
}

.warning-code {
  color: rgba(255, 255, 255, 0.4);
}

.warning-title {
  margin-bottom: 0.9rem;
  color: #fafafa;
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-transform: none;
  text-shadow: 0 4px 26px rgba(255, 255, 255, 0.12);
  animation: none;
}

.warning-title::before,
.warning-title::after {
  display: none;
}

.warning-copy {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.8;
}

.warning-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 1.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0.7rem;
  background: linear-gradient(120deg, #fff, #dedee1 52%, #fff);
  color: #090909;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: none;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
  animation: warning-button-glow 3.2s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.warning-btn::before {
  inset: -30% auto -30% -45%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform: skewX(-18deg);
  animation: warning-button-sheen 4.5s ease-in-out infinite;
}

.warning-btn::after {
  display: none;
}

.warning-btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 13px 32px rgba(255, 255, 255, 0.18);
}

.warning-btn:active {
  transform: translateY(0) scale(0.99);
}

.warning-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@keyframes warning-button-sheen {
  0%,
  18% {
    left: -45%;
  }

  55%,
  100% {
    left: 125%;
  }
}

@keyframes warning-button-glow {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow: 0 12px 34px rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 540px) {
  .warning-overlay {
    padding: 1rem;
  }

  .warning-panel {
    padding: 1.25rem 1.2rem 1.35rem;
    border-radius: 1.1rem;
  }

  .warning-brand {
    min-height: 72px;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
  }

  .warning-brand img {
    width: min(172px, 65%);
    height: 50px;
  }

  .warning-copy {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .warning-overlay,
  .warning-panel::before,
  .warning-panel,
  .warning-btn,
  .warning-btn::before {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .warning-btn {
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.1);
  }
}

/* ===== BILLING TOGGLE ===== */
.billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 4px;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.billing-opt {
  position: relative;
  z-index: 2;
  padding: 0.55rem 1.6rem;
  border: none;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s ease;
}

.billing-opt.active {
  color: var(--primary-button-text);
}

.billing-slider {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 0.45rem;
  background: var(--primary-button-gradient);
  box-shadow: 0 4px 16px var(--primary-button-glow);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.billing-toggle[data-active="lifetime"] .billing-slider {
  transform: translateX(100%);
}

body.light-theme .billing-toggle {
  background: rgba(0, 0, 0, 0.04);
}

.pricing-category-title {
  display: none !important;
}

.pricing-category .pricing-grid {
  animation: pricingFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pricingFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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