/* Landing page — extends style.css */

.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  margin: 18px 0 18px;
}
.hero h1 .accent { color: var(--leaf); }

.hero-sub { font-size: 17px; max-width: 480px; margin-bottom: 28px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--ink-faint); }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ink); }

/* live demo card in hero */
.demo-card {
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.demo-card .demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #102B40;
}
.demo-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-bar .dot:nth-child(1) { background: #D6483F; }
.demo-bar .dot:nth-child(2) { background: var(--amber); }
.demo-bar .dot:nth-child(3) { background: var(--leaf); }
.demo-bar .demo-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12.5px; color: #9FBBCD; }

.demo-card pre {
  margin: 0;
  padding: 18px 20px 22px;
  color: #CFE7DA;
  font-size: 13.5px;
  line-height: 1.65;
  overflow-x: auto;
}
.demo-card .tok-kw { color: #6FB7E8; }
.demo-card .tok-fn { color: #F4A623; }
.demo-card .tok-str { color: #8CD6A6; }
.demo-card .tok-cm { color: #5F7F92; }

.demo-canvas-wrap {
  background: #0B1B2B;
  padding: 16px 20px 20px;
  display: flex;
  justify-content: center;
}
#heroCanvas { border-radius: 10px; background: #0F2438; display: block; }

/* circuit signature divider */
.circuit-divider { width: 100%; display: block; margin: 8px 0 0; }
.circuit-divider path {
  fill: none;
  stroke: var(--leaf-light);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  opacity: .55;
}
.circuit-divider circle { fill: var(--amber); }

/* sections */
.section { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 12px 0 10px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(23,58,86,0.06);
}
.feature-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; margin: 0; }

.ic-leaf { background: #E4F6EC; color: var(--leaf-deep); }
.ic-amber { background: #FCEFD8; color: var(--amber-deep); }
.ic-ink { background: var(--mist); color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--leaf);
  display: block;
  margin-bottom: 6px;
}
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; }

/* footer */
.site-footer {
  border-top: 1px solid rgba(23,58,86,0.08);
  padding: 28px 0 36px;
  margin-top: 24px;
}
.site-footer .flex-between { font-size: 13px; color: var(--ink-faint); }

.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink) 0%, #1F4E6E 100%);
  color: var(--white);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #B9D2E0; margin: 0; }
