/* Circular container for section emoji cup */
.section-emoji-container {
  width: 100px;
  height: 100px;
  background: #8000F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 2px 12px rgba(128, 0, 245, 0.12);
}

.section-emoji-container img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Icon container for benefits table */
.benefit-icon-container {
  width: 25px;
  height: 25px;
  background: #8000F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  margin-left: 0;
  box-shadow: 0 2px 8px rgba(128, 0, 245, 0.10);
}

.benefit-icon-container img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(1.2);
}

@import 'variables.css';
@import 'common.css';

/* ===== SECCIÓN POR QUÉ ELIGEN ADNX10 ===== */
.why-choose-adnx10 {
  padding: var(--spacing-hero) var(--spacing-md);
  position: relative;
}

.why-choose-adnx10 .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-emoji {
  font-size: 4.3rem;
  margin-bottom: var(--spacing-md);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--color-primary);
  text-shadow: var(--text-glow);
  margin-bottom: var(--spacing-lg);
}

.benefits-table {
  background: radial-gradient(1400px 900px at 100% 0%, rgba(140, 70, 255, .10) 0%, rgba(10, 10, 16, .0) 50%),
    rgba(20, 20, 30, .55);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-md),
    0 0 30px rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.table-header {
  padding: var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.table-header h3 {
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-align: center;
  font-family: poppins, sans-serif !important;
}

.benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-normal);
}

.benefits-row:last-child {
  border-bottom: none;
}

.benefits-row:hover {
  background: rgba(139, 92, 246, 0.05);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.benefit-icon {
  font-size: 1.2rem;
  margin-right: var(--spacing-xs);
}

.benefit-text {
  color: #fff;
  font-weight: var(--font-weight-medium);
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
}

.benefit-value {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.benefit-check {
  color: var(--color-positive);
  font-size: 1.2rem;
  margin-right: var(--spacing-xs);
}

.benefit-value-text {
  color: var(--text-muted);
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .table-header,
  .benefits-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .table-header h3 {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .why-choose-adnx10 {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .benefits-table {
    padding: var(--spacing-lg);
  }
}

/*---------------------------------------------------------------*/
/* ===== Sección aislada TG Compare ===== */
#tgcmp-section {
  font-family: "Poppins", system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  padding: 36px 20px;
  margin: 0 auto;

  /* Paleta/variables */
  --badge-start: #7F00FF;
  --badge-end: #9646FF;

  /* velo translúcido del glass */
  --glass-top: rgba(255, 255, 255, .10);
  --glass-bot: rgba(255, 255, 255, .03);
}

#tgcmp-section * {
  box-sizing: border-box;
}

/* Layout */
.tgcmp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ========================= TARJETAS (GLASS) ========================= */
.tgcmp-card {
  position: relative;
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.tgcmp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  /* blur del “fondo” del card (el canvas queda detrás) */
  filter: blur(18px);
  transform: scale(1.02);
}

.tgcmp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bot));
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: .5px;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .18);
}

.tgcmp-card>* {
  position: relative;
  z-index: 2;
}

/* Titulares y textos */
.tgcmp-h1 {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  margin: 8px 0 22px 0;
  color: #fff;
  font-family: Poppins, sans-serif;
}

.tgcmp-adnx-h1 {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  margin: 8px 0 22px 0;
  font-family: 'Venera', sans-serif;
  background: linear-gradient(30deg, #9b7b75, #b6452ebe, #50190a);
  background-clip: text;
  color: transparent;
}

.tgcmp-sub {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #fff;
  font-family: Poppins, sans-serif;
}

/* Lista */
.tgcmp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tgcmp-li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tgcmp-li:last-child {
  border-bottom: 0;
}

.tgcmp-li-text {
  font-size: 16px;
  line-height: 1.45;
  color: #fff;
  font-family: Poppins, sans-serif;
}

/* Iconos con gradiente */
.tgcmp-ico {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--badge-start), var(--badge-end));
  box-shadow:
    0 0 28px 12px color-mix(in oklab, var(--badge-start) 50%, transparent),
    0 0 42px 12px color-mix(in oklab, var(--badge-end) 45%, transparent);
}

/* ========================= STACK ========================= */
.tgcmp-stack {
  position: relative;
  border-radius: 26px;
  padding: 64px 12px 12px;
  /* el gradiente NO se pinta en CSS; lo hará el canvas */
  background: transparent;
}

.tgcmp-stack__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  background: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  pointer-events: none;
  z-index: 2;
}

/* el canvas va al fondo */
.tgcmp-stack>canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  /* no tapar clics */
}

.tgcmp-stack .tgcmp-card {
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

/* Botón */
.tgcmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 280px;
  padding: 0 22px;
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--badge-start), var(--badge-end));
  box-shadow:
    0 0 28px 12px color-mix(in oklab, var(--badge-start) 50%, transparent),
    0 0 42px 12px color-mix(in oklab, var(--badge-end) 45%, transparent);
  transition: transform .12s ease, filter .12s ease;
}

.tgcmp-btn:hover {
  transform: translateY(-1px);
  filter: saturate(112%);
}

.tgcmp-btn:active {
  transform: translateY(0) scale(.99);
}

/* Responsive */
@media (max-width: 900px) {
  .tgcmp-wrap {
    grid-template-columns: 1fr;
  }

  .tgcmp-stack {
    padding-top: 60px;
  }

  .tgcmp-btn {
    width: 100%;
  }
}