@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── Tokens ── */
:root {
  --bg:        #080f1a;
  --bg2:       #0d1824;
  --border:    #1a2d42;
  --cyan:      #00d4ff;
  --cyan-dim:  #007a99;
  --text:      #c8d8e8;
  --text-dim:  #5a7a94;
  --white:     #e8f4ff;
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(8, 15, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); text-decoration: none; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 7rem 2.5rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Packet animation (signature element) ── */
.packet-line {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  overflow: hidden;
  white-space: nowrap;
}

.packet-line .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: travel 3.5s linear infinite;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.packet-line .line-seg {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-dim), transparent);
}

@keyframes travel {
  0%   { transform: translateX(-20px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(300px); opacity: 0; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--cyan);
  color: var(--bg);
  text-decoration: none;
}

.btn-solid {
  background: var(--cyan);
  color: var(--bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--cyan);
}

/* ── Value props ── */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  max-width: 900px;
  margin: 0 auto 5rem;
}

.prop {
  background: var(--bg2);
  padding: 2.2rem 2rem;
}

.prop-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.prop h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.prop p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Section wrapper ── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section > p {
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg2);
  padding: 2rem;
  transition: background 0.2s;
}

.service-card:hover { background: #111f30; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ── Contact ── */
.contact-block {
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 3rem;
  max-width: 560px;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 80px;
  padding-top: 2px;
}

.contact-value {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--cyan); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

footer a { color: var(--text-dim); }
footer a:hover { color: var(--cyan); }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { gap: 1.2rem; }
  .hero { padding: 4rem 1.2rem 3rem; }
  .props { margin: 0 0 3rem; }
  .section { padding: 3rem 1.2rem; }
  .contact-block { padding: 2rem 1.2rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .divider { margin: 0 1.2rem; }
}
