

/* =========================================================
   HERO / TERMINAL SECTION
   ========================================================= */

.terminal-card {
  width: min(520px, 100%);
  height: 380px;
  border-radius: 18px;
  background: #050507;
  border: 1px solid rgba(160, 169, 190, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0b0b10;
  border-bottom: 1px solid rgba(160, 169, 190, 0.12);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #ff5f56;
}

.terminal-dot.yellow {
  background: #ffbd2e;
}

.terminal-dot.green {
  background: #27c93f;
}

.terminal-title {
  margin-left: 10px;
  font-size: 11px;
  color: rgba(160, 169, 190, 0.8);
}

.terminal-body {
  padding: 18px;
  height: calc(100% - 44px);
  overflow: hidden;
}

.terminal-body pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  white-space: pre-wrap;
}

.term-blue {
  color: #3685ff;
}

.term-dim {
  color: rgba(160, 169, 190, 0.65);
}

.term-green {
  color: #00c774;
}

/* =========================================================
   HERO BACKGROUND
   ========================================================= */

.hero-target {
  position: relative;
  overflow: hidden;
  background: #23232b;
}

.hero-target::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1.2px, transparent 1.2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1.2px, transparent 1.2px);

  background-size: 44px 44px;
  background-position: center top;
  opacity: 0.25;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 28%,
      rgba(0, 0, 0, 0.82) 42%,
      rgba(0, 0, 0, 0.42) 56%,
      rgba(0, 0, 0, 0.12) 68%,
      transparent 78%
    ),
    radial-gradient(
      ellipse at 58% 22%,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.92) 34%,
      rgba(0, 0, 0, 0.45) 58%,
      transparent 82%
    );

  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 28%,
      rgba(0, 0, 0, 0.82) 42%,
      rgba(0, 0, 0, 0.42) 56%,
      rgba(0, 0, 0, 0.12) 68%,
      transparent 78%
    ),
    radial-gradient(
      ellipse at 58% 22%,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.92) 34%,
      rgba(0, 0, 0, 0.45) 58%,
      transparent 82%
    );

  mask-composite: intersect;
}

.hero-fit-screen {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-target-shell {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-target-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255, 196, 0, 0.08) 1.5px, transparent 0);
  background-size: 66px 66px;
  opacity: 0.22;
  pointer-events: none;
}

/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-target-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(160, 169, 190, 0.20);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 251, 0.92);
  font-size: 14px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-target-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8b5cf6;
  display: inline-block;
}

.hero-target-title {
  font-family: "ZalandoSansExpanded", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.7rem, 4.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #f5f7fb;
}

.hero-target-desc {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: rgba(197, 204, 220, 0.76);
  max-width: 560px;
}

.hero-target-sub {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(197, 204, 220, 0.58);
}

.hero-target-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}

.hero-target-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(234, 237, 243, 0.86);
  font-size: 0.98rem;
}

.hero-target-feature i {
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-target-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-target-btn-primary,
.hero-target-btn-secondary {
  height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-target-btn-primary {
  min-width: 190px;
  color: #b96cff;
  background: rgba(150, 77, 220, 0.08);
  border: 1px solid #964ddc;
}

.hero-target-btn-primary:hover {
  color: #c88bff;
  background: rgba(150, 77, 220, 0.16);
  border-color: #a855f7;
}

.hero-target-btn-secondary {
  min-width: 190px;
  color: rgba(245, 247, 251, 0.94);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(160, 169, 190, 0.20);
}

.hero-target-btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

/* =========================================================
   TERMINAL HERO VARIANT
   ========================================================= */

.hero-terminal-card {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  height: 390px;
  border-radius: 22px;
  background: #040507;
  border: 1px solid rgba(160, 169, 190, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.hero-terminal-card .terminal-header {
  padding: 13px 18px;
  background: #07090d;
  border-bottom: 1px solid rgba(160, 169, 190, 0.10);
}

.hero-terminal-card .terminal-title {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(160, 169, 190, 0.78);
  letter-spacing: 0.02em;
}

/* .hero-terminal-card .terminal-body.terminal-media-body {
  height: calc(100% - 50px);
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #050507;
}

.terminal-media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
} */

.hero-terminal-card .terminal-body.terminal-media-body {
  height: calc(100% - 50px);
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #050507;
}

.hero-terminal-card .terminal-media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-terminal-card .terminal-body pre {
  font-size: 13px;
  line-height: 1.65;
  color: #e5e7eb;
}

.terminal-showcase-card {
  width: 100%;
  height: auto; 
  /* previous fixed height: 380px */
}

.terminal-media-body {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #050507;
}


/* =========================================================
   HIDDEN CHART / CANVAS TERMINALS
   ========================================================= */

.is-hidden {
  display: none;
}

.terminal-card-fill {
  width: 100%;
  height: 380px;
}

.terminal-body-chart {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.terminal-body-canvas {
  position: relative;
  overflow: hidden;
}

.chart-container-fill {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.canvas-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   HERO STATS
   ========================================================= */

.hero-target-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(160, 169, 190, 0.14);
  flex-wrap: wrap;
}

.hero-target-stat {
  min-width: 110px;
}

.hero-target-stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f5f7fb;
  margin-bottom: 6px;
}

.hero-target-stat-label {
  font-size: 0.88rem;
  line-height: 1.3;
  color: rgba(197, 204, 220, 0.60);
}

.hero-target-stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(160, 169, 190, 0.14);
}

/* =========================================================
   OLD OPTIONAL VISUAL CLASSES
   kept because they existed in your original CSS
   ========================================================= */

.hero-target-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-target-glow {
  position: absolute;
  inset: 2% 0 2% 10%;
  background:
    radial-gradient(280px 220px at 62% 45%, rgba(150, 77, 220, 0.18), transparent 66%),
    radial-gradient(240px 180px at 48% 68%, rgba(111, 0, 255, 0.10), transparent 70%);
  filter: blur(34px);
  opacity: 0.9;
  pointer-events: none;
}

/* =========================================================
   INLINE STYLE REPLACEMENTS
   keep these AFTER the original rules
   ========================================================= */

.hero-target-copy-wide {
  max-width: 1120px;
}

.hero-target-title-home {
  font-size: clamp(1.65rem, 2.7vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 100;
}

.text-weight-700 {
  font-weight: 700;
}

.text-neural-pink {
  color: #fc0f93 /* #fc0f93; #a855f7 */
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
  .hero-target-title {
    font-size: clamp(2.5rem, 4.6vw, 3.8rem);
  }

  .hero-terminal-card {
    width: min(560px, 100%);
    height: 360px;
  }

  .hero-target-title-home {
    font-size: clamp(1.65rem, 2.7vw, 3rem);
  }
}

@media (max-width: 991px) {
  .hero-target-shell {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-target-copy {
    max-width: 100%;
  }

  .hero-target-copy-wide {
    max-width: 1120px;
  }

  .hero-target-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 9vw, 3.3rem);
  }

  .hero-target-title-home {
    font-size: clamp(1.65rem, 2.7vw, 3rem);
  }

  .hero-target-actions {
    flex-direction: column;
  }

  .hero-target-btn-primary,
  .hero-target-btn-secondary {
    width: 100%;
  }

  .hero-target-visual {
    min-height: auto;
    justify-content: center;
  }

  .hero-terminal-card {
    width: 100%;
    height: 340px;
  }

  .terminal-showcase-card {
    height: 320px;
  }

  .terminal-card-fill {
    height: 380px;
  }

  .hero-target-stat-divider {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-target-badge {
    font-size: 13px;
    padding: 8px 14px;
  }

  .hero-target-desc {
    font-size: 1rem;
  }

  .hero-target-feature {
    font-size: 0.92rem;
  }

  .hero-target-stat-value {
    font-size: 1.45rem;
  }
}

/* another section */

/* =========================================================
   X77 MINI TERMINAL SECTION
   ========================================================= */

.x77-section-2 {
  background: var(--panel-2);
  overflow: hidden;
}

.x77-title-2 {
  font-size: clamp(72px, 11vw, 125px);
  letter-spacing: 0.02em;
  line-height: 0.92;
}

.x77-desc {
  max-width: 520px;
  margin: 0 auto;
  font-size: 13px;
}

.x77-eyebrow-2 {
  letter-spacing: 0.25em;
  font-size: 11px;
}

/* Mini terminals */

.mini-terminal {
  position: absolute;
  top: 50%;
  width: 240px;
  border-radius: 14px;
  background: #050507;
  border: 1px solid rgba(160, 169, 190, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  opacity: 0.9;
  transform: translateY(-50%);
}

.mini-terminal:hover {
  opacity: 1;
  transform: translateY(-52%);
}

.mini-terminal-left {
  left: 4%;
}

.mini-terminal-right {
  right: 4%;
}

.mini-terminal-header {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #0b0b10;
  border-bottom: 1px solid rgba(160, 169, 190, 0.1);
}

.mini-terminal .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mini-terminal .dot.red {
  background: #ff5f56;
}

.mini-terminal .dot.yellow {
  background: #ffbd2e;
}

.mini-terminal .dot.green {
  background: #27c93f;
}

.mini-terminal-body {
  padding: 12px;
  margin: 0;
  line-height: 1.6;
  color: #e5e7eb;
  white-space: pre-wrap;
}

.terminal-chart {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile */

@media (max-width: 768px) {
  .mini-terminal {
    display: none;
  }
}




/* =========================================================
   ACCESS / TWO CARD SECTION
   ========================================================= */

.home-access-section {
  background: var(--bg);
  padding-top: clamp(4rem, 8vh, 7rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
}

.home-access-shell {
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, 0.035), transparent 60%),
    var(--panel);
  border: 1px solid var(--border);
  box-shadow:
    0 55px 140px rgba(0, 0, 0, 0.62),
    0 18px 42px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-access-head {
  max-width: 860px;
  margin: 0 auto;
}

.home-access-title {
  margin-bottom: 0;
  color: #f5f7fb;
  font-size: clamp(1.25rem, 2.1vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.home-access-title-strong {
  font-weight: 700;
  color: rgba(245, 247, 251, 0.82);
}

.home-access-title-light {
  font-weight: 300;
  color: #f5f7fb;
}

.home-access-card {
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(160, 169, 190, 0.12);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.50),
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-access-card:hover {
  transform: translateY(-3px);
  border-color: rgba(150, 77, 220, 0.24);
  box-shadow:
    0 48px 110px rgba(0, 0, 0, 0.58),
    0 16px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-access-visual {
  min-height: 250px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background:
    radial-gradient(320px 180px at 50% 35%, rgba(150, 77, 220, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-bottom: 1px solid rgba(160, 169, 190, 0.08);
}

.home-access-media {
  width: min(320px, 100%);
  overflow: hidden;
  border-radius: 18px;
  background: rgba(12, 12, 16, 0.92);
  border: 1px solid rgba(160, 169, 190, 0.14);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.48),
    0 10px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.home-access-card:hover .home-access-media {
  transform: translateY(-3px);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.56),
    0 14px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.home-access-media-top {
  position: relative;
  overflow: hidden;
}

.home-access-media-top img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.home-access-media-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 12, 0.03) 0%,
    rgba(5, 7, 12, 0.14) 55%,
    rgba(5, 7, 12, 0.34) 100%
  );
  pointer-events: none;
}

.home-access-media-bottom {
  padding: 12px 14px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-access-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(160, 169, 190, 0.10);
}

.home-access-pill i {
  font-size: 11px;
  line-height: 1;
  color: #c084fc;
}

.home-access-stat {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.88);
  background: rgba(150, 77, 220, 0.10);
  border: 1px solid rgba(150, 77, 220, 0.18);
  white-space: nowrap;
}

.home-access-body {
  padding: 26px 24px;
}

.home-access-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #b96cff;
  background: rgba(150, 77, 220, 0.10);
  border: 1px solid rgba(150, 77, 220, 0.22);
  margin-bottom: 18px;
}

.home-access-card-title {
  color: #f5f7fb;
  font-size: clamp(1.35rem, 1.6vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.home-access-text {
  color: rgba(210, 215, 230, 0.68);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================================================
   X77 DOCUMENT / PAPER SECTION
   ========================================================= */

.home-x77-doc-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: clamp(4rem, 8vh, 7rem);
  padding-bottom: clamp(5rem, 9vh, 8rem);
}

.home-x77-doc-copy {
  max-width: 980px;
  margin: 0 auto 3.5rem;
  padding: 0 24px;
  text-align: center;
}

.home-x77-doc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.1rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(160, 169, 190, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(210, 215, 230, 0.72);
  font-size: 0.78rem;
}

.home-x77-doc-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #964ddc;
}

.home-x77-doc-title {
  color: #f5f7fb;
  font-size: clamp(1.85rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.home-x77-doc-title-soft {
  color: rgba(245, 247, 251, 0.72);
  font-weight: 300;
}

.home-x77-doc-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(210, 215, 230, 0.68);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.home-x77-paper-stage {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.home-x77-paper {
  width: 940px;
  max-width: 100%;
  min-height: 1160px;
  position: relative;
  background: #ffffff;
  color: #626b7a;
  overflow: hidden;
  box-shadow:
    0 75px 190px rgba(0, 0, 0, 0.74),
    0 28px 72px rgba(0, 0, 0, 0.44);

  clip-path: polygon(
    0 1.1%,
    9% 0.3%,
    20% 1.05%,
    34% 0.42%,
    51% 1.08%,
    69% 0.35%,
    84% 0.95%,
    100% 0.48%,
    100% 98.9%,
    88% 99.55%,
    73% 98.85%,
    56% 99.45%,
    39% 98.95%,
    22% 99.5%,
    0 99.05%
  );
}

.home-x77-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.045), transparent 8%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.022), transparent 11%, transparent 89%, rgba(0, 0, 0, 0.018));
  z-index: 1;
}

.home-x77-paper-inner {
  position: relative;
  z-index: 2;
  padding: 4.9rem 5.3rem 5.4rem;
  font-family: Arial, Helvetica, sans-serif;
}

.home-x77-strip {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: #6c6c6c;
  color: rgba(255, 255, 255, 0.88);
  padding: 11px 14px;
  margin-bottom: 2.1rem;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.07em;
  font-weight: 700;
  text-transform: uppercase;
}

.home-x77-document-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.2rem;
  align-items: end;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid rgba(80, 86, 98, 0.22);
  margin-bottom: 1.55rem;
}

.home-x77-mark-small {
  color: #9aa2b0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.home-x77-code {
  color: #14171d;
  font-family: "ZalandoSansExpanded", system-ui, -apple-system, sans-serif;
  font-size: clamp(4.8rem, 8vw, 7.2rem);
  line-height: 0.82;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0;
}

.home-x77-paper-title {
  color: #2a303a;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.home-x77-meta {
  color: #8a92a0;
  font-size: 12px;
  line-height: 1.45;
}

.home-x77-body {
  max-width: 100%;
}

.home-x77-body p {
  margin: 0 0 0.68rem;
  color: #677180;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14.2px;
  line-height: 1.42;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.home-x77-body p.home-x77-lead {
  color: #4e5665;
  font-size: 15.2px;
  line-height: 1.42;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.home-x77-body strong {
  color: #333945;
  font-weight: 800;
}

.home-x77-note {
  margin: 1.45rem 0 1.35rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #6c6c6c;
  background: #f3f4f6;
}

.home-x77-note p {
  color: #606978;
  font-size: 13.4px;
  line-height: 1.38;
  margin-bottom: 0.55rem;
}

.home-x77-note p:last-child {
  margin-bottom: 0;
}

.home-x77-inline-chart {
  margin: 1.35rem 0;
  width: 100%;
}

.home-x77-inline-chart img {
  display: block;
  width: 100%;
  height: auto;
}

.home-x77-inline-chart figcaption {
  margin-top: 0.55rem;
  color: #4c4c4c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.home-x77-section-label {
  margin: 1.6rem 0 0.75rem;
  color: #3a404b;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}

.home-x77-paper-footer {
  margin-top: 2.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(80, 86, 98, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #9aa2af;
  font-size: 11px;
  line-height: 1.4;
}

/* Preserve the current rendered paper color behavior, scoped only here */
.home-x77-paper,
.home-x77-paper * {
  color: #6c6c6c !important;
}

.home-x77-strip,
.home-x77-strip * {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* =========================================================
   RESPONSIVE FOR BOTH SECTIONS
   ========================================================= */

@media (max-width: 991px) {
  .home-access-visual {
    min-height: 220px;
    padding: 18px;
  }

  .home-access-media-top img {
    height: 150px;
  }

  .home-access-body {
    padding: 22px 18px;
  }

  .home-access-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .home-x77-paper-inner {
    padding: 4.2rem 2rem 4.6rem;
  }

  .home-x77-document-head {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 575px) {
  .home-x77-paper-stage {
    padding: 0 14px;
  }

  .home-x77-paper-inner {
    padding: 3.5rem 1.25rem 4rem;
  }

  .home-x77-strip {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 9px;
  }

  .home-x77-code {
    font-size: 4.1rem;
  }

  .home-x77-paper-title {
    font-size: 1.25rem;
  }

  .home-x77-body p,
  .home-x77-body p.home-x77-lead {
    font-size: 13.4px;
    line-height: 1.4;
  }

  .home-x77-paper-footer {
    flex-direction: column;
  }
}


/* =========================================================
   SIMPLE COMPARE SECTION
   ========================================================= */


.compare-section {
  background: var(--bg);
  padding: clamp(6rem, 11vh, 10rem) 0;
}

.compare-shell {
  border-radius: var(--r-lg);
  padding: clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, 0.035), transparent 60%),
    var(--panel);
  border: 1px solid var(--border);
  box-shadow:
    0 55px 140px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.compare-header {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.compare-title {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 300;
}

.compare-title strong {
  color: rgba(245, 247, 251, 0.84);
  font-weight: 700;
}

.compare-card {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(160, 169, 190, 0.12);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.compare-image-wrap {
  padding: 18px;
  background:
    radial-gradient(360px 180px at 50% 40%, rgba(150, 77, 220, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(160, 169, 190, 0.08);
}

.compare-image {
  width: 100%;
  height: auto; /* 230px */
  display: block;
  object-fit: cover;
  border-radius: 18px;
  background: #050507;
}

.compare-body {
  padding: 24px;
}

.compare-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #c084fc;
  background: rgba(150, 77, 220, 0.10);
  border: 1px solid rgba(150, 77, 220, 0.20);
  font-size: 12px;
  font-weight: 600;
}

.compare-card-title {
  margin: 0 0 10px;
  color: #f5f7fb;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.compare-text {
  margin: 0;
  color: rgba(210, 215, 230, 0.68);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

  .compare-image {
    height: 210px;
  }

  .compare-body {
    padding: 22px 18px;
  }
}


/* =========================================================
   DOC / TERMINAL CALLOUT SECTION
   ========================================================= */

.doc-callout-section {
  background: var(--bg);
  padding: clamp(5rem, 9vh, 8rem) 0;
}

.doc-callout-shell {
  border-radius: var(--r-lg);
  padding: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(700px 360px at 72% 50%, rgba(150, 77, 220, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
    var(--panel);
  border: 1px solid rgba(160, 169, 190, 0.14);
  box-shadow:
    0 55px 140px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.doc-callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.doc-callout-copy {
  max-width: 620px;
}

.doc-callout-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 2rem;
}

.doc-callout-icon {
  color: #b96cff;
  font-size: 2rem;
  line-height: 1;
}

.doc-callout-title {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.doc-callout-text {
  margin: 0;
  color: rgba(210, 215, 230, 0.66);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.75;
}

.doc-callout-terminal {
  width: 100%;
}

@media (max-width: 991px) {
  .doc-callout-grid {
    grid-template-columns: 1fr;
  }

  .doc-callout-copy {
    max-width: 100%;
    text-align: center;
  }

  .doc-callout-heading {
    justify-content: center;
  }
}



/* =========================================================
   SIMPLE VIDEO SECTION
   ========================================================= */

.video-panel-section {
  background: var(--panel);
  padding: clamp(5rem, 9vh, 8rem) 0;
}

.video-panel-copy {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.video-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(160, 169, 190, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(210, 215, 230, 0.72);
  font-size: 0.78rem;
}

.video-panel-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #964ddc;
}

.video-panel-title {
  margin-bottom: 1.15rem;
  color: #f5f7fb;
  font-size: clamp(1.85rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.video-panel-title-soft {
  color: rgba(245, 247, 251, 0.72);
  font-weight: 300;
}

.video-panel-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(210, 215, 230, 0.68);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.video-panel-frame-wrap {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(160, 169, 190, 0.14);
  box-shadow:
    0 50px 130px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  background: #050507;
}

.video-panel-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

@media (max-width: 575px) {
  .video-panel-frame-wrap {
    border-radius: 18px;
  }
}



/* =========================================================
   CTA CHECKLIST SECTION
   ========================================================= */

.cta-upgrade-section {
  background: transparent;
  padding: 4rem 0;
}

.cta-upgrade-card {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: clamp(4rem, 7vw, 6.5rem) 1.5rem;
  background:
    radial-gradient(1200px 600px at 70% 50%, #1c1c24 0%, #23232b 60%),
    #23232b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 70px 160px rgba(0, 0, 0, 0.85),
    0 30px 70px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.cta-upgrade-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 1.1px, transparent 0);
  background-size: 28px 28px;
  background-position: center center;

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.78) 48%,
    rgba(0, 0, 0, 0.36) 68%,
    rgba(0, 0, 0, 0.08) 82%,
    transparent 92%
  );

  mask-image: radial-gradient(
    ellipse at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.78) 48%,
    rgba(0, 0, 0, 0.36) 68%,
    rgba(0, 0, 0, 0.08) 82%,
    transparent 92%
  );
}

.cta-upgrade-glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(95px);
}

.cta-upgrade-glow-left {
  width: 360px;
  height: 360px;
  left: -90px;
  top: 8%;
  background: rgba(127, 93, 158, 0.2);
}

.cta-upgrade-glow-right {
  width: 400px;
  height: 400px;
  right: -100px;
  bottom: -4%;
  background: rgba(64, 58, 73, 0.16);
}

.cta-upgrade-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-upgrade-title {
  margin-bottom: 1.2rem;
  color: #f8fafc;
  font-family: "ZalandoSansExpanded", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cta-upgrade-text {
  max-width: 860px;
  margin: 0 auto 2rem;
  color: rgba(210, 215, 230, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.65;
}

.cta-upgrade-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-upgrade-btn-primary,
.cta-upgrade-btn-secondary {
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.cta-upgrade-btn-primary {
  color: #111217;
  background: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 12px 30px rgba(255, 255, 255, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-upgrade-btn-primary:hover {
  color: #111217;
  background: #ffffff;
  transform: translateY(-1px);
}

.cta-upgrade-btn-secondary {
  color: rgba(245, 247, 251, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.cta-upgrade-btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .cta-upgrade-section {
    padding: 3rem 0;
  }

  .cta-upgrade-card {
    border-radius: 28px;
    padding: 3.25rem 1.25rem;
  }

  .cta-upgrade-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .cta-upgrade-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .cta-upgrade-actions {
    flex-direction: column;
  }

  .cta-upgrade-btn-primary,
  .cta-upgrade-btn-secondary {
    width: 100%;
    max-width: 420px;
  }

  .cta-upgrade-glow-left {
    width: 260px;
    height: 260px;
    left: -80px;
  }

  .cta-upgrade-glow-right {
    width: 280px;
    height: 280px;
    right: -90px;
  }
}

.cta-upgrade-image {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 36px 48px rgba(0, 0, 0, 0.55));
}

@media (max-width: 991px) {
  .cta-upgrade-image {
    margin-top: 2rem;
  }
}



/* =========================================================
   COURSE OFFER SECTION
   ========================================================= */

.course-offer-section {
  background: var(--bg);
  padding: clamp(5rem, 9vh, 8rem) 0;
}

.course-offer-shell {
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(900px 420px at 70% 20%, rgba(150, 77, 220, 0.10), transparent 65%),
    var(--panel);
  border: 1px solid rgba(160, 169, 190, 0.14);
  box-shadow:
    0 55px 140px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.course-offer-header {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.course-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: #c084fc;
  background: rgba(150, 77, 220, 0.10);
  border: 1px solid rgba(150, 77, 220, 0.20);
  font-size: 0.78rem;
  font-weight: 700;
}

.course-offer-title {
  margin: 0 0 1rem;
  color: #f5f7fb;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.course-offer-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(210, 215, 230, 0.68);
  font-size: 1rem;
  line-height: 1.7;
}

.course-offer-visual {
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(460px 300px at 50% 52%, rgba(255, 255, 255, 0.08), transparent 70%),
    #212129;
  border: 1px solid rgba(160, 169, 190, 0.12);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.course-offer-image {
  width: min(440px, 100%);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 44px 54px rgba(0, 0, 0, 0.68))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.36));
}

.course-offer-card {
  height: 100%;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)),
    #11141d;
  border: 1px solid rgba(59, 130, 246, 0.20);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.course-offer-card-label {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111217;
  background: #f4f4f5;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.course-offer-plan {
  margin: 0 0 0.75rem;
  color: #f5f7fb;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.course-offer-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 0.5rem;
  color: #f5f7fb;
}

.course-offer-price-main {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.course-offer-price-currency {
  margin-bottom: 7px;
  font-size: 1.1rem;
  font-weight: 700;
}

.course-offer-note {
  margin-bottom: 1.35rem;
  color: rgba(210, 215, 230, 0.62);
  font-size: 0.88rem;
}

.course-offer-description {
  margin-bottom: 1.5rem;
  color: rgba(210, 215, 230, 0.72);
  font-size: 0.96rem;
  line-height: 1.7;
}

.course-offer-divider {
  height: 1px;
  margin: 1.4rem 0;
  background: rgba(160, 169, 190, 0.12);
}

.course-offer-features {
  display: grid;
  gap: 12px;
  margin-bottom: 1.6rem;
}

.course-offer-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(235, 238, 244, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}

.course-offer-feature i {
  color: #c084fc;
  font-size: 1rem;
  line-height: 1.35;
}

.course-offer-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111217;
  background: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow:
    0 10px 22px rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.course-offer-btn:hover {
  color: #111217;
  background: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .course-offer-visual {
    min-height: 360px;
  }

  .course-offer-card {
    margin-top: 1.5rem;
  }
}

/* terminal addition */

.terminal-svg-body {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #101014;
}

.terminal-svg-body .forecast-svg {
  width: 100%;
  height: 100%;
  display: block;
}