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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fc;
  color: #1c1c1e;
  line-height: 1.6;
}

/* ================================
   HEADER & NAVIGATION
================================= */
header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5a34ea;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #5a34ea;
}

/* ================================
   HERO SECTION
================================= */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}

.hero .highlight {
  color: #5a34ea;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto 30px;
}

/* ================================
   BUTTONS
================================= */
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background-color: #5a34ea;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(90, 52, 234, 0.2);
}

.btn-primary:hover {
  background-color: #452ad0;
}

.btn-secondary {
  background-color: #f1f1f1;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* ================================
   FEATURES SECTION
================================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 40px 20px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: #444;
}

/* ================================
   FOOTER
================================= */
footer {
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-top: 1px solid #e5e7eb;
}

.footer-links {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ================================
   RESPONSIVE TWEAKS
================================= */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================
   FORMS (LOGIN / SIGNUP)
================================= */
.form-page {
  max-width: 480px;
  margin: 60px auto 100px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.form-page h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  text-align: center;
}

.form-subtext {
  color: #666;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 24px;
}

.fake-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fake-form label {
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.fake-form input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.fake-form input:focus {
  outline: none;
  border-color: #5a34ea;
  box-shadow: 0 0 0 3px rgba(90, 52, 234, 0.1);
}

.form-footer {
  font-size: 0.9rem;
  text-align: center;
}

.form-footer a {
  color: #5a34ea;
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.fake-msg {
  text-align: center;
  margin-top: 12px;
  font-weight: 600;
}
