/* ============================================================
   VOKA ENGINEERING — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:         #0a0c10;
  --bg-1:       #0f1117;
  --bg-2:       #141720;
  --bg-card:    #171b26;
  --accent:     #3b82f6;
  --accent-dim: #1d4ed8;
  --accent-glow:#3b82f630;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --text-faint: #475569;
  --border:     #1e2433;
  --border-hi:  #2a3347;
  --green:      #22c55e;
  --font:       'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', monospace;
  --radius:     10px;
  --section-pad: 100px 24px;
}

html { scroll-behavior: smooth; }

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

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

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

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #162240 0%, var(--bg) 65%);
}

.hero-grid-overlay {
  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;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-hi);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--section-pad);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label.light { color: #60a5fa; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}
.section-sub.light { color: #93c5fd; }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities { background: var(--bg-1); }

.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.cap-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.cap-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.cap-icon svg { width: 100%; height: 100%; }

.cap-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.product-section { background: var(--bg); }
.product-section.dark { background: var(--bg-1); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Spec card */
.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 2rem;
  font-family: var(--mono);
}
.spec-card.dark {
  background: var(--bg-2);
}

.spec-card-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child { border-bottom: none; }

.spec-table td {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.spec-val {
  text-align: right;
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why { background: var(--bg-1); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.why-item {
  padding: 1.5rem 0;
  border-top: 2px solid var(--border);
}

.why-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(135deg, #0d1a2e 0%, #0a0c10 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-inner {
  text-align: center;
  padding: 120px 24px;
}
.contact-inner .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--border-hi);
  padding: 18px 36px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.07);
  transition: all 0.25s;
  font-family: var(--mono);
}
.contact-email:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.email-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 72px 20px; }

  .nav-links { display: none; }

  .hero-inner { padding: 120px 20px 64px; }

  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split.reverse { direction: ltr; }

  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }

  .contact-email {
    font-size: 1rem;
    padding: 14px 22px;
    word-break: break-all;
  }
}
