:root {
  --bg: #111214;
  --bg-elev: #18191d;
  --surface: #1e1f24;
  --border: #2a2b32;
  --border-accent: #3a3b4a;
  --text: #e4e4e7;
  --muted: #9a9aaa;
  --accent: #c0c0cc;
  --cta-bg: #3dba6f;
  --cta-hover: #35a862;
  --node-out: #1b2e20;
  --node-out-border: #2a4a30;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .cnode-header, nav a {
  font-family: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---- NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111214;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
    height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  gap: 3.5rem;
  background: var(--bg);
}

.hero-copy {
  text-align: center;
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--accent);
  max-width: 500px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.cta {
  display: inline-block;
  background: var(--cta-bg);
  color: #fff;
  padding: 0.85rem 2.4rem;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

/* ---- CANVAS WRAP ---- */
.canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 420px;
  flex-shrink: 0;
}

.canvas-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---- CANVAS NODES ---- */
.cnode {
  position: absolute;
  width: 175px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: visible;
}

.cnode-header {
  padding: 7px 11px 6px;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 6px 6px 0 0;
}

.cnode-body {
  padding: 9px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cnode-row {
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* connection dots */
.cnode-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border-accent);
  top: 50%;
  transform: translateY(-50%);
}

.cnode-dot-out { right: -5px; }
.cnode-dot-in { left: -5px; }

/* ---- FEATURES ---- */
.features {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}

.features h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
  text-align: center;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.feature h3 {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--accent);
  line-height: 1.7;
}

/* ---- PRICING ---- */
.pricing {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}

.pricing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.pricing-sub {
  color: var(--accent);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--bg-elev);
}

footer p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---- MOBILE ---- */
@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 3rem 1.25rem 3rem;
    gap: 2.5rem;
  }
  .hero-copy h1 {
    font-size: 2.4rem;
  }
  .hero-copy p {
    font-size: 1rem;
  }
  .canvas-wrap {
    height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .canvas-svg { display: none; }
  .cnode {
    position: static !important;
    width: 100%;
    margin-bottom: 0.85rem;
  }
  .cnode-dot { display: none; }
  .canvas-wrap {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .brand-logo {
    height: 34px;
  }
  .features {
    padding: 4rem 1.25rem;
  }
  .pricing {
    padding: 4rem 1.25rem;
  }
}
