:root {
  --violet-600: #7c3aed;
  --violet-500: #9333ea;
  --violet-400: #a855f7;
  --violet-300: #c084fc;
  --indigo-400: #818cf8;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --card-bg: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(129, 140, 248, 0.08));
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, rgba(155, 81, 224, 0.35), transparent 45%), #f8f7ff;
  color: var(--slate-900);
  padding: 3rem 1rem 4rem;
  display: flex;
  justify-content: center;
}

.home-shell {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero {
  border-radius: 36px;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.15), rgba(56, 189, 248, 0.08)), #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 30px 80px rgba(79, 60, 143, 0.2);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.7), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--violet-600);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  color: var(--slate-900);
  margin: 0 0 1rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 2.4rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-actions__primary {
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-400));
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.35);
}

.hero-actions__ghost {
  color: var(--violet-600);
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(255, 255, 255, 0.6);
}

.hero-actions a:hover {
  transform: translateY(-2px);
}


.hero-visual {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: grid;
  gap: 1.2rem;
}

.hero-checklist h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--slate-900);
}

.hero-checklist p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.hero-checklist ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--slate-600);
}

.hero-checklist span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--violet-600);
  font-weight: 600;
  font-size: 0.85rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(8px);
}

.info-card header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(129, 140, 248, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.28);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-600);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.info-card h2 {
  margin: 0;
  font-size: 1.3rem;
}

.info-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.steps {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.steps h2 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-list li {
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  padding: 1.2rem;
  background: rgba(124, 58, 237, 0.03);
}

.steps-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--violet-600);
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.footer-cta {
  text-align: center;
  margin-top: 1rem;
}

.footer-cta p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

.footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.5);
  color: var(--violet-600);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}

.profiles-demo {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.profiles-demo__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.profiles-demo__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--violet-600);
}

.profiles-demo h2 {
  margin: 0;
}

.profiles-demo__intro {
  margin: 0.4rem 0 0;
  color: var(--slate-600);
}

.profiles-demo__switch {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.25rem;
  border: 1px solid #e2e8f0;
}

.profiles-demo__tab {
  border: 0;
  background: transparent;
  color: var(--slate-600);
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.profiles-demo__tab.is-active {
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-400));
  color: #fff;
}

.profiles-demo__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.profiles-demo__filter {
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.05);
  color: var(--violet-600);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.profiles-demo__filter.is-active {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.45);
}

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

.profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.profiles-empty {
  margin: 0;
  color: var(--slate-600);
  font-weight: 600;
}

.profile-card__image-btn {
  padding: 0;
  border: 0;
  width: 100%;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.profile-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.profile-card__body {
  padding: 0.9rem 1rem 1rem;
}

.profile-card__province {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: var(--violet-600);
  font-weight: 700;
}

.profile-card h3 {
  margin: 0.35rem 0 0.35rem;
}

.profile-card p {
  margin: 0;
  color: var(--slate-600);
}

.profile-card--staff {
  border-color: rgba(59, 130, 246, 0.28);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.profile-preview-card {
  width: min(860px, 94vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.profile-preview-card img {
  width: 100%;
  max-height: 68vh;
  object-fit: cover;
  display: block;
}

.zoom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.92);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem;
}

.zoom-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
}

.zoom-lightbox__controls {
  display: inline-flex;
  gap: 0.5rem;
  align-self: center;
  margin-top: 0.5rem;
}

.zoom-lightbox__controls .ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-lightbox__stage {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.zoom-lightbox__stage img {
  max-width: 90vw;
  max-height: 80vh;
  transition: transform 0.15s ease;
  transform-origin: center;
  cursor: grab;
}

.zoom-lightbox__stage img.is-panning {
  cursor: grabbing;
}

.profile-preview-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.profile-preview-card__province {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: var(--violet-600);
  font-weight: 700;
}

.profile-preview-card h3 {
  margin: 0.35rem 0;
}

.profile-preview-card p {
  margin: 0;
  color: var(--slate-600);
}

.image-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.35rem;
  cursor: pointer;
}

.is-hidden {
  display: none !important;
}

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

@media (max-width: 640px) {
  body {
    padding: 2rem 1rem 3rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
