:root {
  --bg: #030712;
  --bg-2: #06142a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --line-bright: rgba(45, 212, 191, 0.4);
  --text: #f8fbff;
  --muted: #b8c6da;
  --blue: #1d4ed8;
  --cyan: #2dd4bf;
  --violet: #7c3aed;
  --indigo: #312e81;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(45, 212, 191, 0.18), transparent 28rem),
    radial-gradient(circle at 20% 34%, rgba(29, 78, 216, 0.28), transparent 32rem),
    radial-gradient(circle at 52% 72%, rgba(124, 58, 237, 0.12), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #07111f 48%, #020617 100%);
  overflow-x: hidden;
}

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

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.52;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 52% 20%, black, transparent 72%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 232px;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--violet));
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(45, 212, 191, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #dfe8f7;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1160px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.32), transparent);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding-top: 122px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -15vw;
  top: 16%;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 60%);
  filter: blur(1px);
  animation: slowSpin 26s linear infinite;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-technology.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.82;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.97) 0%, rgba(2, 6, 23, 0.84) 43%, rgba(2, 6, 23, 0.26) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, #020617 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: 999px;
  padding: 9px 14px;
  color: #dffaff;
  background: rgba(3, 7, 18, 0.58);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.13);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.88;
  font-weight: 800;
}

.hero .hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}

h1 span,
h2 strong {
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #93c5fd 42%, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.tagline {
  margin: 22px 0 0;
  color: var(--white);
  font-size: clamp(1.18rem, 2.4vw, 1.7rem);
  font-weight: 700;
}

.hero-text {
  max-width: 670px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #22d3ee, #1d4ed8 58%, #7c3aed);
  box-shadow: 0 18px 45px rgba(29, 78, 216, 0.34);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-console,
.leadership,
.careers-panel,
.contact-form,
.service-card,
.profile-card,
.project-card,
.why-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    linear-gradient(180deg, rgba(45, 212, 191, 0.08), transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-console {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.22), transparent 35%, rgba(124, 58, 237, 0.18));
  opacity: 0.55;
  pointer-events: none;
}

.console-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.console-top em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
}

.console-top span:nth-child(2) {
  background: #60a5fa;
}

.console-top span:nth-child(3) {
  background: #a78bfa;
}

.code-line {
  position: relative;
  z-index: 1;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.52);
  color: #e5f1ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.code-line b {
  color: var(--cyan);
}

.dashboard-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.dashboard-lines span::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #60a5fa, var(--violet));
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.metric-grid div {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -58px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-grid div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
  background: rgba(3, 7, 18, 0.72);
}

.trust-grid strong {
  font-size: 1.12rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: 48px;
  align-items: start;
}

.section-copy p {
  max-width: 690px;
}

.leadership {
  border-radius: 8px;
  padding: 24px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  padding: 18px;
  margin-top: 16px;
}

.avatar {
  flex: 0 0 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 800;
}

.profile-card h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.profile-card p {
  margin: 0;
  font-size: 0.9rem;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  border-radius: 8px;
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24), transparent 64%);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover,
.project-card:hover,
.why-card:hover,
.profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 212, 191, 0.56);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(45, 212, 191, 0.12);
  font-size: 1.4rem;
  font-weight: 800;
}

.service-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 12px;
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 800;
}

.careers-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 26px;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
}

.careers-panel::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 68%);
  pointer-events: none;
}

.career-list {
  display: grid;
  gap: 12px;
}

.career-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.career-list span:hover {
  transform: translateX(4px);
  border-color: var(--line-bright);
}

.resume-form {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
}

.resume-form input {
  min-height: 48px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: rgba(2, 6, 23, 0.38);
}

.project-track,
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.project-card,
.why-card {
  min-height: 140px;
  display: grid;
  align-content: end;
  gap: 36px;
  border-radius: 8px;
  padding: 18px;
  font-size: 1.05rem;
  font-weight: 800;
}

.project-card {
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.22), rgba(29, 78, 216, 0.08)),
    var(--panel);
}

.project-card span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
  font-weight: 800;
}

.why-card {
  min-height: 124px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.14), transparent 52%);
}

.contact-form {
  display: grid;
  gap: 14px;
  border-radius: 8px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #eaf2ff;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.55);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
}

textarea {
  resize: vertical;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  color: var(--cyan);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.78), rgba(0, 0, 0, 0.52)),
    rgba(0, 0, 0, 0.36);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .careers-panel {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-track,
  .why-grid,
  .footer-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-console {
    max-width: 560px;
  }

  .trust-strip {
    margin-top: -22px;
  }
}

@media (max-width: 760px) {
  .nav {
    height: 68px;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.7) 42%, #020617 100%),
      rgba(2, 6, 23, 0.48);
  }

  .hero-badge {
    font-size: 0.76rem;
  }

  .hero-actions,
  .resume-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .card-grid,
  .project-track,
  .why-grid,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

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

  .container {
    width: min(100% - 28px, 1160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
