/* ============================================================
   CustomA2DP — sections: hero, stats, headings, compare, cards
   ============================================================ */

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 66px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .84rem;
  color: var(--text-soft);
}
.badge b { color: var(--text); font-weight: 600; }

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
  50%      { box-shadow: 0 0 0 7px rgba(52, 211, 153, .05); }
}

.hero__title {
  margin: 22px 0 18px;
  font-size: clamp(2.05rem, 5vw, 3.5rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--text-soft);
}
.hero__lead b { color: var(--text); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__meta li {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .022);
  font-size: .82rem;
  color: var(--muted);
}

/* hero visual */
.hero__visual { position: relative; }

.hero__glow {
  position: absolute;
  inset: 6% -8% -14% -8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .34), transparent 72%);
  filter: blur(44px);
  z-index: -1;
}

.viz {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border-str);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014)),
    rgba(9, 13, 24, .82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-glow);
  font-family: var(--mono);
  font-size: .79rem;
}

.viz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.viz__title { color: var(--muted); font-size: .75rem; }

.viz__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .71rem;
  border: 1px solid rgba(52, 211, 153, .3);
  background: rgba(52, 211, 153, .1);
  color: #6EE7B7;
}
.viz__chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}

.viz__eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 92px;
  margin-bottom: 18px;
}
.viz__eq span {
  flex: 1;
  height: var(--h, 40%);
  min-height: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--a1), var(--a3));
  transform-origin: bottom;
  animation: eq 1.25s var(--ease) infinite alternate;
}
.viz__eq span:nth-child(3n) { animation-delay: -.3s; }
.viz__eq span:nth-child(4n) { animation-delay: -.6s; }
.viz__eq span:nth-child(5n) { animation-delay: -.85s; }
@keyframes eq {
  from { transform: scaleY(.42); opacity: .55; }
  to   { transform: scaleY(1);   opacity: .95; }
}

.viz__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.viz__grid > div { padding: 10px 12px; background: rgba(8, 12, 22, .8); }
.viz__grid dt { color: var(--muted); font-size: .68rem; margin-bottom: 3px; }
.viz__grid dd { color: var(--text); font-size: .8rem; }

.ok { color: var(--ok); }

/* ---------- stats ---------- */
.stats {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, .014);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }

.stat__num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num .unit { font-size: .55em; margin-left: .06em; }
.stat__label { display: block; margin-top: 5px; font-size: .82rem; color: var(--muted); }

/* ---------- headings ---------- */
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--tight { padding: clamp(42px, 6vw, 72px) 0; }

.section__head {
  max-width: 730px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__title { font-size: clamp(1.65rem, 3.4vw, 2.5rem); letter-spacing: -.03em; }
.section__lead {
  margin-top: 14px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--text-soft);
}

/* ---------- compare ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare__col {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.compare__col--good {
  border-color: rgba(52, 211, 153, .26);
  background: linear-gradient(180deg, rgba(52, 211, 153, .07), rgba(52, 211, 153, .015));
  box-shadow: 0 24px 60px -30px rgba(52, 211, 153, .4);
}

.compare__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.12rem;
}
.badge-x, .badge-v {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: .82rem;
  flex-shrink: 0;
}
.badge-x { background: rgba(251, 113, 133, .14); color: var(--bad); }
.badge-v { background: rgba(52, 211, 153, .16); color: var(--ok); }

.compare__col li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: .95rem;
  color: var(--text-soft);
  border-bottom: 1px dashed rgba(255, 255, 255, .07);
}
.compare__col li:last-child { border-bottom: 0; }
.compare__col li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.compare__col--good li::before { background: var(--ok); }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-str);
  background: rgba(59, 130, 246, .1);
}
.card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--a1);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title { font-size: 1.04rem; margin-bottom: 9px; }
.card__text { font-size: .93rem; color: var(--text-soft); }
