/* OmniRogue • Shared styles */
:root {
  --background: #070812;
  --background-secondary: #0b0d1f;
  --surface: #101433;
  --card: #12183a;
  --foreground: #f4f6ff;
  --text-secondary: rgba(244, 246, 255, 0.72);
  --text-muted: rgba(244, 246, 255, 0.52);
  --text-faint: rgba(244, 246, 255, 0.32);
  --primary: #8b5cff;
  --primary-hover: #9d75ff;
  --primary-glow: #b79cff;
  --secondary: #35d7ff;
  --accent: #ff4fd8;
  --success: #2bffb3;
  --warning: #ffc857;
  --destructive: #ff4f4f;
  --border: rgba(255, 255, 255, 0.08);
  --border-emphasis: rgba(255, 255, 255, 0.16);
  --glass-bg: rgba(11, 13, 31, 0.8);
  --glass-card-bg: rgba(18, 24, 58, 0.6);
  --nav-bg: rgba(7, 8, 18, 0.85);
  --nav-height: 64px;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --font-sans: "Inter", "Manrope", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --container: 1200px;
  --container-wide: 1320px;
  --shadow-glow: 0 0 40px rgba(139, 92, 255, 0.25);
  --shadow-card: 0 4px 28px rgba(7, 8, 18, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px circle at 18% 8%, rgba(139, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px circle at 82% 28%, rgba(53, 215, 255, 0.12), transparent 60%),
    radial-gradient(800px circle at 50% 90%, rgba(255, 79, 216, 0.10), transparent 65%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

::selection { background: rgba(139, 92, 255, 0.45); color: white; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 8px; border: 3px solid var(--background); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--foreground); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #8b5cff, #6366f1);
  color: white;
  box-shadow: 0 8px 26px rgba(139, 92, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  border-color: var(--border-emphasis);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}
.btn-ghost:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.04); }

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-glow);
  background: rgba(139, 92, 255, 0.10);
  border: 1px solid rgba(139, 92, 255, 0.30);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--primary-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
}
.section-header p {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 255, 0.35), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #8b5cff 0%, #35d7ff 50%, #ff4fd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-models {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto 36px;
}
.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.model-chip .dot {
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.hero-stats .stars {
  color: #ffc857;
  letter-spacing: 1px;
}
.hero-stats .sep { opacity: 0.4; }

/* Logo marquee */
.marquee {
  margin: 48px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 40s linear infinite;
}
.marquee-item {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ============================================================
   COMPOSER MOCK
   ============================================================ */
.composer-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(139, 92, 255, 0.12), rgba(53, 215, 255, 0.06));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-emphasis);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.composer-window {
  background: rgba(7, 8, 18, 0.85);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.composer-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.composer-dots { display: flex; gap: 6px; }
.composer-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.composer-dots span:first-child { background: #ff5f57; }
.composer-dots span:nth-child(2) { background: #febc2e; }
.composer-dots span:nth-child(3) { background: #28c840; }
.composer-tab {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.composer-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  min-height: 320px;
}
@media (max-width: 860px) {
  .composer-body { grid-template-columns: 1fr; }
}

.composer-prompt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.composer-prompt textarea {
  background: transparent;
  border: none;
  resize: none;
  width: 100%;
  font-size: 15px;
  color: var(--foreground);
  outline: none;
  min-height: 84px;
  line-height: 1.5;
}
.composer-prompt textarea::placeholder { color: var(--text-faint); }
.composer-prompt-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.tag-pill.premium {
  color: var(--primary-glow);
  background: rgba(139, 92, 255, 0.12);
  border-color: rgba(139, 92, 255, 0.3);
}

.composer-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.composer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.composer-card h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.composer-card .empty {
  height: 110px;
  border: 1px dashed var(--border-emphasis);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 12.5px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.gallery-card {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-emphasis);
}
.gallery-card .art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(110%);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 8, 18, 0.85));
}
.gallery-card .meta {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 1;
  font-size: 13px;
  color: var(--foreground);
}
.gallery-card .meta .model {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-glow);
  background: rgba(139, 92, 255, 0.18);
  border: 1px solid rgba(139, 92, 255, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.gallery-card .meta .title { font-weight: 600; }
.gallery-card .meta .author {
  color: var(--text-muted);
  font-size: 11.5px;
  margin-top: 2px;
}

/* art swatches */
.art-1 { background: radial-gradient(circle at 30% 30%, #ff4fd8, #6e44ff 30%, #0b0d1f 80%); }
.art-2 { background: radial-gradient(circle at 70% 30%, #ffc857, #ff4f4f 40%, #12183a 90%); }
.art-3 { background: linear-gradient(135deg, #060d1f 0%, #1a3066 40%, #ff7a18 100%); }
.art-4 { background: linear-gradient(135deg, #fff1e8 0%, #ffb6e1 60%, #ff4fd8 100%); }
.art-5 { background: linear-gradient(135deg, #06281f 0%, #07533b 50%, #2bffb3 100%); }
.art-6 { background: conic-gradient(from 180deg, #8b5cff, #35d7ff, #ff4fd8, #8b5cff); }
.art-7 { background: radial-gradient(circle at 50% 100%, #ffc857, #ff4fd8 30%, #070812 80%); }
.art-8 { background: linear-gradient(135deg, #ff4f4f 0%, #ff4fd8 50%, #8b5cff 100%); }
.art-9 { background: radial-gradient(circle at 50% 50%, #35d7ff, #1f3f9e 50%, #070812 90%); }
.art-10 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.art-11 { background: linear-gradient(135deg, #6e44ff 0%, #ff4fd8 50%, #ffc857 100%); }
.art-12 { background: radial-gradient(circle at 50% 0%, #2bffb3, #35d7ff 40%, #070812 100%); }

/* ============================================================
   ROUTER DIAGRAM
   ============================================================ */
.router {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 720px) {
  .router { grid-template-columns: 1fr; gap: 18px; text-align: center; }
}
.router-side { display: flex; flex-direction: column; gap: 10px; }
.router-node {
  background: var(--glass-card-bg);
  border: 1px solid var(--border-emphasis);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.router-node::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
}
.router-center {
  background: linear-gradient(135deg, rgba(139, 92, 255, 0.22), rgba(53, 215, 255, 0.18));
  border: 1px solid var(--border-emphasis);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.router-center img { height: 44px; margin: 0 auto 12px; }
.router-center .label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.router-center .name { font-weight: 800; font-size: 22px; margin-top: 4px; }

/* ============================================================
   STUDIOS
   ============================================================ */
.studios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .studios { grid-template-columns: 1fr; } }
.studio-card {
  background: var(--glass-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.studio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 255, 0.4);
  box-shadow: var(--shadow-glow);
}
.studio-card .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--primary-glow);
}
.studio-card h3 {
  font-size: 1.65rem;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
}
.studio-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.studio-card .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.studio-card .pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.studio-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--primary-glow);
  font-weight: 600;
  font-size: 14.5px;
}
.studio-card .cta:hover { color: var(--foreground); }

/* ============================================================
   COMPARE
   ============================================================ */
.compare-table {
  background: var(--glass-card-bg);
  border: 1px solid var(--border-emphasis);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-size: 14.5px;
}
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table th { background: rgba(255, 255, 255, 0.02); font-weight: 600; }
.compare-table td:first-child, .compare-table th:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 200px;
}
.compare-table .own { background: linear-gradient(180deg, rgba(139, 92, 255, 0.10), rgba(139, 92, 255, 0.04)); }
.compare-table .own::after { display: none; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .check.tiny { color: var(--text-muted); font-size: 11.5px; font-weight: 500; }
.compare-table .x { color: var(--destructive); }
.compare-table .note { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--glass-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open], .faq-item:hover { border-color: var(--border-emphasis); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--primary-glow);
  letter-spacing: 0.18em;
  margin-right: 14px;
}
.faq-question .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(139, 92, 255, 0.12);
  border: 1px solid rgba(139, 92, 255, 0.3);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ============================================================
   CREATORS
   ============================================================ */
.creators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .creators { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .creators { grid-template-columns: 1fr; } }
.creator-card {
  background: var(--glass-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.creator-card:hover { transform: translateY(-2px); border-color: var(--border-emphasis); }
.creator-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}
.creator-card .name { font-weight: 600; }
.creator-card .handle { color: var(--text-muted); font-size: 13px; }
.creator-card .stat {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.creator-card .stat strong {
  color: var(--secondary);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background-secondary);
  padding: 64px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h6 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--foreground); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   REGISTER PAGE
   ============================================================ */
.auth-shell {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 56px 24px;
}
.auth-card-wrap {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.auth-header {
  text-align: center;
}
.auth-header h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, #b79cff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-header p {
  color: var(--text-secondary);
  font-size: 15px;
}
.auth-card {
  background: var(--glass-card-bg);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.10);
}
.social-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--foreground);
  transition: filter 0.2s ease;
  margin-bottom: 12px;
}
.social-btn:last-child { margin-bottom: 0; }
.social-btn:hover { filter: brightness(1.1); }
.social-btn svg { width: 20px; height: 20px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-faint);
  font-size: 13px;
  margin: 22px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(99, 102, 241, 0.22);
}

.field { margin-bottom: 14px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}
.field-label .optional {
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 400;
  margin-left: 6px;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap svg.lead-icon {
  position: absolute;
  left: 14px;
  width: 16px; height: 16px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.input-wrap input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: var(--foreground);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-wrap input::placeholder { color: var(--text-faint); }
.input-wrap input:focus {
  border-color: rgba(139, 92, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 255, 0.18);
}
.input-wrap .toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
  padding: 4px;
  display: grid;
  place-items: center;
}
.input-wrap .toggle-pass:hover { color: rgba(255, 255, 255, 0.8); }
.input-wrap .toggle-pass svg { width: 18px; height: 18px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.checkbox-row input { 
  width: 18px; height: 18px; 
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-row a { color: var(--primary-glow); text-decoration: underline; text-underline-offset: 3px; }
.checkbox-row a:hover { color: var(--foreground); }

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15.5px;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 4px 22px rgba(79, 70, 229, 0.32);
  transition: filter 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-foot {
  text-align: center;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 14px;
}
.auth-foot a { color: var(--primary-glow); font-weight: 600; }
.auth-foot a:hover { color: var(--foreground); }

.legal-fine {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 16px;
}
.legal-fine a { color: var(--primary-glow); }
.legal-fine a:hover { color: var(--foreground); }

.auth-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}
.auth-perks .perk {
  padding: 14px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.auth-perks .perk strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2px;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-shell h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.legal-shell .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal-shell h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--foreground);
  letter-spacing: -0.015em;
}
.legal-shell h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--primary-glow);
  letter-spacing: -0.01em;
}
.legal-shell p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-shell ul {
  margin: 10px 0 18px 20px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-shell ul li { margin-bottom: 6px; }
.legal-shell strong { color: var(--foreground); }
.legal-shell address {
  font-style: normal;
  color: var(--text-secondary);
  background: var(--glass-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 12px 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
}
.legal-shell a { color: var(--primary-glow); }
.legal-shell a:hover { color: var(--foreground); }
.legal-shell hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-grad {
  background: linear-gradient(135deg, #8b5cff, #35d7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-center { text-align: center; }

.hidden { display: none !important; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  }
  .nav-mobile-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-mobile-open .nav-cta { display: flex; }
  .nav-mobile-open .nav-cta .btn {
    display: inline-flex;
    margin-top: 16px;
  }
  .section { padding: 72px 0; }
}
