/* Public landing — dark + gold palette aligned with luxuryinvestmants.live style */
:root {
  --lp-bg-deep: #07060a;
  --lp-bg-mid: #0f0c14;
  --lp-bg-card: rgba(22, 18, 32, 0.92);
  --lp-border: rgba(201, 162, 39, 0.28);
  --lp-gold: #c9a227;
  --lp-gold-bright: #e8cf6a;
  --lp-gold-dim: #8a7020;
  --lp-text: #f4f0e8;
  --lp-muted: #a39e90;
  --lp-green: #3ecf8e;
  --lp-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  --lp-inv-bg: #1a0d0d;
  --lp-inv-glow: rgba(232, 90, 58, 0.55);
  --lp-inv-hero-a: #c43a30;
  --lp-inv-hero-b: #f1c40f;
  --lp-inv-row: rgba(255, 255, 255, 0.06);
  --lp-inv-ic-bg: rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.lp {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--lp-text);
  background: radial-gradient(1200px 600px at 50% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(180deg, var(--lp-bg-deep) 0%, var(--lp-bg-mid) 45%, #0a0810 100%);
}

.lp a {
  color: inherit;
  text-decoration: none;
}

.lp a:hover {
  color: var(--lp-gold-bright);
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 6, 10, 0.82);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.lp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

a.lp-brand {
  color: inherit;
  text-decoration: none;
}

a.lp-brand:hover {
  color: inherit;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--lp-gold) 0%, var(--lp-gold-dim) 100%);
  color: #1a1204;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.lp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.lp-brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-brand-tag {
  font-size: 0.72rem;
  color: var(--lp-muted);
  letter-spacing: 0.04em;
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp-btn-ghost {
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--lp-text);
  background: transparent;
}

.lp-btn-ghost:hover {
  border-color: var(--lp-gold);
  color: var(--lp-gold-bright);
}

.lp-btn-gold {
  background: linear-gradient(145deg, var(--lp-gold-bright) 0%, var(--lp-gold) 45%, var(--lp-gold-dim) 100%);
  color: #1a1204;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35);
}

.lp-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(201, 162, 39, 0.45);
}

.lp-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.lp-hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.lp-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.85rem);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.lp-hero-lead {
  color: var(--lp-muted);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
}

.lp-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.lp-pill {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 207, 142, 0.35);
  color: var(--lp-green);
  background: rgba(62, 207, 142, 0.08);
}

.lp-section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin: 0 0 0.35rem;
}

.lp-section-title {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 2rem;
}

.lp-referral {
  margin: 2.5rem auto 3rem;
  max-width: 640px;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-card);
  box-shadow: var(--lp-shadow);
}

.lp-referral h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-align: center;
  color: var(--lp-gold-bright);
}

.lp-referral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lp-ref-card {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 162, 39, 0.12);
}

.lp-ref-level {
  font-size: 0.8rem;
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.lp-ref-pct {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lp-gold-bright);
  line-height: 1;
}

.lp-ref-sub {
  font-size: 0.75rem;
  color: var(--lp-muted);
  margin-top: 0.25rem;
}

.lp-plans-head {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

/* —— Investment plan cards (warm luxury / plan grid) —— */
.lp-inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.lp-inv-card {
  --lp-inv-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--lp-inv-radius);
  background: var(--lp-inv-bg);
  border: 1px solid rgba(241, 196, 15, 0.22);
  box-shadow:
    0 0 0 1px rgba(196, 58, 48, 0.25),
    0 0 24px rgba(196, 58, 48, 0.18),
    0 20px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-inv-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(241, 196, 15, 0.35),
    0 0 32px rgba(232, 90, 58, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.6);
}

.lp-inv-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.lp-inv-card__badge {
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7dc6f 0%, #f1c40f 100%);
  color: #1a0d0d;
  box-shadow: 0 2px 8px rgba(241, 196, 15, 0.35);
}

.lp-inv-card__num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: #f1c40f;
  text-shadow:
    0 0 20px rgba(241, 196, 15, 0.65),
    0 0 40px rgba(196, 58, 48, 0.35);
}

.lp-inv-card__hero {
  text-align: center;
  padding: 1.1rem 1rem 1rem;
  border-radius: 14px;
  background: linear-gradient(105deg, var(--lp-inv-hero-a) 0%, #e67e22 42%, var(--lp-inv-hero-b) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-bottom: 1.1rem;
}

.lp-inv-card__amount {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 1.75rem);
  font-weight: 700;
  color: #0d0606;
  margin: 0;
  letter-spacing: 0.02em;
}

.lp-inv-card__amount-label {
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(13, 6, 6, 0.88);
  margin: 0.35rem 0 0;
}

.lp-inv-card__stats {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.lp-inv-card__stat {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: var(--lp-inv-row);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-inv-card__stat-ic {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--lp-inv-ic-bg);
  color: #f1c40f;
}

.lp-inv-card__stat-ic svg {
  display: block;
}

.lp-inv-card__stat-label {
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.72);
}

.lp-inv-card__stat-val {
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff8e7;
  text-align: right;
  text-shadow: 0 0 12px rgba(241, 196, 15, 0.25);
}

.lp-inv-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a0d0d;
  background: linear-gradient(180deg, #fceabb 0%, #f1c40f 45%, #d4ac0d 100%);
  box-shadow: 0 6px 20px rgba(241, 196, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-inv-card__cta:hover {
  color: #0d0606;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(241, 196, 15, 0.45);
}

.lp-inv-card__cta-arr {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

/* Single plan page */
.lp-inv-single-main {
  padding-top: 1.5rem;
}

.lp-inv-single-nav {
  margin-bottom: 1.25rem;
}

.lp-inv-back {
  font-family: "Montserrat", "DM Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-muted);
  text-decoration: none;
}

.lp-inv-back:hover {
  color: var(--lp-gold-bright);
}

.lp-inv-single-stage {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 2rem;
}

.lp-inv-card--single {
  width: 100%;
  max-width: 360px;
}

.lp-inv-single-miss {
  text-align: center;
  color: var(--lp-muted);
  margin: 2rem 0 0.5rem;
}

.lp-inv-single-back-wrap {
  text-align: center;
  margin: 0;
}

.lp-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  text-align: center;
  color: var(--lp-muted);
  font-size: 0.82rem;
}

.lp-footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.lp-cms-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--lp-muted);
  opacity: 0.7;
}

.lp-muted {
  color: var(--lp-muted);
}

/* Member portal (dashboard) */
.lp-portal .lp-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-portal-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.lp-stat-card {
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.lp-stat-card .lp-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.lp-stat-card .lp-stat-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lp-gold-bright);
  line-height: 1.1;
}

.lp-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  color: var(--lp-gold-bright);
  margin: 2rem 0 0.75rem;
}

.lp-table-wrap {
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  overflow: hidden;
  background: var(--lp-bg-card);
  box-shadow: var(--lp-shadow);
}

.lp-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.lp-table-wrap th {
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-muted);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--lp-border);
}

.lp-table-wrap td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.lp-table-wrap tr:last-child td {
  border-bottom: none;
}

.lp-thumb-sm {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  vertical-align: middle;
}

@media (max-width: 520px) {
  .lp-referral-grid {
    grid-template-columns: 1fr;
  }
}
