:root {
  --bg: #0a0e14;
  --bg-alt: #0e131b;
  --surface: #131a24;
  --surface-border: #212b38;
  --text: #e8edf4;
  --text-dim: #9aa7b8;
  --text-faint: #5f6b7c;
  --accent: #4fd1c5;
  --accent-2: #7c8cff;
  --radius: 12px;
  --max-width: 1120px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(79, 209, 197, 0.14), transparent 60%),
    radial-gradient(600px 400px at 85% 30%, rgba(124, 140, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #071310;
}

.btn-primary:hover {
  background: #6fe0d4;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--surface-border);
  color: var(--text);
}

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

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-dim);
  margin-top: 12px;
  font-size: 1.02rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.about-body p {
  color: var(--text-dim);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

.about-body strong {
  color: var(--text);
}

/* Grids / Cards */
.grid {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Products */
.products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.product-card-featured {
  border-color: rgba(79, 209, 197, 0.4);
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.06), var(--surface));
}

.product-card-placeholder {
  border-style: dashed;
}

.product-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 209, 197, 0.12);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.product-status-muted {
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.product-tagline {
  font-style: italic;
  color: var(--text-faint) !important;
  font-size: 0.88rem !important;
}

.product-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
}

.product-link.disabled {
  cursor: default;
}

/* Contact */
.contact-inner { text-align: center; }

.contact-card {
  margin-top: 8px;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.15s ease;
}

.contact-email:hover { color: var(--accent); }

.contact-note {
  color: var(--text-faint);
  margin-top: 18px;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.footer-sep { color: var(--surface-border); }

/* Responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--surface-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .capabilities-grid, .products-grid { grid-template-columns: 1fr; }

  .hero { padding: 88px 0 64px; }
}
