:root {
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #111827;
  --accent-2: #1f2937;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(180deg, #eef5ff 0%, #e6eeff 48%, #f5f7ff 100%);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -22% -16% auto -14%;
  height: 72vh;
  background:
    radial-gradient(46% 42% at 16% 24%, rgba(56, 189, 248, 0.36), transparent 70%),
    radial-gradient(42% 38% at 82% 18%, rgba(236, 72, 153, 0.3), transparent 72%),
    radial-gradient(34% 32% at 55% 64%, rgba(99, 102, 241, 0.34), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation:
    aurora-drift 16s ease-in-out infinite alternate,
    aurora-hue 18s linear infinite;
}
body::after {
  content: "";
  position: fixed;
  inset: auto -18% -26% -12%;
  height: 64vh;
  background:
    radial-gradient(44% 40% at 18% 64%, rgba(147, 197, 253, 0.28), transparent 68%),
    radial-gradient(38% 36% at 78% 30%, rgba(196, 181, 253, 0.28), transparent 72%),
    radial-gradient(32% 28% at 62% 80%, rgba(244, 114, 182, 0.28), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
  animation:
    aurora-drift-reverse 18s ease-in-out infinite alternate,
    aurora-pulse 10s ease-in-out infinite;
}
@keyframes aurora-drift {
  0% { transform: translate3d(-1.5%, -1.2%, 0) scale(1); }
  100% { transform: translate3d(2.4%, 1.8%, 0) scale(1.05); }
}
@keyframes aurora-drift-reverse {
  0% { transform: translate3d(2.2%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-1.6%, -2.1%, 0) scale(1); }
}
@keyframes aurora-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
@keyframes aurora-hue {
  0% { filter: blur(18px) hue-rotate(0deg); }
  100% { filter: blur(18px) hue-rotate(88deg); }
}
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 80px;
  position: relative;
  z-index: 1;
}
.launch-banner {
  margin-bottom: 18px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background: linear-gradient(96deg, #0b1322 0%, #1e3a8a 52%, #0f172a 100%);
  color: #f8fbff;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  font-size: 0.9rem;
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.launch-banner::after {
  content: "";
  position: absolute;
  inset: -70% auto auto -16%;
  width: 54%;
  height: 220%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(-8deg);
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 2px 0 8px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero {
  margin-top: 24px;
  padding: 56px 30px 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--border);
}
.hero-content {
  max-width: 720px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-highlight {
  color: #4f46e5;
}
.trust-strip {
  margin: 24px 0 18px;
  text-align: center;
}
.trust-headline {
  margin: 0;
  font-size: clamp(1.16rem, 2.2vw, 1.48rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.trust-headline strong {
  background: linear-gradient(90deg, #6d4aff, #4f46e5, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-sub {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.96rem;
}
.status-section {
  margin: 30px 0 40px;
  display: flex;
  justify-content: center;
}
.status-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  width: min(520px, 100%);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
.card-title {
  font-weight: 700;
  margin-bottom: 12px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.status-row:last-of-type { border-bottom: none; }
.status-label { color: var(--muted); font-size: 0.9rem; }
.status-value { font-weight: 600; }
#loginStatus.is-logged-in {
  color: #059669;
  text-shadow: 0 0 18px rgba(5, 150, 105, 0.22);
}
#loginStatus.is-logged-out {
  color: #64748b;
}
.status-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.status-error {
  margin-top: 8px;
  color: #dc2626;
  font-size: 0.9rem;
  min-height: 18px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-dark {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: #ffffff;
  color: var(--accent);
  border-color: #cbd5f5;
}
.btn-link {
  background: transparent;
  border: none;
  color: #3730a3;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 2px 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover {
  color: #312e81;
}
.platform-showcase {
  margin-bottom: 34px;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.platform-grid {
  margin-bottom: 0;
}
.platform-grid .platform-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  transition: transform 0.26s ease, box-shadow 0.3s ease, border-color 0.25s ease, background-color 0.25s ease;
  animation: platform-enter 0.5s ease both;
}
.platform-grid .platform-card:nth-child(2) {
  animation-delay: 0.08s;
}
.platform-grid .platform-card:nth-child(3) {
  animation-delay: 0.16s;
}
.platform-grid .platform-card:hover {
  transform: translateY(-4px);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.platform-grid .card-head h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}
.platform-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  max-width: 30px;
  min-height: 30px;
  max-height: 30px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
  display: block;
  flex: 0 0 30px;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.platform-grid .platform-card:hover .platform-icon {
  transform: scale(1.08) rotate(-4deg);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.platform-desc {
  font-size: 0.98rem;
  line-height: 1.52;
}

.platform-grid[data-style="style-4"] .platform-card {
  background: #ffffff;
  border-color: #dbe2f0;
  padding-left: 22px;
}
.platform-grid[data-style="style-4"] .platform-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #2563eb, #7c3aed);
  border-radius: 16px 0 0 16px;
}
.platform-grid[data-style="style-4"] .platform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(37,99,235,0.07), rgba(124,58,237,0));
  opacity: 0;
  transition: opacity 0.26s ease;
}
.platform-grid[data-style="style-4"] .platform-card:hover::after {
  opacity: 1;
}

@keyframes platform-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 32px;
}
.feature ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.feature-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 18px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.feature-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 0.75rem;
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.26);
  background:
    radial-gradient(120% 180% at 4% 0%, rgba(147, 197, 253, 0.2), transparent 58%),
    radial-gradient(90% 140% at 96% 100%, rgba(196, 181, 253, 0.22), transparent 54%),
    linear-gradient(110deg, #0f172a 0%, #172554 52%, #0f172a 100%);
  color: #eef4ff;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: auto auto -80% -28%;
  width: 56%;
  height: 180%;
  background: linear-gradient(118deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
  transform: rotate(-10deg);
  pointer-events: none;
  opacity: 0.44;
}
.cta-copy {
  display: grid;
  gap: 8px;
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.cta-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #dbeafe;
  border: 1px solid rgba(191, 219, 254, 0.45);
  background: rgba(191, 219, 254, 0.14);
}
.cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.76rem);
  letter-spacing: -0.01em;
}
.cta p {
  margin: 0;
  color: #cbd5f5;
}
.cta-actions {
  position: relative;
  z-index: 1;
}
.cta-primary {
  min-width: 180px;
  background: #fff;
  color: #0f172a;
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.26);
}
.cta-primary:hover {
  filter: brightness(0.98);
}
.footer-shell {
  margin-top: 22px;
  padding: 28px 24px 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(420px, 2fr);
  gap: 28px;
}
.footer-left {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #111827;
}
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.footer-ig {
  display: inline-flex;
  width: fit-content;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 2px;
}
.footer-ig:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.footer-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 18px;
}
.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-col h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #111827;
}
.footer-col a {
  color: #475569;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: #0f172a;
}
.legal-gate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  z-index: 80;
  padding: 18px;
}
.legal-gate.active {
  display: flex;
}
.legal-gate-card {
  width: min(460px, 100%);
  background: #ffffff;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.24);
  display: grid;
  gap: 10px;
}
.legal-gate-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.legal-gate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.legal-gate-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.legal-gate-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.legal-gate-links a:hover {
  text-decoration: underline;
}
.legal-gate-error {
  min-height: 18px;
  color: #dc2626;
  font-size: 0.86rem;
}
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  z-index: 90;
  padding: 18px;
}
.auth-modal.active {
  display: flex;
}
.auth-card {
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.24);
}
.auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.auth-head h3 {
  margin: 0;
  font-size: 1.2rem;
}
.auth-close {
  border: 1px solid #dbe1ec;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.auth-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.auth-field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}
.auth-field label {
  font-size: 0.82rem;
  color: #334155;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.auth-field input {
  width: 100%;
  border: 1px solid #dbe1ec;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.93rem;
  color: #0f172a;
  background: #fff;
  outline: none;
}
.auth-field input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}
.auth-mode {
  margin: 6px 0 12px;
  font-size: 0.85rem;
  color: #334155;
  min-height: 1.2em;
  font-weight: 700;
}
.auth-actions {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.auth-actions .btn {
  width: 100%;
}
.auth-foot {
  margin-top: 10px;
  text-align: center;
}
.toast-root {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 120;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  min-width: 220px;
  max-width: min(420px, calc(100vw - 32px));
  background: #fff7fb;
  border: 1px solid #fbcfe8;
  color: #9d174d;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto;
}
.toast.is-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}
.toast-copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}
.toast-dismiss {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #9d174d;
  background: rgba(255, 255, 255, 0.9);
}
.toast.is-info .toast-dismiss {
  color: #1e3a8a;
}
.toast-dismiss:hover {
  background: #ffffff;
}
@media (max-width: 900px) {
  .launch-banner { text-align: left; }
  .footer-shell {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}
@media (max-width: 640px) {
  .hero { padding: 42px 22px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-primary { width: 100%; }
  .toast-root {
    right: 10px;
    top: 10px;
  }
  .footer-shell {
    padding: 22px 18px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
