:root {
  --bg: #08090b;
  --panel: #101318;
  --panel-2: #151a1f;
  --text: #f4f7f8;
  --muted: #a9b2b5;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #42d9ff;
  --emerald: #2ee59d;
  --amber: #ffc857;
  --coral: #ff6f61;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(8, 9, 11, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  font-size: 15px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(66, 217, 255, 0.55);
  background: linear-gradient(135deg, rgba(66, 217, 255, 0.16), rgba(46, 229, 157, 0.13));
  color: var(--cyan);
  font-size: 13px;
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.header-action,
.primary-button {
  color: #071014;
  background: var(--cyan);
  box-shadow: 0 12px 34px rgba(66, 217, 255, 0.2);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(18px, 5vw, 64px) 70px;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.74) 42%, rgba(8, 9, 11, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.08), rgba(8, 9, 11, 0.92));
}

.hero-grid {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(66, 217, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 229, 157, 0.10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  color: #d8e1e3;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

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

.signal-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(620px, calc(100% - 36px));
  border: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.72);
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.signal-panel div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.signal-panel div:last-child {
  border-right: 0;
}

.signal-panel span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 22px;
  color: var(--amber);
}

.signal-panel small {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 92px clamp(18px, 5vw, 64px);
}

.intro-section {
  background: #0b0d10;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro-layout h2,
.section-heading h2,
.platform-copy h2,
.contact-section h2 {
  font-size: clamp(31px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-layout p,
.platform-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

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

.service-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}

.service-card:nth-child(2) .card-icon {
  color: var(--emerald);
}

.service-card:nth-child(3) .card-icon {
  color: var(--amber);
}

.service-card:nth-child(4) .card-icon {
  color: var(--coral);
}

.card-icon {
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 96px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(66, 217, 255, 0.10), transparent 35%),
    linear-gradient(315deg, rgba(255, 200, 87, 0.12), transparent 42%),
    #101113;
}

.terminal-view {
  overflow: hidden;
  border: 1px solid rgba(66, 217, 255, 0.24);
  border-radius: 8px;
  background: #07090a;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.44);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

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

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: var(--emerald);
}

.terminal-lines {
  padding: 28px;
  font-family: Consolas, "Courier New", monospace;
}

.terminal-lines p {
  margin: 0 0 18px;
  color: #c8d2d5;
}

.terminal-lines b {
  color: var(--cyan);
}

.flow-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0 28px 28px;
}

.flow-map span {
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(66, 217, 255, 0.22), rgba(46, 229, 157, 0.05)),
    #10151a;
}

.flow-map span:nth-child(even) {
  transform: translateY(22px);
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.22), rgba(255, 111, 97, 0.05)),
    #121316;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-list div {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-list strong {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
}

.industry-list span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 84px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f10;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 14px;
  background: #08090b;
}

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

  .signal-panel,
  .service-grid,
  .industry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .platform-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 46px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 13px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 44px;
  }

  h1 {
    font-size: 46px;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .signal-panel,
  .service-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .signal-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-panel div:last-child {
    border-bottom: 0;
  }

  .section,
  .platform-band,
  .contact-section {
    padding: 62px 18px;
  }

  .section-heading {
    display: block;
  }

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