/* technologia-chp.css */

/* ============================================
   SHARED UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero__label,
  .hero__headline,
  .hero--chp__subtitle-heading,
  .hero__subtitle,
  .hero__actions,
  .hero--chp__panel,
  .hero__scroll,
  .hero-stat,
  .section-header__title,
  .section-header__label,
  .section-header__subtitle,
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale,
  .word-reveal .wr-word {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero__headline-accent,
  .aurora-section .aurora__blob,
  .hero__scroll-arrow {
    animation: none;
  }
}

.relative-z {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.section--dark {
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.5) 0%, rgba(10, 10, 11, 0.8) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero--flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(246, 211, 7, 0.1), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(46, 107, 138, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(4, 4, 5, 0.82) 0%, rgba(10, 10, 11, 0.72) 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.08) 0%, rgba(5, 5, 6, 0.22) 100%);
}

#chpHeroFlowCanvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
}

.reveal,
.reveal--left,
.reveal--right,
.reveal--scale {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.stagger>.reveal:nth-child(1) {
  transition-delay: 0ms;
}

.stagger>.reveal:nth-child(2) {
  transition-delay: 100ms;
}

.stagger>.reveal:nth-child(3) {
  transition-delay: 200ms;
}

.stagger>.reveal:nth-child(4) {
  transition-delay: 300ms;
}

.stagger>.reveal:nth-child(5) {
  transition-delay: 400ms;
}

.stagger>.reveal:nth-child(6) {
  transition-delay: 500ms;
}

.word-reveal .wr-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.word-reveal.is-visible .wr-word {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  position: relative;
  padding: 0 var(--space-lg);
}

.section-header__label::before,
.section-header__label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.4;
}

.section-header__label::before {
  right: 100%;
}

.section-header__label::after {
  left: 100%;
}

.section-header__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

.section-header__title,
.section-header__label,
.section-header__subtitle {
  will-change: transform, opacity;
}

.header-reveal-enabled .section-header__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.header-reveal-enabled .section-header__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.header-reveal-enabled .section-header__label {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.header-reveal-enabled .section-header__label.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.header-reveal-enabled .section-header__subtitle {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.header-reveal-enabled .section-header__subtitle.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: stretch;
}

/* Card Spotlight & Glow Card */
.card-spotlight {
  --spot-x: 50%;
  --spot-y: 50%;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--spot-x) var(--spot-y), rgba(46, 107, 138, 0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card-spotlight:hover::before {
  opacity: 1;
}

.section--dark .card-spotlight::before {
  background: radial-gradient(450px circle at var(--spot-x) var(--spot-y), rgba(246, 211, 7, 0.16) 0%, rgba(46, 107, 138, 0.1) 38%, transparent 55%);
}

.glow-card {
  position: relative;
  --glow-start: 0;
  --glow-spread: 40;
  --glow-active: 0;
  --glow-border-width: 3px;
  --glow-repeating-times: 5;
  --glow-gradient:
    radial-gradient(circle, #F6D307 10%, #F6D30700 20%),
    radial-gradient(circle at 40% 40%, #E5C306 5%, #E5C30600 15%),
    radial-gradient(circle at 60% 60%, #C8A90A 10%, #C8A90A00 20%),
    radial-gradient(circle at 40% 60%, #2E6B8A 10%, #2E6B8A00 20%),
    repeating-conic-gradient(from 236.84deg at 50% 50%, #F6D307 0%, #E5C306 calc(25% / 5), #C8A90A calc(50% / 5), #2E6B8A calc(75% / 5), #F6D307 calc(100% / 5));
}

.glow-card__border {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glow-card.is-glowing .glow-card__border {
  opacity: 0;
}

.glow-card__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}

.glow-card__glow .glow-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.glow-card__glow .glow-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--glow-border-width) solid transparent;
  background: var(--glow-gradient);
  background-attachment: fixed;
  opacity: var(--glow-active);
  transition: opacity 0.3s ease;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
  mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
}

.glow-card>*:not(.glow-card__border):not(.glow-card__glow) {
  position: relative;
  z-index: 1;
}

.glow-card.is-glowing {
  box-shadow: 0 0 24px -6px rgba(246, 211, 7, 0.16), 0 0 24px -6px rgba(46, 107, 138, 0.12);
}

/* Scroll UI component */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll span {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-white) 50%, transparent 50%);
  background-size: 100% 200%;
  animation: scrollArrow 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollArrow {
  0% {
    background-position: 0 100%;
  }

  50% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 -100%;
  }
}

.hero__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero__headline {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__headline-accent {
  color: var(--color-accent);
  display: inline-block;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-accent) 55%, #E5C306 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 4s ease-in-out infinite;
}

@keyframes gradientShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__label,
.hero__headline,
.hero--chp__subtitle-heading,
.hero__subtitle,
.hero__actions,
.hero--chp__panel,
.hero__scroll {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__label {
  animation-delay: 0.15s;
}

.hero__headline {
  animation-delay: 0.35s;
}

.hero--chp__subtitle-heading {
  animation-delay: 0.55s;
}

.hero__subtitle {
  animation-delay: 0.75s;
}

.hero__actions {
  animation-delay: 0.95s;
}

.hero--chp__panel {
  animation-delay: 1.1s;
}

.hero__scroll {
  animation-delay: 1.45s;
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  position: relative;
  background: rgba(14, 15, 17, 0.5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}

.hero--chp {
  padding-top: calc(2rem + var(--nav-height-offset));
  padding-bottom: 2rem;
}

.hero--chp__container {
  position: relative;
  z-index: 10;
}

.hero--chp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: var(--space-2xl);
  align-items: center;
}

.hero--chp__copy {
  max-width: 760px;
}

.hero--chp__subtitle-heading {
  margin: 0 0 var(--space-lg);
  color: var(--color-accent);
  font-size: var(--fs-xl);
  line-height: 1.25;
}

.hero--chp__panel {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 11, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero-stat {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(18px);
  animation: heroCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero--chp__panel > .hero-stat:nth-child(3) {
  animation-delay: 0.3s;
}

.hero--chp__panel > .hero-stat:nth-child(4) {
  animation-delay: 0.42s;
}

.hero--chp__panel > .hero-stat:nth-child(5) {
  animation-delay: 0.54s;
}

.hero--chp__panel > .hero-stat:nth-child(6) {
  animation-delay: 0.66s;
}

@keyframes heroCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stat strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
  font-size: var(--fs-2xl);
  line-height: 1;
}

.hero-stat span {
  color: var(--color-text-muted);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.info-card {
  padding: var(--space-lg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 211, 7, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.info-card h3 {
  color: var(--color-white);
  font-size: var(--fs-md);
  margin: 0;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.model-card {
  padding: var(--space-xl);
  background: rgba(14, 15, 17, 0.5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 211, 7, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.model-card--featured {
  border-color: rgba(246, 211, 7, 0.4);
  box-shadow: 0 0 20px rgba(246, 211, 7, 0.1);
}

.model-card__label {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.model-card h3 {
  font-size: var(--fs-xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.model-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.specs-layout {
  align-items: stretch;
}

.table-card {
  padding: var(--space-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.table-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 211, 7, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.table-card__header {
  display: grid;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.table-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.table-card__eyebrow::before,
.table-card__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(246, 211, 7, 0.45);
}

.table-card__header h3 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.spec-table th,
.spec-table td {
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: var(--fs-sm);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.spec-table tbody tr:hover th,
.spec-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.spec-table th:first-child,
.spec-table td:first-child {
  text-align: left;
}

.spec-table th {
  color: var(--color-white);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  white-space: nowrap;
}

.spec-table td {
  color: var(--color-text-muted);
}

.spec-table td:first-child {
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
}

.spec-table th:first-child,
.spec-table td:first-child {
  padding-left: 1rem;
}

.spec-table th:last-child,
.spec-table td:last-child {
  padding-right: 1rem;
}

.spec-table--platform th,
.spec-table--platform td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.spec-table--platform th {
  width: 42%;
  background: transparent;
  font-size: var(--fs-md);
  text-transform: none;
  letter-spacing: 0;
}

.spec-table--platform td {
  text-align: right;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  color: rgba(255, 255, 255, 0.78);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.architecture-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-weight: 500;
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.architecture-item:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 211, 7, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.architecture-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
}

.ecosystem-card {
  padding: var(--space-xl);
  text-align: center;
  background: rgba(14, 15, 17, 0.6);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 211, 7, 0.3);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.ecosystem-card h4 {
  color: var(--color-accent);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
}

.ecosystem-card p {
  color: var(--color-white);
  margin: 0;
  font-size: var(--fs-sm);
}

.economy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.economy-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.economy-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--ring-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 20px rgba(var(--ring-color), 0.15) inset;
}

.economy-val {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: baseline;
}

.economy-stat-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  max-width: 200px;
  margin: 0 auto;
}

/* Base Aurora Styling for Ecosystem section */
.aurora-section .aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.aurora-section .aurora__blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out alternate;
  opacity: 0.6;
}

.aurora-section .aurora__blob--1 {
  width: 600px;
  height: 600px;
  background: rgba(246, 211, 7, 0.15);
  top: -10%;
  left: -10%;
}

.aurora-section .aurora__blob--2 {
  width: 500px;
  height: 500px;
  background: rgba(46, 107, 138, 0.15);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.aurora-section .aurora__blob--3 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* Downloads Section */
.downloads__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.downloads__card {
  padding: var(--space-xl);
  background: rgba(14, 15, 17, 0.5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.downloads__card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 211, 7, 0.3);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.downloads__card h4 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-size: var(--fs-lg);
}

.downloads__card span {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* Closing CTA Section */
.closing-cta {
  padding: var(--section-padding-y) 0;
}

.closing-cta__box {
  position: relative;
  padding: var(--space-3xl) var(--space-2xl);
  background: linear-gradient(135deg, rgba(46, 107, 138, 0.1) 0%, rgba(246, 211, 7, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.closing-cta__box::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -15%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(246, 211, 7, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.closing-cta__box .section-header__label {
  display: block;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.closing-cta__box h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.closing-cta__box p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .hero--chp__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero--chp__copy {
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .model-grid,
  .architecture-grid,
  .ecosystem-grid,
  .economy-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .downloads__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header__title {
    font-size: var(--fs-2xl);
  }

  .hero--chp__panel {
    padding: var(--space-lg);
  }

  .hero__headline {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 900px) {
  .hero--chp__grid {
    gap: var(--space-xl);
  }

  .hero__headline {
    font-size: var(--fs-2xl);
  }

  .spec-table {
    font-size: 0.85rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .spec-table th {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {

  .philosophy-grid,
  .model-grid,
  .architecture-grid,
  .ecosystem-grid,
  .economy-stats,
  .downloads__grid {
    grid-template-columns: 1fr;
  }

  .architecture-item[style*="column: 1 / -1"] {
    grid-column: auto !important;
  }

  .hero--chp {
    padding-top: calc(1.5rem + var(--nav-height-offset));
    padding-bottom: 1.5rem;
  }

  .hero--chp__panel {
    gap: var(--space-sm);
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .section-header__title {
    font-size: var(--fs-xl);
  }

  .hero--chp__subtitle-heading {
    font-size: var(--fs-lg);
  }

  .hero__subtitle {
    font-size: var(--fs-sm);
  }

  .hero-stat {
    padding: var(--space-md);
  }

  .hero-stat strong {
    font-size: var(--fs-xl);
  }

  .model-card,
  .ecosystem-card,
  .downloads__card,
  .info-card {
    padding: var(--space-lg);
  }

  .architecture-item {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .architecture-item i {
    font-size: 1.25rem;
  }

  .ecosystem-card h4 {
    font-size: var(--fs-lg);
  }

  .table-card {
    padding: var(--space-lg);
  }

  .table-card__header h3 {
    font-size: var(--fs-xl);
  }

  .spec-table {
    font-size: 0.8rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .spec-table th {
    font-size: 0.7rem;
  }

  .spec-table th:first-child,
  .spec-table td:first-child {
    padding-left: 0.5rem;
  }

  .spec-table th:last-child,
  .spec-table td:last-child {
    padding-right: 0.5rem;
  }

  .economy-ring {
    width: 100px;
    height: 100px;
  }

  .economy-val {
    font-size: var(--fs-xl);
  }

  .architecture-grid,
  .ecosystem-grid {
    gap: var(--space-md);
  }

  .closing-cta__box {
    padding: var(--space-2xl) var(--space-lg);
  }

  .spec-table--platform th,
  .spec-table--platform td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .spec-table--platform td {
    padding-top: 0;
    font-size: var(--fs-md);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Small tablets / large phones */
@media (max-width: 640px) {
  .hero__headline {
    font-size: clamp(1.5rem, 5vw, var(--fs-2xl));
  }

  .hero--chp__subtitle-heading {
    font-size: var(--fs-md);
  }

  .hero__subtitle {
    font-size: var(--fs-xs);
  }

  .hero--chp__panel {
    padding: var(--space-md);
  }

  .hero-stat {
    padding: var(--space-sm);
  }

  .hero-stat strong {
    font-size: var(--fs-lg);
  }

  .model-card,
  .ecosystem-card,
  .downloads__card {
    padding: var(--space-md);
  }

  .model-card h3 {
    font-size: var(--fs-lg);
  }

  .info-card {
    padding: var(--space-md);
  }

  .section-header__title {
    font-size: var(--fs-lg);
  }

  .section-header__subtitle {
    font-size: var(--fs-sm);
  }

  .table-card {
    padding: var(--space-md) var(--space-sm);
  }

  .spec-table th,
  .spec-table td {
    padding: 0.65rem 0.4rem;
    font-size: 0.75rem;
  }

  .spec-table th {
    font-size: 0.65rem;
  }

  .closing-cta__box {
    padding: var(--space-xl) var(--space-md);
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .section-header__label::before,
  .section-header__label::after {
    width: 16px;
  }

  .section-header__label {
    padding: 0 var(--space-md);
  }

  .hero__headline {
    font-size: var(--fs-2xl);
  }

  .section-header__title {
    font-size: var(--fs-lg);
  }

  .model-card h3 {
    font-size: var(--fs-lg);
  }

  .economy-ring {
    width: 80px;
    height: 80px;
  }

  .economy-val {
    font-size: var(--fs-lg);
  }

  .model-card,
  .ecosystem-card,
  .downloads__card {
    padding: var(--space-md);
  }

  .info-card {
    padding: var(--space-sm);
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
  }

  .spec-table {
    font-size: 0.7rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.6rem 0.4rem;
    font-size: 0.7rem;
  }

  .spec-table th {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }

  .spec-table th:first-child,
  .spec-table td:first-child {
    padding-left: 0.4rem;
  }

  .spec-table th:last-child,
  .spec-table td:last-child {
    padding-right: 0.4rem;
  }

  .table-card {
    padding: var(--space-md) var(--space-sm);
  }

  .table-card__header h3 {
    font-size: var(--fs-md);
  }

  /* Compact table for small screens */
  .spec-table thead th:not(:first-child) {
    font-size: 0.6rem;
    padding: 0.6rem 0.25rem;
  }

  .spec-table tbody td:not(:first-child) {
    font-size: 0.65rem;
    padding: 0.6rem 0.25rem;
    text-align: center;
  }

  .spec-table tbody td:first-child {
    font-size: 0.7rem;
    padding: 0.6rem 0.4rem;
  }

  .info-card h3 {
    font-size: var(--fs-sm);
  }

  .info-card i {
    font-size: 1.25rem !important;
  }

  .downloads__card h4 {
    font-size: var(--fs-md);
  }

  .downloads__card i {
    font-size: 1.25rem;
  }

  .hero-stat {
    padding: var(--space-sm);
  }

  .hero-stat strong {
    font-size: var(--fs-lg);
  }

  .hero-stat span {
    font-size: var(--fs-xs);
  }

  .section-header__subtitle {
    font-size: var(--fs-sm);
  }

  .hero--chp {
    padding-top: calc(1rem + var(--nav-height-offset));
    padding-bottom: 1rem;
  }

  .spec-table--platform th,
  .spec-table--platform td {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 375px) {
  .hero__headline {
    font-size: 1.4rem;
  }

  .hero--chp__subtitle-heading {
    font-size: var(--fs-sm);
  }

  .hero--chp {
    padding-top: calc(0.75rem + var(--nav-height-offset));
    padding-bottom: 0.75rem;
  }

  .hero-stat {
    padding: var(--space-xs);
  }

  .hero-stat strong {
    font-size: var(--fs-md);
  }

  .hero-stat span {
    font-size: 0.7rem;
  }

  .section-header__title {
    font-size: var(--fs-md);
  }

  .section-header__label::before,
  .section-header__label::after {
    display: none;
  }

  .model-card,
  .ecosystem-card,
  .downloads__card {
    padding: var(--space-sm);
  }

  .info-card {
    padding: var(--space-sm);
  }

  .table-card {
    padding: var(--space-sm);
  }

  .spec-table th,
  .spec-table td {
    padding: 0.5rem 0.3rem;
    font-size: 0.65rem;
  }

  .spec-table th {
    font-size: 0.6rem;
  }
}
