/* ── Magna Hire Marketing Pages CSS ───────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: #303030;
  line-height: 1.6;
  background: #faf7ff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Brand colors ──────────────────────────────────────────── */
.magna-purple    { color: #a020f0 !important; }
.bg-magna        { background-color: #a020f0 !important; }
.bg-magna-light  { background-color: #f3e8ff !important; }
.bg-gray         { background-color: #f5f0ff !important; }
.text-white      { color: #fff !important; }
.text-magna      { color: #a020f0 !important; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── Buttons ───────────────────────────────────────────────── */
.hami-btn {
  position: relative;
  min-width: 150px;
  height: 50px;
  line-height: 50px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  padding: 0 32px;
  text-align: center;
  background-color: #a020f0;
  color: #ffffff !important;
  border: 2px solid #a020f0;
  border-radius: 100px;
  transition: all 400ms ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.hami-btn:hover, .hami-btn:focus {
  box-shadow: 0 2px 40px 8px rgba(15,15,15,0.12);
  background-color: #ffffff;
  color: #a020f0 !important;
}
.hami-btn.btn-2 {
  background-color: #ffffff;
  color: #a020f0 !important;
}
.hami-btn.btn-2:hover, .hami-btn.btn-2:focus {
  background-color: #a020f0;
  color: #ffffff !important;
}

/* ── Form inputs ───────────────────────────────────────────── */
.form-control {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border-radius: 30px;
  border: 1.5px solid #ebebeb;
  color: #303030;
  font-size: 14px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: #a020f0; outline: none; box-shadow: none; }
.form-control::placeholder { color: #acacac; }
textarea.form-control {
  height: 130px;
  padding: 15px 20px;
  resize: vertical;
  border-radius: 16px;
}

/* ── Navbar ────────────────────────────────────────────────── */
.classy-nav-container {
  background-color: #ffffff;
  width: 100%;
  z-index: 100;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.classy-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.nav-brand img { height: 38px; width: auto; }
.classynav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.classynav ul li a {
  color: #303030;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  display: block;
  transition: color 200ms;
  border-radius: 6px;
}
.classynav ul li a:hover,
.classynav ul li.active > a { color: #a020f0; }

/* Account dropdown */
.account-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 0 10px;
  height: 38px;
  border-radius: 100px;
  background: #a020f0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.account-btn:hover { background: #8a1bcc; }
.account-dropdown {
  position: absolute;
  right: 0;
  top: 48px;
  width: 200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  z-index: 200;
  display: none;
}
.account-dropdown.open { display: block; }
.account-dropdown-header {
  padding: 12px 16px;
  background: rgba(160,32,240,0.05);
  border-bottom: 1px solid #f3f4f6;
}
.account-dropdown-header p:first-child { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }
.account-dropdown-header p:last-child  { font-size: 13px; font-weight: 700; color: #374151; margin-top: 2px; }
.account-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: #374151;
  transition: background 0.15s;
}
.account-dropdown a:hover { background: rgba(160,32,240,0.05); color: #a020f0; }
.account-dropdown .icon-wrap {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.account-dropdown a:hover .icon-wrap { background: rgba(160,32,240,0.1); }
.account-dropdown-divider { height: 1px; background: #f3f4f6; margin: 0 16px; }

/* Dashboard button (for authenticated recruiters) */
.dashboard-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 38px;
  border-radius: 100px;
  background: #a020f0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.dashboard-btn:hover { background: #8a1bcc; color: #fff; }

/* Hamburger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid #f3f4f6;
  padding: 8px 0 12px;
}
.mobile-nav-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color 0.15s;
}
.mobile-nav-menu a:hover, .mobile-nav-menu a.active { color: #a020f0; }
.mobile-nav-menu .mobile-divider { height: 1px; background: #f3f4f6; margin: 6px 0; }

@media (max-width: 991px) {
  .desktop-nav { display: none !important; }
  .mobile-nav-open .mobile-nav-menu { display: flex !important; }
}
@media (min-width: 992px) {
  .hamburger-btn { display: none !important; }
  .mobile-nav-menu { display: none !important; }
  .desktop-nav { display: flex !important; }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #f3f4f6;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.site-footer img { height: 40px; width: auto; }
.site-footer p { font-size: 13px; color: #6b7280; }
.site-footer a { font-size: 13px; color: #a020f0; text-decoration: underline; }

/* ── Infinite brand slider ────────────────────────────────── */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100px * 16)); }
}
.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
}
.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  gap: 10px;
  width: calc(100px * 32 + 320px);
}
.slider .slide {
  height: 100px;
  width: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider .slide img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

/* ── Video container ──────────────────────────────────────── */
.video-container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.video-container iframe {
  max-width: 100%;
  width: 760px;
  height: 428px;
  border-radius: 12px;
  border: 0;
}
@media (max-width: 767px) {
  .video-container iframe { width: 100%; height: 220px; }
}

/* ── Job type badge ───────────────────────────────────────── */
.job-type-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(160,32,240,0.1);
  color: #a020f0;
}

/* ── Feature pattern ──────────────────────────────────────── */
.feature-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.06;
  pointer-events: none;
}

/* ── Scroll-up button ─────────────────────────────────────── */
#scrollUp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 40px;
  height: 40px;
  background-color: #a020f0;
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  z-index: 9999;
  font-size: 18px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: background 300ms;
  display: none;
}
#scrollUp:hover { background-color: #303030; }

/* ── Utility layout ────────────────────────────────────────── */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center  { text-align: center; }
.relative     { position: relative; }
.overflow-hidden { overflow: hidden; }

.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.gap-14 { gap: 56px; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr !important; }
  .sm-flex-col { flex-direction: column; }
}
@media (max-width: 1023px) {
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lg-hide { display: none !important; }
}

/* ── Section padding ──────────────────────────────────────── */
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-14 { padding-top: 56px; padding-bottom: 56px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }

/* ── Typography scale ─────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }
p  { color: #303030; line-height: 1.7; }

.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-white    { color: #fff; }
.text-green-600 { color: #16a34a; }

/* ── Cards ───────────────────────────────────────────────────*/
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.card-hover:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.card, .card-hover { transition: all 0.3s ease; }

/* Rounded */
.rounded-xl  { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* Shadow */
.shadow-sm { box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

/* Border */
.border { border: 1px solid #ebebeb; }

/* ── Feature card (supercharge section) ────────────────────── */
.feature-card {
  padding: 36px;
  margin: 24px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
}
.feature-card .inner { display: flex; align-items: center; gap: 24px; }
.feature-card img { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }

/* ── Stats counter ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 48px 0 32px;
}
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.stat-count { font-size: 2.5rem; font-weight: 600; text-align: center; }

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  background-color: #a020f0;
  padding: 40px 0;
}
.cta-strip h2 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.875rem); font-weight: 400; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  margin: 40px 0;
}
.testimonials-inner {
  position: relative;
  padding: 64px 32px;
  background: #f3e8ff;
  border-radius: 12px;
  overflow: hidden;
}
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonials-grid { display: grid; gap: 16px; }
.testimonials-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.testimonials-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) {
  .testimonials-grid.cols-2,
  .testimonials-grid.cols-3 { grid-template-columns: 1fr; }
}
.testimonial-divider { width: 100%; border: 0; border-top: 1px solid #e5e7eb; margin: 24px 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #a020f0; }

/* ── How it works step connector ──────────────────────────── */
.how-step { position: relative; }
.step-connector {
  display: none;
}
@media (min-width: 1024px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 30px;
    left: calc(100% - 10px);
    width: 100%;
    height: 2px;
    background: rgba(160,32,240,0.2);
    z-index: 0;
  }
}

/* ── Feature icon circle ──────────────────────────────────── */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(160,32,240,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a020f0;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-card-grid:hover .feature-icon {
  background: #a020f0;
  color: #fff;
}
.feature-card-grid {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.feature-card-grid:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(160,32,240,0.3);
}

/* ── Check list ────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; }
.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #a020f0;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon-white {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Badge pill ────────────────────────────────────────────── */
.badge-pill {
  display: inline-block;
  background: rgba(160,32,240,0.1);
  color: #a020f0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.badge-pill-white {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Mock browser UI ────────────────────────────────────────── */
.mock-browser {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mock-browser-bar {
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-red    { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #fbbf24; }
.dot-green  { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; }
.mock-browser-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ── Mission/Vision cards ──────────────────────────────────── */
.mv-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.mv-card img { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }

/* ── Team card ────────────────────────────────────────────── */
.team-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.team-card img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form-group { margin-bottom: 16px; }

/* ── Inline info ribbon ────────────────────────────────────── */
.info-ribbon {
  background: #a020f0;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}
