/* empowered BI — coming-soon. Mysterious. Slick. Cool. */
:root {
  --bg: #07090f;
  --bg-2: #0c1224;
  --text: #f4f5f7;
  --text-muted: rgba(244, 245, 247, 0.62);
  --text-subtle: rgba(244, 245, 247, 0.38);
  --accent: #6dc5ff;
  --accent-2: #b388ff;
  --accent-3: #5eead4;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --error: #ff7a72;
  --success: #5eead4;
}

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

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-feature-settings: "ss01" on, "cv11" on;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}

/* Mouse-following spotlight */
.spotlight {
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 35%),
    rgba(109, 197, 255, 0.08) 0%,
    transparent 60%
  );
  transition: background 0.12s ease-out;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(109, 197, 255, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  animation: drift 28s ease-in-out infinite;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.orb-2 {
  width: 600px; height: 600px;
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  animation-delay: -10s;
}
.orb-3 {
  width: 380px; height: 380px;
  top: 40%; right: 22%;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  opacity: 0.25;
  animation-delay: -16s;
  animation-duration: 38s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Topbar */
.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.25s ease, filter 0.4s ease;
}
.brand:hover img { opacity: 1; }
.app-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.app-login:hover {
  background: var(--glass-strong);
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}
.app-login svg {
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
  opacity: 0.7;
}
.app-login:hover svg { transform: translateX(3px); opacity: 1; }

/* Hero — single centered column */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 100px;
}
.hero-inner {
  width: 100%;
  max-width: 720px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.1s both;
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 0.2s both;
}
h1 em {
  font-style: italic;
  font-family: "Instrument Serif", "Inter", serif;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  letter-spacing: normal;
  padding-right: 0.08em;
  margin-right: -0.05em;
  display: inline-block;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 0.35s both;
}
.lead .break { display: none; }

/* CTA button — slick gradient pill with animated halo */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  /* Layered gradient — subtle dark base, with a luminous accent gradient
     sweeping over it. Plus an internal highlight along the top edge. */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(109,197,255,0.18) 0%, rgba(179,136,255,0.18) 50%, rgba(94,234,212,0.18) 100%),
    rgba(255,255,255,0.04);
  background-size: 200% 100%, 220% 220%, auto;
  background-position: 0% 0%, 0% 50%, 0 0;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 1px 0 rgba(255,255,255,0.06),
    0 12px 36px -12px rgba(109,197,255,0.45),
    0 4px 14px -4px rgba(0,0,0,0.45);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1),
              box-shadow 0.3s cubic-bezier(.4,0,.2,1),
              border-color 0.3s ease,
              background-position 0.6s cubic-bezier(.4,0,.2,1);
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 0.5s both,
             ctaPulse 4s ease-in-out 1.5s infinite;
}
/* Animated outer halo ring — pulses softly behind the button */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  z-index: -1;
  opacity: 0.18;
  filter: blur(14px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.4);
  background-position: 100% 0%, 100% 50%, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 1px 0 rgba(255,255,255,0.08),
    0 22px 56px -10px rgba(109,197,255,0.6),
    0 6px 18px -4px rgba(0,0,0,0.55);
}
.cta-btn:hover::before {
  opacity: 0.35;
  filter: blur(20px);
}
.cta-btn:active { transform: translateY(0); }
.cta-arrow { transition: transform 0.25s cubic-bezier(.4,0,.2,1); }
.cta-btn:hover .cta-arrow { transform: translateX(4px); }
@keyframes ctaPulse {
  0%, 100% { box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 1px 0 rgba(255,255,255,0.06),
    0 12px 36px -12px rgba(109,197,255,0.45),
    0 4px 14px -4px rgba(0,0,0,0.45); }
  50% { box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 1px 0 rgba(255,255,255,0.06),
    0 14px 44px -10px rgba(179,136,255,0.55),
    0 4px 14px -4px rgba(0,0,0,0.45); }
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 28px 48px;
  font-size: 12px;
  letter-spacing: 0.02em;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 0.7s both;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), visibility 0.3s;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 40px clamp(24px, 4vw, 40px) 36px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow:
    0 32px 80px -16px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.modal-close:hover {
  background: var(--glass-strong);
  color: var(--text);
  transform: rotate(90deg);
}

.modal-card h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.55;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.field { margin-bottom: 16px; }
.row .field { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.req { color: var(--error); margin-left: 2px; }
.hint { color: var(--text-subtle); font-weight: 400; font-size: 12px; }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  letter-spacing: -0.005em;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-subtle); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 197, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.field.invalid input,
.field.invalid textarea { border-color: var(--error); }
.err {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--error);
}
.field.invalid .err { display: block; }

.submit {
  width: 100%;
  margin-top: 6px;
  padding: 13px 22px;
  background: var(--text);
  border: 0;
  border-radius: 12px;
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(255,255,255,0.4);
}
.submit:active { transform: translateY(0); }
.submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-arrow { transition: transform 0.25s cubic-bezier(.4,0,.2,1); }
.submit:hover .btn-arrow { transform: translateX(3px); }

.fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-subtle);
  line-height: 1.5;
}

.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
  line-height: 1.45;
}
.status.success {
  display: block;
  background: rgba(94, 234, 212, 0.08);
  color: var(--success);
  border: 1px solid rgba(94, 234, 212, 0.3);
}
.status.error {
  display: block;
  background: rgba(255, 122, 114, 0.08);
  color: var(--error);
  border: 1px solid rgba(255, 122, 114, 0.3);
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 720px) {
  .topbar { padding: 22px 22px; }
  .brand img { height: 30px; }
  .hero { padding: 40px 22px 80px; }
  .lead .break { display: inline; }
  .footer { padding: 22px; }
  .modal-overlay { padding: 16px; }
  .modal-card { padding: 36px 22px 28px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .row .field { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
