
/* Overflow control for landing page vs wallet */
/* Standard natural document flow for landing page */
html {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: #070605;
}

html.wallet-active, body.wallet-active {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
}


/* ==============================================================
   WALLET B+ · PORTALE LANDING PAGE & METODO M.A.G.I.C. STYLES
   Visual Architecture: Dark Obsidian, Rich B+ Gold, Optical Polish
   ============================================================== */

/* Zero external font requests for strict non-custodial CSP */

:root {
  --lp-gold: #d4af37;
  --lp-gold-light: #f5df88;
  --lp-gold-dark: #8c6f21;
  --lp-gold-grad: linear-gradient(135deg, #f5df88 0%, #d4af37 50%, #8c6f21 100%);
  --lp-bg: #070605;
  --lp-card: #0e0c08;
  --lp-card-elevated: #15130d;
  --lp-border-gold: rgba(212, 175, 55, 0.22);
  --lp-border-gold-strong: rgba(245, 223, 136, 0.65);
  --lp-border-dim: rgba(255, 255, 255, 0.08);
  --lp-text: #f5eedf;
  --lp-text-muted: #ad9e87;
  --lp-glow: 0 0 35px rgba(212, 175, 55, 0.25);
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

#portal-landing {
  width: 100%;
  min-height: 100vh;
  background-color: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Fixed to Top */
.lp-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(7, 6, 5, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border-gold);
  box-sizing: border-box;
}

#portal-landing {
  padding-top: 76px;
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.lp-medallion {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lp-gold-grad);
  color: #070605;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.lp-medallion small {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.lp-medallion.small {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.lp-brand-text {
  display: flex;
  flex-direction: column;
}

.lp-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lp-text);
}

.lp-badge-chain {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-gold);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav a {
  color: var(--lp-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.lp-nav a:hover {
  color: var(--lp-gold-light);
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.lp-btn:active {
  transform: scale(0.98);
}

.lp-btn-gold {
  background: var(--lp-gold-grad);
  color: #070605;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}

.lp-btn-gold:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.lp-btn-primary {
  background: var(--lp-gold-grad);
  color: #070605;
  box-shadow: var(--lp-glow);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

.lp-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--lp-text);
  border: 1px solid var(--lp-border-gold);
}

.lp-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--lp-gold-light);
  transform: translateY(-2px);
}

.lp-btn-xl {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.lp-btn-full {
  width: 100%;
}

.pulse-btn {
  position: relative;
}

.pulse-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 2px solid var(--lp-gold-light);
  animation: btnPulse 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
}

@keyframes btnPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Sections */
.lp-section {
  padding: 90px 0;
  position: relative;
}

.gold-text {
  background: var(--lp-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--lp-border-gold);
  color: var(--lp-gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.corp-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.corp-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.corp-sub {
  font-size: 1.1rem;
  color: var(--lp-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Hero */
.lp-hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--lp-border-gold);
  color: var(--lp-gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.lp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.lp-hero-sub {
  font-size: 1.2rem;
  color: var(--lp-text-muted);
  max-width: 820px;
  margin: 0 auto 40px;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
  margin-top: 40px;
}

.lp-trust-item {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-dim);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lp-trust-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.lp-trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lp-text);
  margin-bottom: 4px;
}

.lp-trust-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  line-height: 1.4;
}

/* Comparison Matrix */
.comparison-wrapper {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.comparison-header {
  text-align: center;
  margin-bottom: 35px;
}

.comparison-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-col {
  padding: 28px;
  border-radius: 14px;
}

.comp-col.old-way {
  background: rgba(255, 60, 60, 0.04);
  border: 1px solid rgba(255, 70, 70, 0.2);
}

.comp-col.new-way {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--lp-border-gold-strong);
  box-shadow: var(--lp-glow);
}

.comp-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.comp-col.old-way .comp-badge {
  background: rgba(255, 70, 70, 0.15);
  color: #ff7070;
}

.comp-col.new-way .comp-badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--lp-gold-light);
}

.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.comp-col.old-way .comp-list li { color: #b8a698; }
.comp-col.new-way .comp-list li { color: var(--lp-text); }

/* Eco Grid */
.lp-eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-eco-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-eco-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lp-glow);
}

.lp-eco-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.lp-eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--lp-text);
}

.lp-eco-card p {
  font-size: 0.9rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.lp-eco-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-gold);
  border-top: 1px solid var(--lp-border-dim);
  padding-top: 14px;
}

/* ROI Box */
.roi-calculator-box {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.6);
}

.roi-header {
  text-align: center;
  margin-bottom: 40px;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--lp-text);
}

.roi-input-group label strong {
  color: var(--lp-gold-light);
  font-family: monospace;
  font-size: 1.05rem;
}

.roi-input-group input[type="range"] {
  width: 100%;
  accent-color: var(--lp-gold);
  cursor: pointer;
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roi-res-card {
  background: var(--lp-card-elevated);
  border: 1px solid var(--lp-border-dim);
  border-radius: 14px;
  padding: 20px 24px;
}

.roi-res-card.highlight {
  border-color: var(--lp-border-gold-strong);
  box-shadow: var(--lp-glow);
  background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(14,12,8,0.9) 100%);
}

.roi-res-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lp-text-muted);
  display: block;
  margin-bottom: 6px;
}

.roi-res-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #30d158;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.roi-res-desc {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
}

.roi-alert {
  margin-top: 35px;
  padding: 16px 24px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--lp-border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #ff5252;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff5252;
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Pricing 3-Tier */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 20px;
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-glow);
}

.pricing-card.flagship {
  background: linear-gradient(180deg, #18140c 0%, #0d0b07 100%);
  border: 2px solid var(--lp-gold);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.28);
  transform: scale(1.03);
}

.pricing-card.flagship:hover {
  transform: scale(1.03) translateY(-6px);
}

.flagship-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-gold-grad);
  color: #070605;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.tier-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-gold);
  margin-bottom: 8px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.tier-promise {
  font-size: 0.88rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.tier-price-box {
  padding: 18px 0;
  border-top: 1px solid var(--lp-border-dim);
  border-bottom: 1px solid var(--lp-border-dim);
  margin-bottom: 24px;
}

.tier-market-val {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  margin-bottom: 4px;
}

.tier-market-val del {
  color: #ff7070;
}

.tier-main-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tier-main-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-gold-light);
}

.tier-main-price .amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--lp-text);
  line-height: 1;
}

.tier-main-price .period {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  margin-left: 4px;
}

.tier-credit-note {
  font-size: 0.75rem;
  color: #30d158;
  margin-top: 6px;
  font-weight: 600;
}

.tier-roi-badge {
  display: inline-block;
  background: rgba(48, 209, 88, 0.12);
  color: #30d158;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.tier-stack {
  margin-bottom: 24px;
}

.tier-stack-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lp-gold-light);
  margin-bottom: 12px;
}

.tier-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-stack-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--lp-text);
}

.tier-stack-list li span {
  color: var(--lp-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.tier-bonus-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--lp-border-gold-strong);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.tier-bonus-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lp-gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.tier-bonus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--lp-text);
}

.tier-guarantee-pill {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--lp-text-muted);
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--lp-border-dim);
  margin-bottom: 24px;
}

.tier-subtext {
  font-size: 0.75rem;
  color: var(--lp-text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Guarantees Grid */
.lp-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lp-guarantee-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 18px;
  padding: 35px 28px;
  text-align: center;
}

.lp-guarantee-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.lp-guarantee-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--lp-gold-light);
}

.lp-guarantee-card p {
  font-size: 0.92rem;
  color: var(--lp-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* FAQ Accordion */
.lp-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-faq-item {
  background: var(--lp-card);
  border: 1px solid var(--lp-border-gold);
  border-radius: 14px;
  overflow: hidden;
}

.lp-faq-q {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--lp-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.lp-faq-icon {
  font-size: 1.4rem;
  color: var(--lp-gold);
  transition: transform 0.25s ease;
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(45deg);
}

.lp-faq-a {
  display: none;
  padding: 0 26px 24px;
  color: var(--lp-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lp-faq-item.active .lp-faq-a {
  display: block;
}

/* CTA Banner */
.lp-cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.12) 0%, #070605 80%);
  border-top: 1px solid var(--lp-border-gold);
  border-bottom: 1px solid var(--lp-border-gold);
  text-align: center;
  padding: 100px 0;
}

.lp-cta-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Modal */
.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.lp-modal-card {
  position: relative;
  z-index: 2;
  background: var(--lp-card-elevated);
  border: 1px solid var(--lp-border-gold-strong);
  border-radius: 20px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.lp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--lp-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.lp-form-group {
  margin-bottom: 16px;
}

.lp-form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  margin-bottom: 6px;
}

.lp-form-group input {
  width: 100%;
  background: #070605;
  border: 1px solid var(--lp-border-dim);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--lp-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-sizing: border-box;
}

.lp-form-group input:focus {
  outline: none;
  border-color: var(--lp-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Footer */
.lp-footer {
  background: #050403;
  border-top: 1px solid var(--lp-border-dim);
  padding: 50px 0 30px;
}

.lp-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--lp-border-dim);
  margin-bottom: 30px;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--lp-text);
}

.lp-footer-brand p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--lp-text-muted);
}

.lp-footer-links {
  display: flex;
  gap: 22px;
}

.lp-footer-links a {
  color: var(--lp-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.lp-footer-links a:hover {
  color: var(--lp-gold-light);
}

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  flex-wrap: wrap;
}

.lp-attribution {
  font-size: 0.78rem;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--lp-border-gold);
  border-radius: 8px;
  color: var(--lp-gold-light);
}

/* Back to Ecosystem Button inside Wallet Topbar */
.btn-ecosystem-back {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--lp-border-gold);
  color: var(--lp-gold-light);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-ecosystem-back:hover {
  background: rgba(212, 175, 55, 0.28);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.flagship {
    transform: none;
  }
  .pricing-card.flagship:hover {
    transform: translateY(-4px);
  }
  .lp-trust-grid, .lp-eco-grid, .lp-guarantee-grid {
    grid-template-columns: 1fr 1fr;
  }
  .roi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lp-nav {
    display: none;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .lp-trust-grid, .lp-eco-grid, .lp-guarantee-grid {
    grid-template-columns: 1fr;
  }
  .lp-footer-top, .lp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mode Switch: Landing vs Wallet */
body:not(.wallet-active) .shell {
  display: none !important;
}

body.wallet-active #portal-landing {
  display: none !important;
}

body.wallet-active {
  overflow: hidden !important;
}

/* Brand Logo Image */
.lp-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(217, 180, 90, 0.45));
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.lp-brand-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(217, 180, 90, 0.7));
}


/* UNRESTRICTED SMOOTH SCROLLING FOR LANDING PORTAL */
html {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth !important;
}
body {
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #070605 !important;
  color: #f2e9d8 !important;
}
#portal-landing {
  width: 100%;
  min-height: 100vh;
  overflow: visible !important;
  position: relative;
}

/* HEADER & BURGER STYLES */
.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-launch-btn {
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
}
.burger-btn {
  background: transparent;
  border: 1px solid rgba(217, 180, 90, 0.35);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #d9b45a;
}
.burger-btn:hover {
  border-color: #d9b45a;
  background: rgba(217, 180, 90, 0.1);
}

/* RIGHT SLIDE-IN DRAWER */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.burger-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #090806;
  border-left: 1px solid rgba(217, 180, 90, 0.3);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}
.burger-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(217, 180, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-close-btn {
  background: transparent;
  border: 1px solid rgba(217, 180, 90, 0.25);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #d9b45a;
  transition: all 0.2s;
}
.drawer-close-btn:hover {
  border-color: #d9b45a;
  background: rgba(217, 180, 90, 0.1);
}
.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.drawer-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a99a80;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f2e9d8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.drawer-nav a:hover {
  background: rgba(217, 180, 90, 0.1);
  border-color: rgba(217, 180, 90, 0.3);
  color: #f7e4b2;
}
.drawer-dapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7e4b2, #d9b45a);
  color: #070605;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(217, 180, 90, 0.35);
  box-sizing: border-box;
}
.drawer-legal-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-legal-nav a {
  color: #a99a80;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}
.drawer-legal-nav a:hover {
  color: #d9b45a;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 860px;
  background: rgba(10, 8, 6, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(217, 180, 90, 0.4);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  box-sizing: border-box;
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 280px;
}
.cookie-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d9b45a;
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 0.85rem;
  color: #f2e9d8;
  margin: 0;
  line-height: 1.45;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-link {
  color: #d9b45a;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-btn-secondary {
  background: transparent;
  border: 1px solid rgba(217, 180, 90, 0.35);
  color: #f2e9d8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-btn-secondary:hover {
  border-color: #d9b45a;
  color: #f7e4b2;
}
.cookie-btn-primary {
  background: linear-gradient(135deg, #f7e4b2, #d9b45a);
  border: none;
  color: #070605;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-btn-primary:hover {
  opacity: 0.92;
}
