:root {
  --lp-bg: #fffafb;
  --lp-bg2: #fff1f5;
  --lp-text: #3f2a33;
  --lp-muted: #8b6b78;
  --lp-accent: #db7093;
  --lp-accent2: #d97706;
  --lp-card: #ffffff;
  --lp-border: rgba(244, 114, 182, 0.2);
  --lp-shadow: 0 12px 40px rgba(190, 24, 93, 0.08);
  --lp-radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--lp-text);
  background: linear-gradient(160deg, var(--lp-bg) 0%, var(--lp-bg2) 50%, #fff 100%);
  line-height: 1.55;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px));
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  background: rgba(255, 250, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.lp-brand img { width: 48px; height: 48px; object-fit: contain; }
.lp-brand strong {
  font-size: 1.05rem;
  background: linear-gradient(135deg, #f472b6, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-nav a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.lp-nav a:hover { color: var(--lp-accent); }
.lp-actions { display: flex; align-items: center; gap: 10px; }
.lp-lang {
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:active { transform: translateY(0) scale(0.97); filter: brightness(0.96); }
.lp-btn:focus-visible { outline: 3px solid rgba(219, 112, 147, 0.45); outline-offset: 3px; }
.lp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #f9a8d4, #db7093);
  box-shadow: 0 8px 24px rgba(219, 112, 147, 0.35);
}
.lp-btn--ghost {
  color: var(--lp-accent);
  background: #fff;
  border: 2px solid rgba(219, 112, 147, 0.35);
}
.lp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
}

.lp-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: 60px;
}
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; } }
.lp-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lp-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-accent);
  margin-bottom: 16px;
  animation: lpFloat 4s ease-in-out infinite;
}
.lp-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lp-hero p { margin: 0 0 24px; color: var(--lp-muted); font-size: 1.08rem; max-width: 34em; }
.lp-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.lp-hero-note { font-size: 13px; color: var(--lp-muted); }
.lp-hero-art {
  position: relative;
  border-radius: var(--lp-radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--lp-shadow);
  animation: lpFloat 5s ease-in-out infinite reverse;
}
.lp-hero-art img { width: 100%; border-radius: 16px; display: block; }
.lp-mini-chart {
  margin-top: 16px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fce7f3 0%, #fff 40%, #d1fae5 100%);
  position: relative;
  overflow: hidden;
}
.lp-mini-chart::after {
  content: "";
  position: absolute;
  inset: 20% 8% 25% 8%;
  background: linear-gradient(135deg, transparent 40%, #a78bfa 40%, #a78bfa 42%, transparent 42%),
    linear-gradient(135deg, transparent 55%, #10b981 55%, #10b981 57%, transparent 57%),
    linear-gradient(135deg, transparent 70%, #10b981 70%, #10b981 72%, transparent 72%);
  opacity: 0.7;
}

.lp-section { padding-top: 56px; padding-bottom: 56px; }
.lp-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}
.lp-section .lp-sub {
  text-align: center;
  color: var(--lp-muted);
  margin: 0 auto 36px;
  max-width: 36em;
}
.lp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .lp-grid3 { grid-template-columns: 1fr; } }
.lp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 24px;
  box-shadow: var(--lp-shadow);
  transition: transform 0.25s ease;
}
.lp-card:hover { transform: translateY(-4px); }
.lp-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: 15px; }

.lp-for-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 600px) { .lp-for-list { grid-template-columns: 1fr; } }
.lp-for-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--lp-border);
}
.lp-for-item span { font-size: 1.3rem; }

.lp-tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .lp-tariffs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 16px;
    margin: 0;
  }
  .lp-tariff {
    flex: 0 0 min(88vw, 300px);
    scroll-snap-align: center;
  }
}
.lp-tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  box-shadow: var(--lp-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-tariff:hover { transform: translateY(-3px); }
.lp-tariff--featured {
  border-color: rgba(219, 112, 147, 0.55);
  box-shadow: 0 16px 44px rgba(219, 112, 147, 0.18);
}
.lp-tariff--premium {
  border-color: rgba(217, 119, 6, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}
.lp-tariff-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-accent);
  background: #fff0f6;
}
.lp-tariff--featured .lp-tariff-tag {
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #db7093);
}
.lp-tariff--premium .lp-tariff-tag {
  color: #92400e;
  background: #fef3c7;
}
.lp-tariff-name {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lp-text);
}
.lp-tariff-price {
  margin: 0 0 4px;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #f472b6, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-tariff-price small {
  font-size: 0.95rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--lp-muted);
  color: var(--lp-muted);
}
.lp-tariff-note {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--lp-muted);
  font-style: italic;
}
.lp-tariff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.lp-tariff-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--lp-text);
  border-top: 1px solid rgba(244, 114, 182, 0.12);
}
.lp-tariff-list li:first-child { border-top: none; padding-top: 0; }
.lp-tariff-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
  color: #10b981;
  font-size: 13px;
}
.lp-tariff-list li:first-child::before { top: 0; }
.lp-tariff-hint {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--lp-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.lp-tariff-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.lp-pay--in-tariff {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--lp-border);
}
.lp-pay-tier {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text);
}
.lp-pay-sub {
  margin: 20px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.5;
}
.lp-pay-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  transition: border-color 0.15s, background 0.15s;
}
a.lp-pay-row:hover {
  border-color: rgba(219, 112, 147, 0.45);
  background: #fff5f9;
}
.lp-pay-row--ton {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}
.lp-pay-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
a.lp-pay-row:hover .lp-pay-btn {
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}
.lp-pay-wallet {
  display: block;
  width: 100%;
  padding: 8px;
  font-size: 9px;
  line-height: 1.35;
  word-break: break-all;
  background: #f8fafc;
  border: 1px dashed var(--lp-border);
  border-radius: 8px;
  color: #334155;
}
.lp-pay-copy {
  align-self: center;
  padding: 7px 14px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: var(--lp-text);
}
.lp-pay-copy:hover { background: #f1f5f9; }
.lp-pay-copy.is-ok { border-color: #22c55e; color: #15803d; }

.lp-faq details {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.lp-faq summary { font-weight: 700; cursor: pointer; }
.lp-faq p { margin: 10px 0 0; color: var(--lp-muted); }

.lp-cta {
  max-width: 560px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  text-align: center;
  padding: 40px 28px;
  margin: 40px auto 8px;
  border-radius: var(--lp-radius);
  background: linear-gradient(135deg, #fff0f6, #fff7ed);
  border: 1px solid var(--lp-border);
}
.lp-cta h2 { margin: 0 0 10px; }
.lp-cta p { margin: 0 0 18px; color: var(--lp-muted); }
.lp-foot {
  text-align: center;
  padding: 32px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px));
  color: var(--lp-muted);
  font-size: 13px;
}

.lp-auth-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #c45d80;
  border: 2px solid rgba(219, 112, 147, 0.35);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.lp-auth-pill[hidden] { display: none !important; }
.lp-auth-pill:hover {
  background: #fff1f5;
  color: #db7093;
}

.lp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal.lp-in { opacity: 1; transform: none; }

@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 700px) {
  body.lp { overflow-x: hidden; }
  .lp-header {
    gap: 10px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .lp-brand strong { font-size: 0.98rem; }
  .lp-nav { width: 100%; gap: 14px; }
  .lp-actions { width: 100%; flex-wrap: wrap; }
  .lp-wrap {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .lp-hero { padding-top: 28px; padding-bottom: 36px; gap: 24px; }
  .lp-hero-art { padding: 16px; }
  .lp-section { padding-top: 40px; padding-bottom: 40px; }
  .lp-cta { padding: 28px 20px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-badge, .lp-hero-art, .lp-reveal { animation: none !important; transition: none !important; }
  .lp-reveal { opacity: 1; transform: none; }
}
