@font-face {
  font-family: "Vazirmatn";
  src: url("/static/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  --bg: #050811;
  --bg-soft: #131c2e;
  --bg-card: rgba(24, 34, 54, 0.78);
  --bg-card-solid: #182236;
  --bg-glass: rgba(11, 17, 30, 0.86);
  --bg-input: rgba(30, 41, 59, 0.76);
  --border: rgba(203, 213, 225, 0.28);
  --border-gold: rgba(245, 196, 81, 0.52);
  --border-strong: rgba(52, 211, 153, 0.52);
  --text: #f8fafc;
  --text-muted: #a8b7cc;
  --text-soft: #dbe5f2;
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-soft: rgba(16, 185, 129, 0.14);
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --indigo: #818cf8;
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.15);
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.15);
  --dot-color: rgba(226, 232, 240, 0.12);
  --orb-1: rgba(16, 185, 129, 0.22);
  --orb-2: rgba(245, 196, 81, 0.15);
  --orb-3: rgba(56, 189, 248, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 22px;
  --radius-sm: 12px;
}

[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-soft: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.86);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #f8fafc;
  --border: rgba(15, 23, 42, 0.1);
  --border-gold: rgba(180, 120, 12, 0.36);
  --border-strong: rgba(5, 150, 105, 0.45);
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #334155;
  --primary: #059669;
  --primary-hover: #047857;
  --primary-soft: rgba(5, 150, 105, 0.12);
  --gold: #b45309;
  --gold-soft: rgba(217, 119, 6, 0.12);
  --accent: #0284c7;
  --accent-soft: rgba(2, 132, 199, 0.12);
  --indigo: #4f46e5;
  --warning: #d97706;
  --warning-soft: rgba(217, 119, 6, 0.12);
  --danger: #e11d48;
  --danger-soft: rgba(225, 29, 72, 0.12);
  --dot-color: rgba(15, 23, 42, 0.11);
  --orb-1: rgba(16, 185, 129, 0.22);
  --orb-2: rgba(245, 196, 81, 0.22);
  --orb-3: rgba(56, 189, 248, 0.22);
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", "Tahoma", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Deep-Space Warp & Cosmic Ambient Scene */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #071226 0%, #030714 55%, #01030a 100%);
}

.bg-wallpaper {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/bg_mesh.jpg?v=4.1");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.24;
  transform: scale(1.02);
}

.bg-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(2, 6, 23, 0.08) 0%, rgba(2, 4, 14, 0.56) 100%);
  pointer-events: none;
}

[data-theme="light"] .bg-scene {
  background: radial-gradient(circle at 50% 40%, #eef5ff 0%, #e4eeff 58%, #dbeafe 100%);
}

[data-theme="light"] .bg-wallpaper {
  background-image: url("/static/images/bg_mesh.jpg?v=4.1");
  opacity: 0.16;
  filter: invert(1) hue-rotate(180deg) contrast(0.95) brightness(1.06);
}

[data-theme="light"] .bg-scene::after {
  background: radial-gradient(ellipse at 50% 45%, rgba(248, 250, 255, 0.12) 0%, rgba(219, 234, 254, 0.42) 100%);
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-color) 1.1px, transparent 1.1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 28%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 28%, #000 35%, transparent 100%);
  opacity: 0.24;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.92;
  will-change: transform;
  animation: auroraDrift 22s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 540px;
  height: 540px;
  top: -140px;
  right: -90px;
  background: radial-gradient(circle, var(--orb-1), transparent 70%);
}

.bg-orb-2 {
  width: 480px;
  height: 480px;
  top: 12%;
  left: -120px;
  background: radial-gradient(circle, var(--orb-2), transparent 70%);
  animation-delay: -7s;
}

.bg-orb-3 {
  width: 620px;
  height: 420px;
  bottom: -160px;
  left: 25%;
  background: radial-gradient(circle, var(--orb-3), transparent 72%);
  animation-delay: -13s;
}

.bg-beam {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 81, 0.35), rgba(16, 185, 129, 0.35), transparent);
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, 24px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-24px, 12px, 0) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Accessibility Focus & Skip Link */
.skip-link {
  position: fixed;
  top: -120px;
  right: 16px;
  z-index: 200;
  background: var(--gold);
  color: #090d16;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 14px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(245, 196, 81, 0.14), rgba(56, 189, 248, 0.14));
  border-bottom: 1px solid var(--border);
  padding: 9px 16px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fcf65d;
  border: 1.5px solid rgba(252, 246, 93, 0.72);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 8px 24px rgba(245, 196, 81, 0.22);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.91rem;
  color: var(--text-soft);
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.91rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.26);
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.07);
}

.btn-gold {
  background: linear-gradient(135deg, #f5c451, #d97706);
  color: #090d16;
  box-shadow: 0 12px 28px rgba(245, 196, 81, 0.24);
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.06);
}

.btn-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #042f2e;
  box-shadow: 0 12px 28px rgba(52, 211, 153, 0.28);
}

.btn-emerald:hover:not(:disabled) {
  filter: brightness(1.06);
}

.btn-outline {
  background: rgba(148, 163, 184, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.18);
}

.btn-danger {
  background: var(--danger-soft);
  border-color: rgba(244, 63, 94, 0.35);
  color: var(--danger);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--gold);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-success {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.badge-info {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.badge-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-soft);
}

/* Cards & Minimal Glass Depth */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-divider {
  height: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-header h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 52px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.95rem, 3.8vw, 3.05rem);
  font-weight: 900;
  line-height: 1.32;
  margin: 16px 0 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(120deg, var(--gold), var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--text-soft);
  font-size: 1.03rem;
  margin: 0 0 28px;
  max-width: 590px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px 15px;
  backdrop-filter: blur(12px);
}

.metric-mini strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--gold);
}

.metric-mini span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Apple MacBook Light macOS Mockup */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 570px;
  margin: 0 auto;
}

.laptop-lid {
  position: relative;
  border-radius: 22px 22px 10px 10px;
  padding: 15px 13px 13px;
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #cbd5e1;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.laptop-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #334155;
  margin: -6px auto 9px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.laptop-screen {
  border-radius: 13px;
  padding: 14px 16px 12px;
  background:
    radial-gradient(circle at 12% 14%, rgba(16, 185, 129, 0.1), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(56, 189, 248, 0.12), transparent 48%),
    linear-gradient(180deg, #eff3f8 0%, #dde4ee 100%);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

/* Slightly darker cool slate in Dark Mode while keeping high legibility */
[data-theme="dark"] .laptop-screen {
  background:
    radial-gradient(circle at 12% 14%, rgba(16, 185, 129, 0.12), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(56, 189, 248, 0.12), transparent 48%),
    linear-gradient(180deg, #cbd5e1 0%, #a5b4c7 100%);
  border-color: rgba(203, 213, 225, 0.42);
}

[data-theme="dark"] .laptop-feature-item {
  background: rgba(248, 250, 252, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .mac-dock {
  background: rgba(241, 245, 249, 0.72);
}

[data-theme="dark"] .btn-test-glass,
[data-theme="dark"] #free-test-banner {
  background: rgba(148, 163, 184, 0.18);
  border: 1.5px solid rgba(203, 213, 225, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .btn-test-glass:hover {
  background: rgba(148, 163, 184, 0.28);
  border-color: var(--gold);
  color: var(--gold);
}

.laptop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.laptop-ping-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.32);
  color: #047857;
  font-size: 0.84rem;
  font-weight: 800;
}

.ping-blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pingBlink 1.15s ease-in-out infinite;
}

@keyframes pingBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.28; transform: scale(0.75); }
}

.laptop-wifi-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.24);
  color: #0284c7;
}

.wifi-svg .wifi-arc-1 {
  animation: wifiPulse 1.6s ease-in-out infinite 0s;
}
.wifi-svg .wifi-arc-2 {
  animation: wifiPulse 1.6s ease-in-out infinite 0.25s;
}
.wifi-svg .wifi-arc-3 {
  animation: wifiPulse 1.6s ease-in-out infinite 0.5s;
}

@keyframes wifiPulse {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.2; }
}

.laptop-feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

.laptop-feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.laptop-feature-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
}

.laptop-feature-item span {
  display: block;
  font-size: 0.79rem;
  color: #475569;
}

.laptop-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(217, 119, 6, 0.28);
  color: #b45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 10px rgba(15, 23, 42, 0.08);
}

.laptop-feature-icon--sky {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(2, 132, 199, 0.34);
  color: #0369a1;
}

.laptop-feature-icon--emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.12));
  border-color: rgba(5, 150, 105, 0.34);
  color: #047857;
}

.laptop-feature-icon--gold {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.28), rgba(217, 119, 6, 0.14));
  border-color: rgba(217, 119, 6, 0.38);
  color: #b45309;
}

.poster-user-limit {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent);
}

/* macOS Dock Bar */
.mac-dock-wrap {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mac-dock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.mac-dock-item {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.mac-dock-item.open::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0f172a;
}

.laptop-base {
  position: relative;
  height: 15px;
  margin: 0 -18px;
  border-radius: 3px 3px 16px 16px;
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 65%, #64748b 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: rgba(51, 65, 85, 0.55);
}

@media (max-width: 640px) {
  .laptop-base {
    margin: 0 -4px;
  }
}

/* Poster Showcase Frames */
.hero-poster-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.58);
  background: #050811;
}

.hero-poster-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.06);
}

.hero-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.1) 0%, rgba(4, 7, 14, 0.45) 55%, rgba(4, 7, 14, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.floating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.glass-pill {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.poster-bottom-panel {
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Editorial Poster Cards */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.poster-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 22%, rgba(56, 189, 248, 0.11), transparent 62%),
    linear-gradient(170deg, #10182b 0%, #090f1e 55%, #060a14 100%);
  min-height: 468px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--shadow);
}

.poster-card--gold {
  background:
    radial-gradient(circle at 50% 22%, rgba(245, 196, 81, 0.12), transparent 62%),
    linear-gradient(170deg, #121a2d 0%, #0a1020 55%, #060a14 100%);
}

.poster-card--emerald {
  background:
    radial-gradient(circle at 50% 22%, rgba(52, 211, 153, 0.13), transparent 62%),
    linear-gradient(170deg, #0e1a29 0%, #09121e 55%, #060a14 100%);
}

[data-theme="dark"] .poster-card {
  border: 1.5px solid rgba(203, 213, 225, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(148, 163, 184, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.58);
}

[data-theme="light"] .poster-card {
  border: 1.5px solid rgba(100, 116, 139, 0.42);
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 232, 240, 0.32), transparent 62%),
    linear-gradient(170deg, #94a3b8 0%, #718096 52%, #526072 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 42px rgba(71, 85, 105, 0.2);
}

[data-theme="light"] .poster-card--gold {
  background:
    radial-gradient(circle at 50% 24%, rgba(254, 243, 199, 0.22), transparent 62%),
    linear-gradient(170deg, #98a4b5 0%, #738194 52%, #556274 100%);
}

[data-theme="light"] .poster-card--emerald {
  background:
    radial-gradient(circle at 50% 24%, rgba(209, 250, 229, 0.2), transparent 62%),
    linear-gradient(170deg, #91a1b0 0%, #6d7d90 52%, #4f5f70 100%);
}

.poster-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.poster-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 224px;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.poster-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(226, 232, 240, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 74%);
  opacity: 0.7;
}

.poster-art-svg {
  width: 176px;
  height: 176px;
  overflow: visible;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.42));
}

.poster-card:hover .poster-art-svg {
  transform: scale(1.06);
}

.poster-diamond-spin {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: posterSpinSlow 24s linear infinite;
}

.poster-orbit-spin {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: posterSpinSlow 22s linear infinite;
}

.poster-orbit-reverse {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: posterSpinReverse 16s linear infinite;
}

.poster-float-soft {
  animation: posterFloatSoft 5.5s ease-in-out infinite;
}

.poster-beacon-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: beaconPulse 2.8s ease-in-out infinite;
}

.poster-twinkle {
  animation: twinkleSoft 3.4s ease-in-out infinite;
}

@keyframes posterSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes posterSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes posterFloatSoft {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.38); opacity: 0.4; }
}

@keyframes twinkleSoft {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.32; }
}

@media (prefers-reduced-motion: reduce) {
  .poster-diamond-spin,
  .poster-orbit-spin,
  .poster-orbit-reverse,
  .poster-float-soft,
  .poster-beacon-pulse,
  .poster-twinkle {
    animation: none;
  }
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.04) 0%, rgba(15, 23, 42, 0.42) 48%, rgba(10, 16, 32, 0.9) 100%);
}

[data-theme="dark"] .poster-card::after {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.05) 0%, rgba(30, 41, 59, 0.5) 48%, rgba(15, 23, 42, 0.9) 100%);
}

[data-theme="light"] .poster-card::after {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.05) 0%, rgba(71, 85, 105, 0.48) 50%, rgba(51, 65, 85, 0.88) 100%);
}

.poster-card-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poster-card-body h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
  font-weight: 900;
  min-height: 56px;
}

.poster-card-body p {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 0.89rem;
  min-height: 54px;
}

.poster-card-body .btn-outline {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.poster-card-body .btn-outline:hover:not(:disabled) {
  border-color: #f5c451;
  color: #f5c451;
}

.poster-card-body .badge-info {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
}

.poster-card-body .badge-gold {
  color: #f5c451;
  background: rgba(245, 196, 81, 0.16);
}

.poster-card-body .badge-success {
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
}

[data-theme="light"] .card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow);
}

[data-theme="light"] .node-row {
  background: rgba(15, 23, 42, 0.03);
}

.tag-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-bottom: 16px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tag-row::-webkit-scrollbar {
  display: none;
}

.tag-chip {
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Grids & Node Matrix */
.grid-4,
.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.advisor-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

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

.sub-connection-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
}

.node-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-pill {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.84rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  display: inline-block;
}

/* Tabs */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  color: #fff;
}

/* Pricing */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.plan-card.featured {
  border-color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px rgba(245, 196, 81, 0.16);
}

.plan-price {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 14px 0 4px;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--text-soft);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-dot {
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* Code / Copy boxes */
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.code-box code {
  overflow-x: auto;
  white-space: nowrap;
}

/* QR Box */
.qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  border: 2px solid var(--border-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.qr-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.configs-box {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

[data-theme="dark"] .configs-box {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(203, 213, 225, 0.3);
}

.configs-scroll {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

/* Forms & Password Toggle */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-action .form-control {
  padding-right: 44px;
}

.input-action-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 8px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.input-action-btn:hover {
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--gold);
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

/* FAQ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Dashboard & Admin */
.app-shell {
  padding: 28px 0 64px;
}

.shell-grid {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.sidebar-card {
  position: sticky;
  top: 94px;
  padding: 16px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.91rem;
  cursor: pointer;
  text-align: right;
}

.sidebar-btn:hover {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
}

.sidebar-btn.active {
  background: var(--primary-soft);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--primary);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 999px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

th {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(7px);
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: grid;
}

.modal-box {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 390px;
}

.toast {
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
}

.toast.success {
  border-color: var(--primary);
}

.toast.error {
  border-color: var(--danger);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-link {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.35);
  text-underline-offset: 4px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* Dynamic 1/2/3 Service Cards Alignment */
.poster-grid--1 {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

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

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

.advisor-tabs-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

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

.advisor-tabs-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Double-Pulse Attention Animation for Dedicated Service Card */
@keyframes posterFocusPulse {
  0% {
    transform: scale(1);
    border-color: rgba(56, 189, 248, 0.55);
  }
  24% {
    transform: scale(1.055);
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.38), 0 28px 72px rgba(56, 189, 248, 0.34);
  }
  50% {
    transform: scale(1);
    border-color: rgba(56, 189, 248, 0.5);
  }
  75% {
    transform: scale(1.045);
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.32), 0 24px 64px rgba(56, 189, 248, 0.26);
  }
  100% {
    transform: scale(1);
  }
}

.poster-card.poster-focus-pulse {
  animation: posterFocusPulse 1.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 5;
}

/* Comprehensive Dark Mode Visibility & Contrast Polish */
[data-theme="dark"] .navbar {
  border-bottom: 1px solid rgba(203, 213, 225, 0.22);
}

[data-theme="dark"] .card,
[data-theme="dark"] .metric-mini {
  background: rgba(24, 34, 54, 0.8);
  border-color: rgba(203, 213, 225, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .node-row {
  background: rgba(51, 65, 85, 0.42);
  border-color: rgba(203, 213, 225, 0.26);
}

[data-theme="dark"] .tabs {
  background: rgba(30, 41, 59, 0.72);
  border-color: rgba(203, 213, 225, 0.28);
}

[data-theme="dark"] .tab-btn {
  color: #cbd5e1;
}

[data-theme="dark"] .btn-outline {
  background: rgba(51, 65, 85, 0.36);
  border-color: rgba(203, 213, 225, 0.34);
  color: #f8fafc;
}

[data-theme="dark"] .btn-ghost {
  background: rgba(71, 85, 105, 0.42);
  border: 1px solid rgba(203, 213, 225, 0.22);
  color: #f8fafc;
}

[data-theme="dark"] .badge-neutral {
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid rgba(203, 213, 225, 0.26);
  color: #e2e8f0;
}

[data-theme="dark"] .code-box {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(203, 213, 225, 0.3);
}

[data-theme="dark"] .form-control {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(203, 213, 225, 0.3);
  color: #f8fafc;
}

[data-theme="dark"] .form-control::placeholder {
  color: #94a3b8;
}

[data-theme="dark"] .sidebar-btn {
  border-color: rgba(203, 213, 225, 0.14);
  background: rgba(30, 41, 59, 0.38);
  color: #e2e8f0;
}

[data-theme="dark"] .sidebar-btn:hover {
  background: rgba(51, 65, 85, 0.56);
  border-color: rgba(203, 213, 225, 0.32);
}

[data-theme="dark"] .section-divider {
  background: linear-gradient(90deg, transparent, rgba(203, 213, 225, 0.32), transparent);
}

[data-theme="dark"] .footer {
  border-top: 1px solid rgba(203, 213, 225, 0.24);
  background: rgba(11, 17, 30, 0.65);
}

/* Auth CAPTCHA, Readonly Locked Inputs & Support Cards */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid var(--border);
}

.captcha-img {
  width: 184px;
  height: 50px;
  border-radius: 9px;
  display: block;
}

.readonly-locked {
  opacity: 0.82;
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.12) !important;
}

.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.support-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
}

[data-theme="dark"] .support-channel-card {
  background: rgba(51, 65, 85, 0.44);
  border-color: rgba(203, 213, 225, 0.28);
}

@media (max-width: 1020px) {
  .hero-grid,
  .poster-grid,
  .shell-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .form-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar-card {
    position: static;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-btn {
    width: auto;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    align-items: flex-start;
  }
  .mobile-menu-btn {
    display: inline-grid;
  }
  .grid-2,
  .form-grid-4,
  .sub-connection-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .sub-connection-grid .qr-frame-wrap {
    text-align: center;
  }
}

/* Interactive Electric Blue Halo Glow on Hover Across Products, Cards & Controls */
:root,
[data-theme="dark"] {
  --blue-glow-border: rgba(56, 189, 248, 0.86);
  --blue-glow-ring: 0 0 0 1px rgba(56, 189, 248, 0.65), 0 0 26px rgba(37, 99, 235, 0.48), 0 0 58px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(186, 230, 253, 0.28);
  --blue-spot: rgba(56, 189, 248, 0.22);
}

[data-theme="light"] {
  --blue-glow-border: rgba(37, 99, 235, 0.72);
  --blue-glow-ring: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 0 24px rgba(37, 99, 235, 0.26), 0 16px 38px rgba(56, 189, 248, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --blue-spot: rgba(37, 99, 235, 0.14);
}

.card,
.metric-mini,
.node-row,
.support-channel-card,
.faq-item {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.26s ease;
}

.card:not(.sidebar-card),
.metric-mini,
.node-row,
.support-channel-card,
.faq-item {
  position: relative;
}

.card:not(.sidebar-card)::before,
.metric-mini::before,
.node-row::before,
.support-channel-card::before,
.poster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--blue-spot), transparent 64%);
  z-index: 0;
}

.poster-card::before {
  z-index: 1;
}

.card:not(.sidebar-card):hover::before,
.metric-mini:hover::before,
.node-row:hover::before,
.support-channel-card:hover::before,
.poster-card:hover::before {
  opacity: 1;
}

[data-theme="dark"] .card:hover,
[data-theme="light"] .card:hover,
[data-theme="dark"] .metric-mini:hover,
[data-theme="light"] .metric-mini:hover,
[data-theme="dark"] .node-row:hover,
[data-theme="light"] .node-row:hover,
[data-theme="dark"] .support-channel-card:hover,
[data-theme="light"] .support-channel-card:hover,
.faq-item:hover {
  border-color: var(--blue-glow-border);
  box-shadow: var(--blue-glow-ring);
}

[data-theme="dark"] .plan-card:hover,
[data-theme="light"] .plan-card:hover,
[data-theme="dark"] .poster-card:hover,
[data-theme="light"] .poster-card:hover,
.plan-card.featured:hover {
  transform: translateY(-5px);
  border-color: var(--blue-glow-border);
  box-shadow: var(--blue-glow-ring);
}

.node-row:hover,
.metric-mini:hover,
.support-channel-card:hover {
  transform: translateY(-2px);
}

.btn:hover:not(:disabled),
.icon-btn:hover,
.sidebar-btn:hover,
.tab-btn:hover,
.nav-links a:hover,
.mac-dock-item:hover {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.42), 0 0 34px rgba(37, 99, 235, 0.24);
}
