:root {
  --bg: #06080f;
  --bg-2: #0b0f19;
  --panel: #101624;
  --panel-2: #151c2b;
  --text: #f6f7fb;
  --muted: #a7afc0;
  --soft: #778195;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #d7defe;
  --accent-2: #8ea4ff;
  --radius: 26px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 5%, rgba(142, 164, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #06080f 0%, #090d16 48%, #06080f 100%);
}

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

.nav {
  width: calc(100% - 48px);
  max-width: 1240px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 13, 22, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 19px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f7f8ff, #9aaeff);
  box-shadow: 0 10px 30px rgba(142, 164, 255, 0.24);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: #05070d;
}

.logo-cut {
  fill: rgba(5, 7, 13, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-links a:hover {
  color: white;
}

.nav-button,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-button,
.primary-btn {
  background: #f4f6ff;
  color: #070a12;
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 1px solid var(--line-strong);
}

.nav-button:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 92vh;
  padding: 150px 7% 90px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
  max-width: 1420px;
  margin: 0 auto;
}

.eyebrow,
.section-label {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.06em;
  max-width: 760px;
}

.hero-text {
  margin-top: 24px;
  max-width: 680px;
  font-size: 18px;
  color: var(--muted);
}

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

.hero-panel {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, #141b2a, #0c111d);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.panel-title p,
.panel-metric span,
.panel-grid span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.panel-title h2 {
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.panel-metric {
  margin-top: 26px;
  padding: 22px;
  border-radius: 22px;
  background: #0b101b;
  border: 1px solid var(--line);
}

.panel-metric strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.flow {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.flow-item {
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  text-align: center;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.flow-item.active {
  background: #f4f6ff;
  color: #070a12;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.panel-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.panel-grid strong {
  display: block;
  margin-top: 3px;
}

.section {
  padding: 92px 7%;
  max-width: 1420px;
  margin: 0 auto;
}

.muted-section {
  max-width: none;
  background: rgba(255, 255, 255, 0.025);
}

.muted-section > * {
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  max-width: 850px;
  margin-bottom: 40px;
}

.section-header h2,
.contact-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-header p:not(.section-label),
.contact-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

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

.capability-card {
  min-height: 390px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.capability-card:hover,
.solution-card:hover,
.why-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 222, 254, 0.32);
}

.capability-card h3,
.solution-card h3,
.why-card h3,
.timeline h3,
.case-card h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
}

.capability-card p,
.solution-card p,
.why-card p,
.timeline p {
  color: var(--muted);
  margin-top: 12px;
}

.capability-card ul {
  margin-top: 28px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.capability-card li {
  color: #dbe1ef;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

.why-grid,
.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-card,
.why-card,
.case-card {
  padding: 28px;
  min-height: 245px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.solution-card span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  display: block;
  margin-bottom: 54px;
}

.process-section {
  max-width: none;
  background: #080c15;
}

.process-section > * {
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.timeline div {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  position: relative;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  padding: 13px 17px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: #d8deea;
  font-size: 14px;
  font-weight: 750;
}

.case-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-card p {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.case-card span {
  color: var(--muted);
}

.contact-section {
  padding: 92px 7%;
  max-width: 1420px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-info a,
.contact-info span {
  color: white;
  font-weight: 800;
}

.contact-form {
  padding: 28px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #dce2ef;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b101b;
  color: white;
  border-radius: 15px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(215, 222, 254, 0.48);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  border: none;
  background: #f4f6ff;
  color: #070a12;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.form-note {
  align-self: center;
  color: var(--soft);
  font-size: 13px;
}

footer {
  padding: 46px 7%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #dce2ef;
}

.copyright {
  white-space: nowrap;
}

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

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

@media (max-width: 1120px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

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

  .why-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .nav {
    width: calc(100% - 24px);
    top: 12px;
  }

  .nav-links,
  .nav-button {
    display: none;
  }

  .hero {
    padding: 126px 5% 70px;
    gap: 42px;
  }

  .section,
  .contact-section {
    padding: 70px 5%;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-text {
    font-size: 16px;
  }

  .capability-grid,
  .solution-grid,
  .timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

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

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