/* ==========================================================================
   Red Bed Club — Facebook Conversion Landing Page
   Mobile-first · single offer · “I need this now”
   ========================================================================== */

:root {
  --lp-navy: #0b1c2c;
  --lp-navy-2: #12263a;
  --lp-teal: #0d7377;
  --lp-ember: #c45c4a;
  --lp-glow: #ff6b4a;
  --lp-cream: #f7f4ef;
  --lp-white: #fff;
  --lp-muted: #5a6b78;
  --lp-border: #e2e8ed;
  --lp-gold: #c9a227;
  --lp-font: "DM Sans", system-ui, -apple-system, sans-serif;
  --lp-serif: "Fraunces", Georgia, serif;
  --lp-radius: 16px;
  --lp-shadow: 0 16px 48px rgba(11, 28, 44, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.lp {
  font-family: var(--lp-font);
  color: var(--lp-navy);
  background: var(--lp-cream);
  line-height: 1.55;
  min-height: 100vh;
}

.lp a {
  color: var(--lp-teal);
  font-weight: 600;
}

.lp img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* —— Top bar —— */
.lp-bar {
  background: linear-gradient(90deg, #1a0a0e, #0b1c2c 50%, #0a3d40);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lp-bar strong {
  color: #ffc4b5;
}

/* —— Sticky mobile CTA —— */
.lp-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(11, 28, 44, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 107, 74, 0.35);
  display: none;
}
.lp-sticky.is-visible {
  display: block;
}
.lp-sticky .lp-btn {
  width: 100%;
}

@media (min-width: 900px) {
  .lp-sticky {
    display: none !important;
  }
}

/* —— Hero —— */
.lp-hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(255, 107, 74, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(13, 115, 119, 0.25), transparent 50%),
    linear-gradient(165deg, #1a0a0e 0%, #0b1c2c 48%, #0a3d40 100%);
  color: #fff;
  padding: 1.25rem 1rem 2.5rem;
}

.lp-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.lp-hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .lp-hero {
    padding: 1.75rem 1.5rem 3.5rem;
  }
  .lp-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.lp-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.25rem;
}
.lp-logo__name {
  font-family: var(--lp-serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.lp-logo__tag {
  font-size: 0.75rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.18);
  border: 1px solid rgba(255, 107, 74, 0.45);
  color: #ffc4b5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lp-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-glow);
  box-shadow: 0 0 10px var(--lp-glow);
  animation: lp-pulse 1.6s ease infinite;
}
@keyframes lp-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.lp-hero h1 {
  font-family: var(--lp-serif);
  font-size: clamp(1.85rem, 5.5vw, 2.85rem);
  font-weight: 550;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.lp-hero h1 em {
  font-style: italic;
  color: #ffb4a2;
  font-weight: 500;
}

.lp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.lp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}
.lp-price {
  font-family: var(--lp-serif);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.lp-price span {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.75;
}
.lp-price-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.lp-price-note s {
  opacity: 0.55;
}

.lp-bullets {
  list-style: none;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.lp-bullets li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}
.lp-bullets li::before {
  content: "✓";
  color: #7ddea8;
  font-weight: 800;
  flex-shrink: 0;
}

/* —— Form card —— */
.lp-card {
  background: var(--lp-white);
  color: var(--lp-navy);
  border-radius: 20px;
  box-shadow: var(--lp-shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lp-card__head {
  background: linear-gradient(135deg, #fff5f2, #f0fafa);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--lp-border);
  text-align: center;
}
.lp-card__head strong {
  display: block;
  font-size: 1.05rem;
  color: var(--lp-navy);
}
.lp-card__head span {
  font-size: 0.88rem;
  color: var(--lp-muted);
}
.lp-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}
#lp-lead-form {
  position: relative;
}

.lp-field {
  margin-bottom: 0.9rem;
}
.lp-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.lp-field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--lp-border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--lp-navy);
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-field input:focus {
  outline: none;
  border-color: var(--lp-teal);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.15);
  background: #fff;
}
.lp-field input::placeholder {
  color: #9aa8b4;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.lp-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.lp-btn--xl {
  padding: 1.25rem 1.35rem;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  min-height: 3.5rem;
  text-align: center;
  line-height: 1.25;
}
.lp-btn--ember {
  background: linear-gradient(135deg, #ff6b4a, #c45c4a 55%, #9e3d32);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(196, 92, 74, 0.4);
}
.lp-btn--ember:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(196, 92, 74, 0.48);
}
.lp-btn--teal {
  background: linear-gradient(135deg, #14919b, #0d7377);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(13, 115, 119, 0.35);
}
.lp-btn--ghost {
  background: transparent;
  color: var(--lp-navy) !important;
  border: 1.5px solid var(--lp-border);
}

.lp-fine {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--lp-muted);
  text-align: center;
  line-height: 1.45;
}
.lp-msg {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.lp-msg.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.lp-msg.is-ok {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--lp-muted);
}
.lp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* —— Social proof strip —— */
.lp-proof {
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
  padding: 1.25rem 1rem;
}
.lp-proof__grid {
  display: grid;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 700px) {
  .lp-proof__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-proof__item strong {
  display: block;
  font-family: var(--lp-serif);
  font-size: 1.35rem;
  color: var(--lp-navy);
}
.lp-proof__item span {
  font-size: 0.85rem;
  color: var(--lp-muted);
}

/* —— Sections —— */
.lp-section {
  padding: 2.5rem 1rem;
}
.lp-section--alt {
  background: #fff;
}
.lp-section h2 {
  font-family: var(--lp-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--lp-navy);
}
.lp-section__lead {
  text-align: center;
  color: var(--lp-muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
}

.lp-steps {
  display: grid;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-step {
  background: var(--lp-cream);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.25rem;
}
.lp-section--alt .lp-step {
  background: var(--lp-cream);
}
.lp-step__n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b4a, #c45c4a);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.lp-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.lp-step p {
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.55;
}

.lp-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.15);
  max-width: 480px;
  margin: 0 auto;
}
.lp-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.lp-faq {
  max-width: 640px;
  margin: 0 auto;
}
.lp-faq details {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
}
.lp-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker {
  display: none;
}
.lp-faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--lp-teal);
}
.lp-faq p {
  font-size: 0.95rem;
  color: var(--lp-muted);
  line-height: 1.55;
}

.lp-final {
  background: linear-gradient(165deg, #1a0a0e, #0b1c2c 55%, #0a3d40);
  color: #fff;
  text-align: center;
  padding: 2.75rem 1rem 5.5rem;
}
.lp-final h2 {
  font-family: var(--lp-serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: #fff;
  margin-bottom: 0.65rem;
}
.lp-final p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}
.lp-final .lp-btn {
  max-width: 420px;
}

.lp-footer {
  background: var(--lp-navy);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
  line-height: 1.6;
}
.lp-footer a {
  color: #ffc4b5;
}
.lp-footer address {
  font-style: normal;
  margin: 0.5rem 0;
}

.lp-disclaimer {
  max-width: 640px;
  margin: 1.5rem auto 0;
  font-size: 0.78rem;
  color: var(--lp-muted);
  text-align: center;
  line-height: 1.5;
}
