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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #666666;
  --gray-dim: #333333;
  --border: #222222;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html, body {
  height: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav__spacer {
  flex: 1;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--white);
}

.btn-login {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-login:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 32px 32px;
}

.hero__badge {
  position: absolute;
  top: 80px;
  left: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero__corner-label {
  position: absolute;
  top: 80px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
  max-width: 260px;
  line-height: 1.6;
}

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.hero__logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 20px;
  object-fit: cover;
}

.hero__wordmark {
  font-family: var(--font-sans);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 1.5;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: #111;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  max-width: 400px;
  width: 100%;
  animation: modal-in 0.2s ease;
}

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

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

.modal__close:hover {
  background: rgba(255,255,255,0.12);
}

.modal__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.modal__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,92,246,0.12);
  border: 0.5px solid rgba(139,92,246,0.3);
  border-radius: 20px;
  padding: 3px 11px;
  margin-bottom: 1rem;
}

.modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
}

.modal__badge-text {
  font-size: 10px;
  color: #a855f7;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.modal__heading {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.modal__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.modal__form {
  display: flex;
  flex-direction: column;
}

.modal__input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  margin-bottom: 9px;
  transition: border-color 0.2s ease;
}

.modal__input::placeholder {
  color: rgba(255,255,255,0.22);
}

.modal__input:focus {
  border-color: rgba(139,92,246,0.55);
}

.modal__select-wrap {
  position: relative;
  margin-bottom: 12px;
}

.modal__select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease;
  color-scheme: dark;
}

.modal__select:focus { border-color: rgba(139,92,246,0.55); }
.modal__select option { background: #111; color: var(--white); }

.modal__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.modal__submit {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  background: #7c3aed;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.modal__submit:hover {
  background: #6d28d9;
}

.modal__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.modal__trust span {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.modal__trust-dot {
  color: rgba(255,255,255,0.12) !important;
}

.modal__thanks {
  text-align: center;
}

.modal__thanks[hidden] {
  display: none;
}

@keyframes ripple2 {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(2.4);  opacity: 0; }
}
@keyframes fadeUp2 {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.c1 { animation: fadeUp2 0.45s ease 0.05s both; }
.c2 { animation: fadeUp2 0.45s ease 0.2s  both; }
.c3 { animation: fadeUp2 0.45s ease 0.35s both; }
.c4 { animation: fadeUp2 0.45s ease 0.5s  both; }
.c5 { animation: fadeUp2 0.45s ease 0.65s both; }

/* ── Footer ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--white);
}

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

  .nav__links {
    gap: 20px;
  }

  .nav__link {
    font-size: 10px;
  }

  .hero {
    padding: 100px 20px 32px;
  }

  .hero__badge {
    top: 72px;
    left: 20px;
  }

  .hero__corner-label {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
  }

  .modal {
    padding: 40px 28px;
  }
}
