:root {
  --bg: #060607;
  --bg-soft: #0d0e12;
  --panel: rgba(18, 18, 24, 0.72);
  --panel-strong: rgba(25, 25, 31, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: #b2b5c4;
  --red: #ff3a41;
  --red-soft: #ff6a70;
  --red-dark: #9d0f16;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 58, 65, 0.14), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(255, 58, 65, 0.10), transparent 25%),
              linear-gradient(180deg, #050506 0%, #09090b 35%, #08090d 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--red) 45%, var(--red-dark));
  box-shadow: 0 0 24px rgba(255, 58, 65, 0.75);
}

.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.primary-btn,
.ghost-btn,
.chip,
.search-btn {
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.primary-btn {
  padding: 14px 24px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), #b40f18);
  box-shadow: 0 15px 30px rgba(255, 58, 65, 0.28);
}

.primary-btn:hover,
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 58, 65, 0.4);
}

.ghost-btn {
  padding: 13px 22px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.ghost-btn:hover,
.chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle,
.mobile-menu {
  display: none;
}

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd1d3;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pulse-badge::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 58, 65, 0.8);
  animation: pulse 1.8s infinite;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 22px;
  max-width: 12ch;
}

.gradient-text {
  background: linear-gradient(135deg, #fff, #ffb3b7 40%, #ff434b 70%, #aa0d13 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.section-heading p,
.timeline-card p,
.testimonial p,
.category-card p,
.cta-box p,
.job-card p,
.modal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card,
.category-card,
.testimonial,
.timeline-card,
.cta-box,
.job-card,
.search-panel,
.hero-panel {
  border-radius: var(--radius);
}

.stat-card {
  padding: 22px;
}

.stat-card h3 {
  margin: 0 0 6px;
  font-size: 2rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% 10%;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 58, 65, 0.38), transparent 60%);
  filter: blur(24px);
}

.hero-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

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

.mini-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  height: 170px;
  margin-bottom: 16px;
}

.mini-chart div {
  border-radius: 20px 20px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 58, 65, 0.25));
  animation: rise 4.5s ease-in-out infinite;
}

.mini-chart div:nth-child(1) { height: 48%; animation-delay: 0s; }
.mini-chart div:nth-child(2) { height: 82%; animation-delay: 0.25s; }
.mini-chart div:nth-child(3) { height: 64%; animation-delay: 0.55s; }
.mini-chart div:nth-child(4) { height: 92%; animation-delay: 0.15s; }
.mini-chart div:nth-child(5) { height: 71%; animation-delay: 0.45s; }
.mini-chart div:nth-child(6) { height: 100%; animation-delay: 0.75s; }

.highlight-job,
.live-feed {
  padding: 18px;
  border-radius: 22px;
  margin-top: 14px;
}

.highlight-job h3 {
  margin: 12px 0 8px;
}

.highlight-job ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 12px 0 0;
}

.job-badge,
.job-tag,
.card-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.job-badge,
.job-tag.hot {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #980d15);
}

.live-feed {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-feed p {
  margin: 0;
}

.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 58, 65, 0.8);
  animation: pulse 1.8s infinite;
}

.ticker-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 26s linear infinite;
}

.ticker-track span {
  color: #f5d7d9;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.search-panel {
  padding: 28px;
}

.search-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.search-head h2,
.section-heading h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.search-status {
  color: #ffd0d2;
  font-weight: 600;
}

.search-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
}

.search-grid label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-grid input,
.search-grid select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  outline: none;
}

.search-grid input::placeholder {
  color: #8d92a7;
}

.search-btn {
  align-self: end;
  padding: 0 22px;
  height: 56px;
}

.chip-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip.active {
  background: linear-gradient(135deg, rgba(255, 58, 65, 0.28), rgba(255, 58, 65, 0.12));
  border-color: rgba(255, 58, 65, 0.38);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.job-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 58, 65, 0.08), transparent 45%, rgba(255,255,255,0.03));
  opacity: 0;
  transition: 0.3s ease;
}

.job-card:hover::before {
  opacity: 1;
}

.job-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 58, 65, 0.24);
}

.job-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.company-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.company-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 58, 65, 0.35), rgba(255, 58, 65, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
  font-weight: 800;
}

.company-line small,
.meta-row span,
.job-card footer span,
.card-chip {
  color: var(--muted);
}

.job-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.meta-row,
.salary-row,
.card-tags,
.job-card footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-row {
  margin: 12px 0 14px;
}

.card-chip {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.salary-row {
  margin-bottom: 16px;
}

.salary-row strong {
  font-size: 1.1rem;
}

.card-tags {
  margin: 18px 0 20px;
}

.job-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.job-card footer {
  justify-content: space-between;
  align-items: center;
}

.card-cta {
  display: flex;
  gap: 10px;
}

.card-action,
.card-secondary {
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.card-action {
  color: white;
  background: linear-gradient(135deg, var(--red), #9e1017);
}

.card-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.center-heading {
  text-align: center;
  margin-inline: auto;
}

.categories-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card,
.testimonial,
.timeline-card {
  padding: 26px;
}

.category-card h3,
.timeline-card h3 {
  margin-top: 0;
}

.category-card span,
.testimonial span {
  color: #ffced0;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.logo-wall span {
  display: grid;
  place-items: center;
  min-height: 94px;
  border-radius: 20px;
  color: #f8d8da;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-card {
  position: relative;
  overflow: hidden;
}

.timeline-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255,58,65,0.3), rgba(255,58,65,0.08));
  color: #fff;
  font-weight: 800;
}

.testimonial strong {
  display: block;
  margin-top: 18px;
}

.cta-box {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
}

.job-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(calc(100% - 30px), 760px);
  max-height: min(88vh, 900px);
  overflow: auto;
  margin: 6vh auto;
  padding: 28px;
  z-index: 1;
  border-radius: 28px;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 50%;
}

.modal-company {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0 16px;
}

.modal-meta,
.modal-tags,
.modal-list,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-list {
  flex-direction: column;
  padding-left: 18px;
}

.modal-section {
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 22px;
}

.modal-actions {
  margin-top: 22px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), #8f0f15);
  color: white;
  font-weight: 700;
  transform: translateY(150%);
  opacity: 0;
  transition: 0.35s ease;
  box-shadow: 0 15px 30px rgba(255,58,65,0.35);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  z-index: -2;
}

.orb-1 {
  width: 340px;
  height: 340px;
  top: 120px;
  left: -60px;
  background: rgba(255, 58, 65, 0.32);
  animation: floatY 10s ease-in-out infinite;
}

.orb-2 {
  width: 260px;
  height: 260px;
  top: 50%;
  right: -40px;
  background: rgba(255, 58, 65, 0.26);
  animation: floatY 12s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 12%;
  background: rgba(255, 58, 65, 0.18);
  animation: floatY 11s ease-in-out infinite;
}

.grid-overlay,
.noise,
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  z-index: -3;
  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: 38px 38px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.noise {
  z-index: -1;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.4) 1px, transparent 0);
  background-size: 18px 18px;
}

#particles {
  z-index: -2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 88, 95, 0.55);
  box-shadow: 0 0 16px rgba(255, 58, 65, 0.45);
  animation: particleFloat linear infinite;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}

.glitch::before {
  transform: translate(2px, -1px);
  color: rgba(255, 58, 65, 0.55);
  animation: glitch 3s infinite;
}

.glitch::after {
  transform: translate(-2px, 1px);
  color: rgba(255, 255, 255, 0.35);
  animation: glitch 2.7s infinite reverse;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 16px rgba(255, 58, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 58, 65, 0); }
}

@keyframes rise {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.88); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

@keyframes particleFloat {
  from { transform: translateY(100vh) scale(0.7); opacity: 0; }
  10% { opacity: 1; }
  to { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 0 0); }
  12% { clip-path: inset(4% 0 65% 0); }
  18% { clip-path: inset(70% 0 8% 0); }
  24% { clip-path: inset(40% 0 36% 0); }
  30% { clip-path: inset(10% 0 74% 0); }
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .process-grid,
  .search-grid,
  .categories-grid,
  .testimonials-grid,
  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-toggle span {
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 999px;
  }

  .mobile-menu {
    margin-top: 10px;
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
    border-radius: 26px;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-menu.show {
    display: flex;
  }

  .hero-grid,
  .hero-stats,
  .categories-grid,
  .testimonials-grid,
  .logo-wall,
  .process-grid,
  .search-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .search-head {
    flex-direction: column;
    align-items: start;
  }

  .cta-box {
    gap: 18px;
  }

  .hero-copy h1 {
    max-width: unset;
  }

  .section {
    padding: 84px 0;
  }

  .nav-wrap {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .search-panel,
  .job-card,
  .category-card,
  .testimonial,
  .timeline-card,
  .cta-box,
  .modal-card {
    padding: 20px;
  }

  .job-card footer,
  .card-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .card-action,
  .card-secondary,
  .primary-btn,
  .ghost-btn,
  .search-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
