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

:root {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --bg-main: #ffffff;
  --bg-secondary: #f9fafb;
  --text-main: #111827;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --success: #10b981;
  --input-bg: #fdfdfd;
  --decor-opacity: 0.1;
}

[data-theme="dark"] {
  --bg-main: #000000;
  --bg-secondary: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #888888;
  --border: #1a1a1a;
  --input-bg: #0f0f0f;
  --decor-opacity: 0.2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

body {
  font-family: "Google Sans", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 2rem 4rem;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
}

.theme-toggle {
  display: flex;
  background: var(--bg-secondary);
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.theme-btn {
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-btn.active {
  background: var(--text-main);
  color: var(--bg-main);
}

.theme-btn:not(.active) {
  color: var(--text-muted);
}

main {
  display: flex;
  min-height: 100vh;
}

.left-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  border-right: 1px solid var(--border);
  background-color: var(--bg-main);
}

.right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  background-color: var(--bg-main);
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 4rem;
}

.features {
  list-style: none;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon stroke {
  stroke-width: 2.5px;
}

.feature-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.waitlist-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.waitlist-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.waitlist-card p.sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  margin-left: -10px;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

.form-group {
  margin-bottom: 0.75rem;
}

input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-continue {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.btn-continue:hover {
  filter: brightness(1.1);
}

.legal {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.success-container {
  text-align: center;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  color: var(--success);
}

.decor-star {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  color: var(--primary);
  opacity: var(--decor-opacity);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  main {
    flex-direction: column;
  }
  header {
    padding: 1.5rem;
    position: relative;
  }
  .left-panel,
  .right-panel {
    padding: 4rem 2rem;
    border: none;
  }
  .hero-text h1 {
    font-size: 3rem;
    text-align: center;
  }
  .features {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 2.25rem;
  }
  .waitlist-card h2 {
    font-size: 2rem;
  }
}
