
:root {
  --white:       #ffffff;
  --off-white:   #f7f8f6;
  --light:       #f0f1ee;
  --mid:         #e2e3df;
  --border:      #e5e6e2;
  --text-dark:   #0b0c0a;
  --text-mid:    #363734;
  --text-light:  #787970;
  --accent:      #0a4dff;
  --accent-deep: #0033cc;
  --accent-light:#e6eeff;
  --red:         #dc2626;
  --green:       #16a34a;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --radius:      8px;
  --shadow:      0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--text-mid); font-weight: 300; line-height: 1.72; }


.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section    { padding: 100px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--text-dark); }


.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s, border-color .18s, transform .1s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(10,77,255,.25);
}
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 4px 16px rgba(10,77,255,.3); }
.btn--ghost {
  background: transparent; color: var(--text-dark);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--text-dark); }
.btn--outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.07); }


.label {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 14px;
}
.label--white { color: rgba(255,255,255,.55); }


.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 62px;
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--text-dark);
}
.nav__logo-hex {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin-left: auto;
}
.nav__links a {
  font-size: .875rem; font-weight: 500; color: var(--text-mid);
  transition: color .18s;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta { margin-left: 8px; }


.hero {
  padding: 140px 0 96px;
  background: var(--white);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent);
  padding: 5px 14px; border-radius: 100px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero__title { margin-bottom: 22px; }
.hero__title em { color: var(--accent); font-style: normal; }
.hero__sub { font-size: 1.05rem; max-width: 480px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Terminal widget */
.hero__terminal {
  background: var(--text-dark); border-radius: 14px;
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.14);
  animation: fadeUp .7s ease .2s both;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.terminal__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid #1a2a1a;
  background: #0d0d0b;
}
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal__dot--r { background: #ff5f57; }
.terminal__dot--y { background: #febc2e; }
.terminal__dot--g { background: #28c840; }
.terminal__title { margin-left: auto; font-family: var(--font-mono); font-size: .65rem; color: #4a6a4a; }
.terminal__feed { padding: 16px 18px; }
.terminal__line {
  font-family: var(--font-mono); font-size: .72rem;
  padding: 5px 0; border-bottom: 1px solid #111f11;
  color: #8aaa8a; line-height: 1.5;
  opacity: 0; transform: translateX(-6px);
  animation: logIn .35s ease forwards;
}
.terminal__line:last-of-type { border-bottom: none; }
.terminal__line--crit .t-sev { color: #ff4444; font-weight: 700; }
.terminal__line--ok   .t-sev { color: #00e676; font-weight: 700; }
.terminal__line--info .t-sev { color: #40b0ff; font-weight: 700; }
.terminal__line--warn .t-sev { color: #ffb820; font-weight: 700; }
.t-time { color: #3a5a3a; margin-right: 10px; }
@keyframes logIn { to{opacity:1;transform:translateX(0)} }

.terminal__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #1a2a1a;
  margin: 0; border-top: 1px solid #1a2a1a;
}
.terminal__stat {
  background: #0d1710; padding: 14px 10px; text-align: center;
}
.terminal__stat-val {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  line-height: 1;
}
.terminal__stat-val--red   { color: #ff4444; }
.terminal__stat-val--green { color: #00e676; }
.terminal__stat-val--blue  { color: #40b0ff; }
.terminal__stat-lbl {
  font-family: var(--font-mono); font-size: .6rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: #3a5a3a; margin-top: 3px;
}


.trust-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar__label {
  text-align: center; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-light); margin-bottom: 18px;
}
.trust-bar__tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.trust-bar__tag {
  background: var(--white); border: 1px solid var(--border);
  padding: 7px 18px; border-radius: 100px;
  font-size: .78rem; color: var(--text-mid); font-weight: 500;
}


.features__header { max-width: 620px; margin-bottom: 56px; }
.features__header p { font-size: 1.02rem; margin-top: 16px; }
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.feature-card {
  background: var(--white); padding: 34px 28px;
  transition: background .2s;
}
.feature-card:hover { background: var(--off-white); }
.feature-card__icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 16px;
}
.feature-card h3 { font-size: .95rem; margin-bottom: 8px; }
.feature-card p { font-size: .83rem; }


.how__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.how__header { max-width: 480px; margin-bottom: 48px; }
.how__header p { font-size: 1rem; margin-top: 14px; }

.step {
  display: flex; gap: 18px;
  padding: 26px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--font-display); font-size: .7rem;
  font-weight: 800; color: var(--accent);
  min-width: 28px; padding-top: 3px; letter-spacing: .08em;
}
.step h3 { margin-bottom: 6px; }
.step p  { font-size: .85rem; }

/* Architecture card */
.arch-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  box-shadow: var(--shadow);
}
.arch-card__title {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-light); margin-bottom: 20px;
}
.arch-layer {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .18s;
}
.arch-layer:hover { border-color: var(--accent); }
.arch-layer__icon { font-size: 18px; flex-shrink: 0; }
.arch-layer h4 { font-family: var(--font-body); font-size: .83rem; font-weight: 600; }
.arch-layer p  { font-size: .72rem; margin-top: 1px; }
.arch-arrow { text-align: center; color: var(--text-light); font-size: .7rem; margin: 2px 0; }

/* ── CAPABILITIES TABLE ────────────────────────────────────────── */
.cap-table-wrap { overflow-x: auto; margin-top: 48px; }
.cap-table {
  width: 100%; border-collapse: collapse;
  font-size: .875rem;
}
.cap-table th {
  text-align: left; padding: 13px 18px;
  font-size: .68rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
}
.cap-table td { padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cap-table tr:last-child td { border-bottom: none; }
.cap-table tr:hover td { background: var(--off-white); }
.cap-table__name { font-weight: 600; color: var(--text-dark); }
.cap-table__desc { color: var(--text-mid); }
.cap-badge {
  display: inline-flex; align-items: center;
  background: var(--accent-light); color: var(--accent);
  padding: 3px 10px; border-radius: 100px;
  font-size: .67rem; font-weight: 700; white-space: nowrap;
}


.no-cloud__header { max-width: 580px; margin-bottom: 56px; }
.no-cloud__header h2  { color: #fff; }
.no-cloud__header p   { color: rgba(255,255,255,.5); font-size: 1.02rem; margin-top: 14px; }
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pillar {
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 28px 22px; transition: border-color .2s;
}
.pillar:hover { border-color: var(--accent); }
.pillar__icon { font-size: 26px; margin-bottom: 14px; }
.pillar h3    { color: #fff; font-size: .92rem; margin-bottom: 7px; }
.pillar p     { color: rgba(255,255,255,.4); font-size: .8rem; font-weight: 400; }


.install__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.install__header h2 { margin-bottom: 18px; }
.install__header p  { font-size: 1rem; }
.install__extras   { margin-top: 32px; }
.install__extras h3 { font-size: .88rem; margin-bottom: 12px; }
.install__extras ul { list-style: none; }
.install__extras li {
  font-size: .83rem; color: var(--text-mid);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
}
.install__extras li:last-child { border-bottom: none; }
.install__extras code {
  background: var(--light); padding: 2px 7px;
  border-radius: 4px; font-family: var(--font-mono);
  font-size: .75rem; color: var(--text-dark);
  flex-shrink: 0;
}

/* Code block */
.code-block { background: #0d0d0b; border-radius: 12px; overflow: hidden; }
.code-block__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid #1e1e1c;
  background: #111110;
}
.code-block__lang { font-family: var(--font-mono); font-size: .67rem; color: #4a4a48; }
.code-block__copy {
  background: #1e1e1c; color: #7a7a78;
  border: none; padding: 4px 12px; border-radius: 4px;
  font-size: .67rem; cursor: pointer;
  transition: background .15s;
}
.code-block__copy:hover { background: #2a2a28; }
pre {
  padding: 22px 20px; overflow-x: auto;
  font-family: var(--font-mono); font-size: .78rem;
  line-height: 1.9; color: #c8d8b8;
}
pre .cmd     { color: #60aaff; }
pre .comment { color: #3a4a3a; }


.cta-section { text-align: center; }
.cta-section__inner { max-width: 640px; margin: 0 auto; }
.cta-section h2  { margin: 14px 0 18px; }
.cta-section p   { font-size: 1.02rem; margin-bottom: 38px; }
.cta-section__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }


.footer {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer__logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .95rem;
  font-weight: 800; color: var(--text-dark);
}
.footer__logo-hex {
  width: 22px; height: 22px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.footer__copy { font-size: .78rem; color: var(--text-light); }
.footer__links { display: flex; gap: 22px; }
.footer__links a {
  font-size: .78rem; color: var(--text-light);
  transition: color .18s;
}
.footer__links a:hover { color: var(--accent); }


.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }


@media (max-width: 960px) {
  .hero__inner   { grid-template-columns: 1fr; gap: 48px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .how__grid     { grid-template-columns: 1fr; gap: 48px; }
  .pillars       { grid-template-columns: 1fr 1fr; }
  .install__grid { grid-template-columns: 1fr; gap: 48px; }
  .nav__links    { display: none; }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
  .pillars        { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}
