*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #5b4ef8;
  --purple-dark: #4338e0;
  --purple-bg: #eeeefe;
  --gray-light: #f3f4f8;
  --gray-text: #6b7280;
  --border: #e5e7eb;
  --dark: #111827;
  --white: #fff;
  --radius: 14px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* ══════════════════════════════════════════
       ABOUT PAGE
    ══════════════════════════════════════════ */
#about-page {
  display: block;
}

#signup-page {
  display: none;
}

/* ── MISSION HERO ────────────────────────── */
.mission-hero {
  background: linear-gradient(135deg, #5b4ef8 0%, #5b4ef8 20%, #3730b8 55%, #4f8ef7 100%);
  padding: 120px 40px 60px;
  text-align: center;
}

.mission-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, .18);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}

.mission-icon svg {
  width: 34px;
  height: 34px;
  color: white;
}

.mission-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.mission-hero p {
  color: rgba(255, 255, 255, .87);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 680px;
  margin: auto;
}

/* ── OUR STORY ───────────────────────────── */
.story-section {
  padding: 80px 40px;
  background: white;
}

.story-inner {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.story-text p {
  font-size: .95rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  height: 340px;
}

/* ── WHAT WE STAND FOR ───────────────────── */
.values-section {
  background: var(--gray-light);
  padding: 80px 40px;
  text-align: center;
}

.values-section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 48px;
}

.values-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px 28px;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}

.value-card:hover {
  border-color: #c4bcfd;
  box-shadow: 0 4px 20px rgba(91, 78, 248, .08);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-bg);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--purple);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.65;
}

/* ── TEAM ────────────────────────────────── */
.team-section {
  padding: 80px 40px;
  background: white;
  text-align: center;
}

.team-section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.team-section>p {
  color: var(--gray-text);
  font-size: .95rem;
  margin-bottom: 48px;
}

.team-grid {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-member {
  text-align: center;
}

.member-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  margin: 0 auto 16px;
}

.av-purple {
  background: linear-gradient(135deg, #7c3aed, #5b4ef8);
}

.av-cyan {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.av-pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.av-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.team-member h3 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-member p {
  font-size: .82rem;
  color: var(--gray-text);
}

/* ── FAQ ─────────────────────────────────── */
.faq-section {
  background: var(--gray-light);
  padding: 80px 40px;
}

.faq-section h2 {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 860px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open {
  border-color: #c4bcfd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gray-text);
  transition: transform .25s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq-item.open .faq-question {
  color: var(--purple);
  border-bottom: 1px solid var(--border);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer p {
  padding: 18px 24px;
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #5b4ef8 0%, #8b5cf6 50%, #a855f7 100%);
  padding: 72px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  font-size: .97rem;
  margin-bottom: 32px;
}

.btn-cta-white {
  background: white;
  color: var(--purple);
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}


/* ══════════════════════════════════════════
       SIGNUP PAGE
    ══════════════════════════════════════════ */
.signup-wrapper {
  min-height: calc(100vh - 64px);
  background: #eef0f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.signup-card {
  background: white;
  border-radius: 20px;
  padding: 44px 40px 36px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .1);
}

.signup-icon {
  width: 58px;
  height: 58px;
  background: var(--purple);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

.signup-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.signup-card h1 {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.signup-card>p {
  text-align: center;
  font-size: .875rem;
  color: var(--gray-text);
  margin-bottom: 26px;
}

/* Role toggle */
.role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
}

.role-btn {
  height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: white;
  color: #374151;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .2s, background .2s, color .2s;
}

.role-btn svg {
  width: 16px;
  height: 16px;
}

.role-btn.active {
  border-color: var(--purple);
  background: var(--purple-bg);
  color: var(--purple);
}

.role-btn:hover:not(.active) {
  border-color: #9ca3af;
}

/* Form fields */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.form-group input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 16px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--dark);
  background: white;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus {
  border-color: var(--purple);
}

.form-group input::placeholder {
  color: #adb5bd;
}

.form-group input.error {
  border-color: #ef4444;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 48px;
}

.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  display: grid;
  place-items: center;
  padding: 0;
  transition: color .2s;
}

.toggle-pw:hover {
  color: var(--purple);
}

.toggle-pw svg {
  width: 18px;
  height: 18px;
}

.err-msg {
  font-size: .78rem;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .err-msg {
  display: block;
}

/* Employer-only fields */
.employer-only {
  display: none;
}

/* Terms */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: .82rem;
  color: #374151;
}

.terms-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex-shrink: 0;
  cursor: pointer;
}

.terms-row a {
  color: var(--purple);
  font-weight: 600;
}

.btn-create {
  width: 100%;
  height: 50px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
  margin-bottom: 18px;
}

.btn-create:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.signin-prompt {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-text);
}

.signin-prompt a {
  color: var(--purple);
  font-weight: 700;
}

/* Success state */
.success-state {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-state .check-circle {
  width: 64px;
  height: 64px;
  background: #ecfdf5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #10b981;
}

.success-state .check-circle svg {
  width: 28px;
  height: 28px;
}

.success-state h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.success-state p {
  font-size: .9rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 22px;
}