/* ============================================================
   GPSoul.Ai — Landing page styles
   Built on /colors_and_type.css tokens
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #0B0B1F;
  color: #fff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Default to purple-dominant; tweak engine overrides these */
:root {
  --accent-warm: #FFBE0A;
  --accent-cool: #9459E7;
  --bg-intensity: 1;
}

/* ---------- SHARED SCAFFOLDING ---------- */
.lp-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .lp-container { padding: 0 20px; } }

.lp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cool);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lp-eyebrow::before,
.lp-eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cool), transparent);
}
.lp-eyebrow.solo::before { display: none; }

.lp-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.lp-body {
  font-size: 17px;
  font-weight: 500;
  color: #A0AEC0;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 58ch;
}

.lp-section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { .lp-section { padding: 80px 0; } }

.lp-accent-gp  { color: #9459E7; }
.lp-accent-s   { color: #FF9985; }
.lp-accent-oul { color: #FFBE0A; }

/* ---------- BUTTONS ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s cubic-bezier(.22,.61,.36,1), box-shadow .2s, background .2s;
  font-family: inherit;
  white-space: nowrap;
}
.lp-btn:active { transform: scale(0.97); }

.lp-btn-primary {
  background: linear-gradient(96deg, #9459E7 0%, #7C3AED 50%, #FF9985 100%);
  color: #fff;
  box-shadow: 0 0 40px rgba(148,89,231,.5), 0 0 12px rgba(124,58,237,.5);
}
.lp-btn-primary:hover { box-shadow: 0 0 52px rgba(148,89,231,.7), 0 0 18px rgba(124,58,237,.6); }

.lp-btn-secondary {
  background: rgba(26,26,46,.6);
  border-color: rgba(148,89,231,.55);
  color: #fff;
  backdrop-filter: blur(12px);
}
.lp-btn-secondary:hover { border-color: rgba(148,89,231,.9); background: rgba(26,26,46,.9); }

.lp-btn-ghost {
  background: transparent;
  color: #A0AEC0;
  padding: 12px 16px;
}
.lp-btn-ghost:hover { color: #fff; }

/* ---------- NAV ---------- */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11,11,31,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42,42,74,.5);
  transition: background .3s;
}
.lp-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.lp-nav-links {
  display: flex; gap: 8px; align-items: center;
}
.lp-nav-links a {
  font-size: 13px; font-weight: 600; color: #A0AEC0;
  padding: 8px 14px; border-radius: 999px; transition: all .2s;
}
.lp-nav-links a:hover { color: #fff; background: rgba(148,89,231,.15); }
.lp-nav-links a.lp-nav-manifesto {
  color: #B494F0;
  border: 1px solid rgba(148,89,231,.35);
}
.lp-nav-links a.lp-nav-manifesto:hover {
  color: #fff;
  background: rgba(148,89,231,.22);
  border-color: rgba(148,89,231,.6);
}
@media (max-width: 860px) { .lp-nav-links { display: none; } }

.lp-nav-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 500px) { .lp-nav-actions .lp-btn:first-child { display: none; } }

/* Nav language toggle */
.lp-lang-toggle {
  background: transparent;
  border: 1px solid rgba(148,89,231,.3);
  color: #A0AEC0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-lang-toggle:hover {
  border-color: rgba(148,89,231,.6);
  background: rgba(148,89,231,.08);
}
.lp-lang-toggle [data-lang] {
  color: #6E5A8C;
  transition: color .2s;
}
.lp-lang-toggle [data-lang].active { color: #FDFBFF; }
.lp-lang-sep { color: #3C2E58; }

/* ---------- WORDMARK ---------- */
.lp-wm { display: inline-flex; font-weight: 800; letter-spacing: -0.019em; line-height: 1; }
.lp-wm .gp  { color: #9459E7; }
.lp-wm .s   { color: #FF9985; }
.lp-wm .oul { color: #FFBE0A; }

/* ---------- STARFIELD ---------- */
.lp-stars {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  opacity: var(--bg-intensity);
}
.lp-stars::before,
.lp-stars::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1.2px 1.2px at 30% 60%, rgba(183,140,240,.6), transparent 50%),
    radial-gradient(1px 1px at 52% 30%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 75% 18%, rgba(255,190,10,.55), transparent 50%),
    radial-gradient(1px 1px at 82% 72%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1.2px 1.2px at 93% 38%, rgba(148,89,231,.55), transparent 50%),
    radial-gradient(1px 1px at 15% 88%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1.3px 1.3px at 62% 82%, rgba(255,153,133,.45), transparent 50%);
  background-size: 100% 100%;
}
.lp-stars::after {
  background-size: 70% 70%;
  animation: lpStars 9s ease-in-out infinite alternate;
  opacity: .6;
}
@keyframes lpStars { from { opacity: .3; } to { opacity: .9; } }

/* ---------- AURA RINGS ---------- */
.lp-aura {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  animation: lpAura 2.1s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes lpAura {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.lp-aura.d1 { animation-delay: 0s; }
.lp-aura.d2 { animation-delay: .7s; }
.lp-aura.d3 { animation-delay: 1.4s; }

/* ---------- SECTION ORNAMENTS ---------- */
.lp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,89,231,.5), transparent);
  margin: 0 auto;
  max-width: 500px;
}
.lp-divider-glyph {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--accent-cool); font-size: 12px; letter-spacing: .3em;
}
.lp-divider-glyph::before,
.lp-divider-glyph::after {
  content: ""; flex: 1; max-width: 180px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,89,231,.4), transparent);
}

/* ---------- CARDS ---------- */
.lp-card {
  background: #1A1A2E;
  border: 1px solid #2A2A4A;
  border-radius: 20px;
  padding: 24px;
  box-shadow: inset 0 0 24px rgba(148,89,231,.06);
}
.lp-card.glow {
  box-shadow: 0 0 28px rgba(148,89,231,.35), inset 0 0 22px rgba(148,89,231,.12);
  border-color: rgba(148,89,231,.4);
}

/* ---------- HERO ---------- */
.hero { min-height: 100vh; padding-top: 100px; padding-bottom: 80px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } .hero-grid .lp-body { margin: 0 auto; } .hero-ctas { justify-content: center; } .lp-eyebrow.solo { justify-content: center; } }

.hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}
.hero h1 .mystic {
  background: linear-gradient(96deg, #9459E7 0%, #FF9985 60%, #FFBE0A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Horizon glow */
.hero-horizon {
  position: absolute; bottom: 0; left: 0; right: 0; height: 320px; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(148,89,231,.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(255,190,10,.18) 0%, transparent 60%);
  opacity: var(--bg-intensity);
}

/* Hero phone + decoration */
.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-phone-wrap {
  position: relative;
  width: 320px; height: 660px;
  border-radius: 52px;
  overflow: hidden;
  border: 10px solid #1A1A2E;
  box-shadow:
    0 0 0 2px #2A2A4A,
    0 0 80px rgba(148,89,231,.35),
    0 40px 80px rgba(0,0,0,.5);
  background: #0B0B1F;
  flex-shrink: 0;
}
.hero-phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #000; border-radius: 18px; z-index: 5;
}
.hero-phone-screen { position: absolute; inset: 0; border-radius: 42px; overflow: hidden; }

.hero-floating {
  position: absolute;
  pointer-events: none;
  animation: lpFloat 6s cubic-bezier(.4,0,.6,1) infinite alternate;
}
@keyframes lpFloat {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

.hero-trust {
  margin-top: 40px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  color: #64748B; font-size: 12px; font-weight: 500;
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 99px; background: #2A2A4A; }

/* ---------- SECTIONS: SHARED SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 820px; margin: 0 auto 72px; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.section-head .lp-body { margin: 0 auto; font-size: 18px; }

/* ---------- WHAT IT IS (3-step) ---------- */
.what-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .what-steps { grid-template-columns: 1fr; } }
.what-step { padding: 32px; border-radius: 24px; background: #1A1A2E; border: 1px solid #2A2A4A; position: relative; overflow: hidden; }
.what-step .num {
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--accent-cool); font-weight: 700;
  letter-spacing: .2em;
}
.what-step h3 { font-size: 22px; font-weight: 700; margin: 16px 0 10px; line-height: 1.2; }
.what-step p { font-size: 14px; color: #A0AEC0; line-height: 1.55; margin: 0; }
.what-step .glyph { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; opacity: .8; }

/* ---------- ENCOUNTERS GALLERY ---------- */
.enc-showcase { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 960px) { .enc-showcase { grid-template-columns: 1fr; gap: 40px; } }

.enc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enc-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: #1A1A2E;
  border: 1px solid #2A2A4A;
  padding: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.enc-card:hover { transform: translateY(-4px); }
.enc-card.common    { box-shadow: inset 0 0 32px rgba(74,222,128,.12);  border-color: rgba(74,222,128,.35); }
.enc-card.rare      { box-shadow: inset 0 0 32px rgba(60,93,208,.18);   border-color: rgba(60,93,208,.4); }
.enc-card.sacred    { box-shadow: 0 0 26px rgba(148,89,231,.45), inset 0 0 22px rgba(148,89,231,.22); border-color: rgba(148,89,231,.55); }
.enc-card.legendary { box-shadow: 0 0 32px rgba(255,190,10,.5), inset 0 0 24px rgba(255,190,10,.18); border-color: rgba(255,190,10,.55); }

.enc-card .rarity {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  position: absolute; top: 14px; left: 14px;
}
.enc-card .sp { position: absolute; top: 14px; right: 14px; font-size: 11px; color: #FFBE0A; font-weight: 700; }
.enc-card .silhouette {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.enc-card .name { font-size: 16px; font-weight: 700; position: relative; z-index: 2; }
.enc-card .elem { font-size: 11px; color: #A0AEC0; font-weight: 500; position: relative; z-index: 2; margin-top: 2px; }

.rarity-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.rarity-row .chip {
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(26,26,46,.8); border: 1px solid;
}

/* ---------- RITUALS (feature list) ---------- */
.rituals { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 960px) { .rituals { grid-template-columns: 1fr; gap: 40px; } }
.ritual-item { padding: 22px 0; border-top: 1px solid rgba(42,42,74,.7); display: flex; gap: 20px; align-items: flex-start; }
.ritual-item:last-child { border-bottom: 1px solid rgba(42,42,74,.7); }
.ritual-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(148,89,231,.12);
  border: 1px solid rgba(148,89,231,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-cool);
}
.ritual-item h4 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.ritual-item p { font-size: 14px; color: #A0AEC0; line-height: 1.5; margin: 0; max-width: 46ch; }

/* ---------- PORTAL SECTION ---------- */
.portal { position: relative; text-align: center; overflow: hidden; }
.portal-inner { position: relative; z-index: 2; }
.portal-stage {
  position: relative;
  width: 380px; height: 380px;
  margin: 0 auto 40px;
}
.portal-stage .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid;
}
.portal-stage .r1 { border-color: rgba(148,89,231,.7); animation: lpAura 2.1s infinite; }
.portal-stage .r2 { border-color: rgba(255,190,10,.5); animation: lpAura 2.1s infinite .7s; }
.portal-stage .r3 { border-color: rgba(255,153,133,.4); animation: lpAura 2.1s infinite 1.4s; }
.portal-stage .core {
  position: absolute; inset: 38%; border-radius: 50%;
  background: radial-gradient(circle, #FFBE0A 0%, #9459E7 60%, transparent 100%);
  box-shadow: 0 0 60px rgba(148,89,231,.8), 0 0 120px rgba(255,190,10,.4);
}
.portal-stage .moon {
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  font-size: 46px;
  filter: drop-shadow(0 0 18px rgba(255,190,10,.6));
}

.portal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .portal-stats { grid-template-columns: repeat(2, 1fr); } }
.portal-stat { padding: 20px; border-radius: 16px; background: rgba(26,26,46,.6); border: 1px solid #2A2A4A; backdrop-filter: blur(12px); }
.portal-stat .v { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.portal-stat .l { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #A0AEC0; margin-top: 8px; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 28px;
  border-radius: 20px;
  background: #1A1A2E;
  border: 1px solid #2A2A4A;
  box-shadow: inset 0 0 24px rgba(148,89,231,.06);
  display: flex; flex-direction: column; gap: 16px;
}
.testi .quote { font-size: 16px; font-weight: 500; line-height: 1.55; color: #fff; }
.testi .quote::before { content: "\""; color: var(--accent-cool); font-size: 28px; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .avatar { width: 40px; height: 40px; border-radius: 50%; background: #2A2A4A; border: 1px solid rgba(148,89,231,.5); }
.testi .name { font-size: 13px; font-weight: 700; }
.testi .meta { font-size: 11px; color: #A0AEC0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-top: 1px solid rgba(42,42,74,.7);
  padding: 22px 4px;
  transition: background .2s;
}
.faq details:last-of-type { border-bottom: 1px solid rgba(42,42,74,.7); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 600; cursor: pointer;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px; font-weight: 300; color: var(--accent-cool);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #A0AEC0; font-size: 15px; line-height: 1.6; margin: 14px 0 0; max-width: 68ch; }

/* ---------- WAITLIST ---------- */
.waitlist { position: relative; text-align: center; }
.waitlist-card {
  max-width: 720px; margin: 0 auto;
  padding: 56px 48px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(26,26,46,.9) 0%, rgba(11,11,31,.9) 100%);
  border: 1px solid rgba(148,89,231,.35);
  box-shadow: 0 0 60px rgba(148,89,231,.3), inset 0 0 40px rgba(148,89,231,.08);
  backdrop-filter: blur(12px);
  position: relative;
}
@media (max-width: 600px) { .waitlist-card { padding: 40px 24px; } }
.waitlist-form {
  margin-top: 28px;
  display: flex; gap: 10px; max-width: 480px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1; min-width: 200px;
  background: rgba(11,11,31,.8);
  border: 1px solid #2A2A4A;
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.waitlist-form input:focus { border-color: rgba(148,89,231,.7); box-shadow: 0 0 0 3px rgba(148,89,231,.2); }
.waitlist-form input::placeholder { color: #64748B; }
.waitlist-note { margin-top: 18px; font-size: 12px; color: #64748B; }
.waitlist-success { color: #4ADE80; font-weight: 600; font-size: 15px; margin-top: 20px; }

/* ---------- FOOTER ---------- */
.lp-footer {
  padding: 72px 0 40px;
  border-top: 1px solid rgba(42,42,74,.6);
  color: #A0AEC0;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 960px) { .lp-footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
.lp-footer h5 { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.lp-footer a { display: block; font-size: 13px; color: #A0AEC0; padding: 6px 0; transition: color .2s; }
.lp-footer a:hover { color: #fff; }
.lp-footer .brand-col p { font-size: 13px; color: #64748B; line-height: 1.6; margin: 14px 0 20px; max-width: 32ch; }

/* Contact block */
.footer-contact address {
  font-style: normal;
  font-size: 13px;
  color: #A0AEC0;
  line-height: 1.7;
  margin-top: 10px;
}
.footer-phone {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  padding: 8px 0 6px !important;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.footer-phone:hover { color: var(--accent-cool) !important; }
.lp-footer-bottom {
  border-top: 1px solid rgba(42,42,74,.4);
  margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #64748B;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- TWEAKS PANEL ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 300px;
  background: rgba(26,26,46,.95);
  border: 1px solid rgba(148,89,231,.4);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(148,89,231,.3);
  z-index: 200;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 { font-size: 13px; font-weight: 700; margin: 0 0 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tweak-row { margin-bottom: 14px; }
.tweak-row label { display: block; font-size: 11px; font-weight: 600; color: #A0AEC0; margin-bottom: 8px; letter-spacing: .08em; text-transform: uppercase; }
.tweak-seg {
  display: flex; gap: 4px;
  background: rgba(11,11,31,.7);
  border: 1px solid #2A2A4A;
  border-radius: 12px;
  padding: 3px;
}
.tweak-seg button {
  flex: 1;
  padding: 8px;
  background: transparent;
  border: none;
  color: #A0AEC0;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9px;
  transition: all .2s;
  font-family: inherit;
}
.tweak-seg button.active {
  background: rgba(148,89,231,.3);
  color: #fff;
  box-shadow: inset 0 0 10px rgba(148,89,231,.3);
}
.tweak-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(11,11,31,.6);
  border: 1px solid #2A2A4A;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px; font-weight: 600; color: #fff;
}
.tweak-toggle input { accent-color: #9459E7; }

/* Color-emphasis tweaks */
body.palette-gold { --accent-cool: #FFBE0A; --accent-warm: #9459E7; }
body.intensity-calm { --bg-intensity: 0.4; }
body.intensity-cinematic { --bg-intensity: 1.4; }
body.hide-testimonials .testimonials { display: none; }


/* ============================================================
   CONSOLIDATION (Apr 2026): sections imported from live gpsoul.ai
   — Four Dimensions, Cities, Pricing
   ============================================================ */

/* ---------- FOUR DIMENSIONS (Calm/Active/Healing/Magical) ---------- */
.dim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .dim-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dim-grid { grid-template-columns: 1fr; } }
.dim-card {
  position: relative;
  padding: 32px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26,26,46,.85), rgba(15,15,32,.85));
  border: 1px solid rgba(148,89,231,.18);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .25s;
}
.dim-card:hover { transform: translateY(-4px); border-color: rgba(148,89,231,.45); }
.dim-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--dim-tint, rgba(148,89,231,.22)) 0%, transparent 60%);
  opacity: .9;
  pointer-events: none;
}
.dim-card.calm    { --dim-tint: rgba(74,222,128,.22); }
.dim-card.active  { --dim-tint: rgba(255,190,10,.22); }
.dim-card.healing { --dim-tint: rgba(60,93,208,.28); }
.dim-card.magical { --dim-tint: rgba(148,89,231,.28); }
.dim-card .dim-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: rgba(11,11,31,.55);
  border: 1px solid rgba(148,89,231,.3);
  margin-bottom: 18px;
}
.dim-card h3 { position: relative; font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.dim-card p  { position: relative; font-size: 14px; color: #A0AEC0; line-height: 1.55; margin: 0; }

/* ---------- CITIES ---------- */
.cities-rail {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
@media (max-width: 960px) { .cities-rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cities-rail { grid-template-columns: repeat(2, 1fr); } }
.city-card {
  position: relative;
  padding: 28px 22px;
  border-radius: 20px;
  background: rgba(26,26,46,.65);
  border: 1px solid rgba(42,42,74,.9);
  text-align: center;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.city-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148,89,231,.45);
  box-shadow: 0 0 30px rgba(148,89,231,.18);
}
.city-card .pin {
  position: absolute; top: 14px; right: 14px;
  font-size: 14px; opacity: .6;
}
.city-card .pois {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  background: linear-gradient(180deg, #FFBE0A 0%, #FF9985 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.city-card .pois-label {
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A0AEC0;
  margin-top: 6px;
}
.city-card .city-name {
  margin-top: 14px;
  font-size: 16px; font-weight: 700; color: #fff;
}
.city-card .city-tag {
  margin-top: 4px; font-size: 11px; color: #64748B;
}

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card {
  position: relative;
  padding: 36px 30px;
  border-radius: 24px;
  background: #1A1A2E;
  border: 1px solid #2A2A4A;
  display: flex; flex-direction: column; gap: 18px;
}
.price-card.featured {
  border-color: rgba(148,89,231,.55);
  box-shadow: 0 0 40px rgba(148,89,231,.28), inset 0 0 30px rgba(148,89,231,.08);
  background: linear-gradient(180deg, rgba(36,22,72,.95), rgba(20,10,40,.95));
}
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(96deg, #9459E7 0%, #FF9985 100%);
  color: #fff;
  white-space: nowrap;
}
.price-card .tier {
  font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent-cool);
}
.price-card .name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  margin: -4px 0 0;
}
.price-card .price {
  display: flex; align-items: baseline; gap: 6px;
}
.price-card .price .amt {
  font-size: 42px; font-weight: 800; line-height: 1;
}
.price-card .price .per { font-size: 13px; color: #A0AEC0; }
.price-card .desc { font-size: 13px; color: #A0AEC0; line-height: 1.55; margin: 0; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li {
  font-size: 14px; color: #E2E8F0; padding-left: 26px; position: relative; line-height: 1.45;
}
.price-card ul li::before {
  content: "\2726"; position: absolute; left: 0; top: 1px;
  color: var(--accent-cool); font-size: 13px;
  font-family: 'Poppins', system-ui, sans-serif;
}
.price-card.featured ul li::before { color: #FFBE0A; }
.price-card .lp-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- ENCOUNTER GRID expanded to 7 (3+3+1) ---------- */
.enc-grid.enc-grid-7 { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .enc-grid.enc-grid-7 { grid-template-columns: 1fr 1fr; } }
.enc-grid.enc-grid-7 .enc-card { aspect-ratio: 1/1.25; padding: 16px; }
.enc-grid.enc-grid-7 .enc-card .name { font-size: 14px; }
.enc-grid.enc-grid-7 .enc-card .elem { font-size: 10px; }
.enc-card.uncommon  { box-shadow: inset 0 0 32px rgba(255,153,133,.16); border-color: rgba(255,153,133,.4); }
.enc-card.epic      { box-shadow: 0 0 22px rgba(0,212,255,.32),    inset 0 0 20px rgba(0,212,255,.18); border-color: rgba(0,212,255,.5); }
.enc-card.mythic    { box-shadow: 0 0 26px rgba(255,107,157,.4),   inset 0 0 22px rgba(255,107,157,.2); border-color: rgba(255,107,157,.55); }
.enc-card.divine    { box-shadow: 0 0 36px rgba(255,190,10,.55),   inset 0 0 26px rgba(255,190,10,.22); border-color: rgba(255,190,10,.6); position: relative; }
.enc-card.divine::before {
  content: ""; position: absolute; inset: -1px; border-radius: 21px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,190,10,.5), rgba(148,89,231,.5), rgba(255,107,157,.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}

/* ---------------------------------------------------------------- */
/* Encounter cards — new lineage layout (2026-05-02 consolidation) */
/* ---------------------------------------------------------------- */

/* New lineage classes for the 7-card grid. Override / extend the older
   common/rare/sacred/legendary/uncommon/epic/mythic/divine variants. */
.enc-card.earth    { box-shadow: inset 0 0 32px rgba(74,222,128,.14);  border-color: rgba(74,222,128,.4); }
.enc-card.water    { box-shadow: inset 0 0 32px rgba(60,93,208,.18);   border-color: rgba(60,93,208,.45); }
.enc-card.fire     { box-shadow: inset 0 0 32px rgba(255,153,133,.18); border-color: rgba(255,153,133,.45); }
.enc-card.air      { box-shadow: inset 0 0 32px rgba(0,212,255,.16);   border-color: rgba(0,212,255,.45); }
.enc-card.ether    { box-shadow: 0 0 32px rgba(255,190,10,.45), inset 0 0 24px rgba(255,190,10,.18); border-color: rgba(255,190,10,.55); }
.enc-card.geometry { box-shadow: 0 0 24px rgba(167,139,250,.35), inset 0 0 22px rgba(167,139,250,.18); border-color: rgba(167,139,250,.5); }
.enc-card.portal   { box-shadow: 0 0 28px rgba(255,107,157,.4), inset 0 0 22px rgba(255,107,157,.2); border-color: rgba(255,107,157,.5); }

/* Stages line — sits below name+elem, doesn't conflict with the
   absolute-positioned .rarity badge (top-left) anymore. */
.enc-card .stages {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 6px;
  position: relative;
  z-index: 2;
  opacity: .9;
}

/* Hide the legacy top-right .sp slot now that stages render below name. */
.enc-card .sp { display: none; }

/* ---------------------------------------------------------------- */
/* Language dropdown (replaces the older EN·ES toggle button)      */
/* ---------------------------------------------------------------- */
.lp-lang-dropdown {
  position: relative;
  font-family: var(--lp-font-ui, "Poppins", system-ui, sans-serif);
}
.lp-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(26,26,46,.6);
  border: 1px solid #2A2A4A;
  border-radius: 999px;
  color: #FDFBFF;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color .2s, background-color .2s;
}
.lp-lang-trigger:hover { border-color: #6B46C1; background: rgba(36,28,68,.7); }
.lp-lang-dropdown.open .lp-lang-trigger { border-color: #9459E7; background: rgba(48,32,88,.85); }
.lp-lang-flag { font-size: 16px; line-height: 1; }
.lp-lang-code { font-size: 12px; }
.lp-lang-chevron { font-size: 10px; opacity: .7; transition: transform .2s; }
.lp-lang-dropdown.open .lp-lang-chevron { transform: rotate(180deg); }

.lp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(15,15,30,.96);
  backdrop-filter: blur(12px);
  border: 1px solid #2A2A4A;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  z-index: 100;
}
.lp-lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #C5BAE0;
  transition: background-color .15s, color .15s;
}
.lp-lang-menu li:hover { background: rgba(108,80,200,.18); color: #FDFBFF; }
.lp-lang-menu li.active { background: rgba(148,89,231,.22); color: #FDFBFF; }
.lp-lang-menu .lp-lang-name { flex: 1; }
