:root {
  --bg-deep: #050814;
  --bg-elevated: #0a0f24;
  --bg-card: rgba(15, 22, 48, 0.6);
  --border-subtle: rgba(120, 140, 255, 0.12);
  --border-glow: rgba(120, 140, 255, 0.4);
  --text-primary: #e8ecff;
  --text-secondary: #8a93b8;
  --text-muted: #5a6488;
  --accent-blue: #4a7dff;
  --accent-purple: #a855f7;
  --accent-cyan: #22d3ee;
  --accent-green: #10d97f;
  --accent-red: #ff4d6d;
  --accent-gold: #ffb547;
  --grad-primary: linear-gradient(135deg, #4a7dff 0%, #a855f7 100%);
  --grad-secondary: linear-gradient(135deg, #22d3ee 0%, #4a7dff 100%);
  --grad-gold: linear-gradient(135deg, #ffb547 0%, #ff8a3d 100%);
  --shadow-glow: 0 0 40px rgba(74, 125, 255, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --duration-fast: 180ms;
  --duration-normal: 320ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  background: #030611;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(74, 125, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.026) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse 70% 58% at 50% 18%, #000 0%, rgba(0, 0, 0, 0.62) 42%, transparent 78%);
  opacity: 0.28;
}

.mono { font-family: 'Space Mono', monospace; }

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74, 125, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(168, 85, 247, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(34, 211, 238, 0.05), transparent 60%);
  pointer-events: none;
}

.bg-gradient::before,
.bg-gradient::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bg-gradient::before {
  inset: -20%;
  background:
    conic-gradient(from 120deg at 50% 18%, transparent 0 18%, rgba(34, 211, 238, 0.08) 24%, transparent 31% 58%, rgba(168, 85, 247, 0.07) 64%, transparent 72% 100%);
  filter: blur(28px);
  opacity: 0.38;
  animation: ambient-orbit 22s linear infinite;
}

.bg-gradient::after {
  left: 50%;
  top: 80px;
  width: min(780px, 74vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 57%, rgba(74, 125, 255, 0.1) 58%, transparent 59%),
    radial-gradient(circle, transparent 71%, rgba(34, 211, 238, 0.08) 72%, transparent 73%);
  opacity: 0.32;
}

@keyframes ambient-orbit {
  to { transform: rotate(360deg); }
}

.cyber-robot-path {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
  width: 72px;
  height: 86px;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  transform: translate3d(8vw, 64vh, 0);
  will-change: transform;
}

.cyber-robot-path:focus-visible .cyber-robot,
.cyber-robot-path:hover .cyber-robot,
.cyber-robot-path.is-chat-open .cyber-robot {
  --face-glow: rgba(34, 211, 238, 0.3);
  border-color: rgba(138, 246, 255, 0.72);
}

.cyber-robot-path::before,
.cyber-robot-path::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.cyber-robot-path::before {
  left: -54px;
  top: 26px;
  width: 62px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(34, 211, 238, 0.24), transparent 60%),
    linear-gradient(90deg, transparent, rgba(74, 125, 255, 0.1), rgba(34, 211, 238, 0.22));
  filter: blur(10px);
  transform: scaleX(var(--robot-trail, 0.4));
  transform-origin: 100% 50%;
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.cyber-robot-path::after {
  left: 7px;
  top: 4px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-top-color: rgba(168, 85, 247, 0.22);
  border-radius: 50%;
  transform: scale(0.72);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.16));
  animation: robot-scan-pulse 3.4s ease-out infinite;
}

.cyber-robot-path.is-moving::before {
  opacity: 1;
  transform: scaleX(var(--robot-trail, 1));
}

.cyber-robot-path.is-idle::after {
  opacity: 0.8;
}

.cyber-robot-float {
  position: relative;
  width: 72px;
  height: 86px;
  --robot-scale: 1;
  animation: robot-float 1.4s ease-in-out infinite;
  transform-origin: 50% 58%;
  will-change: transform;
}

.cyber-robot-float::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 54%, rgba(34, 211, 238, 0.12) 56%, transparent 58%),
    conic-gradient(from 20deg, transparent, rgba(34, 211, 238, 0.15), transparent 34%, rgba(168, 85, 247, 0.12), transparent 62%);
  opacity: 0.42;
  filter: blur(0.2px);
  animation: robot-orbital-halo 5.6s linear infinite;
}

.cyber-robot-glow {
  position: absolute;
  inset: 8px 6px 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 45% 40%, rgba(34, 211, 238, 0.28), transparent 48%),
    radial-gradient(circle at 58% 35%, rgba(168, 85, 247, 0.22), transparent 60%);
  filter: blur(18px);
  opacity: 0.86;
}

.cyber-robot-shadow {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  filter: blur(7px);
  animation: robot-shadow 1.4s ease-in-out infinite;
}

.cyber-robot {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 48px;
  height: 52px;
  --eye-x: 0px;
  --eye-y: 0px;
  --face-glow: rgba(34, 211, 238, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    #10183a;
  border: 1px solid rgba(120, 140, 255, 0.38);
  box-shadow:
    0 0 0 2px rgba(34, 211, 238, 0.04),
    0 12px 26px rgba(0, 0, 0, 0.26),
    0 0 24px var(--face-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(4, 8, 24, 0.34);
  image-rendering: pixelated;
}

.cyber-robot::before,
.cyber-robot::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: rgba(34, 211, 238, 0.42);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.cyber-robot::before {
  left: 8px;
  bottom: 8px;
}

.cyber-robot::after {
  right: 8px;
  top: 8px;
  background: rgba(168, 85, 247, 0.44);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.48);
}

.robot-antenna {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 2px;
  height: 17px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.98), rgba(34, 211, 238, 0.4));
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}

.robot-thought-bubble {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  min-width: 180px;
  max-width: 220px;
  padding: 10px 14px;
  background:
    linear-gradient(180deg, rgba(20, 30, 60, 0.96), rgba(9, 15, 38, 0.95));
  border: 1px solid rgba(74, 125, 255, 0.34);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 8px 24px rgba(74, 125, 255, 0.18),
    0 0 30px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 10;
  pointer-events: none;
}

.robot-thought-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(74, 125, 255, 0.4);
}

.robot-thought-bubble::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(20, 30, 60, 0.95);
  z-index: 1;
}

.robot-thought-bubble.show {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.robot-thought-bubble.show::after {
  animation: bubble-tail-pulse 1.4s ease-in-out infinite;
}

.typing-bubble {
  top: -95px;
  min-width: 236px;
  max-width: 280px;
}

.typing-bubble .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--accent-cyan);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.robot-antenna span {
  position: absolute;
  left: 50%;
  top: -5px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #a855f7;
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.95),
    0 0 20px rgba(34, 211, 238, 0.28);
}

.robot-ear {
  position: absolute;
  top: 17px;
  width: 8px;
  height: 18px;
  border-radius: 5px;
  background: rgba(16, 24, 58, 0.96);
  border: 1px solid rgba(120, 140, 255, 0.3);
  box-shadow: inset 0 0 8px rgba(34, 211, 238, 0.12);
  transform-origin: 50% 8px;
  will-change: transform;
}

.robot-ear::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 4px;
  border-radius: 2px;
  background: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.34);
}

.robot-ear.left {
  left: -8px;
  animation: robot-left-arm 2.6s ease-in-out infinite;
}

.robot-ear.right {
  right: -8px;
  animation: robot-right-arm 2.9s ease-in-out infinite;
}

.robot-ear.waving {
  animation: robot-wave-hand 1.2s ease-in-out 3 !important;
}

.robot-ear.left.waving {
  --wave-start: 75deg;
  --wave-peak: 110deg;
  --wave-reach-x: -12px;
  --wave-reach-y: -16px;
}

.robot-ear.right.waving {
  --wave-start: -75deg;
  --wave-peak: -110deg;
  --wave-reach-x: 12px;
  --wave-reach-y: -16px;
}

.robot-face {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 32px;
  height: 24px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(34, 211, 238, 0.1) 14%, transparent 16% 100%),
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.05)),
    rgba(4, 8, 24, 0.72);
  background-size: 180% 100%, 100% 100%, 100% 100%;
  border: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.06);
  animation: robot-face-scan 4.2s ease-in-out infinite;
}

.robot-eye {
  position: absolute;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #22d3ee;
  box-shadow:
    0 0 8px rgba(34, 211, 238, 0.95),
    0 0 16px rgba(34, 211, 238, 0.42);
  transform: translate3d(var(--eye-x), var(--eye-y), 0);
  transform-origin: 50% 50%;
  animation: robot-eye-life 4.8s ease-in-out infinite;
  will-change: transform;
}

.robot-eye::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 2px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0.78;
}

.robot-eye:first-child { left: 8px; }
.robot-eye:nth-child(2) { right: 8px; }

.robot-mouth {
  position: absolute;
  left: 12px;
  bottom: 6px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(74, 125, 255, 0.9);
  box-shadow: 0 0 7px rgba(74, 125, 255, 0.7);
  animation: robot-mouth-life 3.6s ease-in-out infinite;
}

.cyber-robot-path.is-near-action .cyber-robot {
  --face-glow: rgba(255, 181, 71, 0.18);
}

.cyber-robot-path.is-near-action .robot-eye {
  background: #8af6ff;
  box-shadow:
    0 0 10px rgba(138, 246, 255, 0.98),
    0 0 20px rgba(255, 181, 71, 0.2);
}

.robot-base {
  position: absolute;
  left: 14px;
  bottom: -5px;
  width: 20px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: rgba(16, 24, 58, 0.96);
  border: 1px solid rgba(120, 140, 255, 0.22);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.1);
}

.robot-thruster {
  position: absolute;
  left: 50%;
  bottom: -23px;
  width: 30px;
  height: 24px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.34));
  animation: robot-thruster-sway 1.4s ease-in-out infinite;
  will-change: transform;
}

.robot-thruster::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 18px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50% 50% 58% 58%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.34), transparent 62%),
    linear-gradient(180deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.06), transparent);
  opacity: 0.72;
  animation: robot-thrust-glow 0.72s ease-in-out infinite;
}

.robot-thruster::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 20px;
  height: 24px;
  background:
    radial-gradient(circle at 30% 18%, rgba(138, 246, 255, 0.9) 0 1.5px, transparent 2px),
    radial-gradient(circle at 64% 34%, rgba(74, 125, 255, 0.75) 0 1.5px, transparent 2px),
    radial-gradient(circle at 46% 58%, rgba(168, 85, 247, 0.58) 0 1.4px, transparent 2px);
  opacity: 0.78;
  animation: robot-thrust-particles 0.68s linear infinite;
}

.robot-thruster span {
  position: absolute;
  top: 0;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.96), rgba(74, 125, 255, 0.34), transparent);
  transform-origin: 50% 0;
  opacity: 0.74;
  animation: robot-thrust 0.72s ease-in-out infinite;
  will-change: transform, opacity, height;
}

.robot-thruster span:nth-child(1) {
  left: 8px;
  --jet-rotate: 7deg;
  animation-delay: -0.18s;
}

.robot-thruster span:nth-child(2) {
  left: 14px;
  height: 18px;
  width: 4px;
  --jet-rotate: 0deg;
  background: linear-gradient(180deg, rgba(138, 246, 255, 0.98), rgba(168, 85, 247, 0.28), transparent);
}

.robot-thruster span:nth-child(3) {
  right: 8px;
  --jet-rotate: -7deg;
  animation-delay: -0.36s;
}

.robot-em-waves {
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 52px;
  height: 34px;
  transform: translateX(-50%);
  pointer-events: none;
  perspective: 120px;
}

.robot-em-waves i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 5px;
  border: 1px solid rgba(34, 211, 238, 0.56);
  border-top-color: rgba(138, 246, 255, 0.82);
  border-bottom-color: rgba(168, 85, 247, 0.24);
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(-50%, 0, 0) rotateX(64deg) scale(0.38);
  box-shadow:
    0 0 8px rgba(34, 211, 238, 0.34),
    inset 0 0 6px rgba(168, 85, 247, 0.18);
  animation: robot-em-wave 1.05s cubic-bezier(0.18, 0.72, 0.28, 1) infinite;
  will-change: transform, opacity, width;
}

.robot-em-waves i:nth-child(2) {
  animation-delay: -0.35s;
  border-color: rgba(74, 125, 255, 0.48);
  border-top-color: rgba(34, 211, 238, 0.7);
}

.robot-em-waves i:nth-child(3) {
  animation-delay: -0.7s;
  border-color: rgba(168, 85, 247, 0.38);
  border-top-color: rgba(138, 246, 255, 0.58);
}

.robot-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 160;
  width: min(392px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(71, 85, 105, 0.62);
  border-radius: 18px;
  background: rgba(9, 13, 24, 0.72);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.52),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 16px, 0) scale(0.98);
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
}

.robot-chat-panel::before {
  content: none;
}

.robot-chat-panel.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.robot-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.42);
  background: rgba(15, 22, 38, 0.76);
}

.robot-chat-head > div {
  position: relative;
  min-width: 0;
  padding-left: 44px;
}

.robot-chat-head > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 38%, #cbd5e1 0 2px, transparent 3px),
    radial-gradient(circle at 65% 38%, #cbd5e1 0 2px, transparent 3px),
    #1a2335;
  border: 1px solid rgba(100, 116, 139, 0.62);
  box-shadow: none;
}

.robot-chat-head strong {
  display: block;
  color: #f1f5f9;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.robot-chat-head span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
}

.robot-chat-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(71, 85, 105, 0.62);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.72);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.robot-chat-close:hover {
  color: #fff;
  border-color: #475569;
  background: #1e293b;
  transform: translateY(-1px);
}

.robot-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(7, 11, 20, 0.54);
  scrollbar-width: thin;
  scrollbar-color: #334155 #0f172a;
}

.robot-chat-messages::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.robot-chat-messages::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 999px;
}

.robot-chat-messages::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
}

.robot-chat-msg {
  display: flex;
  align-items: flex-end;
}

.robot-chat-msg.user {
  justify-content: flex-end;
}

.robot-chat-msg div {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 12px;
  color: #e5e7eb;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-shadow: none;
}

.robot-chat-msg.assistant div {
  border: 1px solid rgba(71, 85, 105, 0.5);
  border-bottom-left-radius: 4px;
  background: rgba(16, 24, 39, 0.72);
}

.robot-chat-msg.user div {
  color: #f8fafc;
  border: 1px solid rgba(71, 85, 105, 0.62);
  border-bottom-right-radius: 4px;
  background: rgba(38, 50, 73, 0.76);
  box-shadow: none;
}

.robot-chat-panel.is-loading .robot-chat-messages::after {
  content: "Robot đang trả lời...";
  align-self: flex-start;
  padding: 9px 11px;
  border: 1px solid rgba(71, 85, 105, 0.5);
  border-radius: 12px 12px 12px 4px;
  color: #94a3b8;
  background: rgba(16, 24, 39, 0.72);
  font-size: 0.8rem;
  box-shadow: none;
}

.robot-chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(71, 85, 105, 0.38);
  background: rgba(9, 13, 24, 0.68);
}

.robot-chat-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid rgba(100, 116, 139, 0.62);
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.72);
  color: #e5e7eb;
  padding: 0 12px;
  outline: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.88rem;
  transition: background var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.robot-chat-form input::placeholder {
  color: #64748b;
}

.robot-chat-form input:focus {
  border-color: #64748b;
  background: rgba(11, 18, 32, 0.86);
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.16);
}

.robot-chat-form button {
  height: 44px;
  min-width: 58px;
  border: 1px solid #475569;
  border-radius: 10px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 800;
  padding: 0 15px;
  cursor: pointer;
  box-shadow: none;
  transition: filter var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}

.robot-chat-form button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: none;
}

@keyframes robot-float {
  0%, 100% { transform: translate3d(0, -5px, 0) rotate(-6deg) scale(var(--robot-scale)); }
  50% { transform: translate3d(0, 5px, 0) rotate(5deg) scale(var(--robot-scale)); }
}

@keyframes robot-orbital-halo {
  to { transform: rotate(360deg); }
}

@keyframes robot-scan-pulse {
  0% { opacity: 0; transform: scale(0.58); }
  18% { opacity: 0.6; }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes robot-face-scan {
  0%, 44%, 100% { background-position: -80% 0, 0 0, 0 0; }
  58% { background-position: 160% 0, 0 0, 0 0; }
}

@keyframes bubble-tail-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes robot-shadow {
  0%, 100% { transform: scaleX(0.78); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 0.24; }
}

@keyframes robot-eye-life {
  0%, 4%, 9%, 100% {
    scale: 1 1;
    opacity: 1;
  }
  5.8%, 7.2% {
    scale: 1 0.16;
    opacity: 0.82;
  }
  54%, 59% {
    scale: 1.12 0.82;
  }
}

@keyframes robot-mouth-life {
  0%, 100% { opacity: 0.82; transform: scaleX(0.9); }
  45% { opacity: 1; transform: scaleX(1.16); }
  72% { opacity: 0.68; transform: scaleX(0.68); }
}

@keyframes robot-left-arm {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  36% { transform: translate3d(-1px, -2px, 0) rotate(7deg); }
  70% { transform: translate3d(0, 1px, 0) rotate(-7deg); }
}

@keyframes robot-right-arm {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  34% { transform: translate3d(1px, 2px, 0) rotate(-7deg); }
  76% { transform: translate3d(0, -1px, 0) rotate(8deg); }
}

@keyframes robot-wave-hand {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--wave-start, 75deg));
  }
  30% {
    transform: translate3d(var(--wave-reach-x, -10px), var(--wave-reach-y, -14px), 0) rotate(var(--wave-peak, 110deg));
  }
  50% {
    transform: translate3d(var(--wave-reach-x, -10px), var(--wave-reach-y, -18px), 0) rotate(var(--wave-peak, 110deg));
  }
  70% {
    transform: translate3d(var(--wave-reach-x, -10px), var(--wave-reach-y, -14px), 0) rotate(var(--wave-peak, 110deg));
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--wave-start, 75deg));
  }
}

@keyframes robot-thrust {
  0%, 100% {
    height: 10px;
    opacity: 0.42;
    filter: blur(0.2px);
    transform: translate3d(0, 0, 0) rotate(var(--jet-rotate, 0deg)) scaleY(0.72);
  }
  45% {
    height: 20px;
    opacity: 0.82;
    filter: blur(0.7px);
    transform: translate3d(0, 6px, 0) rotate(var(--jet-rotate, 0deg)) scaleY(1.18);
  }
  70% {
    height: 15px;
    opacity: 0.56;
    transform: translate3d(0, 3px, 0) rotate(var(--jet-rotate, 0deg)) scaleY(0.92);
  }
}

@keyframes robot-thrust-glow {
  0%, 100% {
    transform: translateX(-50%) scaleY(0.72);
    opacity: 0.38;
  }
  50% {
    transform: translateX(-50%) scaleY(1.08);
    opacity: 0.72;
  }
}

@keyframes robot-thruster-sway {
  0%, 100% { transform: translateX(-50%) translate3d(-1px, 0, 0); }
  50% { transform: translateX(-50%) translate3d(1px, 2px, 0); }
}

@keyframes robot-thrust-particles {
  0% {
    transform: translate3d(0, -2px, 0) scaleY(0.7);
    opacity: 0;
  }
  24% {
    opacity: 0.82;
  }
  100% {
    transform: translate3d(0, 13px, 0) scaleY(1.2);
    opacity: 0;
  }
}

@keyframes robot-em-wave {
  0% {
    width: 12px;
    height: 4px;
    opacity: 0;
    transform: translate3d(-50%, -2px, 0) rotateX(64deg) scale(0.38);
    filter: blur(0);
  }
  18% {
    opacity: 0.72;
  }
  56% {
    opacity: 0.42;
    filter: blur(0.25px);
  }
  100% {
    width: 48px;
    height: 12px;
    opacity: 0;
    transform: translate3d(-50%, 22px, 0) rotateX(64deg) scale(1);
    filter: blur(0.8px);
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 8, 20, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--duration-fast);
}

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

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

.btn {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.24) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease-out);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.btn-ghost:hover {
  border-color: var(--border-glow);
  background: rgba(74, 125, 255, 0.08);
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(74, 125, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 125, 255, 0.5);
}

.btn-gold {
  background: var(--grad-gold);
  color: #1a0e00;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 181, 71, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 181, 71, 0.5);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
}

.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52px;
  width: min(840px, 82vw);
  aspect-ratio: 1 / 0.52;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(74, 125, 255, 0.07), transparent 58%),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.05), transparent);
  filter: blur(8px);
  opacity: 0.66;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 128px;
  width: min(560px, 68vw);
  height: min(250px, 30vw);
  transform: translateX(-50%);
  border: 1px solid rgba(120, 140, 255, 0.12);
  border-left-color: rgba(34, 211, 238, 0.18);
  border-right-color: rgba(168, 85, 247, 0.14);
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(74, 125, 255, 0.1);
  border: 1px solid rgba(74, 125, 255, 0.3);
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-blue);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.05) inset,
    0 10px 26px rgba(74, 125, 255, 0.12);
}

.hero-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.22), transparent);
  transform: translateX(-120%);
  animation: badge-scan 3.2s ease-in-out infinite;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes badge-scan {
  0%, 34% { transform: translateX(-120%); opacity: 0; }
  46% { opacity: 1; }
  70%, 100% { transform: translateX(120%); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 58px rgba(74, 125, 255, 0.22);
}

.hero h1 .grad-text {
  background: linear-gradient(110deg, #4a7dff 0%, #7a72ff 28%, #a855f7 52%, #22d3ee 74%, #4a7dff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-text-flow 7s ease-in-out infinite;
}

@keyframes hero-text-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.typing-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--accent-blue);
  vertical-align: text-bottom;
  animation: blink 1s infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-shadow: 0 0 26px rgba(74, 125, 255, 0.08);
}

.hero-subtitle-highlight {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
  color: rgba(232, 248, 255, 0.96);
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.035);
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-badge .check {
  color: var(--accent-green);
  font-weight: 700;
}

.counters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
  background:
    linear-gradient(180deg, rgba(12, 19, 44, 0.82), rgba(5, 9, 25, 0.7)),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.32),
    0 0 54px rgba(74, 125, 255, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.counters::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74, 125, 255, 0.3), rgba(168, 85, 247, 0.2), rgba(34, 211, 238, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.counters::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background:
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent) 0 0 / 220% 1px no-repeat,
    radial-gradient(circle at 50% 0%, rgba(74, 125, 255, 0.12), transparent 42%);
  animation: panel-scan 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes panel-scan {
  0%, 100% { background-position: -120% 0, 50% 0; opacity: 0.42; }
  50% { background-position: 220% 0, 50% 0; opacity: 0.9; }
}

.counter-item {
  text-align: center;
  position: relative;
  padding: 16px 8px;
  border-radius: 16px;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: default;
  overflow: hidden;
  border: 1px solid transparent;
}

.counter-item:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    rgba(74, 125, 255, 0.05);
  border-color: rgba(120, 140, 255, 0.18);
  transform: translateY(-4px);
}

.counter-value {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  display: inline-block;
  transition: transform var(--duration-fast), filter var(--duration-fast);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.22));
}

.counter-item:hover .counter-value {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.36));
}

.counter-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Tooltip */
.counter-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: 'IBM Plex Sans', sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast);
  z-index: 10;
  box-shadow: var(--shadow-card);
  pointer-events: none;
}

.counter-item:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

.service-strip {
  padding: 64px 0;
  background: var(--bg-card);
  color: var(--text-primary);
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.service-point {
  display: grid;
  gap: 12px;
  align-content: start;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ff6b00;
  background: #fff0e6;
  font-size: 1.25rem;
  font-weight: 700;
}

.service-point h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-point p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.buy-process,
.product-intro {
  background: var(--bg-card);
  color: var(--text-primary);
}

.buy-process .section-eyebrow,
.product-intro .section-eyebrow {
  color: var(--accent-blue);
}

.buy-process .section-title,
.product-intro .section-title {
  color: var(--text-primary);
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 72px;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border-subtle);
}

.process-step {
  position: relative;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.process-step span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  color: var(--accent-blue);
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 190px;
}

.title-underline {
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-blue);
  margin: -4px auto 54px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: 76px;
  max-width: 920px;
  margin: 0 auto 84px;
}

.product-row.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.9fr);
}

.product-copy {
  display: grid;
  gap: 18px;
}

.product-pill {
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74, 125, 255, 0.1);
  color: var(--accent-blue);
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-copy h3 {
  color: var(--text-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  font-weight: 700;
}

.product-copy p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

.mock-window {
  min-height: 260px;
  border-radius: 10px;
  background: #171717;
  border: 1px solid #2d2d2d;
  box-shadow: 0 26px 46px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal),
    box-shadow var(--duration-normal),
    filter var(--duration-normal);
}

#product-intro .mock-window::before {
  content: none;
}

#product-intro .mock-window:hover {
  transform: translateY(-10px) scale(1.018);
  border-color: rgba(120, 164, 255, 0.52);
  box-shadow:
    0 30px 70px rgba(74, 125, 255, 0.24),
    0 14px 38px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: saturate(1.08);
}

.mock-window.compact {
  min-height: 220px;
}

.mock-window.image-window {
  min-height: 220px;
  background: #121212;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 26px 46px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mock-window.image-window img.mock-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  border-radius: inherit;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}

.mock-window.tall.image-window img.mock-image {
  min-height: 420px;
  object-position: top center;
}

.agent-mock {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 250px;
  background: #141414;
}

.agent-workspace {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  background: #121212;
  border-right: 1px solid #202020;
}

.agent-cube {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #343434 0 48%, #1f1f1f 49% 100%);
  clip-path: polygon(50% 0, 90% 25%, 90% 72%, 50% 100%, 10% 72%, 10% 25%);
  opacity: 0.72;
}

.agent-shortcuts {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 190px;
  transform: translateX(-50%);
  color: #777;
  font-size: 0.58rem;
  display: grid;
  gap: 6px;
}

.agent-shortcuts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.agent-shortcuts kbd {
  min-width: 18px;
  padding: 2px 4px;
  border-radius: 3px;
  background: #1e1e1e;
  color: #9a9a9a;
  font: inherit;
  text-align: center;
}

.agent-panel {
  position: relative;
  min-height: 250px;
  background: #1a1a1a;
  overflow: hidden;
}

.agent-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03));
}

.agent-toolbar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: #d6d6d6;
  font-size: 0.62rem;
  border-bottom: 1px solid #252525;
}

.agent-toolbar span:first-child {
  margin-right: auto;
}

.agent-prompt {
  margin: 8px;
  height: 64px;
  border: 1px solid #303030;
  border-radius: 6px;
  background: #202020;
  color: #535353;
  font-size: 0.58rem;
  padding: 10px;
}

.agent-select-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #b8b8b8;
  font-size: 0.58rem;
}

.agent-select-row span:first-child {
  padding: 4px 8px;
  border-radius: 999px;
  background: #2a2a2a;
}

.agent-select-row strong {
  font-size: 0.56rem;
  font-weight: 600;
}

.agent-dropdown {
  width: 190px;
  margin: 8px 0 0 78px;
  padding: 8px 0;
  border: 1px solid #2f2f2f;
  background: #171717;
  color: #d4d4d4;
  font-size: 0.56rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.agent-dropdown div {
  min-height: 18px;
  display: flex;
  align-items: center;
  padding: 0 9px;
}

.agent-dropdown i,
.model-settings-list i {
  width: 25px;
  height: 15px;
  border-radius: 999px;
  background: #43c87a;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  margin-left: auto;
}

.agent-dropdown i::after,
.model-settings-list i::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f4f7f5;
}

.agent-dropdown .selected::after {
  content: "✓";
  margin-left: auto;
  color: #bfbfbf;
}

.model-settings-mock {
  min-height: 420px;
  padding: 6px 0 0;
  background: #1c1c1c;
}

.model-search-row {
  height: 42px;
  margin: 0 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.model-search-row span {
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 4px;
  background: #242424;
  border: 1px solid #343434;
  color: #5d5d5d;
  font-size: 0.98rem;
  font-weight: 600;
}

.model-search-row b {
  color: #aaa;
  font-size: 1.2rem;
  font-weight: 400;
}

.model-settings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 360px;
  overflow: hidden;
}

.model-settings-list li {
  min-height: 39px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d9d9d9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-size: 0.9rem;
}

.model-settings-list em {
  color: #858585;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  margin-left: 6px;
}

.mock-window.tall {
  min-height: 420px;
}

.mock-window.light {
  background: #f8fafc;
  border-color: #e5e7eb;
}

.mock-window img.mock-image {
  width: 90%;
  height: auto;
  margin: 15px auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.mock-window img.tall-image {
  width: 100%;
  max-height: 395px;
  margin: 0 auto;
  padding: 10px 12px;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  border-radius: 12px;
}

.mock-top {
  height: 22px;
  background: linear-gradient(90deg, #262626, #181818);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-window.light .mock-top {
  background: #f1f5f9;
  border-bottom-color: #e5e7eb;
}

.mock-split {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  height: 198px;
}

.mock-split div:first-child {
  background: radial-gradient(circle at 50% 50%, #333 0 12%, #141414 13%);
}

.mock-split div:last-child {
  background: repeating-linear-gradient(#202020 0 18px, #171717 19px 36px);
  border-left: 1px solid #2d2d2d;
}

.model-list {
  list-style: none;
  padding: 14px 16px;
}

.model-list li {
  padding: 10px 4px;
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Mono', monospace;
  font-size: 0.76rem;
}

.model-list li::after {
  content: '';
  float: right;
  width: 24px;
  height: 12px;
  border-radius: 999px;
  background: #43d17a;
  margin-top: 3px;
}

.mock-window.light .mock-image {
  width: 90%;
  height: auto;
  max-height: 200px;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

.mock-chat {
  margin: 24px auto;
  width: 78%;
  height: 150px;
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(#eef2f7 0 14px, transparent 15px 30px);
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 -44px 0 #ffffff;
}

.mock-logo {
  color: #f97316;
  text-align: center;
  margin-top: 54px;
  font-family: 'Space Mono', monospace;
}

.mock-select {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 108px;
  border: 1px solid #3f3f46;
  background: repeating-linear-gradient(#27272a 0 26px, #1f1f23 27px 52px);
  border-radius: 6px;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 125, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 125, 255, 0.1);
  border: 1px solid rgba(74, 125, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Space Mono', monospace;
  color: var(--accent-blue);
  font-weight: 700;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-card code {
  background: rgba(74, 125, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.comparison-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

table.comparison {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

table.comparison th,
table.comparison td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

table.comparison th {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(74, 125, 255, 0.05);
  font-weight: 700;
}

table.comparison th.highlight {
  color: var(--accent-blue);
  background: rgba(74, 125, 255, 0.12);
}

table.comparison td { font-size: 0.95rem; }

table.comparison td.highlight {
  background: rgba(74, 125, 255, 0.05);
  font-weight: 500;
}

table.comparison tr:last-child td { border-bottom: none; }

.tick { color: var(--accent-green); font-weight: 700; }
.cross { color: var(--accent-red); font-weight: 700; }
.partial { color: var(--accent-gold); font-weight: 700; }

.comparison-wrapper {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

table.comparison th.highlight,
table.comparison td.highlight {
  box-shadow: inset 3px 0 0 rgba(74, 125, 255, 0.7);
}

table.comparison tbody tr {
  transition: background var(--duration-fast);
}

table.comparison tbody tr:hover {
  background: rgba(74, 125, 255, 0.045);
}

#pricing {
  overflow: visible !important;
  padding-top: 12px;
  padding-bottom: 24px;
  transform: none !important;
  z-index: 1;
}

#pricing .section-title {
  margin-bottom: 10px;
}

#pricing .section-subtitle {
  margin: 0 auto 20px;
}

/* ========== Hero Metrics — inline stat bar (full width under hero) ========== */
.home-hero.pro-hero { position: relative; }

.hero-metrics {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  margin-top: 36px;
  padding: 18px 8px;
  background: linear-gradient(180deg, rgba(20, 16, 40, 0.55), rgba(12, 10, 28, 0.35));
  border: 1px solid rgba(148, 130, 230, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-metrics > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px;
  color: #f5f3ff;
}

.hero-metrics > div + div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(167,139,250,0.28), transparent);
}

.hero-metrics svg {
  flex-shrink: 0;
  color: #a78bfa;
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.hero-metrics > div > strong,
.hero-metrics > div > span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-metrics span {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.7);
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 0;
    padding: 14px 6px;
  }
  .hero-metrics > div { padding: 10px 14px; }
  .hero-metrics > div:nth-child(3)::before { display: none; }
  .hero-metrics strong { font-size: 1.15rem; }
}

/* ========== Pricing Header — Compact Editorial ========== */
#pricing .pricing-header {
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
}

#pricing .pricing-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

#pricing .pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fb923c;
  line-height: 1;
  margin: 0;
}

#pricing .pricing-kicker-bar {
  width: 24px;
  height: 2px;
  background: #fb923c;
  border-radius: 2px;
}

#pricing .pricing-title {
  font-family: inherit;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0;
  text-align: left;
}

#pricing .pricing-carousel { margin-top: 20px; }

@media (max-width: 600px) {
  #pricing .pricing-header { margin-bottom: 14px; }
  #pricing .pricing-header-inner { gap: 6px; padding-bottom: 12px; }
  #pricing .pricing-kicker { font-size: 0.68rem; letter-spacing: 0.16em; }
  #pricing .pricing-kicker-bar { width: 18px; }
  #pricing .pricing-carousel { margin-top: 14px; }
}

#pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 20px 0 16px;
  overflow: visible;
}

@media (min-width: 1400px) {
  #pricing .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1399px) {
  #pricing .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  #pricing .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.pricing-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  backdrop-filter: none;
  overflow: visible;
}

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

.pricing-card.featured {
  border-color: var(--accent-blue);
  background: linear-gradient(180deg, rgba(74, 125, 255, 0.1), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.pricing-card.unlimited {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(255, 181, 71, 0.08), var(--bg-card));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--grad-primary);
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: white;
  z-index: 99999;
}

.pricing-badge.gold { background: var(--grad-gold); color: #1a0e00; }

.pricing-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing-price .amount {
  font-family: 'Space Mono', monospace;
  font-size: 2.2rem;
  font-weight: 700;
}

.pricing-price .currency {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-features li::before {
  content: '+';
  color: var(--accent-blue);
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; justify-content: center; }

.testimonials-carousel-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial {
  width: 320px;
  flex-shrink: 0;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  opacity: 0.72;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonials-track:hover .testimonial {
  opacity: 0.45;
}

.testimonials-track:hover .testimonial:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.05rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.97rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
}

.avatar.purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.avatar.cyan { background: linear-gradient(135deg, #22d3ee, #4a7dff); }

.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 600; font-size: 0.95rem; }
.author-role { display: none; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color var(--duration-fast);
}

.faq-item:hover { border-color: var(--border-glow); }

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 1rem;
  user-select: none;
}

.faq-icon {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  color: var(--accent-blue);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer-inner code {
  background: rgba(74, 125, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.faq-item.open .faq-answer { max-height: 320px; }

.legal-center {
  padding-top: 40px;
}

.legal-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 8px;
  background: rgba(15, 22, 48, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.legal-tabs::-webkit-scrollbar {
  display: none;
}

.legal-tab {
  flex: 1 0 max-content;
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--duration-fast), background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}

.legal-tab:hover {
  color: var(--text-primary);
  background: rgba(74, 125, 255, 0.08);
}

.legal-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(74, 125, 255, 0.28), rgba(168, 85, 247, 0.24));
  border-color: var(--border-glow);
  box-shadow: 0 10px 26px rgba(74, 125, 255, 0.18);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.legal-document {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.legal-document {
  padding: clamp(24px, 4vw, 42px);
  min-height: 560px;
  background:
    radial-gradient(circle at 24% 0%, rgba(74, 125, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 22, 48, 0.42), rgba(10, 15, 34, 0.24));
  border-color: rgba(120, 140, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 24px 60px rgba(0, 0, 0, 0.18);
}

.legal-panel {
  display: none;
}

.legal-panel.active {
  display: block;
  animation: legalFadeIn 260ms var(--ease-out);
}

@keyframes legalFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.legal-panel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(74, 125, 255, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(74, 125, 255, 0.24);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-panel h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  margin-bottom: 4px;
}

.legal-panel-heading p,
.legal-panel p {
  color: var(--text-secondary);
}

.legal-panel h4 {
  font-size: 1.08rem;
  margin: 22px 0 10px;
}

.legal-panel ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.legal-panel li {
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}

.legal-panel li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 10px;
}

.legal-info-grid div {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 255, 0.14);
  background: rgba(5, 8, 20, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-info-grid span {
  display: inline-block;
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-family: 'Space Mono', monospace;
}

.legal-info-grid h5 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.legal-info-grid p {
  font-size: 0.86rem;
}

.legal-privacy-callout {
  position: relative;
  margin: 24px 0 22px;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(10, 12, 20, 0.86), rgba(22, 24, 34, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.legal-privacy-callout::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(50% 0, 88% 18%, 82% 72%, 50% 100%, 18% 72%, 12% 18%);
}

.legal-privacy-callout p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.7;
}

.legal-warning,
.legal-note {
  margin: 20px 0 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 181, 71, 0.1);
  border: 1px solid rgba(255, 181, 71, 0.36);
  color: var(--text-primary);
}

.legal-warning strong,
.legal-note strong {
  color: var(--accent-gold);
  display: block;
  margin-bottom: 6px;
}

.legal-warning p,
.legal-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-note {
  background: rgba(74, 125, 255, 0.1);
  border-color: rgba(74, 125, 255, 0.36);
}

.legal-note strong {
  color: var(--accent-blue);
}

.legal-rights-grid,
.legal-payment-grid,
.legal-process,
.legal-methods {
  display: grid;
  gap: 14px;
}

.legal-rights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.legal-rights-grid div,
.legal-payment-grid div,
.legal-process div,
.legal-methods div,
.legal-refund-steps div {
  border: 1px solid rgba(120, 140, 255, 0.14);
  background: rgba(5, 8, 20, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-rights-grid div,
.legal-payment-grid div {
  padding: 18px;
}

.legal-rights-grid span,
.legal-payment-grid span {
  color: var(--accent-red);
  display: inline-block;
  margin-bottom: 14px;
  font-family: 'Space Mono', monospace;
}

.legal-rights-grid h5,
.legal-payment-grid h5,
.legal-refund-steps h5 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.legal-rights-grid p,
.legal-payment-grid p,
.legal-refund-steps p {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.legal-dark-callout {
  position: relative;
  margin: 22px 0 24px;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 50%, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(135deg, rgba(8, 10, 18, 0.88), rgba(20, 22, 32, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.legal-dark-callout::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 112px;
  height: 112px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(50% 0, 88% 18%, 82% 72%, 50% 100%, 18% 72%, 12% 18%);
}

.legal-dark-callout.refund::after {
  width: 132px;
  height: 132px;
  right: 8px;
  clip-path: polygon(75% 8%, 95% 50%, 75% 92%, 75% 64%, 18% 64%, 18% 36%, 75% 36%);
}

.legal-dark-callout h5,
.legal-dark-callout p {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.legal-dark-callout h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.legal-dark-callout p {
  color: var(--text-primary);
  font-weight: 700;
}

.legal-list.success li::before {
  color: var(--accent-green);
}

.legal-list.danger li::before {
  content: '×';
  color: var(--accent-red);
}

.legal-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 28px;
}

.legal-payment-grid div {
  text-align: center;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.legal-payment-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-blue);
  background: rgba(74, 125, 255, 0.12);
  margin-bottom: 14px;
}

.legal-payment-grid div:nth-child(2) span {
  color: #ff4db8;
  background: rgba(255, 77, 184, 0.12);
}

.legal-payment-grid div:nth-child(3) span {
  color: var(--accent-gold);
  background: rgba(255, 181, 71, 0.12);
}

.legal-extra-fee {
  color: var(--accent-red) !important;
  font-weight: 700;
}

.legal-process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 24px;
}

.legal-process div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.legal-process span,
.legal-refund-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 181, 71, 0.16);
  color: var(--accent-gold);
  font-weight: 800;
  flex-shrink: 0;
}

.legal-process div:nth-child(3) span,
.legal-refund-steps div:nth-child(4) span {
  background: rgba(16, 217, 127, 0.16);
  color: var(--accent-green);
}

.legal-refund-steps {
  display: grid;
  gap: 14px;
  margin: 18px 0 28px;
}

.legal-refund-steps div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px;
}

.legal-refund-steps span {
  grid-row: span 2;
  background: rgba(255, 106, 0, 0.18);
  color: #ff7a00;
}

.legal-methods {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.legal-methods div {
  min-height: 84px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-family: 'Space Mono', monospace;
}

.legal-methods span {
  color: var(--text-secondary);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
}

footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--duration-fast);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 12, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.98);
  transition: transform var(--duration-normal) var(--ease-out);
}

.modal-overlay.show .modal { transform: translateY(0) scale(1); }

.support-modal {
  width: min(940px, 100%);
  position: relative;
  padding: 48px 36px 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(74, 125, 255, 0.24), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(16, 217, 127, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(12, 20, 48, 0.98), rgba(7, 12, 30, 0.96));
  border: 1px solid rgba(129, 154, 255, 0.32);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--duration-normal) var(--ease-out);
}

.support-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent) top / 100% 1px no-repeat,
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.12), transparent 28%);
}

.modal-overlay.show .support-modal {
  transform: translateY(0) scale(1);
}

.support-eyebrow {
  color: var(--accent-gold);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.support-modal h2 {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1;
  margin-bottom: 16px;
  color: #f4f7ff;
  text-shadow: 0 12px 34px rgba(74, 125, 255, 0.24);
}

.support-modal > p {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.support-contact-card {
  position: relative;
  padding: 30px 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(20, 30, 66, 0.72), rgba(11, 17, 39, 0.72));
  border: 1px solid rgba(135, 159, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  justify-items: center;
  gap: 12px;
  transition:
    transform var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast),
    box-shadow var(--duration-fast),
    background var(--duration-fast);
}

.support-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(135, 159, 255, 0.42);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-contact-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-contact-card.zalo .support-contact-icon {
  color: var(--accent-blue);
  background: rgba(74, 125, 255, 0.16);
}

.support-contact-card.phone .support-contact-icon {
  color: var(--accent-gold);
  background: rgba(255, 181, 71, 0.16);
}

.support-contact-card.mail .support-contact-icon {
  color: var(--accent-green);
  background: rgba(16, 217, 127, 0.16);
}

.support-contact-card h3 {
  font-size: 1.25rem;
  color: #eef3ff;
}

.support-contact-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  min-height: 48px;
}

.support-contact-card a {
  display: inline-flex;
  width: min(100%, 176px);
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.25;
  word-break: break-word;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform var(--duration-fast) var(--ease-out),
    filter var(--duration-fast),
    box-shadow var(--duration-fast);
}

.support-contact-card a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.support-contact-card.zalo a {
  background: linear-gradient(135deg, #4a7dff, #6d8dff);
}

.support-contact-card.phone a {
  background: linear-gradient(135deg, #f97316, #ffb547);
}

.support-contact-card.mail a {
  width: min(100%, 196px);
  background: linear-gradient(135deg, #00a344, #10d97f);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--duration-fast);
}

.modal-close:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.google-auth-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 20px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/*
 * Để Google Identity Services tự render button đúng spec gốc của Google
 * (nền trắng, font Roboto, logo G đa màu). KHÔNG đè background/border/transform
 * lên iframe Google — đó là nguyên nhân khiến button trông "xấu".
 */
.google-auth-wrap #google-login-button {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 20px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(135, 159, 255, 0.28), transparent);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(0, 0, 0, 0.5);
}

.form-submit {
  width: 100%;
  padding: 13px;
  margin-top: 8px;
  font-size: 1rem;
  justify-content: center;
}

.modal-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-footer a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

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

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--accent-red);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  display: none;
}

.form-error.show { display: block; }

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-card);
  animation: slide-in var(--duration-normal) var(--ease-out);
  min-width: 280px;
}

.toast.success { border-color: rgba(16, 217, 127, 0.4); }
.toast.error { border-color: rgba(255, 77, 109, 0.4); }
.toast.info { border-color: rgba(74, 125, 255, 0.4); }

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.toast.success .toast-icon { background: var(--accent-green); color: #001a0d; }
.toast.error .toast-icon { background: var(--accent-red); color: #1a0006; }
.toast.info .toast-icon { background: var(--accent-blue); color: white; }

.toast-content { flex: 1; font-size: 0.92rem; }
.toast-title { font-weight: 600; margin-bottom: 2px; }
.toast-msg { color: var(--text-secondary); font-size: 0.85rem; }

@keyframes slide-in {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.removing { animation: slide-out 0.25s forwards; }
@keyframes slide-out {
  to { transform: translateX(120%); opacity: 0; }
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(5, 8, 20, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  z-index: 90;
  display: none;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.sticky-cta .btn { width: 100%; justify-content: center; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  overflow: visible !important;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fix for pricing section to allow badge overflow */
/* Pricing section - special handling for badge overflow */
#pricing.fade-in {
  opacity: 0;
  transform: none !important;
  overflow: visible !important;
  position: relative;
  z-index: 100;
}

#pricing.fade-in.visible {
  opacity: 1;
  transform: none !important;
}

#pricing .pricing-grid {
  overflow: visible !important;
}

#pricing .pricing-card {
  overflow: visible !important;
}

#pricing.fade-in .pricing-grid {
  overflow: visible !important;
}

#pricing.fade-in .pricing-card {
  overflow: visible !important;
}

#pricing .pricing-carousel {
  margin: 0 -4px;
  padding: 8px 4px 20px;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

#pricing .pricing-carousel::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

#pricing .pricing-grid {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transition: transform 720ms var(--ease-out);
  will-change: transform;
  transform: translateX(0);
}

#pricing .pricing-card {
  flex: 0 0 clamp(248px, 23vw, 292px);
  min-height: 414px;
  display: flex;
  flex-direction: column;
  opacity: 0.68;
  transform: translateY(0) scale(0.97);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out), box-shadow 520ms var(--ease-out), border-color 520ms var(--ease-out);
}

#pricing .pricing-card:last-child {
  margin-right: 4px;
}

#pricing .pricing-card.is-active {
  opacity: 1;
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: 0 18px 42px rgba(74, 125, 255, 0.24);
  z-index: 2;
}

#pricing .pricing-card.unlimited.is-active {
  border-color: var(--accent-gold);
  box-shadow: 0 18px 42px rgba(255, 181, 71, 0.22);
}

#pricing .pricing-badge {
  top: -16px;
  z-index: 3;
}

.pricing-help {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.pricing-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(130, 100, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 125, 255, 0.14), rgba(139, 92, 246, 0.22));
  color: var(--text-primary);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(74, 125, 255, 0.18);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.pricing-help-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 38px rgba(139, 92, 246, 0.28);
}

.pricing-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  line-height: 1;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .legal-layout { grid-template-columns: 1fr; }
  .support-contact-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .product-row,
  .product-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-row.reverse .product-copy { order: -1; }
}

@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .cyber-robot-path {
    width: 58px;
    height: 70px;
    opacity: 0.78;
  }
  .cyber-robot-float {
    --robot-scale: 0.82;
    transform-origin: 0 0;
  }
  .robot-chat-panel {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    height: min(570px, calc(100dvh - 120px));
    border-radius: 16px;
  }
  .robot-chat-head {
    padding: 15px;
  }
  .robot-chat-messages {
    padding: 15px;
    gap: 10px;
  }
  .robot-chat-msg div {
    max-width: 90%;
    font-size: 0.86rem;
  }
  .robot-chat-form {
    padding: 13px 15px 15px;
  }
  .counters { grid-template-columns: repeat(2, 1fr); padding: 24px; max-width: 700px; }
  .trust-badges { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .process-line {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 42px;
  }
  .process-line::before { display: none; }
  #pricing .pricing-card { flex-basis: min(86vw, 360px); }
  #pricing .pricing-grid {
    max-width: none;
    margin: 0;
  }
  .pricing-help-btn {
    width: 100%;
    max-width: 360px;
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.9rem;
  }
  .legal-tabs {
    justify-content: flex-start;
  }
  .legal-tab {
    flex: 0 0 auto;
  }
  .legal-info-grid {
    grid-template-columns: 1fr;
  }
  .legal-rights-grid,
  .legal-payment-grid,
  .legal-process,
  .legal-methods {
    grid-template-columns: 1fr;
  }
  .legal-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }
  .modal { padding: 28px 22px; }
  .robot-chat-panel {
    right: 10px;
    left: 10px;
    bottom: 78px;
    height: min(540px, calc(100dvh - 104px));
    border-radius: 15px;
  }
  .robot-chat-head > div {
    padding-left: 42px;
  }
  .robot-chat-head > div::before {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }
  .robot-chat-head strong {
    font-size: 0.92rem;
  }
  .robot-chat-head span {
    font-size: 0.73rem;
  }
  .robot-chat-close {
    width: 34px;
    height: 34px;
  }
  .robot-chat-messages {
    padding: 13px;
  }
  .robot-chat-msg div {
    max-width: 92%;
    padding: 10px 12px;
  }
  .robot-chat-form {
    gap: 8px;
  }
  .robot-chat-form input,
  .robot-chat-form button {
    height: 44px;
  }
  .robot-chat-form button {
    min-width: 54px;
    padding: 0 13px;
  }
  .toast-container { top: 12px; right: 12px; left: 12px; max-width: none; }
  .toast { min-width: 0; }
  .service-strip-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; }
  .mock-window.tall { min-height: 340px; }
  .legal-document {
    border-radius: 16px;
  }
  .legal-panel-heading {
    align-items: flex-start;
  }
  .legal-dark-callout,
  .legal-privacy-callout {
    padding: 20px;
  }
  .legal-dark-callout::after,
  .legal-privacy-callout::after {
    opacity: 0.55;
  }
  .support-modal {
    padding: 38px 18px 24px;
    border-radius: 20px;
  }
  .support-modal h2 {
    font-size: 2.15rem;
  }
  .support-modal > p {
    margin-bottom: 24px;
  }
  .support-contact-card {
    padding: 24px 18px 20px;
  }
  .support-contact-card p {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-gradient::before,
  .hero-badge::after,
  .hero h1 .grad-text,
  .counters::after,
  .cyber-robot-path::after,
  .cyber-robot-float,
  .cyber-robot-float::before,
  .cyber-robot-shadow,
  .robot-face,
  .robot-thruster,
  .robot-thruster::before,
  .robot-thruster::after,
  .robot-thruster span,
  .robot-em-waves i {
    animation: none;
  }

  #product-intro .mock-window,
  #product-intro .mock-window::before {
    transition: none;
  }

  #product-intro .mock-window:hover {
    transform: none;
  }
}

#legal-center .legal-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
}

#legal-center .legal-tabs::-webkit-scrollbar {
  display: none;
}

#legal-center .legal-tab {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 0 max-content;
  min-width: 170px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(120, 140, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 22, 48, 0.34);
  color: var(--text-secondary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform var(--duration-fast) var(--ease-out), color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
}

#legal-center .legal-tab:hover {
  color: var(--text-primary);
  border-color: rgba(74, 125, 255, 0.36);
  background: rgba(74, 125, 255, 0.13);
  transform: translateY(-1px);
}

#legal-center .legal-tab.active {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.48);
  background: linear-gradient(135deg, rgba(74, 125, 255, 0.72), rgba(168, 85, 247, 0.68));
  box-shadow: 0 14px 34px rgba(74, 125, 255, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

@media (max-width: 768px) {
  #legal-center .legal-tabs {
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  #legal-center .legal-tab {
    flex: 0 0 auto;
    min-width: 156px;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-glow);
  padding: 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu.show { display: flex; }

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu .btn { margin-top: 12px; }

/* ============================================
   COSMIC HERO — ported from Website 2 repo
   ============================================ */
/* === Cosmic sparkles toàn trang === */
.cosmic-sparkles {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  overflow: hidden; mix-blend-mode: screen;
}
.cosmic-sparkles i {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px 3px rgba(255,255,255,1),
    0 0 22px 6px rgba(212,170,255,0.9),
    0 0 38px 10px rgba(167,139,255,0.65),
    0 0 56px 16px rgba(74,214,255,0.35);
  opacity: 0;
  animation: cs-twinkle 4s ease-in-out infinite, cs-float 18s ease-in-out infinite;
}
.cosmic-sparkles i:nth-child(1)  { top: 5%;  left: 8%;  animation-delay: 0s,    0s;   }
.cosmic-sparkles i:nth-child(2)  { top: 12%; left: 22%; animation-delay: 0.4s,  2s;   transform: scale(0.7); }
.cosmic-sparkles i:nth-child(3)  { top: 18%; left: 38%; animation-delay: 0.9s,  4s;   transform: scale(1.2); }
.cosmic-sparkles i:nth-child(4)  { top: 25%; left: 55%; animation-delay: 1.3s,  1s;   transform: scale(0.8); }
.cosmic-sparkles i:nth-child(5)  { top: 8%;  left: 72%; animation-delay: 1.7s,  3s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(6)  { top: 14%; left: 88%; animation-delay: 2.1s,  5s;   transform: scale(0.9); }
.cosmic-sparkles i:nth-child(7)  { top: 32%; left: 5%;  animation-delay: 2.5s,  7s;   transform: scale(1.1); }
.cosmic-sparkles i:nth-child(8)  { top: 38%; left: 18%; animation-delay: 0.2s,  9s;   transform: scale(0.6); }
.cosmic-sparkles i:nth-child(9)  { top: 42%; left: 35%; animation-delay: 2.9s,  11s;  transform: scale(1.3); }
.cosmic-sparkles i:nth-child(10) { top: 46%; left: 52%; animation-delay: 3.3s,  6s;   transform: scale(0.85); }
.cosmic-sparkles i:nth-child(11) { top: 35%; left: 68%; animation-delay: 0.7s,  8s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(12) { top: 28%; left: 82%; animation-delay: 3.7s,  10s;  transform: scale(0.75); }
.cosmic-sparkles i:nth-child(13) { top: 48%; left: 95%; animation-delay: 4.1s,  12s;  transform: scale(0.95); }
.cosmic-sparkles i:nth-child(14) { top: 58%; left: 12%; animation-delay: 0.5s,  14s;  transform: scale(1.15); }
.cosmic-sparkles i:nth-child(15) { top: 62%; left: 28%; animation-delay: 1.5s,  3s;   transform: scale(0.7); }
.cosmic-sparkles i:nth-child(16) { top: 55%; left: 45%; animation-delay: 2.3s,  16s;  transform: scale(1); }
.cosmic-sparkles i:nth-child(17) { top: 68%; left: 60%; animation-delay: 3.1s,  1s;   transform: scale(0.9); }
.cosmic-sparkles i:nth-child(18) { top: 72%; left: 78%; animation-delay: 4.5s,  13s;  transform: scale(1.25); }
.cosmic-sparkles i:nth-child(19) { top: 64%; left: 92%; animation-delay: 0.1s,  15s;  transform: scale(0.8); }
.cosmic-sparkles i:nth-child(20) { top: 78%; left: 8%;  animation-delay: 1.1s,  4s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(21) { top: 82%; left: 25%; animation-delay: 2.7s,  17s;  transform: scale(0.65); }
.cosmic-sparkles i:nth-child(22) { top: 75%; left: 42%; animation-delay: 3.9s,  2s;   transform: scale(1.1); }
.cosmic-sparkles i:nth-child(23) { top: 88%; left: 58%; animation-delay: 0.8s,  9s;   transform: scale(0.9); }
.cosmic-sparkles i:nth-child(24) { top: 92%; left: 75%; animation-delay: 1.9s,  6s;   transform: scale(1.2); }
.cosmic-sparkles i:nth-child(25) { top: 85%; left: 88%; animation-delay: 4.3s,  11s;  transform: scale(0.75); }
.cosmic-sparkles i:nth-child(26) { top: 16%; left: 48%; animation-delay: 2.4s,  5s;   transform: scale(0.95); }
.cosmic-sparkles i:nth-child(27) { top: 22%; left: 65%; animation-delay: 0.6s,  18s;  transform: scale(1.05); }
.cosmic-sparkles i:nth-child(28) { top: 38%; left: 78%; animation-delay: 3.5s,  2s;   transform: scale(0.8); }
.cosmic-sparkles i:nth-child(29) { top: 52%; left: 88%; animation-delay: 1.2s,  7s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(30) { top: 65%; left: 35%; animation-delay: 4.7s,  14s;  transform: scale(0.7); }
.cosmic-sparkles i:nth-child(31) { top: 70%; left: 50%; animation-delay: 2.6s,  3s;   transform: scale(1.3); }
.cosmic-sparkles i:nth-child(32) { top: 78%; left: 65%; animation-delay: 0.3s,  10s;  transform: scale(0.85); }
.cosmic-sparkles i:nth-child(33) { top: 28%; left: 12%; animation-delay: 3.8s,  16s;  transform: scale(1.1); }
.cosmic-sparkles i:nth-child(34) { top: 45%; left: 25%; animation-delay: 1.4s,  4s;   transform: scale(0.6); }
.cosmic-sparkles i:nth-child(35) { top: 58%; left: 72%; animation-delay: 4.9s,  8s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(36) { top: 6%;  left: 55%; animation-delay: 2.2s,  12s;  transform: scale(0.9); }
.cosmic-sparkles i:nth-child(37) { top: 50%; left: 5%;  animation-delay: 0.9s,  6s;   transform: scale(1.2); }
.cosmic-sparkles i:nth-child(38) { top: 30%; left: 90%; animation-delay: 3.4s,  15s;  transform: scale(0.8); }
.cosmic-sparkles i:nth-child(39) { top: 95%; left: 40%; animation-delay: 1.8s,  9s;   transform: scale(1.05); }
.cosmic-sparkles i:nth-child(40) { top: 2%;  left: 35%; animation-delay: 4.6s,  17s;  transform: scale(0.75); }
.cosmic-sparkles i:nth-child(41) { top: 10%; left: 45%; animation-delay: 0.2s,  3s;   transform: scale(1.4); }
.cosmic-sparkles i:nth-child(42) { top: 20%; left: 14%; animation-delay: 1.6s,  11s;  transform: scale(1.1); }
.cosmic-sparkles i:nth-child(43) { top: 33%; left: 50%; animation-delay: 3.2s,  6s;   transform: scale(0.9); }
.cosmic-sparkles i:nth-child(44) { top: 40%; left: 8%;  animation-delay: 4.4s,  13s;  transform: scale(1.3); }
.cosmic-sparkles i:nth-child(45) { top: 48%; left: 62%; animation-delay: 0.8s,  2s;   transform: scale(0.85); }
.cosmic-sparkles i:nth-child(46) { top: 56%; left: 30%; animation-delay: 2.1s,  18s;  transform: scale(1.2); }
.cosmic-sparkles i:nth-child(47) { top: 60%; left: 80%; animation-delay: 3.6s,  5s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(48) { top: 66%; left: 18%; animation-delay: 1.3s,  9s;   transform: scale(0.7); }
.cosmic-sparkles i:nth-child(49) { top: 72%; left: 55%; animation-delay: 4.1s,  14s;  transform: scale(1.15); }
.cosmic-sparkles i:nth-child(50) { top: 80%; left: 38%; animation-delay: 0.5s,  7s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(51) { top: 86%; left: 70%; animation-delay: 2.9s,  4s;   transform: scale(0.95); }
.cosmic-sparkles i:nth-child(52) { top: 90%; left: 18%; animation-delay: 3.7s,  16s;  transform: scale(1.25); }
.cosmic-sparkles i:nth-child(53) { top: 4%;  left: 65%; animation-delay: 1.0s,  8s;   transform: scale(0.8); }
.cosmic-sparkles i:nth-child(54) { top: 26%; left: 30%; animation-delay: 4.8s,  12s;  transform: scale(1.05); }
.cosmic-sparkles i:nth-child(55) { top: 44%; left: 92%; animation-delay: 2.6s,  1s;   transform: scale(0.9); }
.cosmic-sparkles i:nth-child(56) { top: 54%; left: 6%;  animation-delay: 0.4s,  10s;  transform: scale(1.4); }
.cosmic-sparkles i:nth-child(57) { top: 68%; left: 45%; animation-delay: 3.3s,  15s;  transform: scale(0.75); }
.cosmic-sparkles i:nth-child(58) { top: 76%; left: 90%; animation-delay: 1.7s,  6s;   transform: scale(1.1); }
.cosmic-sparkles i:nth-child(59) { top: 14%; left: 95%; animation-delay: 4.0s,  3s;   transform: scale(1); }
.cosmic-sparkles i:nth-child(60) { top: 36%; left: 60%; animation-delay: 2.2s,  17s;  transform: scale(1.3); }

@keyframes cs-twinkle {
  0%, 100% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 0.4; }
  75% { opacity: 0.95; }
}
@keyframes cs-float {
  0%, 100% { translate: 0 0; }
  25% { translate: 8px -6px; }
  50% { translate: -4px -12px; }
  75% { translate: -6px 4px; }
}

/* Big crossed stars — kiểu ✦ */
.cosmic-sparkles .big-star {
  position: absolute;
  width: 9px; height: 9px;
  background: radial-gradient(circle, #fff, rgba(255,255,255,0.5) 40%, transparent 70%);
  box-shadow: 0 0 18px 4px rgba(255,255,255,0.7), 0 0 40px 12px rgba(167,139,255,0.45);
  opacity: 0;
  animation: cs-bigstar 6s ease-in-out infinite;
}
.cosmic-sparkles .big-star::before,
.cosmic-sparkles .big-star::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,1) 50%, transparent);
  filter: drop-shadow(0 0 4px rgba(212,170,255,0.9));
  transform: translate(-50%, -50%);
}
.cosmic-sparkles .big-star::before { width: 44px; height: 2px; }
.cosmic-sparkles .big-star::after  { width: 2px; height: 44px; }
.cosmic-sparkles .big-star:nth-of-type(1)  { top: 18%; left: 18%; animation-delay: 0.5s; }
.cosmic-sparkles .big-star:nth-of-type(2)  { top: 38%; left: 72%; animation-delay: 2s; }
.cosmic-sparkles .big-star:nth-of-type(3)  { top: 65%; left: 28%; animation-delay: 3.5s; }
.cosmic-sparkles .big-star:nth-of-type(4)  { top: 78%; left: 82%; animation-delay: 1.2s; }
.cosmic-sparkles .big-star:nth-of-type(5)  { top: 25%; left: 88%; animation-delay: 4.5s; }
.cosmic-sparkles .big-star:nth-of-type(6)  { top: 88%; left: 48%; animation-delay: 2.8s; }
.cosmic-sparkles .big-star:nth-of-type(7)  { top: 8%;  left: 52%; animation-delay: 1.8s; }
.cosmic-sparkles .big-star:nth-of-type(8)  { top: 48%; left: 10%; animation-delay: 3.2s; }
.cosmic-sparkles .big-star:nth-of-type(9)  { top: 55%; left: 58%; animation-delay: 0.8s; }
.cosmic-sparkles .big-star:nth-of-type(10) { top: 72%; left: 38%; animation-delay: 4.1s; }
@keyframes cs-bigstar {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  40% { opacity: 1; transform: scale(1.1) rotate(45deg); }
  60% { opacity: 0.6; transform: scale(0.9) rotate(90deg); }
}

/* Dust — soft glow blob bay lơ lửng */
.cosmic-sparkles .dust {
  position: absolute;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,255,0.18), rgba(74,214,255,0.08) 40%, transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  animation: cs-dust 22s ease-in-out infinite;
}
.cosmic-sparkles .dust:nth-of-type(1) { top: 10%; left: 15%; animation-delay: 0s; }
.cosmic-sparkles .dust:nth-of-type(2) { top: 50%; left: 60%; animation-delay: 5s; }
.cosmic-sparkles .dust:nth-of-type(3) { top: 75%; left: 20%; animation-delay: 10s; }
.cosmic-sparkles .dust:nth-of-type(4) { top: 30%; left: 80%; animation-delay: 15s; }
.cosmic-sparkles .dust:nth-of-type(5) { top: 85%; left: 70%; animation-delay: 8s; }
@keyframes cs-dust {
  0%, 100% { translate: 0 0; opacity: 0.5; }
  50% { translate: 40px -30px; opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-sparkles { display: none; }
}
@media (max-width: 720px) {
  .cosmic-sparkles i:nth-child(n+25) { display: none; }
  .cosmic-sparkles .dust { display: none; }
}

/* === Sparkle layer cho hero === */
.home-hero.pro-hero .sparkle-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.home-hero.pro-hero .sparkle-layer i {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.9), 0 0 14px 2px rgba(167,139,255,0.55);
  opacity: 0;
  animation: sparkle-twinkle 4.5s ease-in-out infinite;
}
.home-hero.pro-hero .sparkle-layer i::before,
.home-hero.pro-hero .sparkle-layer i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: translate(-50%, -50%);
}
.home-hero.pro-hero .sparkle-layer i::after { transform: translate(-50%, -50%) rotate(90deg); }
.home-hero.pro-hero .sparkle-layer i:nth-child(1)  { top: 8%;  left: 12%; animation-delay: 0s;   transform: scale(1.1); }
.home-hero.pro-hero .sparkle-layer i:nth-child(2)  { top: 22%; left: 78%; animation-delay: 0.6s; transform: scale(0.8); }
.home-hero.pro-hero .sparkle-layer i:nth-child(3)  { top: 60%; left: 8%;  animation-delay: 1.2s; transform: scale(1.3); }
.home-hero.pro-hero .sparkle-layer i:nth-child(4)  { top: 18%; left: 42%; animation-delay: 1.8s; transform: scale(0.7); }
.home-hero.pro-hero .sparkle-layer i:nth-child(5)  { top: 75%; left: 88%; animation-delay: 2.2s; transform: scale(1.0); }
.home-hero.pro-hero .sparkle-layer i:nth-child(6)  { top: 40%; left: 55%; animation-delay: 2.8s; transform: scale(0.9); }
.home-hero.pro-hero .sparkle-layer i:nth-child(7)  { top: 88%; left: 32%; animation-delay: 3.2s; transform: scale(1.1); }
.home-hero.pro-hero .sparkle-layer i:nth-child(8)  { top: 50%; left: 92%; animation-delay: 3.6s; transform: scale(0.85); }
.home-hero.pro-hero .sparkle-layer i:nth-child(9)  { top: 32%; left: 25%; animation-delay: 0.3s; transform: scale(0.75); }
.home-hero.pro-hero .sparkle-layer i:nth-child(10) { top: 68%; left: 65%; animation-delay: 1.5s; transform: scale(1.2); }
.home-hero.pro-hero .sparkle-layer i:nth-child(11) { top: 12%; left: 60%; animation-delay: 2.5s; transform: scale(0.9); }
.home-hero.pro-hero .sparkle-layer i:nth-child(12) { top: 82%; left: 50%; animation-delay: 3.8s; transform: scale(0.8); }

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  20% { opacity: 1; transform: scale(1) rotate(45deg); }
  40% { opacity: 0.6; transform: scale(1.3) rotate(90deg); }
  60% { opacity: 1; transform: scale(0.9) rotate(135deg); }
  80% { opacity: 0.2; transform: scale(0.5) rotate(180deg); }
}

/* Shimmer sweep trên hero title */
.home-hero.pro-hero h1 span:first-child {
  position: relative;
  display: inline-block;
}
.home-hero.pro-hero h1 span:first-child::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes title-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero.pro-hero .sparkle-layer i,
  .home-hero.pro-hero h1 span:first-child::after { animation: none !important; }
}

.home-hero.pro-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 66px 32px 34px;
  min-height: 650px;
  background: transparent;
}
.home-hero.pro-hero::after {
  content: ""; position: absolute; left: 50%; bottom: -92px;
  width: 118vw; height: 190px; transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,107,255,0.58), transparent 9%),
    radial-gradient(ellipse at 50% 12%, rgba(78,161,255,0.34), transparent 18%),
    linear-gradient(90deg, transparent, rgba(123,92,255,0.74), rgba(212,107,255,0.78), transparent);
  filter: blur(10px); opacity: 0.22; pointer-events: none;
}
.cosmic-horizon {
  position: absolute; left: 50%; bottom: -54px; z-index: -1;
  width: 118vw; height: 210px; transform: translateX(-50%);
  border-top: 1px solid rgba(213,116,255,0.54);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(123,92,255,0.16), transparent 44%);
  box-shadow: 0 -14px 44px rgba(123,92,255,0.36);
  pointer-events: none;
  overflow: visible;
  animation: cosmic-horizon-glow 6s ease-in-out infinite;
}
.cosmic-horizon::before {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 60%; height: 6px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212,107,255,0.85), rgba(78,161,255,0.7), rgba(212,107,255,0.85), transparent);
  filter: blur(6px);
  border-radius: 50%;
  animation: cosmic-horizon-sweep 7s ease-in-out infinite;
}
@keyframes cosmic-horizon-glow {
  0%, 100% { box-shadow: 0 -14px 44px rgba(123,92,255,0.36); border-top-color: rgba(213,116,255,0.54); }
  50%      { box-shadow: 0 -20px 72px rgba(212,107,255,0.5); border-top-color: rgba(232,160,255,0.78); }
}
@keyframes cosmic-horizon-sweep {
  0%, 100% { opacity: 0.55; transform: translateX(-58%) scaleX(0.9); }
  50%      { opacity: 1;    transform: translateX(-42%) scaleX(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .cosmic-horizon,
  .cosmic-horizon::before { animation: none !important; }
}
.cosmic-planet { position: absolute; z-index: -1; display: block; border-radius: 50%; pointer-events: none; }
.cosmic-planet-left {
  left: -178px; bottom: 22px; width: 360px; height: 360px;
  background:
    radial-gradient(circle at 67% 36%, rgba(255,255,255,0.82) 0 1.4%, transparent 2.8%),
    radial-gradient(circle at 62% 33%, rgba(232,174,255,0.64), transparent 10%),
    radial-gradient(circle at 50% 45%, rgba(77,172,255,0.52), transparent 22%),
    radial-gradient(circle at 36% 38%, rgba(49,111,229,0.5), transparent 31%),
    radial-gradient(circle at 72% 72%, rgba(4,6,19,0.98), transparent 43%),
    conic-gradient(from 132deg at 50% 50%, #050617, #121b5d, #42328f, #10163d, #03040f, #050617);
  box-shadow:
    inset -72px -46px 96px rgba(0,0,0,0.9),
    inset 26px 8px 58px rgba(94,174,255,0.42),
    inset 72px 24px 92px rgba(212,107,255,0.2),
    0 0 0 1px rgba(171,198,255,0.09),
    0 0 90px rgba(78,161,255,0.26),
    0 0 150px rgba(159,107,255,0.22);
  opacity: 0.88;
}
.cosmic-planet-right {
  right: -110px; top: 248px; width: 158px; height: 158px;
  background:
    radial-gradient(circle at 35% 29%, rgba(106,191,255,0.78), transparent 20%),
    radial-gradient(circle at 50% 48%, rgba(65,92,197,0.5), transparent 31%),
    radial-gradient(circle at 72% 72%, rgba(0,0,0,0.98), transparent 46%),
    conic-gradient(from 150deg, #071029, #1b2e78, #2c1b6d, #060818, #071029);
  box-shadow:
    inset -38px -24px 52px rgba(0,0,0,0.9),
    inset 18px 0 38px rgba(78,161,255,0.38),
    0 0 0 1px rgba(153,180,255,0.1),
    0 0 72px rgba(78,161,255,0.26),
    0 0 94px rgba(159,107,255,0.18);
  opacity: 0.95;
}
.cosmic-planet-right::after {
  content: ""; position: absolute; left: -74px; top: 57px;
  width: 306px; height: 60px;
  border: 1px solid rgba(140,95,255,0.62); border-radius: 50%;
  transform: rotate(-20deg);
  background: linear-gradient(90deg, transparent 2%, rgba(78,161,255,0.2) 28%, rgba(212,107,255,0.34) 50%, rgba(123,92,255,0.2) 72%, transparent 98%);
  box-shadow: 0 0 18px rgba(212,107,255,0.28), inset 0 0 10px rgba(78,161,255,0.14);
}

.hero-copy { max-width: 720px; position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(159,107,255,0.48); border-radius: 999px;
  background: rgba(10,16,44,0.68);
  color: #d5c5ff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 26px rgba(123,92,255,0.24);
}
.home-hero h1 {
  max-width: 720px; margin: 24px 0 20px;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 18px 52px rgba(0,0,0,0.45);
}
.home-hero h1 span {
  display: inline; color: transparent;
  background: linear-gradient(100deg, #77aaff 0%, #9f6bff 48%, #d46bff 100%);
  background-clip: text; -webkit-background-clip: text;
}
.hero-lead {
  max-width: 620px;
  color: rgba(237,241,255,0.76);
  font-size: 16px; line-height: 1.72;
  margin: 0;
}

.hero-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; max-width: 650px; margin-top: 24px;
}
.hero-proof > div {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; min-height: 92px; padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,24,56,0.72), rgba(6,11,29,0.54));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-proof svg { margin-top: 2px; color: #8f6cff; }
.hero-proof strong { display: block; color: #fff; font-size: 14px; line-height: 1.25; }
.hero-proof small { display: block; margin-top: 6px; color: rgba(231,235,255,0.62); font-size: 12px; line-height: 1.5; }

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.primary-btn, .secondary-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 13px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.primary-btn {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #168dff 0%, #7b5cff 48%, #d46bff 100%);
  box-shadow: 0 18px 42px rgba(123,92,255,0.34), inset 0 1px 0 rgba(255,255,255,0.18);
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 24px 62px rgba(159,107,255,0.48); }
.secondary-btn {
  color: #fff;
  border-color: rgba(159,107,255,0.28);
  background: rgba(9,15,39,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.secondary-btn:hover { transform: translateY(-3px); border-color: rgba(212,107,255,0.56); box-shadow: 0 16px 40px rgba(123,92,255,0.22); }

.hero-checks { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; color: rgba(231,235,255,0.72); }
.hero-checks span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(8,14,34,0.38);
  border: 1px solid rgba(159,107,255,0.18);
  font-size: 13px;
}
.hero-checks svg { color: #9f6bff; filter: drop-shadow(0 0 8px rgba(159,107,255,0.72)); }

/* showcase */
.hero-showcase {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px 24px; border-radius: 22px;
  border: 1px solid rgba(139,92,246,0.28);
  background: linear-gradient(145deg, rgba(139,92,246,0.1) 0%, rgba(15,10,35,0.85) 50%, rgba(56,189,248,0.06) 100%);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.12),
    0 24px 64px rgba(0,0,0,0.55),
    0 0 80px rgba(139,92,246,0.1),
    inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: hidden;
}
.showcase-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(139,92,246,0.15); pointer-events: none; }
.showcase-ring-1 { width: 280px; height: 280px; top: -80px; right: -80px; }
.showcase-ring-2 { width: 180px; height: 180px; bottom: -60px; left: -50px; border-color: rgba(56,189,248,0.12); }
.showcase-live-row { display: flex; align-items: center; gap: 8px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8), 0 0 16px rgba(34,197,94,0.4);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: 0.5; } }
.live-label { font-size: 12px; font-weight: 700; color: #22c55e; text-transform: uppercase; letter-spacing: 0.06em; flex: 1; }
.showcase-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(139,92,246,0.22); border: 1px solid rgba(139,92,246,0.4);
  color: #c4b5fd;
}
.showcase-product {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.showcase-icon-wrap {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(56,189,248,0.3));
  border: 1px solid rgba(139,92,246,0.35);
  color: #c4b5fd; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.showcase-product-info { flex: 1; min-width: 0; }
.showcase-product-name { margin: 0 0 3px; font-size: 12px; color: #e2e8f0; line-height: 1.35; }
.showcase-product-name strong { color: #c4b5fd; }
.showcase-product-sub { margin: 0; font-size: 11px; color: var(--text-muted); }
.showcase-price-badge { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.showcase-price { font-size: 20px; font-weight: 900; color: #f0abfc; line-height: 1; }
.showcase-price-usd { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.showcase-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.showcase-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.2);
  color: #7dd3fc; font-weight: 600;
}

.showcase-stats {
  display: flex; align-items: center; gap: 0;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
}
.showcase-stat { flex: 1; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.showcase-stat strong { font-size: 13px; font-weight: 800; color: #e2e8f0; display: block; }
.showcase-stat span { font-size: 10px; color: var(--text-muted); }
.showcase-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.1); margin: 0 10px; flex-shrink: 0; }

.showcase-buyers { display: flex; align-items: center; gap: 12px; }
.buyer-avatars { display: flex; }
.buyer-avatar {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(139,92,246,0.18);
  border: 2px solid rgba(139,92,246,0.4);
  font-size: 14px;
  margin-left: calc(var(--i, 0) * -10px);
  position: relative; z-index: calc(5 - var(--i, 0));
}
.showcase-buyers p { margin: 0; font-size: 12px; color: var(--text-muted); }
.showcase-buyers p strong { color: #e2e8f0; }

.showcase-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white; font-size: 14px; font-weight: 700;
  border: 1px solid rgba(167,139,250,0.4);
  box-shadow: 0 0 30px rgba(124,58,237,0.4), 0 8px 24px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.showcase-cta:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(124,58,237,0.6), 0 12px 32px rgba(0,0,0,0.4); }

.showcase-trust { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 11px; color: var(--text-muted); }
.showcase-trust span { display: flex; align-items: center; gap: 4px; }
.showcase-trust svg { color: #4ade80; }

/* metric strip */
.metric-strip {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px; gap: 18px;
  margin: 120px auto 100px; padding: 0 30px;
}
.metric-strip > div {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px; padding: 22px 26px;
  border: 1px solid rgba(159, 107, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(123, 92, 255, 0.08) 0%, rgba(212, 107, 255, 0.04) 50%, rgba(78, 161, 255, 0.06) 100%),
    rgba(10, 14, 35, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(123, 92, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.metric-strip > div::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(212, 107, 255, 0.18), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.metric-strip > div:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 107, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 60px rgba(123, 92, 255, 0.32),
    0 0 60px rgba(212, 107, 255, 0.18);
}
.metric-strip > div:hover::before { opacity: 1; }
.metric-strip svg {
  width: 28px; height: 28px;
  color: #b58cff;
  filter: drop-shadow(0 0 14px rgba(159, 107, 255, 0.7));
}
.metric-strip strong {
  font-size: 32px; font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(120deg, #ffffff 0%, #e0d7ff 100%);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-strip span {
  color: rgba(231, 235, 255, 0.6);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .home-hero.pro-hero { grid-template-columns: 1fr; }
  .hero-showcase { display: none; }
  .hero-proof { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Full-page background image (anh2.png) — fixed, parallax-like */
body {
  background:
    linear-gradient(180deg, rgba(3, 6, 17, 0.72) 0%, rgba(3, 6, 17, 0.6) 50%, rgba(3, 6, 17, 0.85) 100%),
    url("../images/anh2.png") center top / cover no-repeat fixed,
    #030611;
}

/* (legacy override removed — see polished metric strip above) */

/* ============================================
   NOVA AI legacy block — header only
   ============================================ */

/* Header */
.logo-nova { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.5px; }
.logo-mark-nova {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #6d4dff 0%, #a855f7 60%, #d946ef 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
nav.main-nav a.active { color: var(--text-primary); font-weight: 500; }
nav.main-nav { gap: 16px; flex-wrap: nowrap; flex-shrink: 0; }
nav.main-nav a { white-space: nowrap; font-size: 0.88rem; }
.header-inner { gap: 18px; }

.header-search {
  flex: 0 1 320px;
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(15, 22, 48, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 8px 16px;
  transition: border-color var(--duration-fast);
}
.header-search:focus-within { border-color: var(--border-glow); }
.header-search-icon { color: var(--text-muted); font-size: 1rem; }
.header-search input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text-primary); font-family: inherit; font-size: 0.9rem;
}
.header-search input::placeholder { color: var(--text-muted); }

.header-cart {
  position: relative; width: 42px; height: 42px;
  background: rgba(15, 22, 48, 0.55);
  border: 1px solid var(--border-subtle); border-radius: 50%;
  color: var(--text-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: all var(--duration-fast);
}
.header-cart:hover { border-color: var(--border-glow); background: rgba(74, 125, 255, 0.1); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent-red); color: white;
  border-radius: 100px; font-size: 0.7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-nova-login {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 100px;
  padding: 10px 22px;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
}
.btn-nova-login:hover { box-shadow: 0 8px 26px rgba(168, 85, 247, 0.6); transform: translateY(-1px); }
.login-icon { margin-right: 4px; }

.header-user { position: relative; }
.header-user-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 22, 48, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 6px 14px 6px 6px;
  color: var(--text-primary); cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
  transition: all var(--duration-fast);
}
.header-user-btn:hover { border-color: var(--border-glow); background: rgba(74, 125, 255, 0.1); }
.header-user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff; font-weight: 700; font-size: 0.85rem;
}
.header-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-user-caret { font-size: 0.7rem; opacity: 0.75; }
.header-user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px;
  background: rgba(15, 22, 48, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  display: none; z-index: 1000;
}
.header-user.open .header-user-menu { display: block; }
.header-user-menu a, .header-user-menu button {
  display: block; width: 100%; text-align: left;
  background: transparent; border: 0; color: var(--text-primary);
  padding: 9px 12px; border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; cursor: pointer; text-decoration: none;
}
.header-user-menu a:hover, .header-user-menu button:hover { background: rgba(74, 125, 255, 0.14); }
@media (max-width: 759px) {
  .header-user-name { display: none; }
}

/* Hero layout */
.hero-nova { padding: 70px 0 60px; text-align: left; }
.hero-nova::before, .hero-nova::after { display: none; }
.hero-nova-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px; align-items: start;
}
.hero-nova-left .hero-badge {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c4b5fd;
  font-size: 0.78rem; letter-spacing: 0.5px;
  padding: 8px 18px;
  margin-bottom: 24px;
}
.hero-nova-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 22px; letter-spacing: -0.5px;
}
.hero-nova-title .grad-text {
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-nova-title .title-white { color: var(--text-primary); }
.hero-nova .hero-subtitle {
  font-size: 0.98rem; line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 28px; max-width: 620px;
}

.hero-feature-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 28px;
}
.hero-feature-card {
  background: rgba(20, 24, 50, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 14px;
  transition: all var(--duration-fast);
}
.hero-feature-card:hover { border-color: rgba(168, 85, 247, 0.35); transform: translateY(-2px); }
.hfc-icon { font-size: 1.3rem; margin-bottom: 8px; }
.hero-feature-card h4 { font-size: 0.92rem; color: var(--text-primary); margin-bottom: 6px; font-weight: 600; }
.hero-feature-card p { font-size: 0.78rem; line-height: 1.5; color: var(--text-muted); margin: 0; }

.hero-nova .hero-cta-group { justify-content: flex-start; margin-bottom: 22px; }
.btn-nova-cta {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d946ef 100%);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.5);
  border-radius: 12px;
}
.btn-nova-cta:hover { box-shadow: 0 10px 32px rgba(168, 85, 247, 0.65); }
.hero-nova .trust-badges { justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
.hero-nova .trust-badge { font-size: 0.85rem; color: var(--text-secondary); }
.hero-nova .trust-badge .check { color: var(--accent-purple); }

/* Right column — product card */
.hero-nova-right { position: sticky; top: 90px; }
.hero-product-card {
  background: linear-gradient(160deg, rgba(30, 18, 60, 0.85) 0%, rgba(15, 18, 45, 0.85) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(80, 30, 180, 0.35), 0 0 0 1px rgba(168, 85, 247, 0.08) inset;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.hero-product-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(168, 85, 247, 0.2), transparent 60%);
  pointer-events: none;
}
.hpc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hpc-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--accent-green); font-weight: 600;
}
.hpc-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.5; } }
.hpc-tag {
  background: rgba(168, 85, 247, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 100px; padding: 4px 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
}
.hpc-product { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px; }
.hpc-product-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(124, 58, 237, 0.4));
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.hpc-product-info h3 { font-size: 1.02rem; color: var(--text-primary); margin: 0 0 4px; font-weight: 600; }
.hpc-product-info p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.hpc-price { text-align: right; }
.hpc-price-main { display: block; font-size: 1.6rem; font-weight: 700; color: #d946ef; line-height: 1; }
.hpc-price-sub { font-size: 0.72rem; color: var(--text-muted); }

.hpc-features { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.hpc-features li {
  background: rgba(20, 24, 50, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.78rem; color: var(--text-secondary);
}

.hpc-mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 16px;
  padding: 14px;
  background: rgba(10, 14, 35, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.hpc-mini-stats > div { text-align: center; }
.hpc-mini-stats strong { display: block; font-size: 0.82rem; color: var(--text-primary); margin-bottom: 4px; font-weight: 600; }
.hpc-mini-stats span { font-size: 0.7rem; color: var(--text-muted); }

.hpc-social { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 16px; }
.hpc-avatars { display: inline-flex; }
.hpc-avatars i {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #d946ef);
  border: 2px solid #1a1438; margin-left: -8px;
}
.hpc-avatars i:first-child { margin-left: 0; background: linear-gradient(135deg, #22d3ee, #4a7dff); }
.hpc-avatars i:nth-child(2) { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.btn-nova-buy {
  width: 100%; justify-content: center;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 12px; padding: 14px;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.45);
  margin-bottom: 12px;
}
.hpc-footnote { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--text-muted); gap: 10px; flex-wrap: wrap; }

/* Counters bar */
.counters-nova {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
  padding: 22px 28px;
  background: rgba(15, 18, 45, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.counters-nova::before, .counters-nova::after { display: none !important; }
.counters-nova .counter-item {
  display: flex; align-items: center; gap: 14px;
  text-align: left; padding: 0;
}
.counters-nova .counter-item::after { display: none; }
.counter-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.counters-nova .counter-value, .counter-value-static {
  font-size: 1.5rem; font-weight: 700; color: var(--text-primary); line-height: 1;
  background: none; -webkit-text-fill-color: var(--text-primary);
}
.counters-nova .counter-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Responsive */
@media (max-width: 1100px) {
  .header-search { display: none; }
}
@media (max-width: 960px) {
  .hero-nova-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-nova-right { position: static; }
  .counters-nova { grid-template-columns: repeat(2, 1fr); }
  .hero-feature-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hpc-mini-stats { grid-template-columns: 1fr; }
  .hpc-product { grid-template-columns: auto 1fr; }
  .hpc-price { grid-column: 1 / -1; text-align: left; }
}

/* ===== NOVA polish v2 ===== */
.hero-nova-title { font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.2; letter-spacing: -0.3px; }
.hero-nova-title .title-white { display: inline; }
.hero-nova .hero-subtitle { font-size: 0.92rem; line-height: 1.65; max-width: 560px; }
.hero-nova-left .hero-badge { background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.3); }

.hero-feature-card { padding: 14px 12px; border-radius: 12px; }
.hero-feature-card h4 { font-size: 0.85rem; }
.hero-feature-card p { font-size: 0.72rem; }

/* Product card — feature pills clearer */
.hpc-features li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(20, 24, 50, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.15);
  padding: 8px 14px; font-size: 0.78rem;
}
.hpc-feature-row { justify-content: space-between; gap: 16px; }
.hpc-feature-row > span { display: inline-flex; align-items: center; gap: 6px; }
.hpc-check { color: var(--accent-green); font-weight: 700; }
.hpc-feature-row > span:nth-child(2) .hpc-check { color: #c4b5fd; }

/* Mini-stats with vertical dividers */
.hpc-mini-stats { padding: 16px 10px; }
.hpc-mini-stats > div { position: relative; padding: 0 6px; }
.hpc-mini-stats > div + div::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(168, 85, 247, 0.2);
}
.hpc-mini-stats strong { font-size: 0.78rem; }
.hpc-mini-stats span { font-size: 0.68rem; }

/* Trust badges as pills */
.hero-nova .trust-badge {
  background: rgba(20, 24, 50, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px; padding: 7px 14px;
  font-size: 0.78rem;
}

/* Stats bar — 4 separate cards */
.counters-nova {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  gap: 14px;
}
.counters-nova .counter-item {
  background: rgba(15, 18, 45, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}
.counters-nova .counter-value { font-size: 1.7rem; }
.counter-value-static { font-size: 1.7rem; }
.counters-nova .counter-label { font-size: 0.78rem; }

/* CTA buttons */
.btn-nova-cta { padding: 12px 26px; font-weight: 600; }
.hero-nova .hero-cta-group .btn-ghost {
  background: rgba(20, 24, 50, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

/* Shop-style product cards (matches admin product tile look) */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.shop-card {
  background: #14161d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 8px 24px rgba(0,0,0,0.25);
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 14px 36px rgba(0,0,0,0.45);
}
.shop-card.featured {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(124,92,255,0.25), 0 12px 32px rgba(124,92,255,0.18);
}
.shop-card-image {
  background: #f3ede2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px 18px 0 0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.shop-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.45), transparent 65%);
  pointer-events: none;
}
.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-card-image .shop-claude-mark {
  font-family: 'Times New Roman', serif;
  font-size: 38px;
  color: #d97757;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.shop-card-image .shop-claude-mark::before {
  content: "✶";
  font-size: 42px;
}
.shop-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #15171f;
}
.shop-card-tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #a0a4b8;
  font-weight: 600;
}
.shop-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.shop-card-desc {
  font-size: 12.5px;
  color: #9a9eb5;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.shop-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.shop-card-price {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, #20e3ff 0%, #5d8cff 50%, #9d6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.shop-card-status {
  font-size: 11.5px;
  font-weight: 600;
  color: #21c87a;
  background: rgba(33, 200, 122, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.shop-card-featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .4px;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.42), 0 0 0 1px rgba(255,255,255,0.12) inset;
  text-shadow: 0 1px 1px rgba(0,0,0,0.18);
  animation: shopFeaturedPulse 2.4s ease-in-out infinite;
}
.shop-card-featured-star {
  font-size: 12px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}
.shop-card.featured {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.28), 0 14px 34px rgba(239,68,68,0.18);
}
@keyframes shopFeaturedPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(239,68,68,0.42), 0 0 0 1px rgba(255,255,255,0.12) inset; }
  50%      { box-shadow: 0 8px 24px rgba(239,68,68,0.65), 0 0 0 1px rgba(255,255,255,0.18) inset; }
}
.shop-card { position: relative; overflow: visible; }

/* === Perf: disable expensive backdrop-filter on mobile === */
@media (max-width: 768px) {
  .shop-card-key-tag,
  .sp-toast,
  .pp-sticky-buy,
  .header-search { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* "Key" badge — minimal modern, treo góc trên trái */
.shop-card-key-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(15, 18, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e8eaf2;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-card-key-tag svg {
  stroke: #c8cbd9;
  flex-shrink: 0;
  opacity: 0.9;
}

.shop-card:hover .shop-card-key-tag {
  background: rgba(20, 24, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

/* Shop brand grouping */
.shop-grid > .shop-brand-section { grid-column: 1 / -1; }
.shop-brand-section { margin-bottom: 32px; }
.shop-brand-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; justify-content: space-between; flex-wrap: wrap; }
.pricing-help-btn--inline { margin-left: auto; min-height: 38px; padding: 0 16px; font-size: 0.82rem; white-space: nowrap; }
.pricing-help-btn--inline .pricing-help-icon { width: 18px; height: 18px; font-size: 0.72rem; }
@media (min-width: 760px) {
  .pricing-help { display: none; }
}
@media (max-width: 759px) {
  .pricing-help-btn--inline { display: none; }
}
.shop-brand-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  flex-shrink: 0;
}
.shop-brand-avatar svg { width: 28px; height: 28px; }
.shop-brand-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.shop-brand-meta { display: flex; flex-direction: column; }
.shop-brand-name { font-size: 15px; font-weight: 700; color: #fff; }
.shop-brand-count { font-size: 12px; color: #4dabff; }
.shop-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  justify-content: start;
}
@media (min-width: 1100px) {
  .shop-grid-inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.shop-card-image { position: relative; gap: 12px; }
.shop-claude-text {
  font-family: 'Times New Roman', serif;
  font-size: 32px; color: #f5f3ff; font-weight: 400; letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(138, 92, 246, 0.35);
}
.shop-card-price {
  background: linear-gradient(135deg, #20e3ff 0%, #5d8cff 50%, #9d6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Product detail modal */
.pd-overlay { position: fixed; inset: 0; background: rgba(5, 8, 24, 0.78); backdrop-filter: blur(10px); display: none; align-items: flex-start; justify-content: center; z-index: 1200; padding: 32px 16px; overflow-y: auto; }
.pd-overlay.show { display: flex; }
.pd-modal { position: relative; width: min(1120px, 100%); background: #fff; color: #1f2937; border-radius: 16px; padding: 32px 32px 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.45); }
.pd-close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f3f4f6; color: #1f2937; font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pd-close:hover { background: #e5e7eb; }
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; }
.pd-image-box { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; }
.pd-image-box img { max-width: 100%; max-height: 240px; object-fit: contain; }
.pd-image-label { margin-top: 8px; font-weight: 600; color: #1f2937; }
.pd-meta-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; width: 100%; }
.pd-meta-chip { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0; line-height: 1.3; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; }
.pd-price { color: #ea580c; font-size: 26px; font-weight: 800; }
.pd-price-old { color: #9ca3af; text-decoration: line-through; font-size: 16px; }
.pd-desc { color: #4b5563; font-size: 14px; line-height: 1.55; margin: 0; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.pd-qty-label { font-size: 12px; color: #6b7280; font-weight: 600; letter-spacing: 0.5px; }
.pd-qty-control { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.pd-qty-control button { width: 34px; height: 34px; border: 0; background: #fff; cursor: pointer; font-size: 16px; color: #1f2937; }
.pd-qty-control button:hover { background: #f3f4f6; }
.pd-qty-control span { min-width: 40px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; gap: 10px; margin-top: 6px; }
.pd-btn { flex: 1; height: 46px; border-radius: 10px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pd-btn-buy { background: #ea580c; color: #fff; }
.pd-btn-buy:hover { background: #c2410c; }
.pd-btn-cart { background: #fff; color: #1f2937; border: 1px solid #e5e7eb; }
.pd-btn-cart:hover { background: #f9fafb; }
.pd-email-box { margin-top: 6px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 14px; }
.pd-email-head { display: flex; gap: 10px; align-items: flex-start; color: #9a3412; }
.pd-email-head strong { display: block; font-size: 13px; }
.pd-email-sub { font-size: 11px; opacity: 0.75; margin-top: 2px; }
.pd-email-input { margin-top: 10px; width: 100%; height: 38px; border: 1px solid #fed7aa; border-radius: 8px; padding: 0 12px; background: #fff; font-family: inherit; font-size: 13px; outline: none; }
.pd-email-input:focus { border-color: #ea580c; }
.pd-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e5e7eb; margin-top: 28px; }
.pd-tab { background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 13px; font-weight: 700; color: #6b7280; letter-spacing: 0.5px; border-bottom: 2px solid transparent; }
.pd-tab.active { color: #ea580c; border-bottom-color: #ea580c; }
.pd-tab-content { padding: 20px 0; color: #374151; font-size: 14px; }
.pd-tab-content.hidden { display: none; }
.pd-features-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.pd-feature-col h4, .pd-spec-box h4 { margin: 0 0 12px; font-size: 16px; color: #111827; font-weight: 700; }
.pd-feature-list { list-style: none; padding: 0; margin: 0; }
.pd-feature-list li { padding: 8px 0 8px 26px; position: relative; font-size: 13.5px; color: #374151; }
.pd-feature-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; background: #ea580c; color: #fff; border-radius: 50%; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.pd-spec-box { background: #f9fafb; border: 1px solid #eef0f4; border-radius: 10px; padding: 18px; }
.pd-spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #e5e7eb; font-size: 13.5px; }
.pd-spec-row:last-child { border-bottom: 0; }
.pd-spec-row span { color: #6b7280; }
.pd-spec-row strong { color: #111827; text-align: right; }
@media (max-width: 880px) {
  .pd-modal { padding: 22px 18px 20px; }
  .pd-grid { grid-template-columns: 1fr; gap: 22px; }
  .pd-features-grid { grid-template-columns: 1fr; }
}
