*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #05070b;
  --bg-elevated: #0c1018;
  --border: #222735;
  --accent: #25f2ff;
  --accent-soft: rgba(37, 242, 255, 0.12);
  --text-main: #e4e8ff;
  --text-muted: #9aa3c2;
  --danger: #ff4f6e;
  --radius: 14px;
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.65);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: radial-gradient(circle at top, #101524 0, #05070b 45%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Fake CRT scanline */
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
  );
  opacity: 0.18;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: radial-gradient(circle at top left, rgba(37, 242, 255, 0.18), transparent 55%),
              rgba(5, 7, 11, 0.92);
  border-bottom: 1px solid rgba(50, 60, 90, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 7vw;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.logo-mark {
  color: var(--accent);
}

.logo-cursor {
  color: var(--accent);
  animation: blink 1.2s steps(1, end) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 12px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 64px 7vw 40px;
}

.hero-inner {
  max-width: 860px;
}

.hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  margin: 0 0 14px;
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 10px;
}

.btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 9px 18px;
  font-size: 12px;
  text-decoration: none;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: radial-gradient(circle at top left, rgba(37, 242, 255, 0.14), transparent 55%),
              rgba(7, 9, 16, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}

.btn.primary {
  border-color: rgba(37, 242, 255, 0.7);
}

.btn.ghost {
  background: rgba(5, 7, 11, 0.7);
  box-shadow: none;
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.75);
  border-color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.section {
  padding: 32px 7vw 8px;
  max-width: 1100px;
}

.section h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.section p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Cards & grids */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.card {
  background: linear-gradient(145deg, rgba(11, 15, 25, 0.96), rgba(5, 7, 12, 0.96));
  border-radius: var(--radius);
  border: 1px solid rgba(49, 60, 88, 0.85);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
  font-size: 13px;
}

.card h3 {
  font-size: 13px;
  margin-top: 0;
  margin-bottom: 6px;
}

.card ul {
  padding-left: 18px;
  margin: 5px 0 0;
}

.card li {
  margin-bottom: 4px;
}

.card.narrow {
  padding: 14px 14px 12px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.company-block {
  background: linear-gradient(155deg, rgba(9, 12, 21, 0.96), rgba(6, 8, 13, 0.96));
  border-radius: var(--radius);
  border: 1px solid rgba(52, 64, 96, 0.9);
  padding: 14px 16px 10px;
  font-size: 13px;
}

.company-block.full {
  grid-column: 1 / -1;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 10px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.hint {
  font-size: 11px;
  color: var(--text-muted);
}

.contact-form {
  background: rgba(7, 9, 15, 0.95);
  border-radius: var(--radius);
  border: 1px dashed rgba(72, 88, 132, 0.9);
  padding: 14px 14px 12px;
  font-size: 12px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  background: #05070b;
  border-radius: 7px;
  border: 1px solid rgba(60, 76, 116, 0.9);
  color: var(--text-main);
  padding: 7px 8px;
  font-family: inherit;
  font-size: 12px;
}

.contact-form input:disabled,
.contact-form textarea:disabled {
  color: var(--text-muted);
}

.contact-form button {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}

/* Footer */

.site-footer {
  margin-top: 32px;
  padding: 14px 7vw 18px;
  border-top: 1px solid rgba(52, 64, 96, 0.7);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  background: radial-gradient(circle at bottom right, rgba(37, 242, 255, 0.16), transparent 55%),
              rgba(3, 4, 8, 0.96);
}

/* Links */

a {
  color: var(--accent);
}

a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 780px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .hero {
    padding-top: 40px;
  }

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