/* ============================================================
   LORDCLOUD — Futuristic Design System
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-2: #0a0c1e;
  --bg-3: #0e1030;
  --card: rgba(15, 17, 40, 0.72);
  --card-solid: #0d0f29;
  --line: rgba(139, 106, 255, 0.22);
  --line-2: rgba(34, 211, 238, 0.28);
  --violet: #8b5cf6;
  --violet-2: #7c3aed;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --pink: #e879f9;
  --text: #e8e9ff;
  --text-dim: #a2a6d8;
  --text-faint: #6d72a8;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 18px;
  --font-display: "Chakra Petch", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, #161338 0%, #0b0d22 55%, #05060f 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 78%);
  animation: grid-drift 2.4s linear infinite;
}
.preloader::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.26), rgba(34, 211, 238, 0.08) 55%, transparent 70%);
  animation: preloader-glow 2.2s ease-in-out infinite;
}
.preloader-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.13), transparent);
  animation: scan-down 1.7s linear infinite;
  z-index: 1;
}
.preloader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
.preloader-logo-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-bob 2.6s ease-in-out infinite;
}
.preloader-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.55);
  animation: spin 4s linear infinite;
}
.preloader-ring.ring-2 {
  inset: 2px;
  border-style: solid;
  border-color: rgba(139, 92, 246, 0.4);
  border-top-color: rgba(232, 121, 249, 0.95);
  animation: spin 2.2s linear infinite reverse;
}
.preloader-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  animation: preloader-logo-pulse 1.8s ease-in-out infinite;
}
.preloader-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.2em;
  background-image: linear-gradient(90deg, #ffffff, #c4b5fd, #ffffff, #a5f3fc, #ffffff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: name-shine 3s linear infinite;
}
.preloader-name span {
  background-image: linear-gradient(90deg, #a78bfa, #22d3ee, #e879f9, #a78bfa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: name-shine 3s linear infinite;
}
.preloader-bar {
  width: 270px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(139, 92, 246, 0.35);
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--pink));
  background-size: 200% 100%;
  animation: bar-flow 1s linear infinite;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.7);
}
.preloader-pct {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.65);
}
.preloader-status {
  display: flex;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.preloader-status i {
  font-style: normal;
  color: var(--pink);
  animation: term-blink 1s steps(1) infinite;
}
@keyframes preloader-glow {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
@keyframes preloader-logo-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.7)); }
  50% { transform: scale(1.07); filter: drop-shadow(0 0 26px rgba(34, 211, 238, 0.95)); }
}
@keyframes bar-flow {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}
@keyframes scan-down {
  from { top: -120px; }
  to { top: 100%; }
}

/* ---------- Gaming wallpaper background ---------- */
.gaming-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("../images/bg-gaming.jpg") center/cover no-repeat;
  transform: scale(1.08);
  pointer-events: none;
}
.gaming-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, 0.84) 0%, rgba(7, 6, 18, 0.82) 45%, rgba(5, 6, 15, 0.92) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(124, 58, 237, 0.2), transparent 65%);
}

/* ---------- Ambient background ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(99, 102, 241, 0.12), transparent 60%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 92, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 232, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 54px, 54px 0; }
}

.orb {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  animation: orb-float 16s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 65%); }
.orb-2 { width: 420px; height: 420px; bottom: -160px; left: -140px; background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 65%); animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; top: 40%; left: 55%; background: radial-gradient(circle, rgba(232, 121, 249, 0.24), transparent 65%); animation-delay: -11s; }

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.15); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: 0.03em; }

.gradient-text {
  background: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 30%, #22d3ee 70%, #67e8f9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 5s linear infinite, grad-pulse 3.2s ease-in-out infinite;
}
@keyframes grad-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes grad-pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(167, 139, 250, 0.25), 0 0 18px rgba(34, 211, 238, 0.12); }
  50% { text-shadow: 0 0 20px rgba(167, 139, 250, 0.55), 0 0 44px rgba(34, 211, 238, 0.3); }
}

.gradient-text-2 {
  background: linear-gradient(120deg, #22d3ee, #a78bfa, #e879f9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 5s linear infinite;
}

/* Hero title neon breathing */
.hero h1, .page-hero h1 {
  text-shadow: 0 0 22px rgba(124, 58, 237, 0.18), 0 0 44px rgba(34, 211, 238, 0.08);
  animation: neon-breathe 3.8s ease-in-out infinite;
}
@keyframes neon-breathe {
  0%, 100% { text-shadow: 0 0 18px rgba(124, 58, 237, 0.16), 0 0 40px rgba(34, 211, 238, 0.07); }
  50% { text-shadow: 0 0 34px rgba(139, 92, 246, 0.45), 0 0 72px rgba(34, 211, 238, 0.24); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--violet-2), var(--indigo));
  color: #fff;
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 44px rgba(139, 92, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: rgba(15, 17, 40, 0.55);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(5px);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
}

.btn-cyan {
  background: linear-gradient(120deg, #0891b2, #06b6d4);
  color: #041018;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.4);
}
.btn-cyan:hover { transform: translateY(-3px); box-shadow: 0 0 44px rgba(34, 211, 238, 0.6); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: all 0.4s ease;
  background: rgba(6, 7, 18, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.22);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), var(--pink), transparent);
  background-size: 240% 100%;
  animation: line-flow 4.5s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}
@keyframes line-flow {
  0% { background-position: 240% 0; }
  100% { background-position: -240% 0; }
}
.nav.scrolled {
  background: rgba(4, 5, 13, 0.98);
  border-bottom-color: rgba(139, 92, 246, 0.45);
  padding: 0.55rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  transition: transform 0.3s ease;
}
.brand:hover { transform: scale(1.04); }

/* Animated logo */
.brand-logo {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  animation: logo-bob 3.4s ease-in-out infinite;
}
.brand-logo::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5), rgba(34, 211, 238, 0.18), transparent 70%);
  opacity: 0.55;
  z-index: -1;
  animation: aura-pulse 3.2s ease-in-out infinite;
}
.brand-logo img {
  height: 38px;
  width: auto;
  border-radius: 8px;
  animation: logo-glow 2.8s ease-in-out infinite;
}

/* Animated name */
.brand-name,
.brand-name span {
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-name {
  background-image: linear-gradient(90deg, #ffffff, #c4b5fd, #ffffff, #a5f3fc, #ffffff);
  animation: name-shine 3s linear infinite;
}
.brand-name span {
  background-image: linear-gradient(90deg, #a78bfa, #22d3ee, #e879f9, #a78bfa);
  animation: name-shine 3s linear infinite, word-glow 3s ease-in-out infinite;
}

/* Hover intensify */
.brand:hover .brand-logo { animation-duration: 1.7s; }
.brand:hover .brand-name,
.brand:hover .brand-name span { animation-duration: 1.4s; }
.brand:hover .brand-logo::before { opacity: 0.9; }
.brand:hover .brand-logo img { transform: rotate(-6deg) scale(1.06); }

@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.7)); }
  50% { filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.95)); }
}
@keyframes name-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes word-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.65)); }
  50% { filter: drop-shadow(0 0 18px rgba(232, 121, 249, 0.9)); }
}
@keyframes aura-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* ---------- Welcome offer poster ---------- */
.offer-poster {
  position: fixed;
  top: 110px;
  left: 50%;
  z-index: 99;
  width: min(520px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(160deg, #12143a 0%, #171043 55%, #0c0e26 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 38px rgba(124, 58, 237, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-120%);
}
.offer-poster::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 121, 249, 0.75), rgba(34, 211, 238, 0.75), transparent);
}
.offer-poster.show {
  animation: offer-drop 0.7s cubic-bezier(0.34, 1.25, 0.5, 1) forwards;
  opacity: 1;
  pointer-events: auto;
}
.offer-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.offer-close:hover {
  color: #fff;
  background: rgba(124, 58, 237, 0.4);
  border-color: var(--violet);
  transform: rotate(90deg);
}
.offer-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(34, 211, 238, 0.3));
  border: 1px solid rgba(139, 92, 246, 0.55);
  font-size: 1.35rem;
  color: var(--cyan);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.45);
  animation: icon-pulse 2.6s ease-in-out infinite;
}
.offer-body { flex: 1; min-width: 0; }
.offer-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.28rem;
}
.offer-body h4 {
  font-size: 1.16rem;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.12rem;
}
.offer-body p {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
}
.offer-copy {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  border: 1px solid rgba(232, 121, 249, 0.4);
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.4);
}
.offer-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(124, 58, 237, 0.65);
}
.offer-copy:active { transform: translateY(0) scale(0.97); }
.offer-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}
.offer-copy-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.offer-copy.copied {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.55);
}
@keyframes offer-drop {
  0% { transform: translateX(-50%) translateY(-120%) scale(0.96); opacity: 0; }
  60% { transform: translateX(-50%) translateY(2%) scale(1.01); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}
@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(124, 58, 237, 0.35); transform: scale(1); }
  50% { box-shadow: 0 0 32px rgba(124, 58, 237, 0.65); transform: scale(1.05); }
}
@media (max-width: 640px) {
  .offer-poster { top: 96px; flex-wrap: wrap; gap: 0.8rem; padding: 0.9rem 1rem; }
  .offer-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .offer-body h4 { font-size: 1rem; }
  .offer-copy { flex-direction: row; padding: 0.5rem 0.9rem; width: 100%; justify-content: center; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 82px;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(16, 185, 129, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.6);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast i { font-size: 1.05rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #070818;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: pill-glow 6s ease-in-out infinite;
}
@keyframes pill-glow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.45);
  }
  50% {
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(34, 211, 238, 0.6);
  }
}
.nav-links a {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
  background-image: linear-gradient(120deg, var(--violet-2), var(--indigo));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.nav-links a:hover {
  color: #fff;
  background-size: 100% 100%;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.4);
}
.nav-links a.active {
  color: #fff;
  background-size: 100% 100%;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
  animation: active-pulse 2.4s ease-in-out infinite;
}
@keyframes active-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(124, 58, 237, 0.5); }
  50% { box-shadow: 0 0 28px rgba(34, 211, 238, 0.65); }
}

/* ---------- Nav dropdowns (More / Panels) ---------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
  background-image: linear-gradient(120deg, var(--violet-2), var(--indigo));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.nav-drop-btn .fa-chevron-down {
  font-size: 0.68rem;
  color: var(--cyan);
  transition: transform 0.3s ease;
}
.nav-drop:hover .nav-drop-btn,
.nav-drop:focus-within .nav-drop-btn,
.nav-drop.open .nav-drop-btn {
  color: #fff;
  background-size: 100% 100%;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.4);
}
.nav-drop-btn.active {
  color: #fff;
  background-size: 100% 100%;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
  animation: active-pulse 2.4s ease-in-out infinite;
}
.nav-drop:hover .fa-chevron-down,
.nav-drop:focus-within .fa-chevron-down,
.nav-drop.open .fa-chevron-down { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 232px;
  background: #070818;
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(124, 58, 237, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  z-index: 300;
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #070818;
  border-left: 1px solid rgba(139, 92, 246, 0.5);
  border-top: 1px solid rgba(139, 92, 246, 0.5);
}
.nav-drop-menu::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.85rem;
  border-radius: 11px;
  white-space: nowrap;
  background: none;
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}
.nav-drop-menu a:hover {
  color: #fff;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.28), rgba(34, 211, 238, 0.16));
  padding-left: 1.1rem;
  box-shadow: none;
}
.nav-drop-menu a i {
  width: 18px;
  text-align: center;
  color: var(--cyan);
  font-size: 0.95rem;
}
.nav-drop-menu a.ext i { color: var(--violet); }
.nav-drop-menu .drop-label {
  display: block;
  padding: 0.4rem 0.85rem 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  font-family: var(--font-display);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
  margin-bottom: 0.25rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-cta .btn { padding: 0.6rem 1.35rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 10.5rem 1.5rem 5rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.25);
  animation: badge-flicker 4s ease-in-out infinite;
}
@keyframes badge-flicker {
  0%, 100% { box-shadow: 0 0 18px rgba(124, 58, 237, 0.22); }
  92% { box-shadow: 0 0 18px rgba(124, 58, 237, 0.22); }
  93% { box-shadow: 0 0 2px rgba(124, 58, 237, 0.4); }
  94% { box-shadow: 0 0 26px rgba(34, 211, 238, 0.45); }
  95% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.25); }
  96% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.5); }
}
.badge-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero p.tagline {
  max-width: 680px;
  margin: 1.6rem auto 0;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-note { margin-top: 1.4rem; color: var(--text-faint); font-size: 0.9rem; }
.hero-note strong { color: var(--amber); }

/* Hero visual */
.hero-visual {
  position: relative;
  max-width: 900px;
  margin: 3.5rem auto 0;
}
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35);
  animation: spin 40s linear infinite;
}
.hero-ring::after {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-server {
  width: min(100%, 460px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(3, 3, 15, 0.7), 0 0 60px rgba(124, 58, 237, 0.4);
  animation: server-float 6s ease-in-out infinite;
  margin: 0 auto;
  display: block;
}
@keyframes server-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.float-chip {
  position: absolute;
  background: rgba(13, 15, 41, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(34, 211, 238, 0.15);
  animation: server-float 5s ease-in-out infinite;
}
.float-chip b { color: var(--cyan); display: block; font-size: 1rem; }
.float-chip .chip-label { color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.chip-1 { top: 12%; left: 4%; }
.chip-2 { top: 30%; right: 2%; animation-delay: -1.6s; }
.chip-3 { bottom: 14%; left: 8%; animation-delay: -3s; }
.chip-4 { bottom: 8%; right: 14%; animation-delay: -2.2s; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: 5.5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.4rem; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}
.section-head .eyebrow::after {
  content: "▍";
  margin-left: 0.15em;
  color: var(--pink);
  animation: term-blink 1.1s steps(2) infinite;
}
@keyframes term-blink { 50% { opacity: 0; } }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; }
.section-head h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  background-size: 200% 100%;
  animation: line-flow 3s linear infinite;
  opacity: 0.9;
}
.section-head p { margin-top: 1rem; color: var(--text-dim); }

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  opacity: 0.6;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: 0 20px 50px rgba(124, 58, 237, 0.22); }
.stat-num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: #fff; }
.stat-num .gradient-text { font-size: inherit; }
.stat-label { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.3rem; letter-spacing: 0.04em; }

/* ---------- Cards (generic) ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 24px 60px rgba(8, 8, 30, 0.7), 0 0 40px rgba(124, 58, 237, 0.18);
}

/* Feature icon chip */
.icon-chip {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(34, 211, 238, 0.18));
  border: 1px solid var(--line);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
  margin-bottom: 1rem;
}

/* ---------- Service cards ---------- */
.service-card {
  padding: 2rem 1.6rem;
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.service-card .icon-chip { font-size: 1.6rem; width: 60px; height: 60px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: #fff; }
.service-card p { color: var(--text-dim); font-size: 0.94rem; }
.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--violet);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.25s ease;
}
.service-card:hover .link-arrow { gap: 0.8rem; color: var(--cyan); }
.service-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.service-card:hover::after { transform: scale(2.2); }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; gap: 1.4rem; }
.pricing-grid.pg-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-grid.pg-3 { grid-template-columns: repeat(3, 1fr); }

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}
.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 26px 60px rgba(5, 5, 20, 0.75), 0 0 44px rgba(124, 58, 237, 0.2);
}
.plan.featured {
  border-color: rgba(34, 211, 238, 0.6);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.07), rgba(124, 58, 237, 0.08)), var(--card);
  box-shadow: 0 0 46px rgba(34, 211, 238, 0.16);
}

.plan-flag {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--violet-2), var(--indigo));
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.6);
}
.plan-flag.cyan { background: linear-gradient(120deg, #0891b2, #06b6d4); color: #041018; box-shadow: 0 0 16px rgba(34, 211, 238, 0.6); }

.plan-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.2rem; }
.plan-name { font-family: var(--font-display); font-size: 1.08rem; color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1.3rem; }
.plan-price .cur { color: var(--cyan); font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: #fff; }
.plan-price .period { color: var(--text-faint); font-size: 0.9rem; }

.plan-specs { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1.5rem; flex: 1; }
.plan-specs li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-dim); font-size: 0.9rem; }
.plan-specs li b { color: #dfe1ff; font-weight: 600; }
.plan-specs li .tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: var(--green);
  font-size: 0.6rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.plan-specs li.muted { opacity: 0.55; }

.plan .btn { justify-content: center; margin-top: auto; }

/* ---------- Discord bot custom node builder ---------- */
.builder-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(7px);
  padding: 2rem;
  box-shadow: 0 26px 70px rgba(5, 5, 20, 0.7), 0 0 44px rgba(124, 58, 237, 0.12);
}
.builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.builder-block {
  border: 1px solid rgba(139, 106, 255, 0.2);
  background: rgba(10, 12, 30, 0.5);
  border-radius: 16px;
  padding: 1.1rem;
}
.builder-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
}
.builder-label i { color: var(--cyan); }
.builder-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.builder-row span {
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid rgba(139, 106, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  transition: all 0.25s ease;
}
.builder-row span:hover { border-color: var(--cyan); color: #fff; }
.builder-row .active-tag {
  color: var(--cyan);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 0.3rem;
}
.builder-extra {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.builder-extra span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.builder-extra span i { color: var(--green); }
.builder-result {
  margin-top: 1.8rem;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.45);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.builder-result-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7c3aed);
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.6);
  flex-shrink: 0;
}
.builder-result .eyebrow { margin-bottom: 0.25rem; }
.builder-result p { color: var(--text-dim); font-size: 0.95rem; }
.builder-result p b { color: #fff; }
.builder-price {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.builder-price b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.builder-price span { color: var(--text-faint); font-size: 0.85rem; }
.builder-result .btn { flex-shrink: 0; }
@media (max-width: 900px) {
  .builder-grid { grid-template-columns: 1fr; }
  .builder-result { flex-direction: column; text-align: center; }
  .builder-price { margin-left: 0; text-align: center; }
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.tab {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(15, 17, 40, 0.6);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab:hover { color: #fff; border-color: var(--violet); }
.tab.active {
  background: linear-gradient(120deg, var(--violet-2), var(--indigo));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.5);
}

.tab-panel { display: none; animation: fade-up 0.5s ease; }
.tab-panel.active { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- VDS server rack (coming soon) ---------- */
.rack-card {
  background: linear-gradient(180deg, #0a0c1e, #070818);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 26px 70px rgba(5, 5, 20, 0.7), 0 0 44px rgba(34, 211, 238, 0.1);
}
.rack-monitor {
  background: #03060f;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #22d3ee;
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08);
  animation: monitor-flicker 6s infinite;
}
@keyframes monitor-flicker {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: 0.4; }
  99% { opacity: 0.9; }
}
.rack-monitor b { color: #e879f9; font-weight: 700; }
.rack-monitor .warn { color: #fbbf24; }
.rack-monitor .caution { color: #f87171; }
.rack-monitor .ok { color: var(--green); }
.rack-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.rack-node {
  background: #0d0f29;
  border: 1px solid rgba(139, 106, 255, 0.3);
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}
.rack-node:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 0 20px rgba(34, 211, 238, 0.25); }
.rack-node .node-led {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: led-blink 1.6s ease-in-out infinite;
}
.rack-node .node-led.cyan { background: #22d3ee; box-shadow: 0 0 10px #22d3ee; animation-delay: 0.3s; }
.rack-node .node-led.pink { background: #e879f9; box-shadow: 0 0 10px #e879f9; animation-delay: 0.6s; }
.rack-node .node-led.amber { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; animation-delay: 0.9s; }
@keyframes led-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rack-node span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.rack-node b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  margin-top: 0.35rem;
}
.rack-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.rack-foot .up { color: var(--green); }
@media (max-width: 700px) {
  .rack-nodes { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Coming soon notify ---------- */
.notify-form {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.notify-form input {
  flex: 1;
  min-width: 220px;
  background: rgba(10, 12, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.notify-form input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}
.notify-form input::placeholder { color: var(--text-faint); }
.notify-ok {
  display: none;
  text-align: center;
  margin-top: 1rem;
  color: var(--green);
  font-size: 0.95rem;
}
.notify-ok.show { display: block; }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; overflow: hidden; padding: 1.2rem 0; }
.marquee-wrap::before, .marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1.3rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.marquee-item:hover { border-color: var(--violet); box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); transform: translateY(-3px); }
.marquee-item img { height: 42px; width: 42px; border-radius: 10px; object-fit: cover; }
.marquee-item i { color: var(--cyan); font-size: 1.2rem; }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-row.rev { direction: rtl; }
.feature-row > * { direction: ltr; }
.feature-row h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; line-height: 1.2; }
.feature-row p { color: var(--text-dim); margin-bottom: 1rem; }

.visual-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-solid);
  box-shadow: 0 30px 80px rgba(3, 3, 15, 0.8), 0 0 60px rgba(124, 58, 237, 0.15);
}
.visual-frame img { width: 100%; display: block; }
.visual-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 30%, transparent 70%, rgba(34, 211, 238, 0.08));
  pointer-events: none;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 1.4rem 0; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-dim); }
.check-list li i {
  color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); backdrop-filter: blur(6px); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 1.1rem 1.3rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  background: rgba(124, 58, 237, 0.06);
}
thead th.hl { color: var(--cyan); }
tbody td { padding: 1rem 1.3rem; border-bottom: 1px solid rgba(139, 92, 246, 0.1); color: var(--text-dim); font-size: 0.94rem; }
tbody tr:hover td { background: rgba(124, 58, 237, 0.05); }
tbody tr:last-child td { border-bottom: none; }
td.lord { color: #fff; font-weight: 600; }
td.lord i { color: var(--green); margin-right: 0.4rem; }
td.x { color: var(--pink); opacity: 0.85; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2.2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.2rem; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.tl-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}
.tl-item h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.4rem; }
.tl-item p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 1.8rem; }
.testimonial-card .stars { color: var(--amber); font-size: 0.9rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
.testimonial-card p.quote { color: var(--text-dim); font-size: 0.95rem; font-style: italic; margin-bottom: 1.3rem; }
.testimonial-card .who { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-card .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
.testimonial-card .who b { color: #fff; display: block; font-size: 0.95rem; }
.testimonial-card .who span { color: var(--text-faint); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
  backdrop-filter: blur(10px);
}
.faq-item.open { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 0 26px rgba(124, 58, 237, 0.15); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}
.faq-q i { color: var(--cyan); transition: transform 0.35s ease; font-size: 0.85rem; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p { padding: 0 1.4rem 1.2rem; color: var(--text-dim); font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 26px;
  padding: 3.4rem 2rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(124, 58, 237, 0.3), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(135deg, #0d0f2e, #121232);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(3, 3, 15, 0.7);
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 0.9rem; }
.cta-banner p { color: var(--text-dim); max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .code {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px dashed rgba(251, 191, 36, 0.5);
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}
.cta-banner .code::after {
  content: "_";
  margin-left: 0.1em;
  color: var(--amber);
  animation: term-blink 1s steps(2) infinite;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 15, 0.7);
  backdrop-filter: blur(8px);
  margin-top: 3rem;
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: all 0.25s ease; }
.footer-grid a:hover { color: var(--cyan); padding-left: 4px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 1rem 0 1.4rem; max-width: 320px; }
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: var(--card);
  transition: all 0.3s ease;
  text-decoration: none;
}
.socials a:hover { color: #fff; border-color: var(--violet); box-shadow: 0 0 18px rgba(124, 58, 237, 0.4); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; margin-left: 1.2rem; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 9.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
.page-hero p { max-width: 640px; margin: 1.2rem auto 0; color: var(--text-dim); font-size: 1.05rem; }
.crumbs { margin-top: 1.2rem; font-size: 0.85rem; color: var(--text-faint); }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { margin: 0 0.4rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .pricing-grid.pg-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pricing-grid.pg-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 1rem; right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #070818;
    border-radius: 18px;
    padding: 1rem;
    transform: translateY(-140%);
    transition: transform 0.4s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(124, 58, 237, 0.35);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { text-align: center; }
  .nav-drop { width: 100%; }
  .nav-drop-btn { justify-content: center; width: 100%; }
  .nav-drop-menu {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    padding: 0.25rem 0.75rem 0.4rem;
  }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-drop-menu::before, .nav-drop-menu::after { display: none; }
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu,
  .nav-drop.open .nav-drop-menu { transform: none; }
  .nav-drop-menu a { justify-content: center; padding: 0.55rem 0.85rem; }
  .nav-drop-menu a:hover { padding-left: 0.85rem; }
  .nav-drop-menu .drop-label { border-bottom: none; }
  .nav-cta { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .float-chip { display: none; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .pricing-grid.pg-3, .pricing-grid.pg-4 { grid-template-columns: 1fr; }
  .section { padding: 4rem 1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 8.5rem; }
  .page-hero { padding-top: 8rem; }
  .stat-num { font-size: 1.7rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero .tagline { font-size: 0.98rem; }
  .hero-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .section-head h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .page-hero h1 { font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
  .cta-banner { padding: 2.4rem 1.2rem; }
  .cta-banner .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .links { margin-top: 0.5rem; }
  .builder-block { padding: 0.9rem; }
  .builder-result { padding: 1.1rem; }
  .marquee-item { padding: 0.6rem 1rem; font-size: 0.88rem; }
  .marquee-item img { height: 34px; width: 34px; }
  .notify-form input { min-width: 0; }
  .plan { padding: 1.6rem 1.25rem; }
  .preloader-logo { width: 64px; }
}

@media (max-width: 380px) {
  .stats-bar { grid-template-columns: 1fr; }
  .offer-poster { top: 88px; }
}

/* ---------- Performance: disable heavy infinite animations on mobile ---------- */
@media (max-width: 1000px) {
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .gaming-bg { transform: none; }
  .grid-overlay { animation: none; }
  .orb { animation: none; }
  .nav { animation: none; }
  .nav-links { animation: none; }
  .nav-links a, .nav-links a.active, .nav-drop-btn, .nav-drop-btn.active { animation: none; }
  .brand-logo, .brand-logo img, .brand-name, .brand-name span, .brand-logo::before { animation: none; }
  .badge-pill { animation: none; }
  .badge-pill .dot { animation: none; }
  .offer-icon { animation: none; }
  .hero h1, .page-hero h1 { animation: none; }
  .hero-ring { animation: none; }
  .hero-server { animation: none; }
  .gradient-text, .gradient-text-2 { animation: none; }
  .stat-card::before, .section-head h2::after, .nav::after { animation: none; }
  .marquee { animation: none; }
  .monitor-flicker, .rack-monitor { animation: none; }
  .rack-node .node-led { animation: none; }
  .section-head .eyebrow::after, .cta-banner .code::after { animation: none; }
  .service-card::after { display: none; }
  .reveal { transition: opacity 0.4s ease; }
}

/* ---------- Respect user's reduced-motion preference (all devices) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ORVIX — Accounts, Cart & Admin
   ============================================================ */

/* Light theme */
html.light {
  --bg: #eef1fb;
  --bg-2: #e2e7f6;
  --bg-3: #d7def2;
  --card: rgba(255, 255, 255, 0.86);
  --card-solid: #ffffff;
  --line: rgba(124, 58, 237, 0.25);
  --text: #171a33;
  --text-dim: #43486f;
  --text-faint: #6d72a8;
  --input-bg: #f5f7ff;
}
html.light .nav { background: rgba(238, 241, 251, 0.85); }
html.light .nav::after { opacity: 0.5; }
html.light .footer { background: #dde3f4; }
html.light .auth-card, html.light .cart-summary, html.light .card,
html.light .modal { background: #ffffff; box-shadow: 0 12px 40px rgba(30, 40, 90, 0.12); }
html.light .field input, html.light .field select,
html.light .coupon-row input, html.light .ci-qty button,
html.light .invoice-box, html.light .theme-toggle button {
  background: #f5f7ff;
}
html.light .cart-item, html.light .plan { border-color: rgba(124, 58, 237, 0.18); }
html.light .toast { background: #ffffff; border-color: var(--cyan); color: var(--text); }

/* Nav cart + account */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-cart:hover { border-color: var(--cyan); color: var(--cyan); }
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.cart-badge.show { display: inline-flex; }
.account-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem !important;
}
.account-chip img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}
.account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sale price strikethrough on plan cards */
.plan-price .was {
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 0.8rem;
  text-decoration: line-through;
  margin-right: 6px;
  opacity: 0.6;
}
.plan .btn[data-sku] { cursor: pointer; width: 100%; }

/* Toast message text */
#toastMsg { margin-left: 8px; }

/* Buttons that act as full-width in forms */
.auth-card .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 700px) {
  .nav-cta { gap: 8px; }
  .account-name { display: none; }
  .account-chip { padding: 0.3rem !important; }
}


/* Profile services tabs */
.svc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.svc-tab{font-size:.82rem;font-weight:600;padding:8px 16px;border-radius:999px;border:1px solid var(--border,#232b3d);color:var(--muted,#8b94a7);text-decoration:none}
.svc-tab:hover,.svc-tab.sel{border-color:#22d3ee;color:#22d3ee}
.svc-group{padding:8px 0;border-top:1px solid var(--border,#232b3d)}
.svc-group:first-of-type{border-top:0}
.svc-group h4{font-size:.95rem;margin:12px 0 4px;color:var(--text,#e6edf3)}
.order .meta{font-size:.8rem;color:var(--muted,#8b94a7)}
.order .inv{font-family:'Share Tech Mono',monospace;color:#22d3ee}
.order .amt{font-weight:700}
