@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: #f4f6f9;
  color: #1f2937;
}


.mode-wrapper {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;
}


.mode-container {
  width: 100%;
  max-width: 900px;

  text-align: center;
}


.mode-header {
  margin-bottom: 40px;
}


.exam-label {
  display: inline-block;

  margin-bottom: 10px;

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.12em;

  color: #6b7280;
}


.mode-header h1 {
  margin: 0;

  font-size: 3rem;
  font-weight: 700;

  color: #111827;
}


.mode-header p {
  margin-top: 12px;

  font-size: 1.1rem;

  color: #6b7280;
}


.mode-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;
}


.mode-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 300px;

  padding: 36px 30px;

  background: #ffffff;

  border: 1px solid #e5e7eb;
  border-radius: 22px;

  text-decoration: none;
  color: inherit;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.05);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


.mode-card:hover {
  transform: translateY(-5px);

  border-color: #cbd5e1;

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.10);
}


.mode-icon {
  width: 72px;
  height: 72px;

  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: #f3f4f6;

  font-size: 2rem;
}


.mode-card h2 {
  margin: 0 0 12px;

  font-size: 1.5rem;

  color: #111827;
}


.mode-card p {
  margin: 0;

  max-width: 300px;

  color: #6b7280;

  line-height: 1.6;
}


.mode-action {
  margin-top: auto;
  padding-top: 28px;

  font-weight: 600;

  color: #2563eb;
}


.back-link {
  display: inline-block;

  margin-top: 36px;

  color: #6b7280;

  text-decoration: none;

  font-size: 0.95rem;
}


.back-link:hover {
  color: #111827;
}

/* =========================
   ACCOUNT BUTTON
========================= */

.account-link {
  position: fixed;
  top: 22px;
  right: 26px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  text-decoration: none;
  font-size: 1.1rem;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

  z-index: 999;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.account-link:hover {
  transform: translateY(-1px);
  border-color: #16a34a;
}

/* ***** MEDIA SECTION ******/

@media (max-width: 700px) {

  .mode-wrapper {
    padding: 30px 16px;
  }


  .mode-header h1 {
    font-size: 2.4rem;
  }


  .mode-grid {
    grid-template-columns: 1fr;
  }


  .mode-card {
    min-height: 260px;
  }

}

.ai-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  width: fit-content;

  padding: 6px 11px;
  margin: 0 auto 12px;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #7c3aed 0%,
    #a855f7 45%,
    #3b82f6 100%
  );

  color: #ffffff;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;

  box-shadow:
    0 4px 12px rgba(124, 58, 237, 0.22);
}