:root {
  --bg: #020617;
  --bg-soft: #07111f;
  --panel: rgba(255,255,255,0.05);
  --panel-strong: rgba(15,23,42,0.78);
  --line: rgba(255,255,255,0.10);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --white: #ffffff;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34,211,238,0.14);
  --emerald: #6ee7b7;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34,211,238,0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(16,185,129,0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 36%, var(--bg-soft) 100%);
  color: var(--text);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow { width: min(860px, calc(100% - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--white) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('img/bgAxentia.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.13;
  mix-blend-mode: lighten;
  filter: saturate(0.6) brightness(0.9);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 38%, transparent 72%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 56px;
  padding: 80px 0 88px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.22);
  background: rgba(34,211,238,0.10);
  color: #b6f1fb;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.section h2 {
  margin: 22px 0 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 860px;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  background: linear-gradient(90deg, #9be8f6, #4fd1ff, #8ef2c5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section p,
.glass-card p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
}

.hero-text {
  max-width: 760px;
  margin: 28px 0 0;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 600;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--cyan);
  color: #062130;
  box-shadow: 0 16px 36px rgba(34,211,238,0.22);
}
.button-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: 820px;
}

.mini-card,
.feature-card,
.glass-card,
.hero-panel,
.metric-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mini-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.mini-card strong,
.metric-card strong { display: block; color: var(--white); }
.mini-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  border-radius: 34px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(15,23,42,0.88) 0%, rgba(7,17,31,0.82) 100%),
    url('img/bgAxentia.jpg') center 20% / cover no-repeat;
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, rgba(16,185,129,0.04) 100%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.panel-kicker { font-size: 0.86rem; color: #9be8f6; }
.panel-title {
  margin-top: 6px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.24);
  color: #9ef0ca;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.chat-flow { margin-top: 22px; display: grid; gap: 14px; }
.chat-bubble {
  max-width: 88%;
  padding: 16px 18px;
  border-radius: 22px;
  line-height: 1.7;
  font-size: 0.96rem;
}
.chat-bubble.left {
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbe4ef;
}
.chat-bubble.right {
  margin-left: auto;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.18);
  color: #eefcff;
}

.metrics-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.metric-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(0,0,0,0.16);
}
.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(7,17,31,0.55);
  backdrop-filter: blur(10px);
}

.stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  overflow-x: auto;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 0 28px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-item span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .stats-inner { gap: 0; padding: 16px 0; }
  .stat-item { min-width: 130px; padding: 0 16px; }
  .stat-sep { display: none; }
}

/* ─── SECTION ─────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.section-top-border { border-top: 1px solid rgba(255,255,255,0.08); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(15,23,42,0.72);
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover {
  border-color: rgba(34,211,238,0.22);
  transform: translateY(-2px);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 42px;
  height: 42px;
  color: var(--cyan);
  margin-bottom: 16px;
  opacity: 0.85;
}
.feature-card h3,
.glass-card h2,
.compact-card h3 {
  margin: 0;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.feature-card h3 { font-size: 1.28rem; }
.feature-card p {
  margin: 16px 0 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.align-center { align-items: center; }

.glass-card {
  padding: 34px;
  border-radius: 34px;
  background: rgba(15,23,42,0.72);
}

.accent-card {
  background: linear-gradient(160deg, rgba(34,211,238,0.10), rgba(15,23,42,0.90) 45%, rgba(16,185,129,0.08));
}

.glass-card h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 2.5rem);
}
.glass-card p { color: #d7e1ec; }

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.bullet-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.75;
  color: #d7e1ec;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.future-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.future-stack div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.09);
  color: #e8eef6;
  line-height: 1.7;
}

.muted { color: var(--muted) !important; }
.compact-card h3 { margin-top: 16px; font-size: 1.72rem; }
.cta-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}
.contact-stack { display: grid; gap: 14px; margin-top: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(2,6,23,0.42);
}
.contact-card:hover {
  border-color: rgba(34,211,238,0.28);
  background: rgba(2,6,23,0.62);
}
.contact-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-card strong { color: var(--white); }
.contact-card b { color: var(--cyan); font-size: 1.1rem; }

@media (max-width: 1100px) {
  .hero-grid,
  .grid-4,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 760px) {
  .nav { min-height: 70px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-grid { padding: 54px 0 62px; gap: 32px; }
  .hero-cards,
  .metrics-grid { grid-template-columns: 1fr; }
  .hero-panel,
  .glass-card,
  .feature-card { padding: 24px; border-radius: 26px; }
  .section { padding: 68px 0; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
  .chat-bubble { max-width: 100%; }
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
  background: rgba(2,6,23,0.60);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color .18s;
}
.footer-brand:hover { color: var(--white); }

.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity .18s;
}
.footer-brand:hover .footer-logo { opacity: 0.85; }

.footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(148,163,184,0.55);
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand-logo { height: 22px; }
}
