/* ===========================================
   VELVETSPEAK MAIN STYLESHEET
   =========================================== */

/* CSS Variables */
:root {
    --vs-bg: #020617;
    --vs-bg-secondary: #0f172a;
    --vs-bg-elevated: #1e293b;

    --vs-text: #f8fafc;
    --vs-text-muted: #94a3b8;
    --vs-text-dim: #64748b;

    --vs-accent: #22d3ee;
    --vs-accent-hover: #67e8f9;
    --vs-accent-glow: rgba(34, 211, 238, 0.4);

    --vs-border: rgba(255, 255, 255, 0.1);
    --vs-border-strong: rgba(255, 255, 255, 0.2);

    --vs-header-height: 70px;
    --vs-container-width: 1200px;

    --vs-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --vs-font-display: 'Rajdhani', var(--vs-font-sans);

    /* Legacy palette (used by landing page + forum styles) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --cyan-900: #164e63;

    --green-400: #4ade80;
    --green-500: #22c55e;

    --amber-400: #fbbf24;
    --amber-500: #f59e0b;

    --vs-header-offset: 0px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--vs-header-height);
}

body {
    font-family: var(--vs-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--vs-text);
    background: var(--vs-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ===========================================
   HEADER
   =========================================== */
.vs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--vs-header-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vs-border);
    transition: background 0.3s, box-shadow 0.3s;
}

.vs-header-scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vs-header-inner {
    max-width: var(--vs-container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.vs-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.vs-logo-icon {
    width: 40px;
    height: 40px;
    color: var(--vs-accent);
    flex-shrink: 0;
}

.vs-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.vs-logo-name {
    font-family: var(--vs-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--vs-text);
}

.vs-logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--vs-accent);
    opacity: 0.8;
}

/* Navigation */
.vs-nav {
    display: flex;
    gap: 2rem;
}

.vs-nav a {
    color: var(--vs-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.vs-nav a:hover,
.vs-nav a[aria-current="page"] {
    color: var(--vs-accent);
}

/* Auth Buttons */
.vs-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Button Styles */
.vs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.vs-header .vs-btn-text {
    color: var(--vs-text-muted);
    padding: 0.5rem 0.75rem;
}

.vs-header .vs-btn-text:hover {
    color: var(--vs-text);
}

.vs-header .vs-btn-ghost {
    color: var(--vs-text);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--vs-border);
}

.vs-header .vs-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--vs-border-strong);
}

.vs-header .vs-btn-primary {
    color: var(--vs-bg);
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #06b6d4, var(--vs-accent));
    box-shadow: 0 0 20px var(--vs-accent-glow);
    gap: 0.5rem;
}

.vs-header .vs-btn-primary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.vs-header .vs-btn-primary:hover {
    background: linear-gradient(135deg, var(--vs-accent), var(--vs-accent-hover));
    box-shadow: 0 0 30px var(--vs-accent-glow);
    transform: translateY(-1px);
}

.vs-header .vs-btn-primary:hover svg {
    transform: translateX(3px);
}

/* Mobile Toggle */
.vs-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.vs-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--vs-text);
    transition: all 0.3s;
}

/* Mobile Menu */
.vs-mobile-menu {
    display: none;
    position: fixed;
    top: var(--vs-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--vs-bg);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.vs-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vs-mobile-nav a {
    color: var(--vs-text);
    font-size: 1.25rem;
    font-weight: 500;
}

.vs-mobile-auth {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vs-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vs-mobile-auth .vs-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

/* Mobile Open State */
.vs-mobile-open .vs-mobile-menu {
    transform: translateX(0);
}

body.vs-mobile-open .vs-header {
    background: var(--vs-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.vs-mobile-open #vs-mobile-menu {
    background: var(--vs-bg);
}

.vs-mobile-open .vs-mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vs-mobile-open .vs-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.vs-mobile-open .vs-mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   MAIN CONTENT
   =========================================== */
.vs-main {
    min-height: 100vh;
    padding-top: var(--vs-header-height);
}

.vs-container {
    max-width: var(--vs-container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Pages (non-landing) */
.vs-content-page {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.vs-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--vs-text);
}

.vs-page-content {
    color: var(--vs-text-muted);
    line-height: 1.8;
}

.vs-page-content h2 {
    color: var(--vs-text);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.vs-page-content p {
    margin-bottom: 1rem;
}

.vs-page-content a {
    color: var(--vs-accent);
}

.vs-page-content a:hover {
    text-decoration: underline;
}

.vs-page-content ul,
.vs-page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.vs-page-content li {
    margin-bottom: 0.5rem;
}

/* ===========================================
   404 PAGE
   =========================================== */
.vs-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--vs-header-height) - 200px);
    text-align: center;
}

.vs-error-content h1 {
    font-size: 8rem;
    font-weight: 800;
    color: var(--vs-accent);
    line-height: 1;
    text-shadow: 0 0 60px var(--vs-accent-glow);
}

.vs-error-content p {
    font-size: 1.5rem;
    color: var(--vs-text-muted);
    margin: 1rem 0 2rem;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .vs-nav,
    .vs-auth {
        display: none;
    }

    .vs-mobile-toggle {
        display: flex;
    }

    .vs-mobile-menu {
        display: block;
    }

    .vs-header-inner {
        padding: 0 1rem;
    }

    .vs-container {
        padding: 0 1rem;
    }

    .vs-page-title {
        font-size: 2rem;
    }

    /* Logo responsive */
    .vs-logo-icon {
        width: 32px;
        height: 32px;
    }

    .vs-logo-name {
        font-size: 1rem;
    }

    .vs-logo-tagline {
        font-size: 0.55rem;
    }
}

/* ===========================================
   LANDING PAGE OVERRIDES
   =========================================== */
.vs-landing .vs-main {
    padding-top: 0;
}

.vs-landing .vs-header {
    background: transparent;
    border-bottom: none;
}

.vs-landing .vs-header-scrolled {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid var(--vs-border);
}
/* ===================================
   HERO SECTION
   =================================== */
.vs-hero {
  position: relative;
  min-height: 100vh;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

/* Dynamic background images */
.vs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vs-hero-bg-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.vs-hero-bg-image.active {
  opacity: 1;
}

.vs-hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(100%);
  transform: scale(1);
  transition: transform 10s linear;
}

.vs-hero-bg-image.active img {
  transform: scale(1.1);
}

.vs-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(2, 6, 23, 0.8) 0%, 
    rgba(2, 6, 23, 0.5) 50%, 
    rgba(2, 6, 23, 1) 100%);
  z-index: 1;
}

.vs-hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--slate-950) 100%);
  z-index: 1;
}

/* Hero content */
.vs-hero-content {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .vs-hero-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
  }
}

/* Hero left (copy) */
.vs-hero-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  order: 2;
}

@media (min-width: 1024px) {
  .vs-hero-left {
    order: 1;
  }
}

.vs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.1);
  color: rgba(34, 211, 238, 0.9);
  font-size: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: pulse 2s infinite;
  width: fit-content;
}

.vs-hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
}

.vs-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.vs-hero-title-gradient {
  background: linear-gradient(135deg, var(--cyan-400) 0%, var(--slate-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vs-hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-400);
  max-width: 32rem;
  line-height: 1.7;
}

.vs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.vs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 45%, #22d3ee 100%);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow:
    0 12px 30px rgba(37, 99, 235, 0.25),
    0 0 40px rgba(34, 211, 238, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.vs-btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.vs-btn-primary > * {
  position: relative;
  z-index: 1;
}

.vs-btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 16px 45px rgba(37, 99, 235, 0.35),
    0 0 55px rgba(34, 211, 238, 0.3);
  color: white;
}

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

.vs-btn-primary svg {
  transition: transform 0.2s;
}

.vs-btn-primary:hover svg {
  transform: translateX(4px);
}

.vs-hero-note {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vs-hero-note svg {
  color: var(--cyan-500);
}

/* Hero right (HUD) */
.vs-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  order: 1;
}

@media (min-width: 1024px) {
  .vs-hero-right {
    order: 2;
  }
}

/* HUD Frame */
.vs-hud-frame {
  position: relative;
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
  .vs-hud-frame {
    aspect-ratio: 4 / 3;
  }
}

/* HUD grid overlay */
.vs-hud-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
}

/* HUD corners */
.vs-hud-corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-color: rgba(34, 211, 238, 0.6);
  border-style: solid;
  border-width: 0;
}

.vs-hud-corner-tl {
  top: 1.5rem;
  left: 1.5rem;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 0.75rem;
}

.vs-hud-corner-tr {
  top: 1.5rem;
  right: 1.5rem;
  border-top-width: 2px;
  border-right-width: 2px;
  border-top-right-radius: 0.75rem;
}

.vs-hud-corner-bl {
  bottom: 1.5rem;
  left: 1.5rem;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-bottom-left-radius: 0.75rem;
}

.vs-hud-corner-br {
  bottom: 1.5rem;
  right: 1.5rem;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-bottom-right-radius: 0.75rem;
}

/* HUD center reticle */
.vs-hud-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-hud-reticle-dot {
  width: 4px;
  height: 4px;
  background: var(--cyan-500);
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s;
}

.vs-hud-reticle-dot.analyzing {
  opacity: 1;
  transform: scale(1.5);
}

.vs-hud-reticle-ping {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 50%;
  opacity: 0;
}

.vs-hud-reticle-ping.analyzing {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* HUD content area */
.vs-hud-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

@media (min-width: 640px) {
  .vs-hud-inner {
    padding: 2.5rem;
  }
}

/* HUD top bar */
.vs-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.vs-hud-context {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vs-hud-context-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-500);
  transition: opacity 0.5s;
}

.vs-hud-context-label svg {
  width: 14px;
  height: 14px;
}

.vs-hud-context-label.dim {
  opacity: 0.6;
}

.vs-hud-context-bar {
  height: 2px;
  width: 4rem;
  background: rgba(34, 211, 238, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.vs-hud-context-bar-fill {
  height: 100%;
  width: 0%;
  background: rgba(34, 211, 238, 0.5);
  transition: width 2s linear;
}

.vs-hud-context-bar-fill.active {
  width: 100%;
}

/* Scene indicators */
.vs-hud-scenes {
  display: flex;
  gap: 0.25rem;
}

.vs-hud-scene-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.vs-hud-scene-dot.active {
  background: var(--cyan-400);
  box-shadow: 0 0 5px var(--cyan-400);
}

/* HUD message area */
.vs-hud-messages {
  width: 100%;
  max-width: 20rem;
  align-self: center;
  margin-top: auto;
  margin-bottom: 1rem;
  position: relative;
  min-height: 7.5rem;
}

/* Analysis phase */
.vs-hud-analysis {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
  transition: all 0.5s;
  pointer-events: none;
}

.vs-hud-analysis.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vs-hud-analysis-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.vs-hud-analysis-header svg {
  width: 12px;
  height: 12px;
  color: var(--amber-400);
  animation: spin 1s linear infinite;
}

.vs-hud-analysis-header span {
  font-size: 0.625rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-400);
}

.vs-hud-analysis-text {
  font-size: 0.875rem;
  color: var(--slate-300);
  font-family: 'Rajdhani', sans-serif;
  border-left: 2px solid var(--amber-500);
  padding-left: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  backdrop-filter: blur(10px);
}

/* Suggestion phase */
.vs-hud-suggestion {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
  transition: all 0.5s;
  pointer-events: none;
}

.vs-hud-suggestion.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vs-hud-suggestion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.vs-hud-suggestion-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vs-hud-suggestion-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-400);
}

.vs-hud-suggestion-label span {
  font-size: 0.625rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
}

.vs-hud-suggestion-timer {
  width: 3rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.vs-hud-suggestion-timer-fill {
  height: 100%;
  width: 100%;
  background: var(--cyan-500);
  transition: width 4.5s linear;
}

.vs-hud-suggestion-timer-fill.active {
  width: 0%;
}

.vs-hud-suggestion-box {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 1rem;
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  box-shadow: 0 0 30px rgba(8, 145, 178, 0.2);
}

.vs-hud-suggestion-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  color: white;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* HUD footer */
.vs-hud-footer {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0.3;
}

.vs-hud-footer span {
  font-size: 0.5rem;
  font-family: monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
}

/* Scroll indicator */
.vs-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
  color: var(--slate-600);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.vs-features {
  padding: 6rem 0;
  background: var(--slate-950);
  position: relative;
}

.vs-features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vs-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.vs-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.vs-section-divider {
  width: 5rem;
  height: 4px;
  background: var(--cyan-500);
  margin: 0 auto;
  border-radius: 9999px;
  opacity: 0.5;
}

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

.vs-feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s;
  overflow: hidden;
}

.vs-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
}

.vs-feature-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  border-radius: 0 0 0 100%;
  margin-right: -2.5rem;
  margin-top: -2.5rem;
  transition: transform 0.3s;
}

.vs-feature-card:hover .vs-feature-card-glow {
  transform: scale(1.1);
}

.vs-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  color: var(--cyan-400);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s;
}

.vs-feature-card:hover .vs-feature-icon {
  border-color: rgba(255, 255, 255, 0.3);
}

.vs-feature-icon svg {
  width: 28px;
  height: 28px;
}

.vs-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

.vs-feature-desc {
  color: var(--slate-400);
  line-height: 1.6;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.vs-how-it-works {
  padding: 6rem 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.vs-how-it-works-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.2), transparent);
}

.vs-how-it-works-glow {
  position: absolute;
  top: 10rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 50%;
  filter: blur(100px);
}

.vs-how-it-works-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .vs-how-it-works-inner {
    flex-direction: row;
  }
}

.vs-how-it-works-content {
  width: 100%;
  order: 2;
}

@media (min-width: 768px) {
  .vs-how-it-works-content {
    width: 50%;
    order: 1;
  }
}

.vs-how-it-works-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
}

.vs-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  padding-left: 1rem;
}

.vs-steps-line {
  position: absolute;
  left: 27px;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(34, 211, 238, 0.5), transparent);
}

.vs-step {
  display: flex;
  gap: 2rem;
  position: relative;
}

.vs-step-number {
  position: relative;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-family: monospace;
  font-size: 1.125rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s;
}

.vs-step:hover .vs-step-number {
  border-color: rgba(34, 211, 238, 0.5);
}

.vs-step-content {
  padding-top: 0.25rem;
}

.vs-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.vs-step:hover .vs-step-title {
  color: var(--cyan-300);
}

.vs-step-desc {
  color: var(--slate-400);
}

/* How it works visual */
.vs-how-it-works-visual {
  width: 100%;
  order: 1;
}

@media (min-width: 768px) {
  .vs-how-it-works-visual {
    width: 50%;
    order: 2;
  }
}

.vs-how-it-works-mock {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.vs-how-it-works-mock img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: transform 0.7s;
}

.vs-how-it-works-mock:hover img {
  transform: scale(1.05);
}

.vs-how-it-works-mock-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--slate-950), transparent);
}

.vs-how-it-works-mock-panel {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--cyan-500);
  padding: 1.25rem;
  border-radius: 0.5rem;
  transition: transform 0.5s;
}

.vs-how-it-works-mock:hover .vs-how-it-works-mock-panel {
  transform: translateY(-5px);
}

.vs-how-it-works-mock-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.vs-how-it-works-mock-label {
  font-size: 0.625rem;
  font-family: monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.vs-how-it-works-mock-conf {
  font-size: 0.625rem;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.4);
}

.vs-how-it-works-mock-text {
  font-size: 1.125rem;
  font-family: 'Rajdhani', sans-serif;
  color: white;
  line-height: 1.4;
}

/* ===================================
   BETA SECTION
   =================================== */
.vs-beta {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.vs-beta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-950), var(--slate-900));
}

.vs-beta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
}

.vs-beta-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.vs-beta-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-family: monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.vs-beta-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.vs-beta-subtitle {
  font-size: 1.25rem;
  color: var(--slate-300);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.vs-beta-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vs-btn-beta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: white;
  color: var(--slate-950);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
}

.vs-btn-beta:hover {
  background: rgba(236, 254, 255, 1);
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.3);
  color: var(--slate-950);
}

.vs-beta-note {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Email capture */
.vs-email-capture {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vs-email-capture p {
  color: var(--slate-400);
  margin-bottom: 2rem;
}

.vs-email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .vs-email-form {
    flex-direction: row;
  }
}

.vs-email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.vs-email-input::placeholder {
  color: var(--slate-600);
}

.vs-email-input:focus {
  border-color: var(--cyan-500);
}

.vs-email-btn {
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.vs-email-btn:hover {
  background: var(--slate-700);
}

.vs-email-disclaimer {
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-top: 1rem;
}

/* ===================================
   FAQ SECTION
   =================================== */
.vs-faq {
  padding: 6rem 0;
  background: var(--slate-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vs-faq-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vs-faq-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
}

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

.vs-faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  border-radius: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
  overflow: hidden;
}

.vs-faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.vs-faq-question {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  margin: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.vs-faq-question::-webkit-details-marker {
  display: none;
}

.vs-faq-question::marker {
  content: "";
}

.vs-faq-question:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.5);
  outline-offset: -2px;
}

.vs-faq-question::after {
  content: "+";
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  flex: 0 0 auto;
  line-height: 1;
}

.vs-faq-item[open] {
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.vs-faq-item[open] .vs-faq-question::after {
  transform: rotate(45deg);
  color: var(--cyan-400);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.25);
}

.vs-faq-number {
  color: var(--cyan-500);
  font-family: monospace;
  flex: 0 0 3ch;
  width: 3ch;
  text-align: right;
}

.vs-faq-question-text {
  flex: 1 1 auto;
  line-height: 1.35;
}

.vs-faq-answer {
  color: var(--slate-400);
  padding: 0 1.5rem 1.25rem calc(1.5rem + 3ch + 0.75rem);
  line-height: 1.6;
  margin: 0;
}

.vs-faq-item[open] .vs-faq-answer {
  animation: vs-faq-in 180ms ease-out;
}

@keyframes vs-faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   FOOTER
   =================================== */
.vs-footer {
  padding: 4rem 0;
  background: black;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vs-footer-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
  pointer-events: none;
}

.vs-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.vs-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.vs-footer-brand:hover {
  opacity: 1;
}

.vs-footer-brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: white;
  font-size: 1.125rem;
}

.vs-footer-disclaimer {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
}

.vs-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.vs-footer-links a {
  background: none;
  border: none;
  color: var(--slate-500);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.vs-footer-links a:hover {
  color: var(--cyan-400);
}

.vs-footer-links a:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.5);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%) translateX(-50%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0) translateX(-50%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* ===================================
   PORTAL PAGES (Login, Signup, Dashboard)
   ======================================== */

body.vs-shell {
  background-color: var(--slate-950) !important;
  min-height: 100vh;
}

.vs-shell-content {
  max-width: 480px;
  margin: 80px auto 4rem;
  padding: 0 1.5rem;
  padding-top: 100px;
  position: relative;
  z-index: 10;
}

.vs-shell-content > div,
.vs-shell-content > form {
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.vs-shell-content h1,
.vs-shell-content h2 {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.75rem;
}

.vs-shell-content label {
  display: block;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.vs-shell-content input[type='text'],
.vs-shell-content input[type='email'],
.vs-shell-content input[type='password'],
.vs-shell-content textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--slate-950);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.vs-shell-content input:focus,
.vs-shell-content textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.vs-shell-content button,
.vs-shell-content input[type='submit'],
.vs-shell-content .button {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--cyan-500);
  color: var(--slate-950);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
}

.vs-shell-content button:hover,
.vs-shell-content input[type='submit']:hover,
.vs-shell-content .button:hover {
  background: #67e8f9;
  transform: translateY(-1px);
}

.vs-shell-content a {
  color: var(--cyan-400);
}

.vs-shell-content a:hover {
  color: #67e8f9;
}

.vs-shell-content p {
  color: var(--slate-400);
  text-align: center;
  margin-top: 1.5rem;
}

body.vs-shell,
body.vs-shell #page,
body.vs-shell .site-content,
body.vs-shell .entry-content {
  background-color: var(--slate-950) !important;
  color: var(--slate-200) !important;
}

html, body.vs-shell {
  height: 100%;
  min-height: 100vh;
}

/* ===================================

/* ===========================================
   HEADER BUTTON OVERRIDES
   (prevents landing CTA styles leaking into header auth buttons)
   =========================================== */
.vs-header .vs-btn-primary {
    border-radius: 999px;
    border: none;
    overflow: visible;
}

.vs-header .vs-btn-primary::before {
    content: none;
}
