/*
Theme Name: NEX-AI
Theme URI: https://nex-ai.co
Author: NEX-AI
Description: Bespoke theme for NEX-AI - AI automation consultancy for Israeli businesses. Obsidian Tech design direction: near-black ground, single indigo accent, heavy Hebrew Heebo display.
Version: 1.0
Text Domain: nexai-theme
*/

:root {
  --bg: #14151C;
  --surface: #1B1D27;
  --ink: #F2F1ED;
  --accent: #5B5FEF;
  --ink-08: rgba(242, 241, 237, 0.08);
  --ink-12: rgba(242, 241, 237, 0.12);
  --ink-25: rgba(242, 241, 237, 0.25);
  --ink-60: rgba(242, 241, 237, 0.6);
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 64px;
  --space-xl: 120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  direction: rtl;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 var(--space-md);
}
p { margin: 0 0 var(--space-md); max-width: 65ch; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.1s ease;
}
.btn:active {
  transform: scale(0.98) translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: #4d51e0;
  border-color: #4d51e0;
  box-shadow:
    0 0 0 4px rgba(91, 95, 239, 0.18),
    0 8px 32px rgba(91, 95, 239, 0.32);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-25);
}
.btn-secondary:hover {
  border-color: var(--ink-60);
  box-shadow: 0 4px 16px rgba(91, 95, 239, 0.08);
}

/* Header — glassmorphism nav */
.site-header {
  border-bottom: 1px solid var(--ink-08);
  background: rgba(20, 21, 28, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--ink-08), 0 4px 32px rgba(91, 95, 239, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  gap: var(--space-md);
  font-size: 15px;
}
.main-nav a {
  color: var(--ink-60);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  inset-inline-end: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; font-size: 14px; }

@media (max-width: 780px) {
  .main-nav { display: none; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-08);
  padding-block: var(--space-lg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
}
.footer-copy {
  margin: 0;
  color: var(--ink-60);
  font-size: 14px;
}
