/* =============================================
   Why TikTok Live — /why-tiktok-live/
   ============================================= */

:root {
  --wtl-bg: #0a0a0a;
  --wtl-red: #e6001f;
  --wtl-red-dark: #9a0014;
  --wtl-cyan: #25f4ee;
  --wtl-white: #ffffff;
  --wtl-body: #cccccc;
  --wtl-muted: rgba(255, 255, 255, 0.45);
  --wtl-border: rgba(255, 255, 255, 0.08);
  --wtl-font-head: 'Poppins', sans-serif;
  --wtl-font-body: 'Inter', sans-serif;
  --wtl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wtl-max: 1180px;
}

.why-tiktok-live-page {
  background: var(--wtl-bg);
  color: var(--wtl-body);
  font-family: var(--wtl-font-body);
  font-size: 17px;
  line-height: 1.65;
}

.why-tiktok-live-page h1,
.why-tiktok-live-page h2,
.why-tiktok-live-page h3 {
  font-family: var(--wtl-font-head);
  color: var(--wtl-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wtl-wrap {
  width: 100%;
  max-width: var(--wtl-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--wtl-ease),
    transform 0.75s var(--wtl-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO ---------- */
.wtl-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 104px 24px 64px;
}

.wtl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(230, 0, 31, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(37, 244, 238, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(230, 0, 31, 0.08), transparent 45%),
    var(--wtl-bg);
}

.wtl-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.wtl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
}

.wtl-hero-headline {
  margin: 0 auto;
  display: grid;
  gap: 0.2em;
}

.wtl-hero-line {
  display: block;
  width: 100%;
  font-family: var(--wtl-font-head);
  font-weight: 800;
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.12;
  color: var(--wtl-white);
  margin-bottom: 0;
  text-wrap: balance;
}

.wtl-hero-line.blur-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.wtl-hero-line--lead {
  max-width: 24ch;
  margin-inline: auto;
}

.wtl-hero-line--main {
  max-width: 26ch;
  margin-inline: auto;
}

.wtl-hero-line--accent {
  color: var(--wtl-red);
  font-size: clamp(34px, 6.5vw, 64px);
  margin-top: 0.18em;
  margin-bottom: 0;
  text-shadow: 0 0 60px rgba(230, 0, 31, 0.35);
  max-width: 20ch;
  margin-inline: auto;
}

/* ---------- INTRO ---------- */
.wtl-intro {
  padding: 84px 24px 92px;
  text-align: center;
}

.wtl-intro p {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  color: var(--wtl-body);
}

.wtl-intro-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--wtl-red), var(--wtl-cyan));
  border-radius: 2px;
  margin: 0 auto 40px;
}

/* ---------- FEATURES ---------- */
.wtl-features {
  padding: 40px 0 120px;
}

.wtl-feature {
  padding: 72px 0;
  border-top: 1px solid var(--wtl-border);
}

.wtl-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wtl-feature--img-right .wtl-feature-media { order: 2; }
.wtl-feature--img-right .wtl-feature-content { order: 1; }

.wtl-feature-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--wtl-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.wtl-feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 0, 31, 0.08), transparent 50%);
  pointer-events: none;
}

.wtl-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.wtl-feature-kicker {
  display: inline-block;
  font-family: var(--wtl-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wtl-cyan);
  margin-bottom: 16px;
}

.wtl-feature h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.wtl-feature p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--wtl-body);
}

/* ---------- CTA ---------- */
.wtl-cta {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(230, 0, 31, 0.35), transparent 60%),
    linear-gradient(180deg, #140003 0%, #0a0a0a 40%, #1a0006 100%);
  border-top: 1px solid rgba(230, 0, 31, 0.25);
}

.wtl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(230, 0, 31, 0.2), transparent 55%);
  pointer-events: none;
}

.wtl-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.wtl-cta h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
}

.wtl-cta p:not(.wtl-cta-note) {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.75;
  color: var(--wtl-body);
  margin-bottom: 36px;
}

.wtl-cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.wtl-cta-form input {
  flex: 1;
  min-width: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 15px 20px;
  color: var(--wtl-white);
  font-family: var(--wtl-font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wtl-cta-form input::placeholder { color: var(--wtl-muted); }

.wtl-cta-form input:focus {
  border-color: var(--wtl-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 31, 0.2);
}

.wtl-cta-form input:disabled { opacity: 0.6; }

.wtl-cta-note {
  color: var(--wtl-muted);
  font-size: 11px;
  margin: 16px auto 0;
}

.wtl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--wtl-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--wtl-white);
  background: var(--wtl-red);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.2s var(--wtl-ease),
    box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(230, 0, 31, 0.35);
}

.wtl-cta-btn:hover {
  background: #ff1a3a;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(230, 0, 31, 0.45);
}

/* ---------- FOOTER OVERRIDES ---------- */
.why-tiktok-live-page footer {
  background: var(--wtl-bg);
  border-top: 1px solid var(--wtl-border);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .wtl-feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wtl-feature--img-right .wtl-feature-media,
  .wtl-feature--img-right .wtl-feature-content {
    order: unset;
  }

  .wtl-feature {
    padding: 56px 0;
  }

  .wtl-intro {
    padding: 72px 24px;
  }

  .wtl-cta {
    padding: 80px 24px;
  }

  .wtl-cta-form {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .wtl-hero {
    min-height: auto;
    padding: 96px 20px 42px;
  }

  .wtl-hero-line {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.16;
    text-wrap: pretty;
  }

  .wtl-hero-line--lead {
    max-width: 16ch;
  }

  .wtl-hero-line--main {
    max-width: 18ch;
  }

  .wtl-hero-line--accent {
    font-size: clamp(29px, 8.2vw, 38px);
    max-width: 14ch;
    margin-top: 0.26em;
  }

  .wtl-intro {
    padding: 56px 20px 72px;
  }

  .wtl-intro-divider {
    margin-bottom: 28px;
  }
}
