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

:root {
  --bg: #060a14;
  --surface: #0c1220;
  --surface-2: #111827;
  --border: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #06b6d4;
  --accent-dim: rgba(6, 182, 212, 0.15);
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
  line-height: 1.7;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero .container {
  position: relative;
}

.hero__tag {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
  text-align: center;
}

.services {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: border-color 0.25s;
}

.card:hover {
  border-color: var(--accent);
}

.card__icon {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.services__pillars {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
}

.services__pillars li::before {
  content: "—  ";
  color: var(--text-muted);
}

.capabilities {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.card--link {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.card--link h3 {
  transition: color 0.2s;
}

.card--link:hover h3 {
  color: var(--accent);
}

.contact {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact__info p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.95rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-family: var(--mono);
  font-size: 0.85rem;
  min-height: 1.4em;
}

.form-status--success {
  color: #34d399;
}

.form-status--error {
  color: #f87171;
}

.page-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.page-section--cta {
  text-align: center;
}

.page-section--cta .section-title {
  margin-bottom: 16px;
}

.page-section--cta .page-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-section--cta .btn {
  margin-top: 24px;
}

.page-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 720px;
}

.page-list {
  list-style: none;
  margin-bottom: 24px;
  max-width: 720px;
}

.page-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.page-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.page-list--cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 40px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy,
.footer__id {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }

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

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 8px;
  }

  .page-list--cols {
    grid-template-columns: 1fr;
  }

  .services__pillars {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
