:root {
  --c-deep: #00060f;
  --c-dark: #000d1a;
  --c-card: rgba(0, 14, 28, 0.7);
  --c-card-border: rgba(123, 189, 232, 0.16);
  --c-card-hover: rgba(10, 65, 116, 0.25);
  --c-sapphire: #0A4174;
  --c-sapphire-glow: rgba(10, 65, 116, 0.45);
  --c-slate: #49769F;
  --c-teal: #4E8EA2;
  --c-ice: #6EA2B3;
  --c-sky: #7BBDE8;
  --c-frost: #BDD8E9;
  --c-white: #ffffff;
  --c-muted: #7fafc8;
  --c-dim: #3d637c;
  --c-accent: #38bdf8;
  --c-green: #22c55e;
  --c-gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--c-deep);
  color: var(--c-frost);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .022;
  background-image: radial-gradient(rgba(255, 255, 255, .75) 1px, transparent 0);
  background-size: 24px 24px;
}

nav.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 8, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(123, 189, 232, 0.12);
  transition: all .2s ease;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(123, 189, 232, 0.5));
  transition: transform .25s ease;
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.06);
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.5px;
}

.nav-brand-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  background: rgba(123, 189, 232, 0.12);
  color: var(--c-sky);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(123, 189, 232, 0.25);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--c-ice);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-white);
  background: rgba(123, 189, 232, 0.08);
}

.nav-links a.active {
  border: 1px solid rgba(123, 189, 232, 0.2);
}

.nav-links a.ultra-nav-pill {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.28);
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links a.ultra-nav-pill:hover,
.nav-links a.ultra-nav-pill.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.32), rgba(245, 158, 11, 0.18));
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.3);
}

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

.nav-mobile-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(123, 189, 232, 0.2);
  color: var(--c-sky);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(123, 189, 232, 0.35);
  background: transparent;
  color: rgba(189, 216, 233, 0.9);
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
  font-family: inherit;
  letter-spacing: .2px;
}

.btn:hover {
  background: rgba(123, 189, 232, 0.1);
  border-color: rgba(123, 189, 232, 0.65);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(10, 65, 116, 0.8), rgba(123, 189, 232, 0.4));
  border-color: rgba(123, 189, 232, 0.5);
  color: var(--c-white);
  box-shadow: 0 4px 18px rgba(10, 65, 116, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(14, 82, 144, 0.95), rgba(123, 189, 232, 0.6));
  border-color: var(--c-sky);
  box-shadow: 0 6px 26px rgba(123, 189, 232, 0.35);
}

.btn-xbox {
  background: rgba(16, 124, 65, 0.15);
  border-color: rgba(16, 124, 65, 0.4);
  color: #a3e635;
}

.btn-xbox:hover {
  background: rgba(16, 124, 65, 0.3);
  border-color: #22c55e;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

.btn-ghost {
  background: rgba(123, 189, 232, 0.06);
  border: 1px solid rgba(123, 189, 232, 0.22);
  color: var(--c-frost);
}

.btn-ghost:hover {
  background: rgba(123, 189, 232, 0.14);
  border-color: rgba(123, 189, 232, 0.45);
  color: #fff;
}

.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  font-size: 12.5px;
  box-sizing: border-box;
}

.nav-user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}

.nav-user-active {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  color: #fff;
}

.nav-user-active:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.16);
}

.btn-xl {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.gradient-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--c-frost) 35%, var(--c-sky) 70%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-sky);
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--c-sky);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--c-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

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

.glass-card {
  background: var(--c-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(123, 189, 232, 0.38);
  box-shadow: 0 12px 36px rgba(0, 6, 20, 0.65), 0 0 24px rgba(10, 65, 116, 0.2);
  transform: translateY(-3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
}

.badge-blue {
  background: rgba(123, 189, 232, 0.12);
  border: 1px solid rgba(123, 189, 232, 0.3);
  color: var(--c-sky);
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.badge-orange {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fb923c;
}
.badge-grey {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}
.badge-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.badge-black {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.badge-role-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

footer.footer-pro {
  position: relative;
  z-index: 10;
  background: #00040c;
  border-top: 1px solid rgba(73, 118, 159, 0.16);
  padding: 68px 24px 44px;
  margin-top: auto;
}

.footer-pro-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-header img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(123, 189, 232, 0.45));
}

.footer-brand-header span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 1.4px;
}

.footer-brand-text {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--c-ice);
  background: rgba(0, 14, 28, 0.7);
  border: 1px solid rgba(123, 189, 232, 0.16);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.footer-status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-sky);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--c-ice);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--c-white);
  transform: translateX(3px);
}

.footer-sep {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 118, 159, 0.22), transparent);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 12.5px;
  color: rgba(123, 189, 232, 0.65);
}

.footer-bottom a {
  color: var(--c-sky);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(73, 118, 159, 0.7);
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .footer-pro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-btn {
    display: block;
  }

  .footer-pro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero-bg {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 72% 55% at 50% -8%, rgba(123, 189, 232, .12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 8% 55%, rgba(10, 65, 116, .16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 92% 55%, rgba(10, 65, 116, .16) 0%, transparent 60%),
    linear-gradient(180deg, #000d1a 0%, #00060f 100%);
  border-bottom: 1px solid rgba(123, 189, 232, 0.1);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 189, 232, .28), transparent);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(123, 189, 232, .05) 1px, transparent 0);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: .7;
}

header.hero {
  position: relative;
  z-index: 10;
  padding: 50px 24px 64px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(123, 189, 232, .45));
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.04;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--c-muted);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.hero-actions .btn {
  min-width: 188px;
  justify-content: center;
}

.client-info-section {
  padding: 100px 24px 110px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  background-color: #00060f;
}

.client-info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Banner.jpg?v=3');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.52;
  filter: saturate(1.2) contrast(1.1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  pointer-events: none;
  z-index: 1;
}

.client-info-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #00060f 0%, rgba(0, 10, 24, 0.45) 20%, rgba(0, 10, 24, 0.6) 75%, #00040c 100%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 15%, rgba(0, 6, 15, 0.8) 85%);
  pointer-events: none;
  z-index: 2;
}

.client-info-section > * {
  position: relative;
  z-index: 3;
}

.features-grid {
  max-width: 1080px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(0, 14, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 4, 15, 0.6);
  transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 189, 232, 0.45);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(123, 189, 232, 0.1);
  border: 1px solid rgba(123, 189, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-sky);
  margin-bottom: 18px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 13.5px;
  color: var(--c-frost);
  line-height: 1.6;
}

.specs-bar {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(0, 10, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(123, 189, 232, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 4, 15, 0.5);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--c-muted);
  letter-spacing: 0.8px;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-white);
}

.dl-notify {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  width: 320px;
  background: rgba(0, 10, 22, 0.97);
  border: 1px solid rgba(123, 189, 232, 0.3);
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: 0 16px 40px rgba(0, 2, 10, 0.85), 0 0 0 1px rgba(123, 189, 232, 0.08);
  transform: translateY(140px);
  opacity: 0;
  transition: all .35s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.dl-notify.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.dl-notify-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dl-notify-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(123, 189, 232, 0.12);
  border: 1px solid rgba(123, 189, 232, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-notify-icon svg {
  color: #7BBDE8;
}

.dl-notify-info {
  flex: 1;
  min-width: 0;
}

.dl-notify-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-notify-status {
  font-size: 11.5px;
  color: var(--c-muted);
  margin-top: 1px;
}

.dl-notify-close {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(123, 189, 232, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
  padding: 0;
}

.dl-notify-close:hover {
  background: rgba(123, 189, 232, 0.1);
  color: var(--c-white);
}

.dl-bar-track {
  height: 4px;
  background: rgba(123, 189, 232, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.dl-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-sapphire), var(--c-sky));
  border-radius: 99px;
  transition: width .3s ease;
}

.dl-notify-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.dl-notify-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-sky);
  font-family: var(--font-mono);
}

.dl-notify-speed {
  font-size: 11px;
  color: var(--c-muted);
  font-family: var(--font-mono);
}

@media(max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }

  .dl-notify {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 16px;
  }
}

.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(123, 189, 232, 0.08);
  border: 1px solid rgba(123, 189, 232, 0.22);
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  transition: all .25s ease;
  z-index: 101;
}

.hamburger-btn:hover {
  background: rgba(123, 189, 232, 0.16);
  border-color: var(--c-sky);
  box-shadow: 0 0 14px rgba(123, 189, 232, 0.25);
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-frost);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--c-sky);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--c-sky);
}

.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 4, 12, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.16, 1, .3, 1), visibility .35s;
}

.side-panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: linear-gradient(180deg, rgba(0, 14, 28, 0.98) 0%, rgba(0, 6, 15, 0.99) 100%);
  border-left: 1px solid rgba(123, 189, 232, 0.2);
  box-shadow: -12px 0 40px rgba(0, 2, 8, 0.85);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
  padding: 24px;
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(123, 189, 232, 0.12);
  margin-bottom: 24px;
}

.side-panel-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-panel-close {
  background: transparent;
  border: none;
  color: var(--c-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.side-panel-close:hover {
  color: var(--c-white);
  background: rgba(123, 189, 232, 0.12);
}

.side-user-card {
  background: rgba(10, 65, 116, 0.25);
  border: 1px solid rgba(123, 189, 232, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.side-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-sapphire), var(--c-sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(123, 189, 232, 0.4);
}

.side-user-info {
  flex: 1;
  min-width: 0;
}

.side-user-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-user-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-sky);
}

.side-section-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-muted);
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linked-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.linked-account-item {
  background: rgba(0, 10, 24, 0.6);
  border: 1px solid rgba(123, 189, 232, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all .2s;
}

.linked-account-item:hover {
  border-color: rgba(123, 189, 232, 0.35);
  background: rgba(0, 14, 28, 0.8);
}

.account-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-white);
}

.account-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.status-linked {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.status-unlinked {
  background: rgba(123, 189, 232, 0.08);
  border: 1px solid rgba(123, 189, 232, 0.2);
  color: var(--c-muted);
  text-decoration: none;
  cursor: pointer;
}

.status-unlinked:hover {
  color: var(--c-white);
  border-color: var(--c-sky);
}

.side-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.side-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-frost);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}

.side-nav-links a:hover,
.side-nav-links a.active {
  background: rgba(123, 189, 232, 0.12);
  color: var(--c-white);
  transform: translateX(4px);
}

.side-nav-links a.ultra-link {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(10, 65, 116, 0.3));
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.side-nav-links a.ultra-link:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(10, 65, 116, 0.45));
  border-color: #f59e0b;
  color: #fff;
}

.ultra-badge-nav {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  transition: all .22s ease;
}

.ultra-badge-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.6);
  color: #000;
}

.ultra-pricing-grid {
  max-width: 960px;
  margin: 40px auto 70px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.tier-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 189, 232, 0.45);
  box-shadow: 0 20px 48px rgba(0, 5, 15, 0.8), 0 0 30px rgba(10, 65, 116, 0.3);
}

.tier-card.featured {
  border: 2px solid #f59e0b;
  background: linear-gradient(180deg, rgba(20, 25, 45, 0.9) 0%, rgba(5, 10, 25, 0.95) 100%);
  box-shadow: 0 16px 44px rgba(245, 158, 11, 0.15), 0 0 32px rgba(10, 65, 116, 0.3);
}

.tier-card.featured:hover {
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.28), 0 0 40px rgba(245, 158, 11, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-desc {
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 24px;
}

.tier-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(123, 189, 232, 0.14);
}

.tier-currency {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-sky);
}

.tier-amount {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
}

.tier-period {
  font-size: 14px;
  color: var(--c-muted);
  font-family: var(--font-mono);
}

.tier-perks-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-sky);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.tier-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--c-frost);
  line-height: 1.5;
}

.tier-perk-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-perk-item.highlight-perk {
  color: #fbbf24;
  font-weight: 700;
}

.tier-perk-item.highlight-perk .tier-perk-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.login-page-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.login-card {
  max-width: 460px;
  width: 100%;
  background: var(--c-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 4, 15, 0.9), 0 0 30px rgba(10, 65, 116, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5865F2, #00A4EF, #EA4335);
}

.login-brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px rgba(123, 189, 232, 0.5));
}

.login-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-oauth {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .24s cubic-bezier(.16, 1, .3, 1);
  border: 1px solid transparent;
}

.provider-box .btn {
  width: 100%;
  justify-content: center;
}

@keyframes btnShake {

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

  15%,
  45%,
  75% {
    transform: translateX(-6px);
  }

  30%,
  60% {
    transform: translateX(6px);
  }
}

.btn-shake {
  animation: btnShake 0.4s ease;
}

.unavail-badge {
  display: block;
  color: #ef4444;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 20px;
  padding: 4px 12px;
  margin-top: 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.unavail-badge.show {
  opacity: 1;
}

.side-manage-accounts-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(123, 189, 232, 0.08);
  border: 1px solid rgba(123, 189, 232, 0.2);
  border-radius: var(--radius-md);
  color: var(--c-sky);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.side-manage-accounts-btn:hover {
  background: rgba(123, 189, 232, 0.14);
  border-color: rgba(123, 189, 232, 0.38);
  color: #fff;
  transform: translateX(2px);
}
/* Release and account preview messages */
.release-note { margin: 20px auto 0; max-width: 480px; color: var(--c-muted); font-size: 13px; }
.demo-notice { margin: 0 0 24px; padding: 14px 16px; background: rgba(245, 158, 11, .09); border: 1px solid rgba(245, 158, 11, .3); border-radius: var(--radius-md); color: #fde68a; font-size: 13px; line-height: 1.65; }
.demo-open-btn { width: 100%; justify-content: center; }
.account-text-button { border: 0; padding: 0; background: transparent; color: var(--c-sky); font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
.btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }
.copy-toast { position: fixed; z-index: 3000; bottom: 24px; left: 50%; transform: translate(-50%, 20px); width: max-content; max-width: min(480px, calc(100vw - 32px)); padding: 14px 20px; border: 1px solid var(--c-card-border); border-radius: var(--radius-md); background: #001226; color: var(--c-frost); box-shadow: 0 10px 35px rgba(0, 0, 0, .55); font-size: 13px; line-height: 1.6; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; pointer-events: none; }
.copy-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
:focus-visible { outline: 2px solid var(--c-sky); outline-offset: 4px; }
.nav-user-btn { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-player-profile { min-width: 0; flex-wrap: wrap; }
.dash-player-info { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 600px) {
  .nav-wrap { padding: 12px 16px; gap: 12px; }
  .nav-actions > a { display: none; }
  .nav-brand-title { font-size: 17px; }
  .portal-ambient { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Server-backed account portal */
.account-notice { width: 100%; max-width: 760px; margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--c-card-border); border-radius: var(--radius-md); background: #001226; color: var(--c-frost); font-size: 13px; line-height: 1.6; position: relative; z-index: 10; }
.account-notice.is-error { border-color: rgba(248, 113, 113, .5); color: #fca5a5; }
.account-note { margin: 0 0 22px; color: var(--c-muted); font-size: 12px; line-height: 1.6; }
.profile-name-form { margin-top: 24px; }
.profile-name-form label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--c-frost); }
.profile-name-controls { display: flex; gap: 12px; }
.profile-name-controls input { min-width: 0; width: 100%; }
.account-card-action { display: flex; flex-wrap: wrap; gap: 12px; }
button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 600px) {
  .portal-page-wrap .auth-main-card { padding: 28px 20px; }
  .auth-main-card .auth-platform-tag { display: none; }
  .auth-main-card .btn-auth-platform { padding: 13px 14px; gap: 12px; }
}

/* FAQ: native details keep questions usable with touch, keyboard, or no JavaScript. */
.faq-section { width: 100%; max-width: 960px; margin: 0 auto 88px; padding: 0 24px; scroll-margin-top: 92px; }
.faq-intro { max-width: 660px; margin: 0 auto 32px; text-align: center; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--c-card); border: 1px solid var(--c-card-border); border-radius: 18px; overflow: hidden; scroll-margin-top: 92px; }
.faq-item[open], .faq-item:target { border-color: rgba(123, 189, 232, .45); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 20px 24px; list-style: none; cursor: pointer; color: var(--c-white); font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--c-sky); font: 24px/1 var(--font-body); flex-shrink: 0; width: 24px; text-align: center; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: rgba(123, 189, 232, .05); }
.faq-item summary:focus-visible { outline-offset: -4px; }
.faq-answer { padding: 0 24px 22px; color: var(--c-frost); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer a, .faq-support a, .docs-card a:not(.btn) { color: var(--c-sky); text-decoration: underline; text-underline-offset: 3px; }
.faq-support { margin: 24px 0 0; text-align: center; color: var(--c-muted); font-size: 15px; line-height: 1.8; }
.docs-steps { padding-left: 22px; color: var(--c-frost); font-size: 15px; line-height: 1.8; }
.docs-steps li + li { margin-top: 10px; }

/* A recovery page that also works at nested missing URLs. */
.not-found { flex: 1; display: grid; place-items: center; padding: 64px 24px 80px; background: radial-gradient(ellipse at 50% 20%, rgba(10, 65, 116, .26), transparent 65%); }
.not-found-card { width: 100%; max-width: 680px; padding: 44px 36px; border: 1px solid rgba(123, 189, 232, .26); border-radius: var(--radius-xl); background: var(--c-card); text-align: center; position: relative; }
.not-found-logo { width: 96px; height: 96px; margin: 0 auto 20px; border: 1px solid rgba(123, 189, 232, .28); border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle, rgba(10, 65, 116, .5), transparent); }
.not-found-logo img { object-fit: contain; filter: drop-shadow(0 0 16px rgba(123, 189, 232, .4)); }
.not-found-code { font: 900 clamp(80px, 14vw, 132px)/1 var(--font-heading); letter-spacing: -.06em; color: var(--c-sky); margin-bottom: 18px; }
.not-found h1 { color: #fff; font: 800 clamp(26px, 4vw, 36px)/1.2 var(--font-heading); margin: 12px auto 18px; max-width: 490px; }
.not-found-description { max-width: 440px; margin: 0 auto; font-size: 16px; color: var(--c-frost); line-height: 1.8; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.not-found-actions .btn { min-height: 48px; min-width: 160px; }
.not-found-help { margin-top: 24px; font-size: 14px; line-height: 1.8; color: var(--c-muted); }
.not-found-help a { color: var(--c-sky); text-underline-offset: 3px; }
body .not-found-footer { padding: 28px 24px; }

/* Keep each page's inline desktop styles while giving phones comfortable sizing. */
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  body .nav-wrap { padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); gap: 12px; }
  body .nav-brand { gap: 10px; min-width: 0; }
  body .nav-brand-title { font-size: 17px; white-space: nowrap; }
  body .hamburger-btn, body .side-panel-close { min-width: 44px; min-height: 44px; }
  body .side-panel { width: 360px; max-width: calc(100vw - 16px); max-height: 100dvh; padding: 20px 20px max(24px, env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  body .side-nav-links a { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
  body .side-user-avatar { flex-shrink: 0; }
  body .btn, body .account-text-button { min-height: 44px; }
  body .btn { font-size: 15px; }
  body .account-text-button { font-size: 14px; display: inline-flex; align-items: center; }
  body input, body select, body textarea { font-size: 16px; }
  body .section-title { font-size: clamp(28px, 8vw, 38px); line-height: 1.15; overflow-wrap: anywhere; }
  body .section-desc { font-size: 15px; }
  body header.hero { padding: 36px 20px 44px; }
  body .hero-logo-wrap, body .hero-logo-img { width: 112px; height: 112px; }
  body .hero-logo-wrap { margin-bottom: 24px; }
  body .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  body .client-info-section { padding: 48px 20px 56px; }
  body .features-grid, body .ultra-pricing-grid, body .linked-accounts-grid, body .cosmetics-preview-grid { grid-template-columns: minmax(0, 1fr); }
  body .feature-card { padding: 24px; }
  body .feature-text, body .role-desc, body .staff-bio, body .docs-card p { font-size: 15px; }
  body .specs-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 12px; gap: 20px 10px; }
  body .spec-val { font-size: 12px; overflow-wrap: anywhere; }
  body .docs-content, body .about-content, body .roles-container, body .staff-container { padding-left: 16px; padding-right: 16px; }
  body .docs-card, body .about-card { padding: 24px 20px; }
  body .role-card, body .staff-card { padding: 24px 20px; }
  body .role-header-row { flex-wrap: wrap; }
  body .staff-name, body .staff-role-subtitle { overflow-wrap: anywhere; }
  body .portal-page-wrap { padding: 28px 16px 56px; }
  body .dashboard-card { padding: 24px 18px; border-radius: 24px; }
  body .dash-header-row { align-items: flex-start; gap: 16px; }
  body .dash-player-profile { flex-basis: 100%; gap: 14px; }
  body .dash-player-info h2 { font-size: 23px; gap: 8px; }
  body .account-note, body .account-notice, body .account-card-sub { font-size: 14px; }
  body .account-card-id, body .dash-display-name { overflow-wrap: anywhere; }
  body .profile-name-controls { flex-wrap: wrap; }
  body .profile-name-controls input { flex: 1 1 160px; }
  body .profile-name-controls button { flex: 1 0 70px; }
  body .account-card-top { gap: 10px; flex-wrap: wrap; }
  body .dash-actions-row .btn { width: 100%; }
  body .auth-main-card .platform-info-title { font-size: 16px; }
  body .auth-main-card .platform-info-sub, body .accountLoading { font-size: 14px; }
  body .ultra-pricing-grid { padding-left: 16px; padding-right: 16px; gap: 20px; }
  body .faq-section { padding: 0 16px; margin-bottom: 56px; }
  body .faq-intro { margin-bottom: 24px; }
  body .faq-item summary { padding: 18px; font-size: 16px; min-height: 64px; }
  body .faq-answer { padding: 0 18px 20px; }
  body footer.footer-pro { padding: 44px 20px 28px; }
  body .footer-pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  body .footer-brand-col { grid-column: 1 / -1; }
  body .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font-size: 14px; }
  body .footer-links { gap: 0; }
  body .footer-bottom { gap: 16px; }
  body .footer-disclaimer { font-size: 12px; line-height: 1.7; }
  body .not-found { padding: 32px 16px 44px; }
  body .not-found-card { padding: 28px 20px; border-radius: 24px; }
  body .not-found-logo { width: 80px; height: 80px; }
  body .not-found-actions { flex-direction: column; }
  body .not-found-actions .btn { width: 100%; min-width: 0; }
}
.language-switcher { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-top: 22px; }
.language-label { color: var(--c-frost); font-size: 14px; font-weight: 600; }
.language-select { appearance: none; width: 100%; min-height: 44px; padding: 10px 32px 10px 12px; border: 1px solid rgba(123,189,232,.35); border-radius: 10px; background: #001226; color: var(--c-white); font: inherit; font-size: 16px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237bbde8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.language-select:focus-visible { outline: 2px solid var(--c-sky); outline-offset: 3px; }
.language-select option { background: #001226; color: #fff; }
.language-compact { width: 66px; height: 44px; flex: 0 0 66px; margin: 0; direction: ltr; }
.language-compact .language-select { position: absolute; inset: 0; color: transparent; background-color: transparent; padding: 0; }
.language-code { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 12px; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--c-sky); pointer-events: none; }
.translation-note { color: var(--c-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
/* Long translations can wrap without forcing cards beyond the viewport. */
.nav-wrap, .nav-actions, .feature-card, .account-card-top, .account-card-title, .staff-card, .role-card { min-width: 0; }
.section-title, .section-desc, .feature-title, .role-card, .staff-card, .legal-card, .account-detail-card, .not-found-card { overflow-wrap: anywhere; }
.footer-links a, .footer-brand-text, .side-nav-links a { overflow-wrap: anywhere; }
.staff-container { width: 100%; min-width: 0; }
.staff-grid { min-width: 0; }
.btn, .badge, .account-status-pill { white-space: normal; text-align: center; }
.nav-wrap { flex-wrap: wrap; }
.nav-actions { margin-inline-start: auto; }
.side-panel .language-switcher { order: 0; padding-bottom: 8px; }
.side-panel:not(.open) { visibility: hidden; }
.side-panel.open { visibility: visible; }
html[lang="ar"] body { font-family: Tahoma, Arial, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .section-title { line-height: 1.5; letter-spacing: 0; }
html[dir="rtl"] .side-panel { right: auto; left: 0; border-left: 0; border-right: 1px solid rgba(123,189,232,.2); transform: translateX(-100%); }
html[dir="rtl"] .side-panel.open { transform: translateX(0); }
html[dir="rtl"] .language-switcher:not(.language-compact) .language-select { padding-inline: 12px 32px; background-position: left 12px center; }
html[dir="rtl"] .docs-steps { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .account-text-button, html[dir="rtl"] .btn-auth-platform { text-align: start; }
html[dir="rtl"] .legal-card ul, html[dir="rtl"] .about-card ul { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .highlight-box { border-left-width: 1px; border-right: 4px solid var(--c-sky); }
[translate="no"][dir="auto"] { unicode-bidi: plaintext; }
@media (max-width: 1200px) { .nav-wrap { gap: 12px; } .nav-links { display: none; } }
@media (max-width: 600px) {
  body .nav-wrap { flex-wrap: nowrap; gap: 8px; }
  body .nav-actions { gap: 6px; }
  body .language-compact { flex-basis: 62px; width: 62px; }
  body .language-code { padding-left: 10px; }
  body .account-card-top { flex-wrap: wrap; gap: 10px; }
  body .account-status-pill { max-width: 100%; }
  body .btn-auth-platform { flex-wrap: wrap; }
  body .auth-platform-tag { margin-inline-start: auto; }
  body .badge { max-width: 100%; }
}
