[v-cloak] { display: none !important; }

/* ---------- 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);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  background: #07061a;
  scrollbar-gutter: stable;
}

body {
  background: #07061a;
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- 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: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0 3rem;
  height: 60px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  will-change: width, padding, top;
  transition: width 0.45s cubic-bezier(.65,0,.35,1),
              padding 0.45s cubic-bezier(.65,0,.35,1),
              top 0.45s cubic-bezier(.65,0,.35,1),
              background 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              border-radius 0.4s ease;
}
nav.compact {
  top: 14px;
  width: min(1160px, 100% - 3rem);
  padding: 0 1.5rem;
  background: rgba(14, 11, 30, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(124,58,237,0.28);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
  transition: transform 0.35s ease;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.35s cubic-bezier(.4,0,.2,1);
}
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.nav-logo svg {
  transition: width 0.35s ease, height 0.35s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  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),
              font-size 0.35s cubic-bezier(.4,0,.2,1),
              padding 0.35s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.01em;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(124,58,237,0.15);
}
.nav-links a.active-link {
  color: var(--white);
  background: rgba(124,58,237,0.22);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}
.lang-wrap {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--glass);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.78);
  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: inset 0 1px 0 rgba(255,255,255,0.05);
  letter-spacing: 0.02em;
}
.lang-btn svg {
  color: var(--glow);
}
.lang-btn:hover {
  background: rgba(124,58,237,0.16);
  border-color: var(--violet);
  color: var(--white);
  box-shadow: 0 0 16px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0d0b1e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 148px;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
.lang-dropdown button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  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: var(--glass);
  color: var(--white);
}
.lang-dropdown button.active {
  color: var(--violet);
  font-weight: 700;
  background: rgba(124,58,237,0.16);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--glass2);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}
.nav-menu-btn:hover {
  border-color: var(--violet);
  background: rgba(124,58,237,0.16);
}
.nav-menu-btn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--stardust);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
}
.nav-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.nav-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-signin {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--tr), background var(--tr);
}
.nav-signin:hover {
  color: var(--white);
  background: rgba(124,58,237,0.15);
}
.nav-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(100deg, var(--purple), var(--violet));
  box-shadow: 0 0 16px rgba(124,58,237,0.32);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--tr), filter var(--tr), box-shadow var(--tr);
}
.nav-signup:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 0 24px rgba(124,58,237,0.48);
}

.nav-link-auth { display: none; }

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 120px 0 24px;
  overflow-x: clip;
  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: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #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(100deg, 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: 380px;
  overflow: visible;
}

.planet-wrap {
  position: relative;
  width: clamp(260px, 46vw, 620px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  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;
}
.planet-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.planet-loading.is-hidden {
  opacity: 0;
}
.planet-loading-dots {
  display: flex;
  gap: 6px;
}
.planet-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  animation: dotBounce 1.1s ease-in-out infinite;
}
.planet-loading-dots span:nth-child(2) { animation-delay: 0.18s; }
.planet-loading-dots span:nth-child(3) { animation-delay: 0.36s; }
.planet-loading-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(192,132,252,0.85);
}

.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.68rem;
  font-weight: 600;
  color: rgba(230,215,255,0.75);
  letter-spacing: 0.08em;
  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% }

.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(100deg, 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;
}

/* ---------- Luxury Gold Grid (background pattern) ---------- */
.page-grid {
  display: none;
}

/* ---------- Section Styling ---------- */
.sep {
  display: none;
}

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: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #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;
}

/* ---------- Keyword underline treatment ---------- */
.kw {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.features-section {
  position: relative;
  padding-top: 56px;
  background: #08061a;
  border-top: 1px solid rgba(168,85,247,0.18);
}
.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  transform: none;
  width: auto;
  max-width: 100vw;
  height: 100%;
  background: #08061a;
  border-top: 1px solid rgba(168,85,247,0.18);
  z-index: -1;
}
.features-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 0;
}
.features-header-left {
  flex: 1 1 auto;
  min-width: 0;
}
/* ===== Media slots (placeholder until an image is supplied) ===== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.media-slot {
  position: relative;
  overflow: hidden;
}
.media-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.media-slot.has-image {
  background: #0b0818;
}

/* ===== Features — OpenMirai-style panels ===== */
.feature-panel {
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.feature-panel:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 30px rgba(124,58,237,0.12);
}
.feature-panel-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
}
.fp-visual {
  border-radius: 14px;
  min-height: 300px;
  background:
    radial-gradient(ellipse 70% 60% at 30% 25%, rgba(124,58,237,0.28), transparent 60%),
    linear-gradient(135deg, #14102c 0%, #0b0818 100%);
  border: 1px solid rgba(168,85,247,0.12);
}
.fp-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.6rem;
}
.fp-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.fp-content-head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fp-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(124,58,237,0.14);
  border: 1px solid rgba(168,85,247,0.3);
  cursor: pointer;
  transition: background var(--tr), transform var(--tr), border-color var(--tr);
}
.fp-arrow:hover {
  background: var(--violet);
  border-color: var(--violet);
  transform: translateX(2px);
}
.fp-lead {
  margin-top: 0.7rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
}
.fp-bullets {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.fp-bullets li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--stardust);
}
.fp-bullet-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  color: var(--glow);
}
.fp-bullet-icon :deep(svg), .fp-bullet-icon svg { width: 18px; height: 18px; }

.feature-row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.feature-card3 {
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 16px;
  padding: 1.6rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.feature-card3:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 24px rgba(124,58,237,0.12);
  transform: translateY(-2px);
}
.feature-card3 h4 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.feature-card3 p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.feature-panel-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.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-card3:hover .feat-icon {
  border-color: var(--violet);
  box-shadow: 0 0 8px rgba(168,85,247,0.25);
}

/* ===== 3 Steps section ===== */
.steps-section {
  position: relative;
}
.steps-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 2.4rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.step-card {
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 20px;
  padding: 1rem 1rem 1.8rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.step-card:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 30px rgba(124,58,237,0.12);
  transform: translateY(-3px);
}
.step-visual {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(168,85,247,0.12);
  border-top: 3px solid var(--violet);
  background:
    radial-gradient(ellipse 70% 60% at 35% 25%, rgba(124,58,237,0.30), transparent 62%),
    linear-gradient(135deg, #16113a 0%, #0b0818 100%);
}
.step-body { padding: 0 0.6rem; }
.step-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 0.5rem;
}
.step-heading {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.step-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.step-bullets li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stardust);
}
.step-bullet-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  color: var(--glow);
}
.step-bullet-icon svg { width: 17px; height: 17px; }
/* ===== Manage split panel ===== */
.manage-section {
  position: relative;
}
.manage-stack {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.manage-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.manage-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 22px;
  padding: 2.4rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.manage-panel:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 34px rgba(124,58,237,0.12);
}
.manage-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.manage-lead {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.6rem;
}
.manage-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.manage-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stardust);
}
.manage-bullet-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  color: var(--glow);
}
.manage-bullet-icon svg { width: 18px; height: 18px; }
.manage-visual {
  border-radius: 16px;
  min-height: 320px;
  height: 100%;
  border: 1px solid rgba(168,85,247,0.12);
  background:
    radial-gradient(ellipse 65% 55% at 70% 30%, rgba(124,58,237,0.30), transparent 60%),
    linear-gradient(135deg, #16113a 0%, #0b0818 100%);
}
@media (max-width: 900px) {
  .manage-panel { grid-template-columns: 1fr; padding: 1.6rem; }
  .manage-visual { min-height: 220px; order: -1; }
}

/* ===== Pricing ===== */
.pricing-section { position: relative; }
.pricing-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.billing-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border);
  margin-bottom: 2.2rem;
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--stardust);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.billing-toggle button.active {
  background: linear-gradient(100deg, var(--purple), var(--violet));
  color: #fff;
}
.billing-save {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  align-items: start;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 18px;
  padding: 1.5rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.price-card:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 28px rgba(124,58,237,0.12);
  transform: translateY(-3px);
}
.price-card.popular {
  border-color: var(--violet);
  box-shadow: 0 0 34px rgba(124,58,237,0.22);
}
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.price-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.price-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--violet));
  color: #fff;
}
.price-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  min-height: 2.4em;
  margin-bottom: 1.1rem;
}
.price-box {
  background: rgba(124,58,237,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 1rem;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-was {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}
.price-off {
  text-decoration: none;
  color: var(--glow);
  font-weight: 600;
  margin-left: 0.3rem;
}
.price-amount { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price-per { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(124,58,237,0.1);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 1.3rem;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
}
.price-card.popular .price-cta {
  background: linear-gradient(100deg, var(--purple), var(--violet));
  border-color: transparent;
}
.price-cta:hover { transform: translateY(-1px); border-color: var(--violet); }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--stardust);
  line-height: 1.4;
}
.price-check { flex-shrink: 0; color: var(--glow); margin-top: 1px; }
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ===== Responsive: new sections (steps / manage / pricing / FAQ / CTA) ===== */

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid > .step-card:last-child { grid-column: 1 / -1; }
  .manage-panel { gap: 1.5rem; padding: 1.8rem; }
  .manage-visual { min-height: 260px; }
  .cta-banner { padding: 2.2rem; gap: 1.5rem; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid > .step-card:last-child { grid-column: auto; }
  .step-visual { aspect-ratio: 16 / 9; }
  .faq-q { font-size: 0.95rem; padding: 1rem 1.1rem; }
  .faq-a { padding: 0 1.1rem 1.1rem; }
}

@media (max-width: 768px) {
  .steps-title,
  .manage-title,
  .pricing-title,
  .faq-title {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    margin-bottom: 1.4rem;
  }
  .step-card { padding: 0.85rem 0.85rem 1.5rem; }
  .step-body { padding: 0 0.35rem; }
  .manage-panel { padding: 1.4rem; }
  .manage-content h3 { font-size: 1.25rem; }
  .cta-banner-content h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .cta-banner-content p { font-size: 0.92rem; }
  .billing-toggle { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .cta-banner { padding: 1.4rem; border-radius: 16px; }
  .cta-banner-visual { min-height: 180px; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-primary,
  .cta-banner-secondary { width: 100%; }
  .price-card { padding: 1.25rem; }
  .price-tagline { min-height: 0; }
  .faq-q { font-size: 0.9rem; gap: 0.6rem; }
  .faq-chevron { width: 26px; height: 26px; }
  .manage-bullets li,
  .step-bullets li { font-size: 0.9rem; }
}

@media (max-width: 420px) {
  .billing-toggle { flex-direction: column; border-radius: 14px; }
  .billing-toggle button { justify-content: center; border-radius: 10px; }
  .manage-bullet-icon { width: 32px; height: 32px; }
  .step-bullet-icon { width: 30px; height: 30px; }
  .price-amount { font-size: 1.35rem; }
}

@media (hover: none) {
  .faq-q { min-height: 48px; }
  .price-cta,
  .cta-banner-primary,
  .cta-banner-secondary,
  .billing-toggle button { min-height: 44px; }
  .step-card:hover,
  .price-card:hover,
  .feature-card3:hover,
  .cta-banner-primary:hover,
  .cta-banner-secondary:hover,
  .price-cta:hover {
    transform: none;
  }
}

.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;
  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;
  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;
}

/* ===== FAQ ===== */
.faq-section { position: relative; }
.faq-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: #0e0b1f;
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.faq-item.open {
  border-color: rgba(168,85,247,0.32);
  box-shadow: 0 0 26px rgba(124,58,237,0.12);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq-chevron {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  color: var(--stardust);
  transition: transform 0.3s ease, background var(--tr), color var(--tr);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: linear-gradient(100deg, var(--purple), var(--violet));
  border-color: transparent;
  color: #fff;
}
.faq-a { padding: 0 1.4rem 1.25rem; }
.faq-a p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== CTA banner ===== */
.cta-banner-section { position: relative; }
.cta-banner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  padding: 2.8rem;
  background:
    radial-gradient(ellipse 80% 90% at 85% 50%, rgba(124,58,237,0.35), transparent 65%),
    linear-gradient(100deg, #0d0a1e 0%, #171043 100%);
  border: 1px solid rgba(168,85,247,0.2);
}
.cta-banner-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.cta-banner-content p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.6rem;
  max-width: 46ch;
}
.cta-banner-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cta-banner-primary,
.cta-banner-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--tr), background var(--tr), border-color var(--tr);
}
.cta-banner-primary {
  background: #fff;
  color: #0b0818;
  border: 1px solid #fff;
}
.cta-banner-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}
.cta-banner-primary:hover,
.cta-banner-secondary:hover { transform: translateY(-2px); }
.cta-banner-secondary:hover { border-color: var(--violet); }
.cta-banner-visual {
  border-radius: 16px;
  min-height: 300px;
  height: 100%;
  border: 1px solid rgba(168,85,247,0.14);
  background:
    radial-gradient(ellipse 70% 60% at 40% 30%, rgba(168,85,247,0.30), transparent 62%),
    linear-gradient(135deg, #1a1442 0%, #0b0818 100%);
}

.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 ===== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 3rem 3rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-logo { display: inline-flex; align-items: center; text-decoration: none; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border);
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.footer-social a:hover {
  color: var(--white);
  border-color: var(--violet);
  background: rgba(124,58,237,0.2);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
  color: var(--white);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 900px) {
  .cta-banner { grid-template-columns: 1fr; padding: 1.8rem; }
  .cta-banner-visual { min-height: 220px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding: 2.2rem 1.5rem 1.2rem; }
}

/* ---------- 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;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.modal.tos-modal {
  max-width: 620px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}
.modal-header {
  padding: 1.6rem 1.9rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.modal-title span {
  display: block;
  background: linear-gradient(100deg, 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.3rem;
  background: var(--glass2);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 1.6rem;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.62rem;
  border-radius: 9px;
  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: 1.05rem;
}
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.42rem;
}
.form-group input {
  width: 100%;
  background: var(--glass2);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.78rem 1rem;
  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-group select {
  width: 100%;
  background: var(--glass2);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.78rem 1rem;
  transition: border-color var(--tr);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b7aa8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select:invalid,
.form-group select option[value=""]:checked,
.form-group select.placeholder-selected {
  color: rgba(245,243,255,0.42);
}
.form-group select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.13);
}
.form-group select.err {
  border-color: #f43f5e;
}
.form-group select option {
  background: #1a1530;
  color: var(--white);
}
.form-row {
  display: flex;
  gap: 0.7rem;
}
.form-row .form-group {
  flex: 1;
}
.error-msg {
  color: #f43f5e;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.tos-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.05rem 0;
}
.tos-check input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--violet);
  cursor: pointer;
}
.tos-check label {
  font-size: 0.88rem;
  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: 1rem;
  font-weight: 600;
  padding: 0.88rem;
  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: 1rem;
  margin: 1.3rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.social-login-row {
  display: flex;
  gap: 0.7rem;
}
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--glass2);
  border: 1px solid var(--border);
  color: var(--stardust);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.7rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all var(--tr);
}
.social-btn:hover {
  border-color: var(--violet);
  background: var(--glass);
}
.social-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.social-btn-icon {
  flex: 1 1 0;
  padding: 0.7rem 0;
}
.success-screen {
  text-align: center;
  padding: 0.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-screen .btn-submit {
  max-width: 280px;
}
.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;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.tos-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--violet);
}
.tos-content h3:first-child {
  margin-top: 0;
}
.tos-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
}

.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);
}

/* ---------- Mascot ---------- */
.pensia-wrap {
  position: absolute;
  width: clamp(70px, 6vw, 100px);
  z-index: 30;
  cursor: grab;
  user-select: none;
  touch-action: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.pensia-wrap.ready {
  opacity: 1;
  visibility: visible;
}
.pensia-wrap.dragging {
  cursor: grabbing;
  transition: transform 0.12s ease-out;
  transform: scale(1.12) translateY(-6px);
  z-index: 40;
}
.pensia-wrap.dragging .mascot-pensia {
  animation: none;
  filter: drop-shadow(0 0 30px rgba(168,85,247,0.85)) drop-shadow(0 14px 18px rgba(0,0,0,0.45));
  transition: transform 0.08s ease-out;
}
.pensia-wrap:not(.dragging) {
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), opacity 0.25s ease;
}
.pensia-wrap:not(.dragging) .mascot-pensia {
  transition: filter 0.3s ease, transform 0.45s cubic-bezier(.34,1.56,.64,1);
}
.pensia-wrap:hover .mascot-pensia {
  filter: drop-shadow(0 0 26px rgba(168,85,247,0.6));
}
.pensia-wrap.active .mascot-pensia {
  animation: mascotPop 0.35s cubic-bezier(.4,0,.2,1), mascotFloat 5s ease-in-out infinite;
}
@keyframes mascotPop {
  0%   { transform: scale(1) translateY(0) rotate(-2deg); }
  45%  { transform: scale(1.13) translateY(-4px) rotate(-5deg); }
  100% { transform: scale(1) translateY(0) rotate(-2deg); }
}
.mascot-pensia {
  width: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(168,85,247,0.35));
  animation: mascotFloat 5s ease-in-out infinite;
  display: block;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
.pensia-hint {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  color: rgba(192,132,252,0.75);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  animation: hintPulse 2.4s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.pensia-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: clamp(200px, 28vw, 280px);
  background: rgba(18, 10, 40, 0.92);
  border: 1px solid rgba(168,85,247,0.45);
  border-radius: 16px 16px 4px 16px;
  padding: 0.85rem 1rem;
  box-shadow: 0 0 30px rgba(124,58,237,0.25), 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pensia-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: rgba(18,10,40,0.92);
  border-right: 1px solid rgba(168,85,247,0.45);
  border-bottom: 1px solid rgba(168,85,247,0.45);
  transform: rotate(45deg);
  border-radius: 0 0 3px 0;
}
.pensia-bubble.bubble-below {
  bottom: auto;
  top: calc(100% + 12px);
}
.pensia-bubble.bubble-below::after {
  bottom: auto;
  top: -8px;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid rgba(168,85,247,0.45);
  border-top: 1px solid rgba(168,85,247,0.45);
}
.pensia-bubble.bubble-left {
  right: auto;
  left: 0;
}
.pensia-bubble.bubble-left::after {
  right: auto;
  left: 18px;
}
.bubble-headline {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c084fc;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}
.bubble-msg {
  font-size: 0.82rem;
  color: rgba(245,243,255,0.9);
  line-height: 1.55;
  font-weight: 400;
}
.bubble-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  background: rgba(168,85,247,0.16);
  border: 1px solid rgba(168,85,247,0.45);
  color: #e9d5ff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.36rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.bubble-readmore:hover {
  background: rgba(168,85,247,0.32);
  border-color: rgba(192,132,252,0.7);
  transform: translateX(1px);
}
.bubble-readmore svg {
  transition: transform 0.18s ease;
}
.bubble-readmore:hover svg {
  transform: translateX(2px);
}
.bubble-loading {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 0.2rem 0;
}
.bubble-loading span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  animation: dotBounce 1.1s ease-in-out infinite;
}
.bubble-loading span:nth-child(2) { animation-delay: 0.18s; }
.bubble-loading span:nth-child(3) { animation-delay: 0.36s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%            { transform: translateY(-6px); opacity: 1; }
}
.bubble-enter-active {
  animation: bubbleIn 0.28s cubic-bezier(.4,0,.2,1);
}
.bubble-leave-active {
  animation: bubbleIn 0.2s cubic-bezier(.4,0,.2,1) reverse;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 900px) {
  .pensia-wrap {
    width: clamp(60px, 10vw, 90px);
  }
  .pensia-bubble {
    right: 0;
    width: clamp(180px, 60vw, 240px);
  }
  .features-header-row {
    gap: 1rem;
  }
  .feature-panel-split { grid-template-columns: 1fr; }
  .fp-visual { min-height: 200px; }
  .feature-row3 { grid-template-columns: 1fr; }
  .feature-panel-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .pensia-wrap {
    width: clamp(80px, 18vw, 110px);
  }
}
@media (max-width: 480px) {
  .pensia-wrap {
    width: 72px;
  }
  .pensia-bubble {
    right: 0;
    width: 200px;
    font-size: 0.78rem;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-split {
    padding: 0 2rem;
    gap: 1.5rem;
  }
  .hero-left {
    width: 46%;
  }
  .planet-wrap {
    width: clamp(280px, 42vw, 540px);
  }
}

@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: 0;
  }
  .planet-wrap {
    width: clamp(220px, 72vw, 380px);
    aspect-ratio: 1 / 1;
  }
  .sb-tl, .sb-bl, .sb-tr, .sb-br {
    display: none;
  }
  nav {
    padding: 0 1.25rem;
    grid-template-columns: 1fr auto;
    border-radius: 18px;
    width: calc(100% - 1.5rem);
    max-width: none;
    top: 10px;
    background: rgba(14, 11, 30, 0.9);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(124,58,237,0.28);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  nav.compact {
    top: 10px;
    width: calc(100% - 1.5rem);
    max-width: none;
    padding: 0 1.25rem;
  }
  .nav-menu-btn {
    display: flex;
  }
  .nav-auth {
    display: none;
  }
  .nav-links {
    border-radius: 0 0 18px 18px;
    display: none;
    position: absolute;
    justify-self: stretch;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.1rem;
    background: rgba(12,10,28,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124,58,237,0.28);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    padding: 0.6rem 1.5rem calc(0.8rem + env(safe-area-inset-bottom));
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    isolation: isolate;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a.active-link {
    background: rgba(124,58,237,0.12);
    border-left: 3px solid var(--violet);
    padding-left: calc(0.5rem - 3px);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .nav-link-auth {
    display: block;
  }
  .nav-link-auth a {
    text-align: center;
  }
  .nav-link-auth-primary {
    margin-top: 0.4rem;
    border-top: none !important;
  }
  .nav-link-auth-primary a {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(100deg, var(--purple), var(--violet));
    border-radius: 999px;
    border-bottom: none;
    box-shadow: 0 0 16px rgba(124,58,237,0.32);
  }
  section, footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sep {
    margin: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-split {
    padding: 0 1rem;
  }
  .planet-wrap {
    width: clamp(200px, 88vw, 340px);
  }
  .hero-cta-bar {
    padding: 0.9rem 1rem 2rem;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-bar .btn-primary,
  .hero-cta-bar .btn-ghost {
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

@media (max-width: 420px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ---------- Pensia full-article modal ---------- */
.pam-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 78vh;
  max-height: 78dvh;
  background: #0d0b1e;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  overflow: hidden;
}
.pam-frame.no-image {
  grid-template-columns: 1fr;
  max-width: 600px;
}
.pam-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(13,11,30,0.55);
  border: 1px solid rgba(192,132,252,0.4);
  color: rgba(245,243,255,0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all var(--tr);
}
.pam-close:hover {
  background: rgba(124,58,237,0.4);
  color: var(--white);
  border-color: rgba(192,132,252,0.7);
}
.pam-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #0a0818;
}
.pam-media-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #0a0818 35%, #1c1638 50%, #0a0818 65%);
  background-size: 200% 100%;
  animation: pamShimmer 1.4s ease-in-out infinite;
}
@keyframes pamShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.pam-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pam-media img.loaded {
  opacity: 1;
}
.pam-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,11,30,0) 65%, #0d0b1e 100%);
}
.pam-content {
  min-width: 0;
  max-height: 78vh;
  max-height: 78dvh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.8rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(168,85,247,0.5) transparent;
}
.pam-content::-webkit-scrollbar {
  width: 6px;
}
.pam-content::-webkit-scrollbar-track {
  background: transparent;
}
.pam-content::-webkit-scrollbar-thumb {
  background: rgba(168,85,247,0.45);
  border-radius: 999px;
}
.pam-content::-webkit-scrollbar-thumb:hover {
  background: rgba(168,85,247,0.7);
}
.pam-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.pam-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c084fc;
  background: rgba(168,85,247,0.14);
  border: 1px solid rgba(168,85,247,0.35);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}
.pam-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 1rem;
  background: linear-gradient(100deg, var(--white), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pam-explanation {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(245,243,255,0.88);
  white-space: pre-line;
}
.pam-footer {
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}
.pam-credit {
  font-size: 0.74rem;
  color: var(--muted);
  font-style: italic;
}
.pam-date {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
  font-style: normal;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .pam-frame {
    grid-template-columns: 1fr;
    max-height: 88vh;
    max-height: 88dvh;
    max-width: 92vw;
  }
  .pam-media {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .pam-media-fade {
    background: linear-gradient(180deg, rgba(13,11,30,0) 55%, #0d0b1e 100%);
  }
  .pam-content {
    max-height: none;
    padding: 1.4rem 1.5rem 1.8rem;
  }
  .pam-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 420px) {
  .pam-close {
    top: 0.6rem;
    right: 0.6rem;
    width: 28px;
    height: 28px;
  }
  .pam-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* ---------- Nav hidden when legal modals open ---------- */
nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.4,0,.2,1);
}
nav:not(.nav-hidden) {
  transition: width 0.45s cubic-bezier(.65,0,.35,1),
              padding 0.45s cubic-bezier(.65,0,.35,1),
              top 0.45s cubic-bezier(.65,0,.35,1),
              background 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              border-radius 0.4s ease,
              opacity 0.28s ease 0.45s,
              transform 0.28s cubic-bezier(.4,0,.2,1) 0.45s;
}

/* ---------- Legal overlay ---------- */
.modal-overlay.legal-overlay {
  background:
    radial-gradient(ellipse 60% 45% at 98% 0%, rgba(212,175,55,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 0% 105%, rgba(14,165,150,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(30,80,140,0.10) 0%, transparent 70%),
    linear-gradient(155deg, #111620 0%, #0c1018 40%, #090d14 100%);
  backdrop-filter: none;
  overflow: hidden;
}

.modal-overlay.legal-overlay::before {
  content: '';
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cg opacity='1'%3E%3Cline x1='-50' y1='120'  x2='950' y2='820'  stroke='rgba(212,175,55,0.13)' stroke-width='0.8'/%3E%3Cline x1='-50' y1='260'  x2='950' y2='960'  stroke='rgba(212,175,55,0.08)' stroke-width='0.5'/%3E%3Cline x1='-50' y1='400'  x2='950' y2='1100' stroke='rgba(212,175,55,0.11)' stroke-width='0.8'/%3E%3Cline x1='-50' y1='540'  x2='950' y2='1240' stroke='rgba(212,175,55,0.07)' stroke-width='0.5'/%3E%3Cline x1='-50' y1='680'  x2='950' y2='1380' stroke='rgba(212,175,55,0.10)' stroke-width='0.8'/%3E%3Cline x1='-50' y1='-20'  x2='950' y2='680'  stroke='rgba(212,175,55,0.09)' stroke-width='0.5'/%3E%3Cline x1='-50' y1='-160' x2='950' y2='540'  stroke='rgba(212,175,55,0.06)' stroke-width='0.8'/%3E%3C/g%3E%3Cg opacity='1'%3E%3Cline x1='0'   y1='0'   x2='0'   y2='900' stroke='rgba(14,165,150,0.07)' stroke-width='0.6'/%3E%3Cline x1='128' y1='0'   x2='128' y2='900' stroke='rgba(14,165,150,0.05)' stroke-width='0.6'/%3E%3Cline x1='256' y1='0'   x2='256' y2='900' stroke='rgba(14,165,150,0.07)' stroke-width='0.6'/%3E%3Cline x1='384' y1='0'   x2='384' y2='900' stroke='rgba(14,165,150,0.05)' stroke-width='0.6'/%3E%3Cline x1='512' y1='0'   x2='512' y2='900' stroke='rgba(14,165,150,0.07)' stroke-width='0.6'/%3E%3Cline x1='640' y1='0'   x2='640' y2='900' stroke='rgba(14,165,150,0.05)' stroke-width='0.6'/%3E%3Cline x1='768' y1='0'   x2='768' y2='900' stroke='rgba(14,165,150,0.07)' stroke-width='0.6'/%3E%3Cline x1='896' y1='0'   x2='896' y2='900' stroke='rgba(14,165,150,0.05)' stroke-width='0.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px;
  background-repeat: repeat;
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(128px, 90px); }
}

.modal-overlay.legal-overlay::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -15%;
  right: -10%;
  width: 50%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, rgba(180,140,30,0.04) 45%, transparent 70%);
  filter: blur(55px);
  animation: goldPulse 12s ease-in-out infinite;
}
@keyframes goldPulse {
  0%, 100% { opacity: 0.7; transform: scale(1) translate(0, 0); }
  50%       { opacity: 1;   transform: scale(1.12) translate(-3%, 4%); }
}
@media (prefers-reduced-motion: reduce) {
  .legal-overlay::before,
  .legal-overlay::after {
    animation: none;
  }
}
.modal-overlay.legal-overlay .pam-frame {
  position: relative;
  z-index: 1;
}

/* ---------- Legal modal crossfade transition ---------- */

.legal-modal-enter-active {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.legal-modal-leave-active {
  transition: opacity 0.45s cubic-bezier(0.64, 0, 0.78, 0);
  pointer-events: none;
}

.legal-modal-enter-from { opacity: 0; }
.legal-modal-enter-to   { opacity: 1; }
.legal-modal-leave-from { opacity: 1; }
.legal-modal-leave-to   { opacity: 0; }

.legal-modal-enter-active .pam-frame {
  transition: opacity  0.4s ease-out 0.06s,
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}
.legal-modal-leave-active .pam-frame {
  transition: opacity  0.35s cubic-bezier(0.64, 0, 0.78, 0),
              transform 0.4s cubic-bezier(0.64, 0, 0.78, 0);
}
.legal-modal-enter-from .pam-frame {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
}
.legal-modal-leave-to .pam-frame {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .legal-modal-enter-active,
  .legal-modal-leave-active {
    transition: opacity 0.2s linear !important;
  }
  .legal-modal-enter-active .pam-frame,
  .legal-modal-leave-active .pam-frame {
    transition: opacity 0.2s linear !important;
  }
  .legal-modal-enter-from .pam-frame,
  .legal-modal-leave-to .pam-frame {
    transform: none !important;
  }
}

/* ---------- ToS modal — reuses the pam-frame "read more" card layout ---------- */
.pam-frame.tos-pam {
  max-height: 90vh;
  max-height: 90dvh;
  max-width: 780px;
  display: flex;
  flex-direction: column;
}
.pam-frame.tos-pam .pam-content {
  flex: 1;
  min-height: 0;
  max-height: none;
}
.tos-pam-content {
  padding-top: 2.3rem;
}
.tos-pam .tos-content h3 {
  background-image: linear-gradient(100deg, var(--white), var(--glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tos-pam-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 2rem 1.6rem;
  border-top: 1px solid var(--border);
}
.tos-pam-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.tos-pam-meta svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.tos-pam-footer .btn-submit {
  width: auto;
  flex: 1;
  max-width: 200px;
  padding: 0.66rem 1.3rem;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.15s ease;
}
.tos-pam-footer .btn-submit.btn-locked,
.tos-pam-footer .btn-submit:disabled {
  opacity: 0.35;
  filter: grayscale(0.6);
  cursor: not-allowed;
  pointer-events: none;
}
@media (max-width: 760px) {
  .pam-frame.tos-pam {
    max-height: 94vh;
    max-height: 94dvh;
    max-width: 98vw;
  }
}
@media (max-width: 420px) {
  .tos-pam-content {
    padding-top: 2rem;
  }
  .tos-pam-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.4rem;
  }
  .tos-pam-meta {
    justify-content: center;
  }
  .tos-pam-footer .btn-submit {
    max-width: none;
  }
}

/* ---------- Auth modal ---------- */
.pam-frame.auth-pam {
  max-width: 480px;
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
}
.pam-frame.auth-pam .pam-title {
  font-size: 1.5rem;
}
.pam-frame.auth-pam .auth-pam-content {
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  padding: 2.2rem 2rem 2rem;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}
.auth-pam-sub {
  font-size: 0.86rem;
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
}
@media (max-height: 720px) {
  .pam-frame.auth-pam .auth-pam-content {
    min-height: 0;
  }
}
@media (max-width: 760px) {
  .pam-frame.auth-pam {
    max-width: 94vw;
  }
}
@media (max-width: 420px) {
  .pam-frame.auth-pam .auth-pam-content {
    padding: 1.8rem 1.4rem 1.7rem;
    min-height: 0;
  }
}

/* ===== Hero ===== */
.hero-centered {
  align-items: center;
  padding: 128px 0 40px;
  gap: 0;
}
.hero-head {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.hero-centered .hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
}
.hero-centered .hero-h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  max-width: 15ch;
}
.hero-centered .hero-h1 em {
  display: inline;
}
.hero-centered .hero-sub {
  max-width: 560px;
  font-size: 1.08rem;
  margin: 0 auto;
}
.hero-centered .hero-cta-bar {
  padding: 0.4rem 0 0;
  margin: 0;
}

.hero-tools {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.hero-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--stardust);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--tr), border-color var(--tr), background var(--tr), transform var(--tr);
}
.hero-tool-pill .htp-icon {
  display: inline-flex;
  color: var(--glow);
}
.hero-tool-pill.active {
  color: #fff;
  border-color: rgba(168,85,247,0.7);
  background: linear-gradient(100deg, rgba(124,58,237,0.35), rgba(168,85,247,0.22));
  box-shadow: 0 0 18px rgba(124,58,237,0.28);
}

/* ---------- Floating UI product stage ---------- */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 1.4rem auto 0;
  padding: 0 1.5rem;
  height: clamp(260px, 31vw, 350px);
  z-index: 2;
}
.hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 150%;
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(168,85,247,0.10) 0,
      rgba(168,85,247,0.10) 1.5px,
      transparent 1.5px,
      transparent 62px
    );
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, black 42%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, black 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform-origin: 50% 50%;
  animation: ringRipple 9s ease-in-out infinite;
}
@keyframes ringRipple {
  0%, 100% { transform: translateX(-50%) scale(0.92); }
  50%      { transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage::before { animation: none; }
}
.stage-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(124,58,237,0.32), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-main,
.stage-card {
  border: 1px solid rgba(168,85,247,0.24);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20,12,40,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  padding: 0;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.hero-main {
  position: absolute;
  left: 50%;
  top: 0;
  width: 62%;
  z-index: 3;
  transform: translate(-50%, 0);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.35),
    0 30px 80px rgba(0,0,0,0.45),
    0 0 60px rgba(124,58,237,0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
  animation: cardFloatMain 8s ease-in-out infinite;
}
.hero-main:hover,
.hero-main.focused {
  transform: translate(-50%, 0) translateY(-8px);
  border-color: rgba(168,85,247,0.6);
  background: rgba(24,14,46,0.65);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.4),
    0 40px 96px rgba(0,0,0,0.55),
    0 0 70px rgba(124,58,237,0.32),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation-play-state: paused;
}
.hero-main-body {
  position: relative;
  aspect-ratio: 1361 / 675;
  overflow: hidden;
  background: #06040f;
}
.hero-main-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.stage-card {
  position: absolute;
  z-index: 4;
  width: 30%;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 18px 50px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: cardFloat 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.stage-card:hover,
.stage-card.focused {
  transform: translateY(-8px) scale(1.04);
  border-color: rgba(168,85,247,0.65);
  background: rgba(28,16,52,0.68);
  box-shadow:
    0 24px 44px rgba(0,0,0,0.4),
    0 26px 64px rgba(0,0,0,0.5),
    0 0 24px rgba(124,58,237,0.32),
    inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 7;
  animation-play-state: paused;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes cardFloatMain {
  0%, 100% { transform: translate(-50%, 0) translateY(0); }
  50%      { transform: translate(-50%, 0) translateY(-10px); }
}

.stage-card-body {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #06040f;
}
.stage-card-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.stage-card-body.svg-body { aspect-ratio: 16 / 10; }
.stage-card-svg, .stage-card-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.stage-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(124,58,237,0.14);
}

.hero-section > .stage-card {
  width: clamp(150px, 15vw, 220px);
}
.sc-tl { top: 16%;  left: 7%;   z-index: 5; }
.sc-ll { top: 40%;  left: 7%;   z-index: 4; }
.sc-bl { top: 64%;  left: 7%;   z-index: 4; }
.sc-tr { top: 16%;  right: 7%;  z-index: 6; }
.sc-rb { top: 40%;  right: 7%;  z-index: 5; }
.sc-br { top: 64%;  right: 7%;  z-index: 4; }

@media (max-width: 1280px) {
  .hero-section > .stage-card { width: clamp(130px, 13vw, 180px); }
  .sc-tl, .sc-ll, .sc-bl { left: 3%;  }
  .sc-tr, .sc-rb, .sc-br { right: 3%; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-section > .stage-card { display: none; }
}

.shot-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4,2,12,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.shot-frame {
  position: relative;
  width: min(920px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(10,6,24,0.96);
  border: 1px solid rgba(168,85,247,0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 40px rgba(124,58,237,0.2);
}
.shot-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  color: #e9d5ff;
  background: rgba(8,5,20,0.7);
  border: 1px solid rgba(168,85,247,0.3);
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
}
.shot-close:hover { background: rgba(124,58,237,0.3); border-color: var(--violet); }
.shot-frame-media {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: #06040f;
}
.shot-frame-media img { width: 100%; display: block; }
.shot-frame-svg, .shot-frame-svg svg { width: 100%; display: block; aspect-ratio: 16/10; }
.shot-frame-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid rgba(168,85,247,0.16);
}
.shot-frame-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f3ff;
}
.shot-frame-desc {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.shot-frame-open {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  background: linear-gradient(100deg, var(--purple), var(--violet));
  box-shadow: 0 0 16px rgba(124,58,237,0.3);
  transition: filter var(--tr), transform var(--tr);
}
.shot-frame-open:hover { filter: brightness(1.1); transform: translateY(-1px); }

.lightbox-enter-active, .lightbox-leave-active { transition: opacity 0.25s ease; }
.lightbox-enter-from, .lightbox-leave-to { opacity: 0; }
.lightbox-enter-active .shot-frame, .lightbox-leave-active .shot-frame { transition: transform 0.28s cubic-bezier(.4,0,.2,1); }
.lightbox-enter-from .shot-frame, .lightbox-leave-to .shot-frame { transform: scale(0.94) translateY(10px); }

@media (max-width: 1024px) {
  .hero-stage { max-width: 900px; }
}

@media (max-width: 768px) {
  .hero-centered { padding: 108px 0 24px; }
  .hero-centered .hero-h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-tools { flex-wrap: wrap; }

  .hero-stage {
    position: relative;
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2.2rem;
    padding: 0 1rem;
  }
  .stage-glow { display: none; }

  .hero-main,
  .stage-card,
  .hero-section > .stage-card {
    position: static;
    inset: auto;
    left: auto; top: auto; right: auto; bottom: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
    animation: none;
    z-index: auto;
  }
  .hero-section > .stage-card { margin: 0 1rem; width: auto; }
  .hero-main { order: -1; }

  .hero-main:hover, .hero-main.focused,
  .stage-card:hover, .stage-card.focused {
    transform: translateY(-4px);
    z-index: auto;
  }

  .shot-frame-foot { flex-direction: column; align-items: flex-start; }
  .shot-frame-open { width: 100%; justify-content: center; }
}
