
:root {
  --bg: #0b1020;
  --panel: #121931;
  --panel-2: #0f1529;
  --text: #eef2ff;
  --muted: #b7c0d8;
  --line: rgba(255,255,255,0.09);
  --gold: #f2c86f;
  --green: #b7ddc6;
  --red: #ef9a9a;
  --shadow: 0 14px 40px rgba(0,0,0,0.28);
}

* {
  box-sizing: border-box;
  transition: all 0.15s ease;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #17203d 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.logo img {
    width: 140px;
    height: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
}

.brand span { color: var(--gold); }

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-weight: 600;
}

nav a:hover { color: var(--text); }

section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

main section:nth-of-type(even) {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  );
}

.centered { text-align: center; }
.narrow { max-width: 820px; }

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.025em;
}

h3 { font-size: 1.2rem; }

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.statement,
.cta-band {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px 28px;
  box-shadow: var(--shadow);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #f2c86f, #e0b95f);
  color: #141414;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.card-grid {
  display: grid;
  gap: 22px;
}

.three-up { grid-template-columns: repeat(3, 1fr); }
.two-up { grid-template-columns: repeat(2, 1fr); }

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.diagram-frame img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.diagram-card img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.demo-box {
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 12px;
  background: #0b0f1a;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.05);
  font-family: monospace;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 46px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 720px) {
  .two-up,
  .three-up {
    grid-template-columns: 1fr;
  }

  section {
    padding: 50px 0;
  }
}
