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

:root {
  --bg:       #0d0d0d;
  --surface:  #161616;
  --border:   #252525;
  --text:     #e8e8e8;
  --muted:    #888;
  --accent:   #d4f500;
  --radius:   12px;
  --max-w:    960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 99px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--text); border-color: #444; }

/* Hero */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero h1 { white-space: normal; }
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
}

/* Products */
.products {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
}
.product-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

.product-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.product-info { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.product-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
}

.product-url {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Services */
.services {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.service-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* About */
.about {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.about p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.65;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.meta-value { font-size: 14px; font-weight: 500; }
.meta-value a { color: var(--muted); transition: color 0.15s; }
.meta-value a:hover { color: var(--text); }

/* Footer */
.footer { padding: 28px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal { font-size: 12px; color: var(--muted); }

.footer-contact {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-contact:hover { color: var(--text); }

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 64px 0 52px; }
  .hero h1 { letter-spacing: -1px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}
