/* Homepage-only: platform-first hero, platform module, mobile sign-in bar */

/* Nav — platform prominence */
.nav a.nav-platform {
  color: #0369a1;
  font-weight: 700;
}
.nav a.nav-platform::after {
  background: #38bdf8;
}
.nav a.nav-signin {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(3, 105, 161, 0.08);
}
.nav a.nav-signin:hover {
  background: rgba(3, 105, 161, 0.14);
}

/* Hero — platform first */
.hero--platform-first .hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 1rem;
}
.hero--platform-first .hero-title {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero--platform-first .hero-lede {
  font-size: clamp(1.02rem, 1.85vw, 1.12rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.92;
  line-height: 1.65;
}
.hero-ctas--platform,
.hero-ctas--secondary {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-signup-links {
  margin-top: 1rem;
  font-size: 0.92rem;
  opacity: 0.9;
}
.hero-signup-links a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.platform-footer-link {
  margin-top: 2rem;
  font-size: 0.95rem;
}
.platform-footer-link a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}
.platform-footer-link a:hover {
  text-decoration: underline;
}
.hero-btn-platform {
  padding: 1rem 1.6rem !important;
  min-width: 11rem;
}
.cta-text-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}
.cta-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-text-link--strong {
  font-weight: 700;
}
.cta-text-link--on-dark {
  color: #bae6fd;
}
.cta-row--compact {
  align-items: center;
  gap: 1.25rem;
}
.hero-btn-platform--candidate {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
}
.hero-btn-platform--candidate:hover {
  background: #0f766e !important;
}
.hero-btn-ghost {
  opacity: 0.95;
}
.hero-footnote {
  margin-top: 1.35rem;
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-legacy-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-legacy .section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.platform-module {
  background: linear-gradient(165deg, #0a1628 0%, #0f2744 48%, #0c1e33 100%);
  color: #e8eef5;
  padding: 4rem 0;
}
.platform-module--lead {
  padding: 3.25rem 0 4rem;
  border-top: 3px solid #38bdf8;
}
.platform-module .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.platform-module .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.75rem;
}
.platform-module h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.platform-module .lead {
  color: #b8c9dc;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2rem;
}
.platform-module .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.platform-module .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
}
.platform-module .card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #e8eef5;
}
.platform-module .card p,
.platform-module .card ul,
.platform-module .card ul li {
  color: #c5d4e6;
  -webkit-text-fill-color: #c5d4e6;
  opacity: 1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.platform-module .card ul {
  padding-left: 1.1rem;
  list-style: none;
  margin: 0;
}
.platform-module .card ul li {
  padding: 0.35rem 0 0.35rem 1.75rem;
  position: relative;
}
.platform-module .card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}
.platform-module .card-action {
  margin-top: 0.85rem !important;
}
.platform-module .card-action a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}
.platform-module .card-action a:hover {
  text-decoration: underline;
}
.platform-module .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.platform-module .btn-platform {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.platform-module .btn-platform--primary {
  background: #38bdf8;
  color: #0a1628;
}
.platform-module .btn-platform--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #e8eef5;
}

.india-teaser {
  background: #f0f9ff;
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
}
.india-teaser .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
  text-align: center;
}
.india-teaser .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 0.65rem;
}
.india-teaser h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #0c2844;
  margin: 0 0 1rem;
}
.india-teaser p {
  color: #475569;
  line-height: 1.75;
  margin: 0 auto 1.25rem;
  max-width: 680px;
}
.india-teaser ul {
  text-align: left;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  color: #334155;
  line-height: 1.7;
}
.india-teaser .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Sticky mobile sign-in bar */
.platform-mobile-bar {
  display: none;
}
@media (max-width: 900px) {
  body {
    padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
  }
  .nav a.nav-signin {
    display: none;
  }
  .platform-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    gap: 0;
    padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #cbd5e1;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
  }
  .platform-mobile-bar__btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
  }
  .platform-mobile-bar__btn--employer {
    background: #0369a1;
    color: #fff;
    margin-right: 0.35rem;
  }
  .platform-mobile-bar__btn--candidate {
    background: #0d9488;
    color: #fff;
    margin-left: 0.35rem;
  }
}

@media (max-width: 768px) {
  .hero-btn-platform {
    min-width: 100%;
  }
}
