/* Lukisan Emas Trading Assistant (Auto Stop) product page */

.product-page-shell--auto-stop {
  --ta-section-space: clamp(3rem, 5.5vw, 4.75rem);
  --ta-section-space-md: clamp(2.35rem, 4.2vw, 3.35rem);
  --ta-heading-gap: clamp(1.35rem, 2.8vw, 2rem);
  --ta-page-x: clamp(1.35rem, 4vw, 2.75rem);
  box-sizing: border-box;
  padding-left: max(var(--ta-page-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--ta-page-x), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

@media (min-width: 992px) {
  .product-page-shell--auto-stop {
    --ta-page-x: clamp(2rem, 5vw, 3.5rem);
  }
}

.product-page-shell--auto-stop > .product-section {
  padding-top: var(--ta-section-space) !important;
  padding-bottom: var(--ta-section-space) !important;
}

.product-page-shell--auto-stop > .ta-panel-showcase {
  padding-bottom: clamp(0.5rem, 1.5vw, 0.85rem);
}

.product-page-shell--auto-stop > .product-hero.product-hero--ta-intro {
  padding-top: clamp(0.35rem, 1.2vw, 0.65rem);
  padding-bottom: var(--ta-section-space-md);
}

.product-page-shell--auto-stop .gc-section-heading {
  margin-bottom: var(--ta-heading-gap);
}

.product-page-shell--auto-stop .gc-section-lead {
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.product-page-shell--auto-stop .gc-value-grid {
  gap: clamp(1.15rem, 2.2vw, 1.5rem);
}

.product-page-shell--auto-stop .gc-value-card {
  padding: clamp(1.45rem, 2.5vw, 1.75rem) clamp(1.25rem, 2vw, 1.5rem);
}

.product-page-shell--auto-stop .gc-value-strip .gc-value-card__title {
  font-size: 1.12rem;
  line-height: 1.35;
}

.product-page-shell--auto-stop .gc-value-strip .gc-value-card__text {
  font-size: 1.02rem;
  line-height: 1.58;
}

.product-page-shell--auto-stop .ta-hero-actions {
  margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

.ta-audience-section .gc-section-heading {
  text-align: center;
}

@media (max-width: 767.98px) {
  .product-page-shell--auto-stop {
    --ta-section-space: clamp(2.5rem, 7vw, 3.35rem);
    --ta-section-space-md: clamp(2rem, 5.5vw, 2.85rem);
    --ta-heading-gap: clamp(1.15rem, 4vw, 1.65rem);
    --ta-page-x: clamp(1.15rem, 5vw, 1.65rem);
  }
}

.ta-trader-cards {
  display: grid;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}

.ta-trader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 6.25rem;
  padding: 1.05rem 0.75rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

/* Desktop: 3 cards row 1, 2 cards centered row 2 */
@media (min-width: 768px) {
  .ta-trader-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 720px;
  }

  .ta-trader-card {
    grid-column: span 2;
  }

  .ta-trader-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .ta-trader-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.ta-trader-card__icon {
  font-size: 1.05rem;
  color: var(--le-brand-primary, #ffd400);
  line-height: 1;
}

.product-page-shell--auto-stop .ta-trader-card__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
}

.ta-panel-showcase {
  --ta-hero-panel-overlap: 0;
  --ta-hero-panel-width: 78%;
  --ta-hero-chip-font: 0.6875rem;
  --ta-hero-chip-pad-y: 0.35rem;
  --ta-hero-chip-pad-x: 0.85rem;
  --ta-hero-chip-gap: 0.5rem;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(ellipse 85% 45% at 50% 0%, rgba(255, 212, 0, 0.07), transparent 52%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.35) 0%, transparent 100%);
}

.ta-panel-showcase .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

.ta-panel-showcase__intro {
  width: 100%;
  max-width: none;
  margin: 0 auto clamp(1rem, 2.2vw, 1.45rem);
  padding: 0.06em clamp(0.85rem, 3vw, 1.75rem) 0;
  text-align: center;
  overflow: visible;
}

.ta-hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 1rem);
  margin: 0 0 var(--ta-hero-chip-gap);
  padding: var(--ta-hero-chip-pad-y) var(--ta-hero-chip-pad-x);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: var(--ta-hero-chip-font);
  line-height: 1.2;
  box-sizing: border-box;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(
    90deg,
    var(--le-brand-primary, #ffd400) 0%,
    var(--le-brand-tertiary, #ff9900) 100%
  );
  border: none;
  box-shadow: none;
}

/* After marketing_product_styles.php, .gc-section-heading wins unless specificity is higher */
.product-page-shell--auto-stop .ta-panel-showcase .ta-showcase-heading.gc-section-heading {
  margin: 0;
  font-size: clamp(3.375rem, 7.5vw, 4.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ta-hero-display__gradient {
  display: inline-block;
  padding: 0;
  line-height: inherit;
  background: linear-gradient(
    90deg,
    var(--le-brand-primary, #ffd400) 0%,
    #ffc800 42%,
    var(--le-brand-tertiary, #ff9900) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.product-page-shell--auto-stop #ta-features-heading .ta-hero-display__gradient {
  font-weight: 900;
}

.ta-panel-showcase__figure {
  width: var(--ta-hero-panel-width);
  max-width: var(--ta-hero-panel-width);
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(255, 212, 0, 0.28);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.ta-panel-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 0;
}

@media (max-width: 767.98px) {
  .ta-panel-showcase {
    --ta-hero-panel-width: 100%;
    --ta-hero-panel-overlap: 0;
  }

  .ta-panel-showcase__intro {
    margin-bottom: 1.35rem;
  }

  .ta-hero-chip {
    letter-spacing: 0.08em;
  }
}

.product-hero--ta-intro .product-hero-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-hero--ta-intro .ta-value-note {
  text-align: center;
}

.ta-value-note {
  max-width: 780px;
  margin: clamp(1.15rem, 2.5vw, 1.65rem) auto 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.ta-value-note strong {
  color: #fff;
  font-weight: 700;
}

.ta-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.product-page--auto-stop .product-hero--ta-intro .product-hero-chips {
  max-width: 36rem;
}

.product-page--auto-stop .product-hero--ta-intro .product-hero-actions {
  margin-bottom: 0;
}

.ta-panel-features {
  scroll-margin-top: calc(var(--marketing-topnav-h, 64px) + 12px);
}

.ta-panel-stage {
  --gc-signal-card-h: 4.75rem;
  --gc-signal-gap: 0.45rem;
  --gc-signal-pane-h: calc(5 * var(--gc-signal-card-h) + 4 * var(--gc-signal-gap));
}

.ta-panel-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 0, 0.22);
  background: rgba(0, 0, 0, 0.35);
}

.ta-panel-shot__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.ta-panel-shot figcaption {
  padding: 0.55rem 0.85rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ta-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 10px;
  background: rgba(255, 212, 0, 0.1);
}

@media (max-width: 767.98px) {
  .ta-panel-stage {
    --gc-signal-pane-h: auto;
  }

  .ta-panel-cards {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

.ta-compare-wrap,
.ta-struggle-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.ta-struggle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ta-struggle-item {
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ta-struggle-item:last-child {
  border-bottom: none;
}

.ta-struggle-item__headline {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.ta-struggle-item__detail {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.ta-struggle-bridge {
  max-width: 720px;
  margin: 1.15rem auto 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.ta-struggle-bridge a {
  color: var(--le-brand-primary, #ffd400);
  font-weight: 650;
  text-decoration: none;
}

.ta-struggle-bridge a:hover {
  color: #ffe566;
}

.ta-features-grid {
  display: grid;
  gap: clamp(1.35rem, 2.8vw, 1.85rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .ta-features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

.ta-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  border-radius: 18px;
  padding: clamp(1.55rem, 2.8vw, 2rem) clamp(1.85rem, 4.5vw, 2.5rem);
  background:
    linear-gradient(155deg, rgba(255, 212, 0, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ta-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 212, 0, 0.55) 20%,
    rgba(255, 153, 0, 0.45) 80%,
    transparent
  );
  opacity: 0.85;
}

.ta-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 212, 0, 0.28);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 212, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ta-feature-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(1.35rem, 2.8vw, 1.85rem);
  padding: 0 clamp(0.25rem, 1.2vw, 0.65rem) clamp(1.15rem, 2.2vw, 1.45rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.ta-feature-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  font-size: 1.25rem;
  line-height: 1;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ta-feature-card__heading {
  flex: 1 1 auto;
  width: 100%;
  max-width: 34rem;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.ta-feature-card__title {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.12rem, 2.1vw, 1.28rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.ta-feature-card__subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(0.95rem, 1.75vw, 1.05rem);
  font-weight: 500;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.68);
}

.ta-feature-card__list {
  margin: 0;
  padding: 0.15rem clamp(0.35rem, 1.5vw, 0.85rem) 0;
  max-width: 34rem;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  list-style: none;
  font-size: clamp(0.95rem, 1.75vw, 1.05rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
}

.ta-feature-card__list li {
  position: relative;
  padding-left: 1.35rem;
}

.ta-feature-card__list li + li {
  margin-top: 0.55rem;
}

.ta-feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--le-brand-primary, #ffd400);
  box-shadow: 0 0 8px rgba(255, 212, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .ta-feature-card {
    transition: none;
  }

  .ta-feature-card:hover {
    transform: none;
  }
}

.ta-audience-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.ta-audience-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.ta-audience-list li i {
  color: var(--le-brand-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.ta-audience-list strong {
  color: #fff;
  font-weight: 700;
}

.ta-spec-list {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.ta-spec-list li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.ta-spec-list li i {
  color: #22d3ee;
  flex-shrink: 0;
}

.ta-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  text-align: center;
}

.ta-plans-section .gc-access-grid-wrap {
  max-width: 420px;
  margin: 0 auto;
}
