:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #f8fbff;
  font-size: 16px;
  line-height: 1.6;
  --bg: #ffffff;
  --surface: #f6f8ff;
  --surface-strong: #e9eef8;
  --text: #0f172a;
  --muted: #5f6d8e;
  --accent: #0f5eff;
  --accent-soft: rgba(15, 94, 255, 0.12);
  --border: #e3e8ff;
  --shadow: 0 40px 120px rgba(15, 94, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 65%);
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a,
.header-actions a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  border: 1px solid rgba(15, 94, 255, 0.15);
  color: var(--text);
  background: white;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 3.8vw, 4.4rem);
  line-height: 0.95;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-pill-list {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-pill-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 94, 255, 0.08);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.profile-preview {
  max-width: 420px;
  border-radius: 36px;
  padding: 32px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3b6cff, #00c8ff);
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.profile-avatar.large {
  width: 96px;
  height: 96px;
}

.profile-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.profile-title,
.secondary-text {
  margin: 8px 0 0;
  color: var(--muted);
}

.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.language-tags span,
.verified-badge,
.skill-tags span {
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
}

.verified-badge {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.section {
  padding: 48px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.cards-grid,
.employer-grid,
.leaderboard-grid,
.plan-grid {
  display: grid;
  gap: 20px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(250px, 1fr));
}

.card,
.plan-card,
.employer-card,
.leader-card,
.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(15, 94, 255, 0.06);
}

.card {
  display: grid;
  gap: 18px;
}

.candidate-card {
  display: grid;
  gap: 18px;
}

.candidate-card .card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-avatar {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f5eff, #3b6cff);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.card-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.language-list,
.preference-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.language-list li,
.preference-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--text);
}

.language-list li span {
  color: var(--accent);
  font-weight: 700;
}

.feature-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 20px;
}

.feature-group {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.feature-group h3 {
  margin-top: 0;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-section {
  margin-top: 24px;
}

.profile-page-main {
  padding: 40px 0;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tags span {
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
}

.employer-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.leaderboard-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.leader-card {
  display: grid;
  gap: 14px;
}

.leader-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.leader-card span {
  color: var(--accent);
  font-weight: 700;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.plan-card {
  display: grid;
  gap: 18px;
}

.plan-card.featured {
  border-color: #0f5eff;
  box-shadow: 0 32px 100px rgba(15, 94, 255, 0.14);
}

.plan-card h4 {
  margin: 0;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

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

.footer {
  text-align: center;
  padding: 36px 0 18px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .feature-block,
  .employer-grid,
  .leaderboard-grid,
  .plan-grid,
  .grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 48px;
  }
}
