:root {
  --lp-bg: #fff8f3;
  --lp-surface: rgba(255,255,255,.86);
  --lp-card: #fff;
  --lp-primary: #ff5a1f;
  --lp-primary-2: #ff7a45;
  --lp-secondary: #ffb423;
  --lp-green: #7aa622;
  --lp-purple: #a855f7;
  --lp-text: #252630;
  --lp-muted: #68707f;
  --lp-border: rgba(255, 122, 69, .16);
  --lp-shadow: 0 24px 60px rgba(86, 46, 25, .13);
}

* { box-sizing: border-box; }
body.rt-public {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lp-text);
  background:
    radial-gradient(circle at 92% 0%, rgba(255,180,35,.18), transparent 30%),
    linear-gradient(180deg, #fff3e8 0%, var(--lp-bg) 48%, #fff7ef 100%);
  overflow-x: hidden;
}
body.lp-dark {
  --lp-bg: #1f1713;
  --lp-surface: rgba(45,34,28,.88);
  --lp-card: #2a211c;
  --lp-text: #fff8f2;
  --lp-muted: #d5c9be;
  --lp-border: rgba(255, 122, 69, .28);
}
a { color: inherit; }
.lp-nav-wrap { position: sticky; top: 18px; z-index: 50; padding: 0 6vw; }
.lp-nav {
  max-width: 1640px;
  min-height: 70px;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 18px;
  border-radius: 24px;
  background: var(--lp-surface);
  box-shadow: 0 18px 44px rgba(86,46,25,.10);
  border: 1px solid rgba(255,255,255,.76);
  backdrop-filter: blur(16px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lp-primary); font-size: 1.55rem; font-weight: 800; }
.lp-brand img { width: 58px; height: 58px; object-fit: contain; }
.lp-links { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 58px); }
.lp-links a { position: relative; padding: 21px 0; text-decoration: none; font-weight: 700; color: var(--lp-text); }
.lp-links a.active, .lp-links a:hover { color: var(--lp-primary); }
.lp-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--lp-primary); border-radius: 99px; }
.lp-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.lp-theme, .lp-menu-toggle {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--lp-text);
  display: inline-grid; place-items: center; box-shadow: 0 12px 24px rgba(86,46,25,.08);
}
.lp-menu-toggle { display: none; }
.lp-login, .lp-btn, .lp-btn-outline, .lp-plan-btn {
  min-height: 48px; border-radius: 14px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease;
}
.lp-login, .lp-btn, .lp-plan-btn.primary { background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-2)); color: #fff; box-shadow: 0 14px 28px rgba(255,90,31,.24); }
.lp-btn-outline, .lp-plan-btn.secondary { background: rgba(255,255,255,.58); color: var(--lp-primary); border-color: rgba(255,90,31,.42); }
.lp-btn:hover, .lp-login:hover, .lp-plan-btn:hover, .lp-btn-outline:hover { transform: translateY(-2px); }
.lp-section, .lp-hero { width: min(1640px, calc(100% - 12vw)); margin-inline: auto; }
.lp-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
  padding: 58px 48px 36px;
  position: relative;
}
.lp-hero::after {
  content: ""; position: absolute; inset: 0 0 auto 44%; height: 540px; z-index: -1;
  background: var(--hero-image) center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%);
  opacity: .92;
}
.lp-eyebrow { color: var(--lp-primary); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .02em; }
.lp-hero h1 { margin: 12px 0 18px; font-size: clamp(2.4rem, 4.5vw, 4.6rem); line-height: 1.06; font-weight: 800; letter-spacing: 0; }
.lp-hero h1 span { color: var(--lp-primary); display: inline; }
.lp-hero p { color: var(--lp-muted); font-size: clamp(.98rem, 1.2vw, 1.18rem); line-height: 1.7; max-width: 560px; }
.lp-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.lp-social { display: flex; align-items: center; gap: 14px; color: var(--lp-muted); font-size: .92rem; }
.lp-avatars { display: flex; }
.lp-avatars span, .lp-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#ffd6bf,#9cb779); border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-weight: 800; color: #7b351a; overflow: hidden; }
.lp-avatars img, .lp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-avatars span:first-child { margin-left: 0; }
.lp-stars { color: #ffb423; letter-spacing: 1px; }
.lp-floating { display: grid; gap: 16px; max-width: 280px; margin-left: 6%; }
.lp-float-card, .lp-bubble, .lp-proof-card {
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.72); border-radius: 18px; padding: 16px;
  box-shadow: 0 18px 42px rgba(86,46,25,.14); backdrop-filter: blur(14px);
}
.lp-float-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; }
.lp-float-card i, .lp-feature-strip i, .lp-info i, .lp-tile-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--lp-primary); background: #ffe6d6; }
.lp-float-card strong, .lp-info strong { display: block; }
.lp-float-card span, .lp-info span { color: var(--lp-muted); font-size: .82rem; }
.lp-feature-strip, .lp-soft-band {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: -10px; padding: 28px;
  border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: var(--lp-shadow); border: 1px solid rgba(255,255,255,.78); backdrop-filter: blur(14px);
}
.lp-info { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; padding: 0 24px; border-right: 1px solid rgba(86,46,25,.10); }
.lp-info:last-child { border-right: 0; }
.lp-section { padding: 48px 28px 0; }
.lp-section-head { text-align: center; margin-bottom: 28px; }
.lp-section-head h2 { font-size: clamp(1.6rem, 2.2vw, 2.35rem); font-weight: 800; margin: 0 0 10px; }
.lp-section-head p { color: var(--lp-muted); margin: 0; }
.lp-category-grid, .lp-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.lp-category { min-height: 210px; border-radius: 14px; padding: 22px; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; box-shadow: 0 16px 32px rgba(86,46,25,.16); background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)), var(--cat-image) center / cover; }
.lp-category h3 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.lp-category span { font-weight: 700; opacity: .92; }
.lp-card {
  background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 14px; padding: 24px; box-shadow: 0 14px 34px rgba(86,46,25,.09);
  min-height: 190px; display: grid; align-content: start; gap: 12px; overflow: hidden; position: relative;
}
.lp-card.has-image { grid-template-columns: 1fr 160px; align-items: center; }
.lp-card img { width: 180px; height: 150px; object-fit: cover; border-radius: 16px; }
.lp-card h3, .lp-plan h3 { margin: 0; font-weight: 800; }
.lp-card p, .lp-plan p, .lp-maker-panel p { color: var(--lp-muted); line-height: 1.55; margin: 0; }
.lp-card a { color: var(--lp-primary); text-decoration: none; font-weight: 800; }
.lp-maker-panel {
  margin-top: 28px; padding: 22px 28px; border-radius: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: linear-gradient(135deg, rgba(255,235,220,.94), rgba(255,255,255,.76)); border: 1px solid rgba(255,255,255,.78);
}
.lp-maker-panel img { width: 120px; height: 72px; object-fit: contain; border-radius: 18px; background: #fff; padding: 0; box-shadow: 0 12px 26px rgba(29,29,31,.14); }
.lp-maker img { width: 86px; height: 54px; object-fit: contain; border-radius: 14px; background: #fff; padding: 0; box-shadow: 0 10px 22px rgba(29,29,31,.16); }
.lp-community-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.lp-recipe-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.lp-recipe-card { overflow: hidden; background: var(--lp-card); border-radius: 14px; box-shadow: 0 12px 28px rgba(86,46,25,.12); }
.lp-recipe-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.lp-recipe-card div { padding: 14px; }
.lp-side-panel { background: var(--lp-card); border-radius: 16px; padding: 22px; box-shadow: 0 14px 34px rgba(86,46,25,.09); }
.lp-topic { display: grid; grid-template-columns: 42px 1fr; gap: 10px; margin-top: 16px; align-items: center; }
.lp-topic .lp-avatar { width: 42px; height: 42px; margin: 0; }
.lp-plan-grid { display: grid; grid-template-columns: 1fr 1fr 1fr .86fr; gap: 22px; align-items: stretch; margin-top: -18px; }
.lp-plan { background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 18px; padding: 34px; box-shadow: 0 18px 42px rgba(86,46,25,.10); position: relative; }
.lp-plan.featured { border-color: rgba(255,90,31,.36); transform: translateY(-14px); }
.lp-popular { position: absolute; top: -15px; left: 32px; background: var(--lp-primary); color: #fff; border-radius: 999px; padding: 8px 18px; font-size: .78rem; font-weight: 800; }
.lp-plan-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #ffe5d6; color: var(--lp-primary); font-size: 1.5rem; margin-bottom: 18px; }
.lp-price { margin: 28px 0; font-size: 2.1rem; font-weight: 800; }
.lp-price small { color: var(--lp-muted); font-size: .9rem; font-weight: 600; }
.lp-feature-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.lp-feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #41424b; }
.lp-feature-list i { color: var(--lp-primary); margin-top: 3px; }
.lp-pay-options { display: grid; gap: 10px; }
.lp-pay-note { color: var(--lp-muted); font-size: .82rem; text-align: center; margin-top: 10px; }
.lp-benefits { display: grid; gap: 26px; }
.lp-benefit { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid rgba(86,46,25,.10); }
.lp-alert { width: min(1640px, calc(100% - 12vw)); margin: 30px auto 0; border-radius: 16px; padding: 18px 22px; background: #fff3d8; color: #7a4614; border: 1px solid #ffd89b; }
.lp-footer { width: min(1640px, calc(100% - 12vw)); margin: 54px auto 24px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.72); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; box-shadow: 0 16px 40px rgba(86,46,25,.08); }
.lp-footer-brand { align-self: stretch; min-width: 260px; border-radius: 16px; background: linear-gradient(135deg, #111827, #1f3b66); padding: 16px 20px; display: flex; align-items: center; box-shadow: 0 14px 30px rgba(17,24,39,.16); }
.lp-maker { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: #fff; }
.lp-footer-brand .lp-maker img { background: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.lp-maker strong { color: #fff; }
.lp-footer-copy p,
.lp-footer p { margin: 0; color: var(--lp-muted); }
.lp-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-footer-links a { color: var(--lp-muted); text-decoration: none; font-weight: 700; }
.auth-xainner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 700;
}
.auth-xainner img {
  width: 76px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 0;
}

@media (max-width: 1199px) {
  .lp-nav { grid-template-columns: 220px 1fr auto; }
  .lp-hero { grid-template-columns: 1fr; min-height: auto; }
  .lp-hero::after { inset: auto 0 0 24%; height: 360px; opacity: .32; mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
  .lp-floating { margin-left: 0; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: none; }
  .lp-feature-strip, .lp-soft-band { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .lp-info { border-right: 0; }
  .lp-card-grid, .lp-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lp-community-grid, .lp-plan-grid { grid-template-columns: 1fr; }
  .lp-plan.featured { transform: none; }
}
@media (max-width: 767px) {
  .lp-nav-wrap { top: 10px; padding: 0 14px; }
  .lp-nav { grid-template-columns: 1fr auto; border-radius: 18px; padding: 10px 12px; }
  .lp-brand span { font-size: 1.15rem; }
  .lp-brand img { width: 48px; height: 48px; }
  .lp-menu-toggle { display: inline-grid; }
  .lp-links { display: none; grid-column: 1 / -1; justify-content: stretch; gap: 4px; padding: 8px 0; }
  .lp-links.is-open { display: grid; }
  .lp-links a { padding: 12px; border-radius: 12px; }
  .lp-links a.active::after { display: none; }
  .lp-actions { grid-column: 1 / -1; justify-content: space-between; }
  .lp-section, .lp-hero, .lp-footer, .lp-alert { width: calc(100% - 28px); }
  .lp-hero { padding: 36px 8px 20px; }
  .lp-hero h1 { font-size: 2.45rem; }
  .lp-floating, .lp-feature-strip, .lp-soft-band, .lp-card-grid, .lp-category-grid, .lp-recipe-row { grid-template-columns: 1fr; }
  .lp-card.has-image { grid-template-columns: 1fr; }
  .lp-card img { width: 100%; }
  .lp-maker-panel, .lp-footer { grid-template-columns: 1fr; text-align: left; }
  .lp-footer { flex-direction: column; align-items: flex-start; }
}
