:root {
  color-scheme: dark;
  --ink: #07101f;
  --navy: #0b1430;
  --midnight: #101b38;
  --blue: #3679ff;
  --cyan: #38d7f5;
  --mint: #54e6c4;
  --paper: #f6f8fb;
  --text: #f7fbff;
  --muted: #a9b7cf;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(54, 121, 255, 0.25), rgba(56, 215, 245, 0.1));
  color: white;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 3px;
  color: var(--cyan);
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #d7e0f3;
  font-size: 14px;
}

.main-nav a {
  padding: 10px 0;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 800;
}

.nav-action {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  min-height: 94svh;
  padding: 128px max(24px, calc((100vw - 1120px) / 2)) 54px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.96) 0%, rgba(9, 20, 42, 0.78) 46%, rgba(7, 16, 31, 0.52) 100%),
    radial-gradient(circle at 72% 35%, rgba(56, 215, 245, 0.2), transparent 34%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(58px, 9vw, 124px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-slogan {
  max-width: 760px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.02;
}

.hero-copy {
  max-width: 620px;
  color: #d5def2;
  font-size: 19px;
  line-height: 1.7;
}

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

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 16px 36px rgba(54, 121, 255, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 18, 38, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel span {
  color: var(--mint);
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 18px;
}

.hero-panel p,
.solution-card p,
.process-list p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.band,
.section,
.portfolio,
.contact {
  padding: 86px max(24px, calc((100vw - 1120px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: var(--paper);
  color: #101727;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
}

.intro p:last-child {
  margin-bottom: 0;
  color: #3c485e;
  font-size: 18px;
  line-height: 1.75;
}

.section {
  background: #101727;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

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

.solution-card {
  min-height: 284px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 36px;
  margin-bottom: 50px;
  padding: 0 10px;
  border: 1px solid rgba(56, 215, 245, 0.45);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.solution-card h3,
.project-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.portfolio {
  background: #eef3f8;
  color: #101727;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 292px;
  padding: 24px;
  border: 1px solid rgba(14, 29, 55, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(54, 121, 255, 0.14), rgba(84, 230, 196, 0.1)),
    #ffffff;
  box-shadow: 0 18px 50px rgba(13, 24, 43, 0.08);
}

.project-card.featured {
  grid-row: span 2;
  min-height: 598px;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.project-card.featured img {
  height: 72%;
  width: 100%;
  object-fit: cover;
}

.project-card.featured div {
  padding: 24px;
}

.project-card p {
  margin-bottom: 10px;
  color: #3679ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
  border-top: 2px solid var(--cyan);
  background: rgba(255, 255, 255, 0.05);
}

.process-list span {
  display: block;
  margin-bottom: 36px;
  color: var(--mint);
  font-size: 40px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  background: linear-gradient(135deg, #07101f, #16213f 56%, #092b3a);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #dfe8f8;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 10, 22, 0.55);
  color: white;
  font: inherit;
  padding: 14px 15px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(56, 215, 245, 0.62);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100vw - 1120px) / 2));
  background: #060c17;
  color: #9eabc3;
}

.site-footer span:first-child {
  color: white;
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    margin-top: 38px;
  }

  .solution-grid,
  .process-list,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.featured {
    grid-column: span 2;
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 16px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .band,
  .section,
  .portfolio,
  .contact {
    padding: 64px 18px;
  }

  .section-heading {
    display: block;
  }

  .solution-grid,
  .process-list,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .solution-card {
    min-height: 240px;
  }

  .project-card.featured {
    grid-column: auto;
    min-height: 440px;
  }
}
