:root {
  --ink: #061826;
  --navy: #082a3a;
  --blue: #2f6bff;
  --cyan: #2ed8c3;
  --green: #21c781;
  --gold: #f9c74f;
  --mist: #f6fafd;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { overflow-x: hidden; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.ambient-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  opacity: .08;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--cyan), transparent 62%);
  filter: blur(12px);
}

[data-header].scrolled nav {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(8, 42, 58, .09);
  transform: translateY(-2px);
}

.nav-link {
  border-radius: 999px;
  padding: .78rem 1rem;
  color: #475569;
  font-size: .9rem;
  font-weight: 850;
  transition: .25s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(46, 216, 195, .13); }

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: #fff;
  transition: .25s ease;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hero-shell { min-height: 100svh; }
.hero-mesh {
  position: absolute;
  inset: -30%;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 25%, rgba(46, 216, 195, .38), transparent 24%),
    radial-gradient(circle at 74% 22%, rgba(47, 107, 255, .38), transparent 27%),
    radial-gradient(circle at 70% 78%, rgba(33, 199, 129, .22), transparent 24%),
    radial-gradient(circle at 30% 78%, rgba(249, 199, 79, .13), transparent 20%),
    linear-gradient(135deg, #061826 0%, #082a3a 45%, #071724 100%);
  animation: meshMove 12s ease-in-out infinite alternate;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}
@keyframes meshMove {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.8%, 0) scale(1.04); }
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #bafff6 28%, #8ea9ff 55%, #d8fff9 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 5.5s ease-in-out infinite alternate;
}
@keyframes gradientShift { to { background-position: 100% 50%; } }

.stat-card {
  min-height: 96px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 1.5rem;
  padding: 1.1rem;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
}
.stat-card strong {
  display: block;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.stat-card span {
  display: block;
  margin-top: .45rem;
  color: rgba(226, 232, 240, .78);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.3;
}

.resume-orbit-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(46,216,195,.55), rgba(255,255,255,.12), rgba(47,107,255,.42));
}
.resume-orbit-card::after {
  content: "";
  position: absolute;
  inset: 15%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,216,195,.22), transparent 68%);
  filter: blur(24px);
  animation: breathe 5s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.18); opacity: .65; } }

.animate-float-slow { animation: floatSlow 5.2s ease-in-out infinite alternate; }
.animate-float-fast { animation: floatFast 4s ease-in-out infinite alternate; }
@keyframes floatSlow { to { transform: translate3d(-10px, 16px, 0); } }
@keyframes floatFast { to { transform: translate3d(10px, -14px, 0); } }

.tag-chip {
  display: grid;
  min-height: 2.05rem;
  place-items: center;
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(46,216,195,.28), transparent);
  animation: scan 2.7s ease-in-out infinite;
}
@keyframes scan { to { top: 98%; } }

.match-row {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255,255,255,.08);
}
.match-row::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: var(--i);
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}
.match-row span,
.match-row strong { position: relative; z-index: 1; }
.match-row span { color: rgba(241,245,249,.82); font-size: .9rem; font-weight: 800; }
.match-row strong { float: right; color: #fff; font-weight: 950; }

.orbit-ring {
  position: absolute;
  inset: 3.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  animation: orbitRotate 16s linear infinite;
}
.orbit-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 10px rgba(46,216,195,.12);
}
.dot-a { left: 12%; top: 8%; }
.dot-b { right: 4%; top: 48%; background: var(--blue); box-shadow: 0 0 0 10px rgba(47,107,255,.12); }
.dot-c { left: 42%; bottom: -6px; background: var(--green); box-shadow: 0 0 0 10px rgba(33,199,129,.12); }
@keyframes orbitRotate { to { transform: rotate(360deg); } }

.section-label {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .6rem;
  border-radius: 999px;
  background: rgba(46,216,195,.14);
  padding: .55rem .9rem;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(33,199,129,.12);
}
.section-label.dark {
  background: rgba(255,255,255,.1);
  color: #ccfbf1;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1rem;
  padding: .45rem 0;
  animation: marquee 36s linear infinite;
}
.marquee-track.reverse { animation-name: marqueeReverse; animation-duration: 42s; }
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }
@keyframes marqueeReverse { from { transform: translateX(calc(-50% - .5rem)); } to { transform: translateX(0); } }
.logo-card {
  display: grid;
  width: 190px;
  height: 104px;
  place-items: center;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.55rem;
  background: rgba(255,255,255,.92);
  padding: 1.1rem;
  box-shadow: 0 18px 50px rgba(6,24,38,.085);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease, opacity .28s ease;
  filter: saturate(.8) contrast(.97);
}
.logo-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 30px 80px rgba(6,24,38,.13); filter: none; }
.logo-card img { width: 100%; height: 100%; object-fit: contain; border-radius: .75rem; }
.logo-pill {
  white-space: nowrap;
  border: 1px solid rgba(8,42,58,.1);
  border-radius: 999px;
  background: #f8fafc;
  padding: .8rem 1.25rem;
  color: #334155;
  font-size: .88rem;
  font-weight: 950;
}
.marquee-fade-left,
.marquee-fade-right {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 220px);
}
.marquee-fade-left { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.secondary .marquee-fade-left { background: linear-gradient(90deg, #fff, transparent); }
.secondary .marquee-fade-right { background: linear-gradient(270deg, #fff, transparent); }

.section-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .72;
  pointer-events: none;
}
.section-orb.left { left: -180px; top: 20%; background: radial-gradient(circle, rgba(46,216,195,.22), transparent 70%); }
.section-orb.right { right: -180px; top: 18%; background: radial-gradient(circle, rgba(47,107,255,.18), transparent 70%); }

.process-card {
  position: relative;
  overflow: hidden;
  min-height: 278px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 2rem;
  background: rgba(255,255,255,.78);
  padding: 1.6rem;
  box-shadow: 0 22px 70px rgba(6,24,38,.08);
  backdrop-filter: blur(20px);
  transition: transform .28s ease, box-shadow .28s ease;
}
.process-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.process-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  right: -65px;
  top: -70px;
  background: radial-gradient(circle, rgba(46,216,195,.22), transparent 70%);
}
.process-card:hover { transform: translateY(-8px); box-shadow: 0 32px 90px rgba(6,24,38,.13); }
.process-card span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: #eefcff;
  color: var(--navy);
  font-weight: 950;
}
.process-card h3 {
  margin-top: 1.65rem;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -.045em;
  color: var(--ink);
}
.process-card p { margin-top: .75rem; color: #64748b; font-weight: 600; line-height: 1.7; }

.benefit-card {
  min-height: 180px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.65rem;
  background: rgba(255,255,255,.08);
  padding: 1.35rem;
  box-shadow: 0 20px 70px rgba(0,0,0,.15);
  backdrop-filter: blur(20px);
}
.benefit-card strong { display: block; color: #fff; font-family: Manrope, Inter, sans-serif; font-size: 1.35rem; font-weight: 950; letter-spacing: -.04em; }
.benefit-card span { display: block; margin-top: .7rem; color: #cbd5e1; font-weight: 650; line-height: 1.65; }

.role-tabs { display: flex; flex-wrap: wrap; gap: .75rem; }
.role-tab {
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 999px;
  background: #fff;
  padding: .95rem 1.25rem;
  color: #475569;
  font-size: .9rem;
  font-weight: 950;
  box-shadow: 0 12px 36px rgba(6,24,38,.06);
  transition: .25s ease;
}
.role-tab.active,
.role-tab:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--ink); color: #fff; }
.role-panel { display: none; flex-wrap: wrap; gap: .85rem; }
.role-panel.active { display: flex; }
.role-panel span {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
  padding: 1rem 1.1rem;
  color: #334155;
  font-weight: 900;
  box-shadow: 0 14px 42px rgba(6,24,38,.06);
}

.apply-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(46,216,195,.18), transparent 28%),
    radial-gradient(circle at 92% 55%, rgba(47,107,255,.14), transparent 26%),
    linear-gradient(180deg, #f6fafd, #eef7fb);
}
.micro-card {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.35rem;
  background: rgba(255,255,255,.72);
  padding: 1.1rem;
  box-shadow: 0 14px 45px rgba(6,24,38,.06);
  backdrop-filter: blur(16px);
}
.micro-card span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-right: .5rem;
  place-items: center;
  border-radius: .8rem;
  background: rgba(46,216,195,.16);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 950;
}
.micro-card strong { color: var(--ink); font-weight: 950; }
.micro-card p { margin: .4rem 0 0 2.65rem; color: #64748b; font-weight: 650; }

.premium-form {
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 2.35rem;
  background: rgba(255,255,255,.9);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 35px 100px rgba(6,24,38,.13);
  backdrop-filter: blur(24px);
}
.premium-form label {
  color: #334155;
  font-size: .84rem;
  font-weight: 950;
}
.premium-form input,
.premium-form select,
.premium-form textarea {
  margin-top: .45rem;
  width: 100%;
  border: 1px solid rgba(15,23,42,.11);
  border-radius: 1.1rem;
  background: #f8fafc;
  padding: .95rem 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  border-color: rgba(47,107,255,.55);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(47,107,255,.09);
}
.premium-form input[type="file"] { padding: .8rem; }
.match-preview {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.35rem;
  background: #f8fafc;
  padding: 1rem;
}
.match-preview strong { color: var(--ink); font-weight: 950; }
.match-preview span { color: #64748b; font-size: .78rem; font-weight: 850; }
.match-preview img {
  height: 52px;
  width: 100%;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: .9rem;
  background: #fff;
  object-fit: contain;
  padding: .45rem;
}

.company-card {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at 18% 15%, rgba(46,216,195,.28), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(47,107,255,.28), transparent 36%),
    var(--ink);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 35px 100px rgba(6,24,38,.2);
}
.company-card::after {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.9rem;
  pointer-events: none;
}
.company-mini {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.1rem;
  background: rgba(255,255,255,.08);
  padding: 1rem;
  color: #e2e8f0;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.faq-item {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 16px 50px rgba(6,24,38,.06);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 950;
  letter-spacing: -.03em;
}
.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: #64748b;
  font-weight: 650;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: min(92vw, 520px);
  transform: translate(-50%, 22px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(6,24,38,.94);
  color: #fff;
  padding: .95rem 1.25rem;
  font-size: .9rem;
  font-weight: 850;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1023px) {
  .nav-panel {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 5.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 1.7rem;
    background: rgba(255,255,255,.96);
    padding: .9rem;
    box-shadow: 0 30px 90px rgba(6,24,38,.18);
    backdrop-filter: blur(24px);
  }
  .nav-panel.open { display: flex; }
  .nav-panel .nav-link { width: 100%; padding: 1rem; }
  .nav-panel a:last-child { margin-left: 0; text-align: center; }
}

@media (max-width: 767px) {
  .cursor-glow { display: none; }
  .hero-shell { min-height: auto; }
  .stat-card { min-height: 86px; padding: .9rem; }
  .resume-orbit-card { min-height: 520px; }
  .logo-card { width: 155px; height: 90px; border-radius: 1.2rem; }
  .marquee-track { animation-duration: 30s; }
  .process-card { min-height: auto; }
  .micro-card p { margin-left: 0; }
  .company-card { min-height: auto; }
}

@media (max-width: 520px) {
  .stat-card strong { font-size: .9rem; }
  .stat-card span { font-size: .7rem; }
  .tag-chip { font-size: .62rem; }
  .orbit-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
