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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0b1a1a;
  color: #d6e8e8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  display: none;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.page.active {
  display: flex;
}

.container {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: linear-gradient(135deg, #122626 0%, #0d1f1f 100%);
  border: 1px solid #1a3a3a;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #d6f0f0;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 0.8rem;
  color: #6ba8a8;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.intro {
  font-size: 1rem;
  line-height: 1.6;
  color: #b8d4d4;
  margin-bottom: 0.5rem;
}

.info {
  font-size: 0.9rem;
  color: #7aadad;
  margin-bottom: 0.25rem;
}

.hint {
  font-size: 0.78rem;
  color: #4a7a7a;
  font-style: italic;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8cc4c4;
  margin-bottom: 0.5rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0d1f1f;
  border: 1px solid #1a3a3a;
  border-radius: 12px;
  color: #d6e8e8;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

input[type="email"]::placeholder {
  color: #2d5555;
}

button {
  width: 100%;
  padding: 0.85rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

button:hover {
  opacity: 0.92;
}

button:active {
  transform: scale(0.98);
}

/* Security badge */
.security-badge {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #0d1f1f;
  border-radius: 12px;
  align-items: flex-start;
}

.lock-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-badge strong {
  font-size: 0.8rem;
  color: #7aadad;
  display: block;
  margin-bottom: 0.2rem;
}

.security-badge p {
  font-size: 0.72rem;
  color: #4a7a7a;
  line-height: 1.5;
}

/* OTP section */
.divider {
  height: 1px;
  background: #1a3a3a;
  margin: 1.5rem 0;
}

.security-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #b8d4d4;
  margin-bottom: 0.3rem;
}

.security-text {
  font-size: 0.8rem;
  color: #4a7a7a;
  margin-bottom: 1rem;
}

.otp-inputs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  background: #0d1f1f;
  border: 1px solid #1a3a3a;
  border-radius: 12px;
  color: #d6e8e8;
  outline: none;
  transition: border-color 0.2s;
}

.otp-digit:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

/* Page 2 specifics */
h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #d6f0f0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #b8d4d4;
  margin: 1.5rem 0 0.75rem;
}

.features {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #a3c4c4;
  padding: 0.5rem 0.75rem;
  background: #0d1f1f;
  border-radius: 10px;
}

.features .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.audience {
  font-size: 0.9rem;
  color: #7aadad;
  margin: 1.5rem 0 0.25rem;
  font-weight: 500;
}

.tags {
  font-size: 0.8rem;
  color: #4a7a7a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  text-align: center;
  padding: 0 1rem;
}

.footer p {
  font-size: 0.78rem;
  color: #2d5555;
}

.footer .copyright {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: #1a3a3a;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.4;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    padding: 1.75rem 1.25rem;
  }

  .otp-digit {
    width: 40px;
    height: 48px;
    font-size: 1.1rem;
  }
}