:root {
  --bg-dark: #050816;
  --bg-card: #0b1220;
  --accent: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-strong: #2563eb;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --danger: #f97316;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.8);
  --radius-xl: 18px;
  --transition-fast: 180ms ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout wrapper */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

/* NAVBAR */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #38bdf8 0, #1d4ed8 35%, #020617 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4), 0 12px 30px rgba(15, 23, 42, 0.9);
}

.logo-mark span {
  font-size: 0.85rem;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #1d4ed8);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 1));
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.7);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.6), rgba(15, 23, 42, 1));
}

/* HERO SECTION – with video background */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 3.5rem;
  overflow: hidden;
  color: var(--text-main);
}

/* background video layer */
.hero-bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}


/* overlay above video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.35), transparent 55%),
    rgba(15, 23, 42, 0.75);
  z-index: 1;
}

/* actual content */
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.45);
  margin-bottom: 0.9rem;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.hero-title span.highlight {
  background: linear-gradient(to right, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.7rem;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.12rem;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-primary {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(to right, #2563eb, #a855f7);
  color: white;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.45);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.7);
  filter: brightness(1.05);
}

.btn-ghost {
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(59, 130, 246, 0.8);
  transform: translateY(-1px);
}

.btn-ghost span.icon {
  font-size: 1.1rem;
}

.hero-card {
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.98));
  border-radius: 26px;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(168, 85, 247, 0.2), transparent 55%);
  opacity: 0.8;
  z-index: -1;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.2);
  color: #bbf7d0;
  font-size: 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.lane {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.lane strong {
  font-weight: 600;
}

.lane span.tag {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card-footer {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
}

/* SECTIONS */
main {
  flex: 1;
}

section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out,
    background 160ms ease-out;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(59, 130, 246, 0.7);
  background: radial-gradient(circle at top, #020617, #020617);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card-tagline {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chip {
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.4);
  border: 1px solid rgba(129, 140, 248, 0.8);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* JOB OFFERS */
.job-section {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.25), rgba(15, 23, 42, 1));
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .job-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.job-card {
  background: radial-gradient(circle at top, #020617, #020617);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out;
  cursor: pointer;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.8);
  border-color: rgba(37, 99, 235, 0.9);
}

.job-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.job-title {
  font-size: 1rem;
  font-weight: 600;
}

.job-pay {
  font-size: 0.9rem;
  color: #bbf7d0;
  font-weight: 500;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.7rem;
}

.job-tag {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.job-footer {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-cta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.6rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.contact-value {
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition:
    border-color 140ms ease-out,
    box-shadow 140ms ease-out,
    background 140ms ease-out;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
  background: rgba(15, 23, 42, 1);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.4rem 1.25rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
}
