/* ---------- CSS Variables & Reset ---------- */
:root {
  --purple: #7c3aed;
  --violet: #a855f7;
  --glow: #c084fc;
  --stardust: #f5f3ff;
  --white: #f5f3ff;
  --muted: #8b7aa8;
  --border: rgba(124, 58, 237, 0.25);
  --glass: rgba(124, 58, 237, 0.08);
  --glass2: rgba(255, 255, 255, 0.04);
  --font: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --tr: 0.22s cubic-bezier(.4, 0, .2, 1);
  /* luxury gold */
  --gold: #d4af37;
  --gold-light: #f6e27a;
  --gold-dark: #aa8c2c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #07061a;
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 100vh;
}

/* ---------- Aurora Background ---------- */
.aurora-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 65% at 18% 0%, #0e2a4a 0%, transparent 62%),
              radial-gradient(ellipse 95% 55% at 85% 8%, #2a0f3d 0%, transparent 60%),
              radial-gradient(ellipse 80% 60% at 50% 100%, #1a0e30 0%, transparent 65%),
              linear-gradient(180deg, #060816 0%, #050410 55%, #03020a 100%);
}
.aurora-1 {
  position: absolute;
  top: -10%; left: -22%;
  width: 85%; height: 75%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(20,210,200,0.16) 0%, rgba(10,150,210,0.08) 45%, transparent 75%);
  filter: blur(60px);
  animation: aShift1 14s ease-in-out infinite;
}
.aurora-2 {
  position: absolute;
  top: -15%; right: -18%;
  width: 75%; height: 85%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(230,60,170,0.16) 0%, rgba(140,20,180,0.09) 50%, transparent 75%);
  filter: blur(70px);
  animation: aShift2 18s ease-in-out infinite;
}
.aurora-3 {
  position: absolute;
  top: 8%; left: 22%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(120,90,255,0.12) 0%, transparent 80%);
  filter: blur(80px);
  animation: aShift3 22s ease-in-out infinite;
}
.aurora-4 {
  position: absolute;
  bottom: -20%; left: 5%;
  width: 65%; height: 65%;
  background: radial-gradient(ellipse 100% 100% at 50% 100%, rgba(255,140,60,0.08) 0%, rgba(230,60,90,0.05) 45%, transparent 75%);
  filter: blur(75px);
  animation: aShift4 26s ease-in-out infinite;
}
@keyframes aShift4 {
  0%, 100% { transform: scale(1) translateX(0) }
  50% { transform: scale(1.15) translateX(4%) }
}
@keyframes aShift1 {
  0%, 100% { transform: scaleX(1) skewY(0deg) }
  40% { transform: scaleX(1.18) skewY(-2deg) }
  70% { transform: scaleX(0.9) skewY(1.5deg) }
}
@keyframes aShift2 {
  0%, 100% { transform: scaleX(1) skewY(0deg) }
  30% { transform: scaleX(0.85) skewY(2deg) }
  65% { transform: scaleX(1.12) skewY(-1.5deg) }
}
@keyframes aShift3 {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.25) }
}
#star-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem;
  height: 60px;
  background: rgba(18, 16, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,58,237,0.2);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
nav.scrolled {
  border-bottom-color: rgba(124,58,237,0.28);
  box-shadow: 0 1px 0 0 rgba(124,58,237,0.1), 0 4px 24px rgba(0,0,0,0.4);
}
.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--violet), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  justify-self: start;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
  justify-self: center;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.38rem 1rem;
  border-radius: 6px;
  transition: color var(--tr), background var(--tr);
  letter-spacing: 0.01em;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(124,58,237,0.15);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}
.lang-wrap {
  position: relative;
}

/* Luxury Language Button */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid var(--gold);
  color: #1a1030;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 28px;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 0 12px rgba(212,175,55,0.2), 0 2px 6px rgba(0,0,0,0.1);
  letter-spacing: 0.02em;
}
.lang-btn svg {
  color: var(--gold-dark);
}
.lang-btn:hover {
  background: #fffef5;
  border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(212,175,55,0.4), 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 148px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
}
.lang-dropdown button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #374151;
  font-family: var(--font);
  font-size: 0.82rem;
  text-align: left;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: all var(--tr);
}
.lang-dropdown button:hover {
  background: #f3f0ff;
  color: var(--purple);
}
.lang-dropdown button.active {
  color: var(--purple);
  font-weight: 700;
  background: #ede9fe;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 60px 0 0;
  overflow-x: visible;
  overflow-y: clip;
}
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  gap: 2rem;
}
.hero-left {
  flex: 0 0 auto;
  width: 42%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  padding-bottom: 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 0 20px rgba(124,58,237,0.2);
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet) 20%, var(--glow) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 420px;
}
.hero-right {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: visible;
}

/* Planet wrapper */
.planet-wrap {
  position: relative;
  width: min(56vw, 660px);
  height: min(40vw, 460px);
  flex-shrink: 0;
  animation: planetDrift 16s ease-in-out infinite;
}
@keyframes planetDrift {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-16px) }
}
.planet-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(ellipse 60% 55% at 38% 35%, rgba(168,85,247,0.28) 0%, transparent 60%),
              radial-gradient(ellipse 80% 80% at 50% 50%, rgba(90,20,180,0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
#planet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  pointer-events: auto;
}

/* Stat badges */
.stat-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: rgba(6,4,18,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(168,85,247,0.16);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05), 0 0 0 1px rgba(0,0,0,0.3);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), border-color 0.28s, box-shadow 0.28s;
  white-space: nowrap;
  cursor: default;
}
.stat-badge:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(168,85,247,0.35);
  box-shadow: 0 12px 36px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 18px rgba(130,50,240,0.12);
}
.sb-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(120,50,230,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-num {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #f0eaff;
}
.sb-lbl {
  font-size: 0.56rem;
  font-weight: 600;
  color: rgba(168,140,210,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.22rem;
}
.sb-tl { top: 4%; left: -2% }
.sb-bl { bottom: 10%; left: 0% }
.sb-tr { top: 4%; right: -2% }
.sb-br { bottom: 10%; right: 0% }

/* CTA bar */
.hero-cta-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 3rem 2.5rem;
  position: relative;
  z-index: 3;
}
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(124,58,237,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--stardust);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--white);
  background: var(--glass);
}
.hero-cta-bar .btn-primary,
.hero-cta-bar .btn-ghost {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  border-radius: 8px;
}
.hero-cta-bar .btn-primary svg,
.hero-cta-bar .btn-ghost svg {
  width: 16px;
  height: 16px;
}

/* ---------- Social Banner – Brand-filled buttons (email removed) ---------- */
.social-banner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 1.3rem;
  border-radius: 12px;
  transition: all var(--tr);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
}
.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  filter: brightness(1.1);
}
/* Individual brand colors */
.social-yt {
  background: #FF0000;
  border-color: rgba(255,255,255,0.2);
}
.social-yt:hover {
  background: #e60000;
}
.social-ig {
  background: #E1306C;
  border-color: rgba(255,255,255,0.2);
}
.social-ig:hover {
  background: #c72a5c;
}
.social-dc {
  background: #5865F2;
  border-color: rgba(255,255,255,0.2);
}
.social-dc:hover {
  background: #4752c4;
}
/* Email button hidden */
.social-em {
  display: none;
}

/* ---------- Luxury Gold Grid (background pattern) ---------- */
.page-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(212,175,55,0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ---------- Section Styling ---------- */
.sep {
  position: relative;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 3rem;
}

section {
  position: relative;
  z-index: 2;
  padding: 76px 3rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a855f7, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
  max-width: 120px;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
  line-height: 1.05;
}
.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  line-height: 1.78;
  margin-bottom: 2.6rem;
}

/* Features grid – now fully opaque */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: #0c0a1c;               /* solid dark background, no transparency */
  padding: 1.8rem;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
  position: relative;
  border: 1px solid transparent;
  border-radius: 0;
}
.feature-card:hover {
  background: #131028;               /* slightly lighter solid on hover */
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 0 20px rgba(124,58,237,0.1), inset 0 0 0 1px rgba(168,85,247,0.08);
  transform: translateY(-2px);
  z-index: 2;
}
.feat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.feature-card:hover .feat-icon {
  border-color: var(--violet);
  box-shadow: 0 0 8px rgba(168,85,247,0.25);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Objects conveyor – now fully opaque */
.objects-track-wrap {
  overflow: hidden;
  position: relative;
  margin: 0 -3rem;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.objects-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  padding: 0.6rem 3rem;
  animation: conveyor 36s linear infinite;
}
.objects-track:hover {
  animation-play-state: paused;
}
@keyframes conveyor {
  0% { transform: translateX(0) }
  100% { transform: translateX(calc(-50%)) }
}
.object-card {
  flex-shrink: 0;
  width: 210px;
  background: #0c0a1c;               /* solid dark background */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr), background var(--tr);
}
.object-card:hover {
  background: #131028;               /* solid hover */
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(124,58,237,0.18);
}
.object-icon {
  width: 40px; height: 40px;
  margin-bottom: 0.8rem;
}
.object-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.22rem;
  letter-spacing: -0.02em;
}
.object-card .tag {
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--glow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.object-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.42rem;
  line-height: 1.6;
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--violet), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
  justify-self: start;
}
.footer-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  justify-self: center;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color var(--tr);
}
.footer-links a:hover {
  color: var(--violet);
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  justify-self: end;
  text-align: right;
}

/* ---------- Modals & Toast ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5,4,13,0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal {
  background: #0d0b1e;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.modal-header {
  padding: 1.6rem 1.9rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.modal-title span {
  display: block;
  background: linear-gradient(135deg, var(--violet), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.18rem;
}
.close-btn {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 30px; height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  flex-shrink: 0;
}
.close-btn:hover {
  color: var(--white);
  background: rgba(124,58,237,0.28);
}
.modal-body {
  padding: 1.4rem 1.9rem 1.9rem;
}
.tab-row {
  display: flex;
  gap: 0.2rem;
  background: var(--glass2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.35rem;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.46rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--tr);
}
.tab-btn.active {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(124,58,237,0.28);
}
.form-group {
  margin-bottom: 0.88rem;
}
.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.36rem;
}
.form-group input {
  width: 100%;
  background: var(--glass2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 0.6rem 0.86rem;
  transition: border-color var(--tr);
  outline: none;
}
.form-group input::placeholder {
  color: rgba(139,122,168,0.42);
}
.form-group input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.13);
}
.form-group input.err {
  border-color: #f43f5e;
}
.form-row {
  display: flex;
  gap: 0.7rem;
}
.form-row .form-group {
  flex: 1;
}
.error-msg {
  color: #f43f5e;
  font-size: 0.71rem;
  margin-top: 0.26rem;
}
.tos-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.88rem 0;
}
.tos-check input[type="checkbox"] {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--violet);
  cursor: pointer;
}
.tos-check label {
  font-size: 0.77rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.tos-check a {
  color: var(--violet);
  text-decoration: none;
}
.btn-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.74rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 0 18px rgba(124,58,237,0.26);
}
.btn-submit:hover {
  background: var(--violet);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-login {
  display: flex;
  gap: 0.6rem;
}
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  background: var(--glass2);
  border: 1px solid var(--border);
  color: var(--stardust);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.56rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--tr);
}
.social-btn:hover {
  border-color: var(--violet);
  background: var(--glass);
}
.success-screen {
  text-align: center;
  padding: 0.5rem 0;
}
.success-icon-wrap {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.success-screen h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.42rem;
  letter-spacing: -0.03em;
}
.success-screen p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.tos-modal-body {
  padding: 1.4rem 1.9rem 1.9rem;
  max-height: 55vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.tos-content h3 {
  font-size: 0.93rem;
  font-weight: 600;
  margin: 1.35rem 0 0.42rem;
  color: var(--violet);
}
.tos-content h3:first-child {
  margin-top: 0;
}
.tos-content p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #110d2e;
  border: 1px solid var(--violet);
  color: var(--stardust);
  padding: 0.68rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.84rem;
  box-shadow: 0 8px 24px rgba(124,58,237,0.28);
  animation: slideUp .28s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px) }
  to { opacity: 1; transform: translateY(0) }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .18s, transform .18s;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transform: scale(0.97);
}

/* ---------- Responsive ---------- */
@media(max-width:900px) {
  .hero-split {
    flex-direction: column;
    padding: 0 1.5rem;
    text-align: center;
  }
  .hero-left {
    width: 100%;
    align-items: center;
  }
  .hero-right {
    width: 100%;
    min-height: 300px;
  }
  .planet-wrap {
    width: min(70vw, 340px);
    height: min(70vw, 340px);
  }
  .sb-tl, .sb-bl, .sb-tr, .sb-br {
    display: none;
  }
  nav {
    padding: 0 1.5rem;
    grid-template-columns: 1fr auto;
  }
  .nav-links {
    display: none;
  }
  section, footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sep {
    margin: 0 1.5rem;
  }
}
