/* ====== GLOBAL STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #1e293b;
  line-height: 1.6;
}

/* ====== NAVBAR ====== */
.navbar {
  background: #ffffff;
  color: #1e293b;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo a {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
  text-decoration: none;
}

.navbar .logo span {
  color: #2563eb;
  font-style: italic;
}

/* NAV LINKS */
.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar ul li a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #2563eb;
}

/* ====== HERO SECTION ====== */
.hero.light {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
  background: #ffffff;
  text-align: center;
  animation: fadeIn 0.8s ease-in;
}

.hero-content {
  max-width: 700px;
  padding: 3rem 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero-content h1 span {
  color: #2563eb;
}

.hero-content p {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 2.5rem;
}

/* BUTTONS */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: #2563eb;
  color: white;
}

.btn.primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.btn.secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn.secondary:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

/* ====== FOOTER ====== */
.footer {
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  color: #64748b;
  border-top: 1px solid #e5e7eb;
}

/* ====== AUTH PAGES ====== */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  background: #ffffff;
  animation: fadeIn 0.6s ease-in-out;
}

/* Card container */
.auth-card {
  margin: 1rem auto;
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Form styling */
.auth-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.auth-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.3);
}

/* Button */
.auth-form .btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-form .btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.25);
}

/* Footer text */
.auth-form .text-small {
  font-size: 0.95rem;
  color: #475569;
  margin-top: 1rem;
}

.auth-form .text-small a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-form .text-small a:hover {
  color: #1d4ed8;
}

/* Input hover effect */
.auth-form input:hover {
  border-color: #94a3b8;
}

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

  .auth-card h2 {
    font-size: 1.5rem;
  }

  .auth-form input {
    font-size: 0.95rem;
  }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
  }
}
