/* =========================================================
   WhiskyPolska — Landing Page Styles
   Sections: hero · stats · features · featured · community · cta
   ========================================================= */

/* ── Landing page resets ─────────────────────────────────── */

.landing-page main {
  padding: 0;       /* override main.container padding-top */
}

/* Navbar logo on home: hidden initially, fades in via JS when hero scrolls away.
   Logo keeps its natural width so nav links (margin-left:auto) stay right-aligned. */
.landing-page .logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.landing-page .logo.logo--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero ────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

/* Gradient overlay — on the parent so it's independent of photo opacity */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(10, 12, 18, 0.20)  0%,
      rgba(10, 12, 18, 0.08) 40%,
      rgba(10, 12, 18, 0.55) 80%,
      rgba(10, 12, 18, 0.82) 100%);
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/landing/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  opacity: 0.72;  /* photo clearly visible behind content — gradient overlay handles readability */
  filter: blur(2px);  /* subtle blur to soften image quality variations */
  /* Isolate compositing layer so filter doesn't affect screenshot rendering on mobile */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Mobile: no blur — filter: blur on absolute/fixed layers causes black screenshots
   on Android WebView, Samsung Internet, and Xiaomi browser compositors.
   The gradient overlay + opacity alone give sufficient softness. */
@media (max-width: 600px) {
  .lp-hero-bg {
    filter: none;
    -webkit-filter: none;
    /* On narrow screens center the image vertically so key content isn't cropped */
    background-position: center center;
    /* Scale slightly larger so the image fills without white edges on very small widths */
    background-size: cover;
  }
  /* Reduce hero height on mobile — full-viewport is too tall, content gets lost */
  .lp-hero {
    min-height: 85svh;    /* svh = small viewport height, accounts for mobile browser chrome */
    min-height: 85vh;     /* fallback for browsers without svh */
    align-items: flex-start;
    padding-top: 3rem;
  }
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 4rem 2rem 6rem;
}

/* Logo wrapper — contains image + text with shadow.
   Layered drop-shadow: a soft wide ambient halo + a tighter darker one so the
   mark reads clearly against any part of the hero photo. */
.lp-hero-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  filter:
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65))
    drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55));
}

.lp-hero-logo {
  width: clamp(160px, 20vw, 260px);
  height: auto;
  display: block;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7))
    drop-shadow(0 6px 26px rgba(0, 0, 0, 0.5));
}

.lp-hero-logo-text {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 4px 22px rgba(0, 0, 0, 0.65),
    0 8px 44px rgba(0, 0, 0, 0.45);
  margin: 0;
  line-height: 1.1;
}

.lp-hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 8px 40px rgba(0, 0, 0, 0.5);
  margin: 0 0 2.5rem 0;
  display: block;
  position: relative;
  z-index: 1;
}

.lp-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(212,145,46,0.35);
  padding: 0.3em 0.9em;
  border-radius: 20px;
}

.lp-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 0.9rem;
  white-space: pre-line;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.lp-hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(236, 238, 245, 0.95);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 2.6rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.lp-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons — always white text ─────────────────────────── */

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--amber);
  color: #fff;            /* always white — amber is warm enough to carry white */
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: background 0.15s, transform 0.12s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.lp-btn-primary:hover {
  background: var(--amber-light);
  color: #fff;
  transform: translateY(-1px);
}

/* Override main.css btn-primary for landing page context */
.landing-page .btn-primary {
  color: #fff !important;
}
.landing-page .btn-primary:hover {
  color: #fff !important;
}

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.lp-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ── Stats bar ───────────────────────────────────────────── */

.lp-stats {
  background: #0b0d13;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lp-stat {
  text-align: center;
  padding: 0.5rem;
  /* Blur-reveal entrance: hidden until JS adds .lp-stat--visible */
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px) translateZ(0);
  transition: opacity 0.7s ease-out, filter 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, filter, transform;
}

.lp-stat--visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) translateZ(0);
}

.lp-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--amber);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.lp-stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Features ────────────────────────────────────────────── */

.lp-features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Entrance: cards start below and invisible, rise into place on scroll */
  opacity: 0;
  transform: translateY(70px) translateZ(0);  /* GPU layer promotion */
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* JS adds this class via IntersectionObserver */
.lp-feature-card--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content text slides up with a slight extra delay after the card itself lands */
.lp-feature-card--visible .lp-feature-content {
  animation: featureContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@keyframes featureContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fallback: if JS never fires (3s timeout in JS), show cards anyway */
.lp-feature-card--fallback {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}
.lp-feature-card--fallback .lp-feature-content {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion: show immediately, no animation */
@media (prefers-reduced-motion: reduce) {
  .lp-feature-card,
  .lp-feature-card--visible,
  .lp-feature-card--fallback,
  .lp-feature-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.lp-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateZ(0);           /* own GPU layer — no repaint on hover */
  transition: transform 0.6s ease;
}
.lp-feature-card:hover .lp-feature-bg {
  transform: scale(1.04) translateZ(0);
}

.lp-feature-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 10, 15, 0.92) 0%,
    rgba(8, 10, 15, 0.78) 35%,
    rgba(8, 10, 15, 0.45) 65%,
    rgba(8, 10, 15, 0.10) 100%);
}

.lp-feature-content {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  /* column-reverse: title renders at bottom (same Y on all 3 cards) */
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  /* Hidden by default; revealed by featureContentIn animation on scroll */
  opacity: 0;
  transform: translateY(18px);
}

.lp-feature-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.lp-feature-body {
  font-size: 0.9rem;
  color: rgba(220,225,240,0.8);
  line-height: 1.65;
  font-style: normal;  /* override any inherited italic */
}

/* ── Featured whiskies section ───────────────────────────── */

.lp-featured {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.lp-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lp-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.lp-section-sub {
  color: var(--text-dim);
  font-size: 1rem;
}

/* ── Price tier group ────────────────────────────────────── */

.lp-tier-group {
  margin-bottom: 2rem;
}

.lp-tier-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border-left: 2px solid var(--amber);
  padding-left: 0.65rem;
  margin-bottom: 0.75rem;
}

/* ── Whisky grid — 3 columns ─────────────────────────────── */

.lp-whisky-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

/* ── Matrix grid (3 price rows × 3 style columns) ─────────── */

.lp-matrix {
  display: grid;
  grid-template-columns: 100px repeat(3, 1fr);  /* label col + 3 whisky cols */
  gap: 0.5rem 0.65rem;
  align-items: start;
}

.lp-col-header {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0 0.5rem 0.4rem;
  text-align: center;
}

.lp-row-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  border-left: 2px solid var(--amber);
  padding-left: 0.55rem;
  align-self: center;
  line-height: 1.3;
}

.lp-whisky-card--empty {
  opacity: 0.3;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

/* .lp-whisky-card--locked — class kept for possible future styling */

/* ── Compact horizontal whisky card ─────────────────────── */

.lp-whisky-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;   /* horizontal layout — much more compact */
  height: 110px;         /* fixed height → all 9 matrix cells identical */
}
.lp-whisky-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-1px);
  color: inherit;
}

.lp-whisky-img-wrap {
  width: 62px;
  height: 110px;
  flex-shrink: 0;
  align-self: stretch;
  background: var(--bg-image);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

.lp-whisky-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  transition: transform 0.35s ease;
}
.lp-whisky-card:hover .lp-whisky-img-wrap img {
  transform: scale(1.06);
}

.lp-whisky-placeholder {
  font-size: 1.4rem;
  opacity: 0.2;
}

.lp-whisky-info {
  flex: 1;
  min-width: 0;          /* allow text-overflow: ellipsis */
  padding: 0.45rem 0.7rem 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.15rem;
}

.lp-whisky-name {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  /* two-line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-whisky-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.lp-whisky-origin {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.lp-wb-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: rgba(212,145,46,0.15);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.12em 0.45em;
  border-radius: 3px;
  border: 1px solid rgba(212,145,46,0.25);
  white-space: nowrap;
}

.lp-whisky-abv {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-whisky-type {
  font-size: 0.65rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

/* ── Whiskybase flavor tags ───────────────────────────────── */

.lp-flavor-tags {
  display: flex;
  gap: 0.3rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.lp-flavor-tag {
  font-size: 0.62rem;
  background: rgba(255,255,255,0.07);
  color: var(--cream-dim);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 0.1em 0.42em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Card footer ─────────────────────────────────────────── */

.lp-whisky-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-whisky-cta {
  font-size: 0.7rem;
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}
.lp-whisky-card:hover .lp-whisky-cta {
  color: var(--amber-light);
}

.lp-retailer-count {
  font-size: 0.66rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Price hint shown to anonymous users — blurred to tease registration */
.lp-price-hint {
  font-size: 0.66rem;
  color: var(--text-dim);
  white-space: nowrap;
  filter: blur(3.5px);
  user-select: none;
  pointer-events: none;
}

.lp-featured-cta {
  text-align: center;
  margin-top: 1rem;
}

/* ── Community — element-based parallax ─────────────────── */

.lp-community {
  position: relative;
  overflow: hidden;             /* clip the overhanging BG */
  padding: 7rem 2rem;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* Background image element — extends beyond section so the parallax
   drift never reveals empty space.  JS updates translateY(). */
.lp-community-bg {
  position: absolute;
  top: -45%;                    /* 45% overhang — enough room for px parallax drift */
  bottom: -45%;
  left: 0;
  right: 0;
  background-image: url('/images/landing/community.jpg');
  background-size: cover;
  background-position: center 75%;   /* show lower portion by default */
  will-change: transform;
  transition: transform 0.15s ease-out;  /* smooth out discrete wheel ticks */
  z-index: 0;
}

.lp-community::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.78);
  pointer-events: none;
  z-index: 1;                   /* above BG, below content */
}

.lp-community-content {
  position: relative;
  z-index: 2;                   /* above overlay */
  max-width: 640px;
  margin: 0 auto;
}

.lp-community-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.lp-community-body {
  font-size: 1.05rem;
  color: rgba(236,238,245,0.85);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.lp-community-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lp-community-login {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.lp-community-login a { color: var(--amber); font-weight: 600; }
.lp-community-login a:hover { color: var(--amber-light); }

/* ── Light theme overrides ───────────────────────────────── */

[data-theme="light"] .lp-stats        { background: #f0ebe3; }
[data-theme="light"] .lp-stat-num     { color: #9a6512; }
[data-theme="light"] .lp-featured     { background: #faf7f2; }
[data-theme="light"] .lp-whisky-card  { background: #fff; border-color: #ddd5c5; }
[data-theme="light"] .lp-whisky-name  { color: #1a1005; }
[data-theme="light"] .lp-flavor-tag   { background: rgba(0,0,0,0.05); color: #527060; border-color: #c8bfb0; }
[data-theme="light"] .lp-cta          { background: #f0ebe3; }

/* ── Advisor section — always dark bg, force dark-mode text colours ── */
/* The .lp-advisor has a hardcoded dark gradient bg, so CSS vars that flip
   to dark values in light mode make text invisible. Override them back. */

[data-theme="light"] .lp-advisor-feats strong { color: #eceef5; }

/* Mock card bg flips to white via var(--bg-card) — lock it dark */
[data-theme="light"] .lp-advisor-mock         { background: #171b24; }
[data-theme="light"] .lp-mock-name            { color: #eceef5; }
[data-theme="light"] .lp-mock-beta            { color: #d4912e; }
[data-theme="light"] .lp-mock-user            { color: #eceef5; }
[data-theme="light"] .lp-mock-context         { color: #d4912e; }
[data-theme="light"] .lp-mock-card-label      { color: #d4912e; }
[data-theme="light"] .lp-mock-card-name       { color: #eceef5; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .lp-stats-inner    { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .lp-features-grid  { grid-template-columns: 1fr; }
  .lp-feature-card   { min-height: 260px; }
  .lp-whisky-grid    { grid-template-columns: repeat(2, 1fr); }
  .lp-matrix         { grid-template-columns: 82px repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .lp-hero-ctas { flex-direction: column; align-items: center; }
  .lp-btn-primary, .lp-btn-ghost { width: 100%; justify-content: center; max-width: 320px; }
  .lp-whisky-grid  { grid-template-columns: 1fr; }
  .lp-stats-inner  { grid-template-columns: repeat(2, 1fr); }
  .lp-community    { padding: 5rem 1.5rem; }
  /* Matrix: hide axis labels; 2-up grid of horizontal cards */
  .lp-matrix       { grid-template-columns: repeat(2, 1fr); }
  .lp-col-header, .lp-row-label { display: none; }
}

@media (max-width: 460px) {
  /* Single column on phones — horizontal cards need the full width or text clips */
  .lp-matrix       { grid-template-columns: 1fr; }
}

/* (iOS fallback block removed — community section now uses element-based parallax) */

/* ── AI Advisor section ──────────────────────────────────── */

.lp-advisor {
  padding: 6rem 2rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
  background: linear-gradient(135deg,
    rgba(10,12,18,1) 0%,
    rgba(16,18,28,1) 50%,
    rgba(10,12,18,1) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle amber glow behind text */
.lp-advisor::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212,145,46,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.lp-advisor-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lp-advisor-eyebrow {
  margin-bottom: 1rem;
  background: var(--amber);
  color: #fff;
  border-color: transparent;
}

.lp-advisor-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  white-space: pre-line;
}

.lp-advisor-sub {
  font-size: 1.05rem;
  color: rgba(236,238,245,0.78);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 460px;
}

.lp-advisor-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.lp-advisor-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.lp-advisor-feat-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  /* SVG icons: use amber color from CSS variable */
  color: var(--amber);
  opacity: 0.9;
}

.lp-advisor-feats strong {
  display: block;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.lp-advisor-feats span {
  color: rgba(236,238,245,0.58);
  font-size: 0.85rem;
  line-height: 1.45;
}

.lp-advisor-cta {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

.lp-advisor-login-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(236,238,245,0.5);
}
.lp-advisor-login-hint a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Chat mock ────────────────────────────────────────────── */

.lp-advisor-mock {
  background: var(--bg-card, #171b24);
  border: 1px solid rgba(212,145,46,0.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

.lp-mock-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.lp-mock-avatar {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.lp-mock-avatar-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}

.lp-mock-header-text { flex: 1; }

.lp-mock-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream, #eceef5);
}

.lp-mock-status {
  font-size: 0.72rem;
  color: #4caf8a;
  margin-top: 0.1rem;
}

.lp-mock-beta {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(212,145,46,0.18);
  color: var(--amber, #d4912e);
  padding: 0.2em 0.55em;
  border-radius: 20px;
  border: 1px solid rgba(212,145,46,0.35);
}

.lp-mock-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lp-mock-msg {
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 88%;
}

.lp-mock-user {
  background: rgba(212,145,46,0.14);
  border: 1px solid rgba(212,145,46,0.22);
  color: var(--cream, #eceef5);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.lp-mock-ai {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(236,238,245,0.88);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.lp-mock-context {
  font-size: 0.72rem;
  color: var(--amber, #d4912e);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.lp-mock-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(212,145,46,0.08);
  border: 1px solid rgba(212,145,46,0.28);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  align-self: flex-start;
}

.lp-mock-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--amber, #d4912e);
}

.lp-mock-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream, #eceef5);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-advisor-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lp-advisor-mock {
    max-width: 420px;
    margin: 0 auto;
  }
  .lp-advisor { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .lp-advisor-mock { display: none; }
  .lp-advisor { padding: 3rem 1.25rem; }
}
