.cxpher-hero {
  position: relative;
  padding: 180px 0 80px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-base) 18%, transparent) 0%, transparent 60%),
    var(--canvas);
  overflow: hidden;
}
.cxpher-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 80px, var(--card-line) 80px 81px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 80%);
  pointer-events: none;
}
.cxpher-hero__inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.cxpher-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 200;
  letter-spacing: -0.018em;
  line-height: 0.98;
  color: var(--headline);
}
.cxpher-hero h1 em {
  font-style: normal;
  font-weight: 300;
  color: var(--accent-base);
  background: linear-gradient(120deg, var(--accent-base) 0%, var(--pop-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cxpher-hero p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  font-weight: 400;
  max-width: 56ch;
}
.cxpher-hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cxpher-tagline {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-base);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.cxpher-tagline svg { color: var(--accent-base); }

.cxpher-terminal {
  position: relative;
  background: linear-gradient(160deg, #0A0E1A, #14182E);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  color: #E5E7EB;
}
.cxpher-terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cxpher-terminal__bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.cxpher-terminal__bar .dot.r { background: #ff5f57; }
.cxpher-terminal__bar .dot.y { background: #ffbd2e; }
.cxpher-terminal__bar .dot.g { background: #28c840; }
.cxpher-terminal__bar .title {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.cxpher-terminal__body {
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  min-height: 340px;
}
.cxpher-terminal__line { white-space: pre-wrap; }
.cxpher-terminal__line .prompt { color: var(--accent-base); }
.cxpher-terminal__line .cmd { color: #fff; }
.cxpher-terminal__line .out { color: #98A4BD; }
.cxpher-terminal__line .ok { color: #67d0a8; }
.cxpher-terminal__line .err { color: #ff80c0; }
.cxpher-terminal__line .warn { color: #F5B45A; }
.cxpher-terminal__cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent-base);
  vertical-align: middle;
  animation: cxpherBlink 1.1s steps(1) infinite;
}
@keyframes cxpherBlink { 50% { opacity: 0; } }

.cxpher-pillars {
  padding: 100px 0;
  background: var(--canvas-soft);
}
.cxpher-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 0 32px;
}
.cxpher-pillar {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  transition: transform 320ms var(--easing), border-color 320ms var(--easing), box-shadow 320ms var(--easing);
  position: relative;
  overflow: hidden;
}
.cxpher-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 320ms var(--easing);
  pointer-events: none;
}
.cxpher-pillar:hover { transform: translateY(-6px); border-color: var(--accent-base); box-shadow: var(--shadow-lift); }
.cxpher-pillar:hover::after { opacity: 1; }
.cxpher-pillar > * { position: relative; z-index: 1; }
.cxpher-pillar .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-base), var(--accent-strong));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.cxpher-pillar h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.cxpher-pillar p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  font-weight: 400;
}

.cxpher-stack {
  padding: 100px 0;
}
.cxpher-stack__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}
.cxpher-stack__rows {
  display: grid;
  gap: 14px;
  margin-top: 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}
.cxpher-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-md);
  background: var(--card);
  transition: border-color 320ms var(--easing), background 320ms var(--easing);
}
.cxpher-row:hover { border-color: var(--accent-base); background: var(--card-soft); }
.cxpher-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent-base);
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  text-align: center;
}
.cxpher-row strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 4px;
}
.cxpher-row p {
  font-size: 13.5px;
  color: var(--body);
  font-weight: 400;
  line-height: 1.55;
}

.cxpher-vs {
  padding: 100px 0;
  background: var(--canvas-soft);
}
.cxpher-vs__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.cxpher-vs__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-line);
}
.cxpher-vs__table thead th {
  padding: 18px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mute);
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--card-line);
}
.cxpher-vs__table thead th.win { color: var(--accent-base); }
.cxpher-vs__table tbody td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--headline);
  border-bottom: 1px solid var(--card-line);
}
.cxpher-vs__table tbody tr:last-child td { border-bottom: none; }
.cxpher-vs__table .check { color: var(--accent-base); font-weight: 700; }
.cxpher-vs__table .cross { color: var(--mute); }
.cxpher-vs__table .partial { color: #E8A33D; }

.cxpher-install {
  padding: 100px 0;
}
.cxpher-install__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.cxpher-install pre {
  padding: 18px 22px;
  background: linear-gradient(180deg, #0A1F44 0%, #11214A 100%);
  border-radius: var(--radius-md);
  color: #E5E7EB;
  font-family: var(--mono);
  font-size: 13px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.cxpher-install pre .lang {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.cxpher-install pre code { color: inherit; background: transparent; font-family: inherit; }
.cxpher-install h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mute);
  margin-bottom: 14px;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .cxpher-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .cxpher-pillars__grid { grid-template-columns: 1fr 1fr; }
  .cxpher-install__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cxpher-pillars__grid { grid-template-columns: 1fr; }
  .cxpher-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .cxpher-vs__table { display: block; overflow-x: auto; }
}
