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

:root {
  --bg: #080f1d;
  --panel: #0e1728;
  --card: #121c31;
  --accent: #7bd4ff;
  --accent-strong: #52b4ff;
  --muted: #9fb0d0;
  --border: #20304a;
  --success: #5ad1a4;
  --danger: #f27c7c;
  --warning: #ffcb66;
  --text: #e9eefc;
  --text-strong: #f9fbff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
  background: radial-gradient(circle at 20% 18%, rgba(82, 180, 255, 0.08), transparent 26%),
    radial-gradient(circle at 78% 0%, rgba(88, 108, 255, 0.06), transparent 38%),
    var(--bg);
  color: var(--text);
  margin: 0;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  border-color: rgba(123, 212, 255, 0.4);
  background: linear-gradient(
    145deg,
    rgba(123, 212, 255, 0.16),
    rgba(123, 212, 255, 0.08)
  );
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(123, 212, 255, 0.18);
  transform: translateY(-1px);
}

/* Base text rhythm */
p {
  margin: 0 0 8px;
}

section p:last-child {
  margin-bottom: 0;
}

.page-shell {
  min-height: 100vh;
}

.page-container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.topbar .page-container {
  width: 100%;
  max-width: none;
  padding: 0 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.main-content {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 15, 29, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 0;
  gap: 12px;
  width: 100%;
}

.topbar__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-strong);
  flex-shrink: 0;
}

.topbar__nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  justify-content: flex-end;
}
.normal:hover {
    border-color: rgba(123, 212, 255, 0.4);
  background: linear-gradient(
    145deg,
    rgba(123, 212, 255, 0.16),
    rgba(123, 212, 255, 0.08)
  );
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(123, 212, 255, 0.18);
  transform: translateY(-1px);
}
.topbar__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-strong);
  font-weight: 600;
  border: 1px solid rgba(123, 212, 255, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease;
}



.topbar__nav .primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0e1320;
  border: none;
  box-shadow: 0 12px 32px rgba(123, 212, 255, 0.35);
}


.topbar__nav .ghost {
  border: 1px solid rgba(123, 212, 255, 0.3);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
}

.topbar__nav .ghost:hover {
  border-color: rgba(123, 212, 255, 0.5);
  background: linear-gradient(
    145deg,
    rgba(123, 212, 255, 0.18),
    rgba(123, 212, 255, 0.08)
  );
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #7ed0ff;
  color: #0c1220;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(123, 212, 255, 0.35);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  color: #dbe4fa;
  max-width: 72ch;
}

.label-sm {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

section,
.panel,
.hero__text,
.timeline__item {
  text-align: left;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 10px 0 6px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.hero__text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero__text h1 {
  font-size: 40px;
  margin: 6px 0 10px;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin: 14px 0 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 12px auto 0;
  max-width: 900px;
  text-align: left;
}

.hero__meta p {
  margin: 6px 0 0;
  color: #dce6ff;
}

/* hero side card removed */

.panel {
  margin: 8px 0;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
}

.panel.muted {
  background: rgba(255, 255, 255, 0.01);
}

.panel__header {
  margin-bottom: 10px;
}

.panel__header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.panel__header p {
  margin: 0;
}

h1, h2, h3 {
  margin: 0 0 10px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.card.stretch {
  height: 100%;
}

.pill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(106, 208, 255, 0.1);
  color: #e9f4ff;
  border: 1px solid rgba(106, 208, 255, 0.15);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.timeline__item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  list-style: none;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;

}

.partner-logos__item {
  width: calc(33.33% - 12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos__item img {
  max-height: 60px;
  width: auto;
  max-width: 100%;

  
}

.organizer-logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.organizer-logos__item {
  flex: 1 1 260px;
  max-width: 360px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.organizer-logos__item img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}



.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.form-shell {
  margin: 30px auto;
  padding: 0;
  max-width: 960px;
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.form-grid.small {
  grid-template-columns: 1fr;
}

input, select, textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 212, 255, 0.12);
  backdrop-filter: blur(6px);
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: var(--text);
  font: 500 15px/1.4 "Manrope", "Segoe UI", sans-serif;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(82, 180, 255, 0.25);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-actions .form-note {
  margin-left: auto;
  text-align: right;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.title {
  margin: 0;
  padding: 0;
  font-weight: 600;

}
h1, h2, h3 {
  color: #8CCEFF;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0e1320;
  border: none;
  box-shadow: 0 12px 32px rgba(123, 212, 255, 0.35);
}

.btn.ghost {
  border: 1px solid var(--border);
  color: #f5f7ff;
  background: transparent;
}
.btn.ghost:hover {
  border-color: rgba(123, 212, 255, 0.4);
  background: linear-gradient(
    145deg,
    rgba(123, 212, 255, 0.16),
    rgba(123, 212, 255, 0.08)
  );
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(123, 212, 255, 0.18);
  transform: translateY(-1px);
}

.flash-container {
  padding: 10px 0 0;
}

.flash {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.flash-success { background: rgba(90, 209, 164, 0.15); border: 1px solid rgba(90, 209, 164, 0.4); }
.flash-danger { background: rgba(242, 124, 124, 0.15); border: 1px solid rgba(242, 124, 124, 0.4); }
.flash-warning { background: rgba(255, 203, 102, 0.15); border: 1px solid rgba(255, 203, 102, 0.4); }
.flash-info { background: rgba(92, 200, 255, 0.15); border: 1px solid rgba(92, 200, 255, 0.4); }

.progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.progress-list li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border);
}

.progress-list li.done {
  border-style: solid;
  color: #bce2ff;
}

.progress-list li.active {
  border-color: var(--accent);
  background: rgba(92, 200, 255, 0.08);
}

.status-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  text-transform: capitalize;
}

.status-chip.test_passed { background: rgba(90, 209, 164, 0.2); color: #bef5dd; }
.status-chip.test_failed { background: rgba(242, 124, 124, 0.2); color: #ffd7d7; }
.status-chip.essay_uploaded { background: rgba(92, 200, 255, 0.2); color: #dff3ff; }

.dash-head {
  padding: 10px 0 0;
}

.dash-head h2 {
  margin: 4px 0;
}

.dash-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.muted-text {
  color: var(--muted);
  font-size: 13px;
}

.caption {
  color: var(--muted);
  font-size: 12px;
}

.timer {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.question {
  margin-bottom: 8px;
}

.option {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .topbar__nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero__actions {
    flex-wrap: wrap;
  }
  .page-container {
    padding: 0 16px;
  }
}

@media (max-width: 720px) {
  .main-content {
    padding-top: 18px;
    gap: 16px;
  }
  .hero__text h1 {
    font-size: 30px;
    margin-bottom: 8px;
  }
  .panel,
  .card {
    padding: 14px;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .topbar__nav a {
    padding: 8px 10px;
  }
}
