/**
 * Lofko-matched dark premium system (Tranzit content).
 * Black canvas · pink→blue gradients · centered chapters · pill CTAs
 */

:root {
  --lk-bg: #050508;
  --lk-bg-2: #0a0a12;
  --lk-panel: linear-gradient(165deg, #1a1030 0%, #0d0a18 55%, #08060f 100%);
  --lk-panel-border: rgba(120, 90, 200, 0.28);
  --lk-text: #ffffff;
  --lk-muted: rgba(255, 255, 255, 0.72);
  --lk-pink: #ff2d95;
  --lk-pink-2: #ff6bb5;
  --lk-blue: #4d7cff;
  --lk-purple: #7b5cff;
  --lk-grad-text: linear-gradient(90deg, #ff2d95 0%, #7b5cff 45%, #4d7cff 100%);
  --lk-grad-btn: linear-gradient(90deg, #ff2d95 0%, #ff4da6 55%, #ff6bb5 100%);
  --lk-radius: 18px;
  --lk-radius-lg: 24px;
}

body.home,
body.page-template-template-homepage {
  background: var(--lk-bg);
  color: var(--lk-text);
}

body.home .trz-main,
body.page-template-template-homepage .trz-main {
  background: var(--lk-bg);
}

/* ===== Header ===== */
body.home .trz-header,
body.page-template-template-homepage .trz-header,
.trz-header.trz-header--dark {
  background: rgba(5, 5, 8, 0.72) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}
body.home .trz-header .trz-nav-link,
body.home .trz-header .trz-brand-text,
body.page-template-template-homepage .trz-header .trz-nav-link,
body.page-template-template-homepage .trz-header .trz-brand-text,
.trz-header.trz-header--dark .trz-nav-link,
.trz-header.trz-header--dark .trz-brand-text {
  color: #fff !important;
}
body.home .trz-header .trz-brand-text small,
.trz-header.trz-header--dark .trz-brand-text small {
  color: rgba(255, 255, 255, 0.55) !important;
}
.trz-header .trz-btn--ghost,
.trz-header .trz-btn--ghost-light {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.trz-btn--pink,
.trz-header .trz-btn--primary,
.trz-btn--primary.trz-btn--pink {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--lk-grad-btn) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 36px -10px rgba(255, 45, 149, 0.55);
  font-weight: 700;
}
.trz-btn--pink:hover,
.trz-header .trz-btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff !important;
}
.trz-btn-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
}
.trz-mega {
  background: #12101c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7) !important;
}
.trz-mega-grid a {
  color: #fff !important;
}
.trz-mega-grid a:hover {
  background: rgba(255, 45, 149, 0.12) !important;
  color: #ff6bb5 !important;
}
.trz-burger {
  border-color: rgba(255, 255, 255, 0.2);
}
.trz-burger span {
  background: #fff;
}

/* ===== Hero (centered) ===== */
.trz-hero,
body.home .trz-hero,
body.page-template-template-homepage .trz-hero {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem) !important;
  background:
    radial-gradient(900px 520px at 50% 88%, rgba(77, 124, 255, 0.28), transparent 60%),
    radial-gradient(700px 420px at 50% 100%, rgba(255, 45, 149, 0.14), transparent 55%),
    #050508 !important;
  color: #fff !important;
  min-height: 0 !important;
  overflow: hidden;
  position: relative;
}
.trz-hero::before,
.trz-noise,
.trz-meteors {
  display: none !important;
}
.trz-hero-grid {
  display: block !important;
  max-width: 920px;
  margin: 0 auto;
}
.trz-hero-copy {
  text-align: center;
}
.trz-hero h1,
body.home .trz-hero h1 {
  color: #fff !important;
  font-size: clamp(2.6rem, 6vw, 4.4rem) !important;
  line-height: 1.05 !important;
  max-width: 16ch !important;
  margin-inline: auto;
  letter-spacing: -0.04em;
}
.trz-hero h1 .trz-grad,
.lk-grad {
  background: var(--lk-grad-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.trz-hero .trz-lead {
  color: var(--lk-muted) !important;
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}
.trz-hero .trz-actions {
  justify-content: center;
  margin-top: 1.75rem;
}
.trz-hero .trz-btn--ghost-light {
  display: none;
}
.trz-hero-trust {
  display: none;
}
.trz-hero-stage {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 980px;
  position: relative;
  min-height: 0;
}
.trz-hero-stage .trz-window,
.trz-window {
  transform: none !important;
  margin-inline: auto;
  max-width: 860px;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 0 0 1px rgba(77, 124, 255, 0.15),
    0 40px 100px -30px rgba(0, 0, 0, 0.85),
    0 0 80px -10px rgba(77, 124, 255, 0.35) !important;
}
.trz-hero-stage .trz-float {
  background: rgba(18, 16, 32, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}
.trz-hero-stage .trz-float strong {
  color: #fff !important;
}
.trz-hero-stage .trz-float .trz-rates__meta,
.trz-hero-stage .trz-float .trz-rate-row,
.trz-hero-stage .trz-float .trz-demo-note {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.trz-hero-stage .trz-float .trz-rate-row__name,
.trz-hero-stage .trz-float .trz-rate-row__price {
  color: #fff;
}

/* Floating tiles under hero visual */
.lk-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.lk-tile {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(77, 124, 255, 0.45), rgba(20, 30, 70, 0.9));
  border: 1px solid rgba(140, 170, 255, 0.35);
  box-shadow: 0 20px 40px -18px rgba(77, 124, 255, 0.55);
  color: #fff;
  font-size: 1.5rem;
}

/* ===== Sections ===== */
body.home .trz-section,
body.page-template-template-homepage .trz-section,
.lk-section {
  background: var(--lk-bg) !important;
  color: #fff !important;
  padding: clamp(4.5rem, 8vw, 7rem) 0 !important;
}
body.home .trz-section--surface,
body.home .trz-section--sky,
body.home .trz-section--mint,
body.home .trz-section--dark,
body.page-template-template-homepage .trz-section--surface,
body.page-template-template-homepage .trz-section--sky,
body.page-template-template-homepage .trz-section--mint,
body.page-template-template-homepage .trz-section--dark {
  background: var(--lk-bg) !important;
  color: #fff !important;
}
.lk-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
}
.lk-section-head h2 {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.1rem) !important;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.lk-section-head .trz-lead,
.lk-section-head p {
  color: var(--lk-muted) !important;
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.05rem;
}
body.home .trz-section-head,
body.home .trz-section-head h2,
body.page-template-template-homepage .trz-section-head h2 {
  color: #fff !important;
  text-align: center;
  margin-inline: auto;
}
body.home .trz-lead,
body.page-template-template-homepage .trz-lead {
  color: var(--lk-muted) !important;
}
body.home .trz-eyebrow,
body.page-template-template-homepage .trz-eyebrow {
  color: #ff6bb5 !important;
}

/* ===== Logo marquee ===== */
.lk-trust {
  text-align: center;
  padding-top: 1rem !important;
}
.lk-trust h2 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: 1.75rem;
}
.trz-logo-chip {
  min-height: 56px;
  min-width: 140px;
  border-radius: 12px;
  background: transparent !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  filter: none !important;
  opacity: 0.9;
  box-shadow: none !important;
}
.trz-marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ===== Feature cards (4-up like Lofko) ===== */
.lk-cards {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .lk-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .lk-cards.lk-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lk-cards.lk-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lk-card {
  background: var(--lk-panel);
  border: 1px solid var(--lk-panel-border);
  border-radius: var(--lk-radius);
  padding: 1.5rem 1.35rem;
  text-align: left;
  min-height: 220px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.lk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 149, 0.35);
  box-shadow: 0 24px 50px -28px rgba(255, 45, 149, 0.35);
}
.lk-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4d7cff, #7b5cff);
}
.lk-card__icon--pink {
  background: linear-gradient(135deg, #ff2d95, #7b5cff);
}
.lk-card__icon--purple {
  background: linear-gradient(135deg, #7b5cff, #4d7cff);
}
.lk-card__icon--blue {
  background: linear-gradient(135deg, #3db8ff, #4d7cff);
}
.lk-card h3 {
  color: #fff !important;
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
}
.lk-card p {
  color: var(--lk-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lk-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

/* Chapter with product visual */
.lk-chapter {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 960px) {
  .lk-chapter {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .lk-chapter--flip > :first-child {
    order: 2;
  }
}
.lk-chapter .lk-section-head {
  text-align: left;
  margin: 0 0 1.25rem;
}
.lk-chapter .lk-section-head h2 {
  max-width: 14ch;
}
.lk-chapter .lk-section-head p {
  margin: 0;
}

/* Hide old light components on homepage */
body.home .trz-problems,
body.home .trz-problem-grid,
body.home .lof-value-grid,
body.home .lof-calc,
body.home .lof-feature-grid,
body.home .lof-benefit-grid {
  /* kept if used; styled dark below */
}
body.home .trz-problem-card,
body.home .lof-value-card,
body.home .lof-feature-item,
body.home .lof-benefit-card,
body.home .trz-segment,
body.home .trz-article-card,
body.home .trz-testimonial,
body.home .trz-panel,
body.home .trz-step,
body.home .trz-byo-panel:not(.trz-byo-result),
body.home .trz-outcomes li {
  background: var(--lk-panel) !important;
  border: 1px solid var(--lk-panel-border) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body.home .trz-problem-card h3,
body.home .lof-value-card h3,
body.home .trz-segment strong,
body.home .trz-article-card h3,
body.home .trz-testimonial blockquote {
  color: #fff !important;
}
body.home .trz-problem-card p,
body.home .lof-value-card p,
body.home .trz-segment p,
body.home .trz-article-card p {
  color: var(--lk-muted) !important;
}
body.home .trz-capability-list li {
  background: transparent !important;
  border: 0 !important;
  color: #fff;
}
body.home .trz-capability-list strong {
  color: #fff;
}
body.home .trz-capability-list span {
  color: var(--lk-muted);
}
body.home .trz-flow-node {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
body.home .trz-rates {
  background: #fff !important;
  color: #0b1b33;
}
body.home .trz-text-link {
  color: #ff6bb5 !important;
}

/* Testimonial centered */
body.home .trz-testimonial {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding: 2.5rem !important;
}
body.home .trz-grid-2:has(.trz-testimonial) {
  grid-template-columns: 1fr;
}

/* Final CTA */
.trz-cta-banner {
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(77, 124, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #1a1030, #0a0a12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  text-align: center;
}
.trz-cta-banner h2 {
  color: #fff !important;
  margin-inline: auto;
}
.trz-cta-banner p {
  color: var(--lk-muted) !important;
  margin-inline: auto;
}
.trz-cta-banner .trz-actions {
  justify-content: center;
}
.trz-cta-banner .trz-btn--accent {
  background: var(--lk-grad-btn) !important;
  color: #fff !important;
}
.trz-cta-banner .trz-btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  background: transparent !important;
}
.trz-cta-banner::after {
  display: none;
}

.trz-footer {
  background: #030308 !important;
}

/* Interior pages stay usable light OR inherit — keep page heroes soft dark */
.trz-page-hero {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(77, 124, 255, 0.2), transparent 60%),
    #050508 !important;
  color: #fff;
}
.trz-page-hero h1 {
  color: #fff !important;
}
.trz-page-hero .trz-lead {
  color: var(--lk-muted) !important;
}
.trz-page-hero--dark {
  background: #050508 !important;
}

@media (max-width: 900px) {
  .trz-hero-stage .trz-float {
    position: relative;
    width: 100%;
    margin-top: 0.75rem;
    animation: none;
  }
  .lk-card {
    min-height: 0;
  }
}
