@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand:        #6B21A8;
  --brand-light:  #9333EA;
  --brand-glow:   rgba(107, 33, 168, 0.35);
  --brand-subtle: rgba(107, 33, 168, 0.08);

  --bg:           #08080D;
  --bg-card:      #0E0E16;
  --bg-input:     #111119;

  --border:       rgba(255, 255, 255, 0.06);
  --border-focus: rgba(147, 51, 234, 0.55);

  --text-primary:   #F4F4F6;
  --text-secondary: #9898AA;
  --text-muted:     #555566;

  --radius: 12px;
  --radius-sm: 8px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ─── Background Canvas ─────────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Radial glow behind content */
.bg-canvas::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(107, 33, 168, 0.18) 0%,
    rgba(107, 33, 168, 0.05) 50%,
    transparent 75%);
  animation: breathe 8s ease-in-out infinite;
}

/* Fine grid overlay */
.bg-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 100%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: drift linear infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--brand);
  top: -10%;
  right: -5%;
  animation-duration: 22s;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #3B0764;
  bottom: 5%;
  left: -8%;
  animation-duration: 28s;
  animation-delay: -10s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: var(--brand-light);
  top: 60%;
  right: 15%;
  opacity: 0.07;
  animation-duration: 18s;
  animation-delay: -5s;
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scaleY(1); opacity: 1; }
  50%       { transform: translateX(-50%) scaleY(1.08); opacity: 0.8; }
}

@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(30px, -20px) rotate(120deg); }
  66%  { transform: translate(-20px, 15px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}

/* ─── Layout ────────────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Header ────────────────────────────────────────────────── */
header {
  padding: 28px 40px;
  display: flex;
  align-items: center;
  animation: slideRight 0.6s ease both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: 9px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Proof mark — a stylized checkmark/seal icon */
.logo-mark::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255,255,255,0.9);
  border-radius: 50%;
}

.logo-mark::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 4px;
  border-left: 2px solid rgba(255,255,255,0.9);
  border-bottom: 2px solid rgba(255,255,255,0.9);
  transform: rotate(-45deg) translateY(-1px);
}

.logo-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ─── Main ──────────────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.hero {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-subtle);
  border: 1px solid rgba(107, 33, 168, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 40px;
  animation: scaleIn 0.5s ease both;
  animation-delay: 0.1s;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 8px var(--brand-light);
  animation: pulse-border 2.5s ease-in-out infinite;
}

/* Wordmark */
h1 {
  font-size: clamp(52px, 10vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--text-primary);
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.2s;
}

h1 span {
  background: linear-gradient(135deg, #C084FC 0%, #9333EA 50%, #6B21A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 52px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.3s;
}

.subtitle strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── Email Form ─────────────────────────────────────────────── */
.notify-section {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.45s;
}

.notify-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.15);
}

.submit-btn {
  height: 48px;
  padding: 0 22px;
  background: var(--brand);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.submit-btn:hover {
  background: var(--brand-light);
  box-shadow: 0 4px 20px rgba(107, 33, 168, 0.45);
  transform: translateY(-1px);
}

.submit-btn:hover::before {
  opacity: 1;
}

.submit-btn:active {
  transform: translateY(0);
}

/* Success state */
.success-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: #A78BFA;
  animation: fadeUp 0.4s ease;
}

.success-msg svg {
  flex-shrink: 0;
}

.success-msg.visible {
  display: flex;
}

.privacy-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  margin: 64px auto 0;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.6s;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.7s;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-brand strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-contact {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--brand-light);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 20px 20px; }

  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }

  footer {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
