/* ============================================
   NEXUS TALENT USA — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root {
  --accent: #00d4ff;
  --accent2: #0077ff;
  --bg: #060b14;
  --bg2: #0d1525;
  --bg3: #111927;
  --text: #e2eaf6;
  --muted: #94a3b8;
  --faint: #64748b;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
.section { padding: 90px 0; }
.section-alt { background: rgba(255,255,255,0.015); }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 13px 30px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 700;
  letter-spacing: -0.3px; transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2); padding: 13px 30px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(0,212,255,0.06); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,11,20,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); height: 68px;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px; color: #fff;
}
.nav-logo-text { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.1; }
.nav-logo-sub { font-size: 10px; color: var(--faint); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  background: none; border: none; color: var(--muted);
  padding: 7px 15px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(0,212,255,0.08); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 9px 20px; border-radius: 9px;
  font-size: 14px; font-weight: 600; margin-left: 8px; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 20px 5%; flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { text-align: left; width: 100%; font-size: 15px; }
.mobile-menu .nav-cta { width: 100%; text-align: center; margin-left: 0; margin-top: 4px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 5% 60px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0,119,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent); padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 30px;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 72px); font-weight: 800;
  line-height: 1.08; letter-spacing: -2.5px; color: #fff; margin-bottom: 26px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero p {
  font-size: 18px; color: var(--muted); line-height: 1.75;
  max-width: 600px; margin: 0 auto 42px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 72px;
  flex-wrap: wrap; animation: fadeUp 0.6s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -1.5px; }
.stat-label { font-size: 13px; color: var(--faint); margin-top: 2px; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px; margin-top: 52px;
}
.step-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: border-color 0.3s;
}
.step-card:hover { border-color: rgba(0,212,255,0.25); }
.step-num {
  font-size: 52px; font-weight: 800; color: rgba(0,212,255,0.12);
  letter-spacing: -2px; margin-bottom: 14px; line-height: 1;
}
.step-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--faint); line-height: 1.75; }

/* ── SERVICES ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 52px;
}
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: all 0.3s;
}
.service-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-3px); }
.service-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.service-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--faint); line-height: 1.75; }

/* ── PARTNER CTA BANNER ── */
.partner-banner {
  background: linear-gradient(135deg, rgba(0,119,255,0.14), rgba(0,212,255,0.07));
  border-top: 1px solid rgba(0,212,255,0.1); border-bottom: 1px solid rgba(0,212,255,0.1);
  padding: 80px 5%; text-align: center;
}
.partner-banner h2 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: #fff;
  letter-spacing: -1.5px; margin-bottom: 16px;
}
.partner-banner p { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.75; }

/* ── JOB CARDS ── */
.jobs-list { margin-top: 32px; }
.job-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px;
  display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
  transition: all 0.25s; cursor: pointer;
}
.job-card:hover { border-color: rgba(0,212,255,0.25); background: rgba(0,212,255,0.03); transform: translateX(3px); }
.job-logo {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.job-info { flex: 1; min-width: 0; }
.job-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.job-company { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag {
  font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: 6px; display: inline-block;
}
.job-salary { font-size: 15px; font-weight: 700; color: var(--accent); white-space: nowrap; margin-left: auto; }

/* ── SEARCH & FILTER ── */
.search-row { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.search-input {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-size: 14px; outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--faint); }

.cat-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-btn {
  background: rgba(255,255,255,0.04); color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08); padding: 7px 16px;
  border-radius: 8px; font-size: 13px; font-weight: 600; transition: all 0.2s;
}
.cat-btn:hover, .cat-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border-color: transparent;
}
.results-count { font-size: 13px; color: var(--faint); margin-bottom: 16px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 20px; padding: 36px; max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.modal-title { font-size: 21px; font-weight: 800; color: #fff; }
.modal-company { font-size: 14px; color: var(--accent); margin-top: 2px; }
.modal-section-label {
  font-size: 11px; font-weight: 700; color: var(--faint);
  text-transform: uppercase; letter-spacing: 1px; margin: 20px 0 8px;
}
.modal-text { font-size: 14px; color: var(--muted); line-height: 1.75; }
.modal-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.modal-close {
  position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.08);
  border: none; color: var(--muted); width: 32px; height: 32px;
  border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── FORMS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: block; }
.form-input, .form-select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-size: 14px; outline: none; width: 100%; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--faint); }
.form-select option { background: var(--bg2); }
.form-textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-size: 14px; outline: none; width: 100%; min-height: 110px;
  resize: vertical; transition: border-color 0.2s; font-family: inherit;
}
.form-textarea:focus { border-color: var(--accent); }
.form-textarea::placeholder { color: var(--faint); }
.form-btn-row { display: flex; gap: 12px; margin-top: 6px; }

/* ── SUCCESS STATE ── */
.success-box { text-align: center; padding: 44px 20px; }
.success-icon { font-size: 52px; margin-bottom: 18px; }
.success-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.success-text { font-size: 15px; color: var(--faint); line-height: 1.75; max-width: 360px; margin: 0 auto 28px; }

/* ── PARTNERS PAGE ── */
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
.partner-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; gap: 18px; transition: all 0.25s;
}
.partner-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-2px); }
.partner-logo {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.partner-name { font-size: 16px; font-weight: 700; color: #fff; }
.partner-industry { font-size: 13px; color: var(--faint); margin-top: 2px; }
.partner-badge {
  display: inline-block; background: rgba(0,212,255,0.1); color: var(--accent);
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-top: 8px;
}

/* ── PAGE HEADER ── */
.page-header { padding: 110px 0 50px; }
.page-header h1 {
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; color: #fff;
  letter-spacing: -1.5px; margin-bottom: 12px;
}
.page-header p { font-size: 16px; color: var(--faint); max-width: 480px; line-height: 1.75; }

/* ── PARTNER INQUIRY PAGE ── */
.partner-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; padding: 110px 0 80px;
}
.partner-benefits { list-style: none; margin-top: 28px; }
.partner-benefits li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: 14px; color: var(--muted);
}
.partner-benefits li span:first-child { color: #10b981; margin-top: 1px; flex-shrink: 0; }
.partner-form-box {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.partner-form-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 24px; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border); padding: 44px 0; margin-top: 20px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand-name { font-size: 15px; font-weight: 700; color: #fff; }
.footer-brand-sub { font-size: 12px; color: var(--faint); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link {
  color: var(--faint); font-size: 13px; background: none; border: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--faint); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .partner-layout { grid-template-columns: 1fr; gap: 40px; }
  .job-card { flex-wrap: wrap; }
  .job-salary { margin-left: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 5% 50px; }
  .section { padding: 64px 0; }
  .modal-box { padding: 24px; }
  .partner-form-box { padding: 24px; }
}
