/* trapgod4 — landing page (index3-style marketing surface) */

/* ---- Brand logo system (ambient + anchors) ---- */
.lp-page main {
  position: relative;
  isolation: isolate;
}

.lp-page img[class*="lp-logo"] {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.lp-brand-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.lp-logo-ambient {
  position: absolute;
  opacity: 0.06;
  filter: blur(0.4px) drop-shadow(0 0 14px var(--glow));
  animation: lpLogoDrift 16s ease-in-out infinite;
}

.lp-logo-ambient-1  { width: 140px; top: 6%;  left: 3%;   animation-delay: 0s; }
.lp-logo-ambient-2  { width: 88px;  top: 14%; right: 5%;   animation-delay: -2s;  opacity: 0.045; }
.lp-logo-ambient-3  { width: 180px; top: 28%; left: 8%;   animation-delay: -4s;  opacity: 0.04; }
.lp-logo-ambient-4  { width: 72px;  top: 38%; right: 14%; animation-delay: -6s; }
.lp-logo-ambient-5  { width: 110px; top: 52%; left: 2%;   animation-delay: -8s;  opacity: 0.05; }
.lp-logo-ambient-6  { width: 96px;  top: 58%; right: 7%;  animation-delay: -10s; opacity: 0.055; }
.lp-logo-ambient-7  { width: 130px; top: 70%; left: 12%; animation-delay: -12s; opacity: 0.04; }
.lp-logo-ambient-8  { width: 64px;  top: 76%; right: 20%; animation-delay: -14s; }
.lp-logo-ambient-9  { width: 150px; top: 86%; left: 6%;  animation-delay: -3s;  opacity: 0.035; }
.lp-logo-ambient-10 { width: 80px;  top: 92%; right: 10%; animation-delay: -9s;  opacity: 0.05; }

.lp-page main > section {
  position: relative;
  z-index: 1;
}

.lp-logo-hero {
  width: min(200px, 52vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 24px var(--glow));
  animation: lpLogoPulse 4s ease-in-out infinite;
}

.lp-hero-logo-wrap {
  margin-bottom: 6px;
}

.lp-phone .lp-avatar {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 8px;
}

.lp-logo-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-section-logo,
.lp-section-king,
.lp-section-final {
  overflow: hidden;
}

.lp-section-watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  width: min(280px, 42vw);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.lp-section-watermark-lg {
  width: min(360px, 50vw);
  right: 50%;
  transform: translate(50%, -50%);
  opacity: 0.04;
}

.lp-section-watermark img,
.lp-logo-watermark {
  width: 100%;
  height: auto;
}

.lp-logo-final-ring {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.lp-logo-final {
  width: min(96px, 22vw);
  filter: drop-shadow(0 0 20px var(--glow));
  animation: lpLogoPulse 5s ease-in-out infinite;
}

@keyframes lpLogoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.92; }
}

@keyframes lpLogoDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

[data-theme="light"] .lp-logo-ambient,
[data-theme="light"] .lp-section-watermark {
  opacity: 0.04;
  filter: none;
}

[data-theme="metal"] .lp-logo-hero,
[data-theme="metal"] .lp-logo-final {
  filter: drop-shadow(0 0 18px rgba(208, 208, 211, 0.35));
}

/* ---- Page sections ---- */
.lp-section { padding: 64px 0; }
.lp-section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lp-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.lp-lead { color: var(--muted); font-size: 1.02rem; max-width: 620px; }

.lp-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.lp-center-row {
  justify-content: center;
}

/* Hero */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: radial-gradient(1200px 500px at 50% -10%, var(--hero-grid), transparent 70%);
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.lp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-hero p.lp-lead { font-size: 1.12rem; margin: 14px 0 26px; }
.lp-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Phone preview card */
.lp-phone {
  position: relative;
  justify-self: center;
  width: 300px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 30px 80px -30px var(--glow);
}
.lp-phone .lp-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 8px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-phone .lp-handle { text-align: center; font-weight: 700; }
.lp-phone .lp-sub { text-align: center; color: var(--muted); font-size: 0.82rem; margin-bottom: 14px; }
.lp-phone .lp-link {
  display: block;
  text-align: center;
  padding: 11px;
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Generic grids/cards */
.lp-grid { display: grid; gap: 16px; margin-top: 28px; }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lp-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.lp-tile h3 { font-size: 1.05rem; }
.lp-tile p { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
.lp-tile .lp-tag { margin-top: 12px; }

/* Feature strip */
.lp-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
}

/* King section */
.lp-section-king { text-align: center; }
.lp-king-inner .lp-lead { margin-left: auto; margin-right: auto; }
.lp-king-inner .lp-cta-row { justify-content: center; }

/* Themes showcase */
.lp-theme-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.lp-theme-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  text-align: left;
}
.lp-theme-swatch { height: 96px; }
.lp-theme-card .lp-theme-body { padding: 14px 16px; }
.lp-theme-card h3 { font-size: 1rem; margin: 0 0 4px; }
.lp-theme-card p { color: var(--muted); font-size: 0.84rem; margin: 0; }
.lp-swatch-dark { background: linear-gradient(135deg, #0C0C17, #14141F 60%, #53AD6E); }
.lp-swatch-light { background: linear-gradient(135deg, #EEF0F1, #FFFFFF 55%, #2F7D52); }
.lp-swatch-metal { background: linear-gradient(135deg, #040407, #33363F 55%, #D0D0D3); }

/* Pricing */
.lp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.lp-price {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.lp-price h3 { font-size: 1.1rem; }
.lp-price .lp-amt { font-size: 1.8rem; font-weight: 800; margin: 6px 0; }
.lp-price .lp-amt small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.lp-price ul { list-style: none; padding: 0; margin: 12px 0 18px; color: var(--muted); font-size: 0.9rem; }
.lp-price ul li { padding: 4px 0; }
.lp-price ul li i { color: var(--primary); margin-right: 8px; }
.lp-price .tg4-btn { margin-top: auto; }
.lp-price-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 60px -30px var(--glow);
}
.lp-price-featured .tg4-badge { align-self: flex-start; margin-bottom: 8px; color: var(--primary); border-color: var(--primary); }
.lp-price-tagline { color: var(--muted); font-size: 0.86rem; margin: 0 0 4px; min-height: 34px; }

/* FAQ */
.lp-faq { max-width: 780px; margin: 26px auto 0; }
.lp-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 4px 16px;
  margin-bottom: 10px;
}
.lp-faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.lp-faq details p { color: var(--muted); margin: 0 0 12px; }

/* Final CTA */
.lp-center { text-align: center; }
.lp-center .lp-lead { margin-left: auto; margin-right: auto; }
.lp-cta-final { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

.lp-player-grid { margin-top: 28px; }

@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-phone { order: -1; }
  .lp-grid-3, .lp-theme-cards, .lp-price-grid { grid-template-columns: 1fr; }
  .lp-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lp-logo-ambient-3,
  .lp-logo-ambient-7,
  .lp-logo-ambient-9 { display: none; }
  .lp-section-watermark { width: min(200px, 55vw); opacity: 0.025; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-logo-ambient,
  .lp-logo-hero,
  .lp-logo-final { animation: none; }
}
