/* Hisab landing — clean, product-led, brand purple accent */
:root {
  --lp-primary: #7C3AED;
  --lp-primary-dark: #5B21B6;
  --lp-primary-soft: #EDE9FE;
  --lp-ink: #0F172A;
  --lp-ink-soft: #475569;
  --lp-muted: #94A3B8;
  --lp-surface: #FFFFFF;
  --lp-bg: #F8FAFC;
  --lp-bg-alt: #F1F5F9;
  --lp-line: #E2E8F0;
  --lp-success: #059669;
  --lp-danger: #DC2626;
  --lp-info: #2563EB;
  --lp-radius: 20px;
  --lp-radius-sm: 12px;
  --lp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.08);
  --lp-shadow-lg: 0 24px 64px rgba(91, 33, 182, 0.18);
  --lp-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --lp-display: "Outfit", "Plus Jakarta Sans", sans-serif;
  --lp-max: 1120px;
}

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

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

body.landing {
  font-family: var(--lp-font);
  color: var(--lp-ink);
  background: var(--lp-bg);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.lp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(37, 99, 235, 0.08), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, var(--lp-bg) 40%, #FFFFFF 100%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 14px 20px;
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}

.lp-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--lp-line);
  border-radius: 0 0 16px 16px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lp-primary);
  letter-spacing: -0.02em;
}

.lp-brand-logo {
  height: 30px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.lp-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.lp-nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lp-ink-soft);
  transition: color 0.2s;
}

.lp-nav-links a:hover { color: var(--lp-primary); }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-lang {
  display: none;
  background: var(--lp-bg-alt);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lp-lang-btn {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lp-ink-soft);
  transition: background 0.2s, color 0.2s;
}

.lp-lang-btn.is-active {
  background: var(--lp-surface);
  color: var(--lp-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.lp-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--lp-bg-alt);
}

.lp-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lp-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.lp-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.lp-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }

.lp-btn-primary {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}

.lp-btn-primary:hover {
  background: var(--lp-primary-dark);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

.lp-btn-secondary {
  background: var(--lp-surface);
  color: var(--lp-ink);
  border: 1px solid var(--lp-line);
}

.lp-btn-ghost {
  color: var(--lp-ink-soft);
  padding: 10px 12px;
}

.lp-btn-ghost:hover { color: var(--lp-primary); }

.lp-btn-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lp-btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lp-btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.lp-nav-actions .lp-btn-ghost {
  display: none;
}

.lp-nav-actions .lp-btn-primary {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* Hero — one composition */
.lp-hero {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  gap: 40px;
  align-items: center;
  min-height: calc(100dvh - 72px);
}

.lp-brand-mark {
  font-family: var(--lp-display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lp-primary);
  margin-bottom: 12px;
}

.lp-brand-hero {
  display: block;
  width: min(160px, 48vw);
  height: auto;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: 10px;
}

.lp-hero h1 {
  font-family: var(--lp-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--lp-ink);
  max-width: 14ch;
}

.lp-hero-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--lp-ink-soft);
  max-width: 36ch;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Live demo panel */
.lp-hero-visual {
  perspective: 1200px;
}

.lp-demo {
  background: var(--lp-surface);
  border-radius: 24px;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-lg);
  padding: 18px;
  transform: rotateX(2deg) rotateY(-4deg);
  transition: transform 0.4s ease;
  will-change: transform;
}

.lp-demo.is-tilting { transition: transform 0.08s ease-out; }

.lp-demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.lp-demo-dots {
  display: flex;
  gap: 5px;
}

.lp-demo-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-line);
}

.lp-demo-dots i:nth-child(1) { background: #F87171; }
.lp-demo-dots i:nth-child(2) { background: #FBBF24; }
.lp-demo-dots i:nth-child(3) { background: #34D399; }

.lp-demo-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.lp-demo-balance {
  background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.lp-demo-balance::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  right: -30px;
  top: -40px;
  animation: lpPulse 4s ease-in-out infinite;
}

@keyframes lpPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.lp-demo-balance span {
  display: block;
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 4px;
}

.lp-demo-balance strong {
  font-family: var(--lp-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-demo-balance em {
  font-style: normal;
  font-size: 0.95rem;
  margin-left: 4px;
  opacity: 0.9;
}

.lp-demo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.lp-metric {
  background: var(--lp-bg);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}

.lp-metric:hover {
  border-color: var(--lp-primary-soft);
  transform: translateY(-2px);
}

.lp-metric span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-metric strong {
  font-family: var(--lp-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-metric-in strong { color: var(--lp-success); }
.lp-metric-out strong { color: var(--lp-danger); }
.lp-metric-sale strong { color: var(--lp-info); }
.lp-metric-profit strong { color: var(--lp-primary); }

.lp-demo-chart {
  height: 72px;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), transparent);
}

.lp-demo-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lp-chart-line {
  fill: none;
  stroke: var(--lp-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: lpDraw 2.2s ease forwards 0.4s;
}

.lp-chart-fill {
  fill: url(#lpChartGrad);
  opacity: 0.25;
}

@keyframes lpDraw {
  to { stroke-dashoffset: 0; }
}

.lp-demo-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 120px;
  overflow: hidden;
}

.lp-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--lp-bg);
  border-radius: 12px;
  font-size: 0.82rem;
  animation: lpSlideIn 0.45s ease;
}

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

.lp-feed-item .lp-feed-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lp-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-feed-dot.sale { background: var(--lp-info); }
.lp-feed-dot.expense { background: var(--lp-danger); }
.lp-feed-dot.income { background: var(--lp-success); }

.lp-feed-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--lp-ink-soft);
}

.lp-feed-amt {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.lp-feed-amt.pos { color: var(--lp-success); }
.lp-feed-amt.neg { color: var(--lp-danger); }

/* Trust */
.lp-trust {
  max-width: var(--lp-max);
  margin: 0 auto 24px;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-trust-item {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  padding: 18px 16px;
  text-align: center;
}

.lp-trust-item strong {
  display: block;
  font-family: var(--lp-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lp-primary);
  letter-spacing: -0.02em;
}

.lp-trust-item span {
  font-size: 0.82rem;
  color: var(--lp-ink-soft);
}

/* Sections */
.lp-section {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 64px 20px;
}

.lp-section-alt {
  background: var(--lp-bg-alt);
  max-width: none;
  padding-left: max(20px, calc((100% - var(--lp-max)) / 2 + 20px));
  padding-right: max(20px, calc((100% - var(--lp-max)) / 2 + 20px));
}

.lp-section-head {
  max-width: 560px;
  margin-bottom: 36px;
}

.lp-section-head h2,
.lp-lang-copy h2,
.lp-cta-inner h2 {
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lp-section-head p,
.lp-lang-copy p,
.lp-cta-inner p {
  color: var(--lp-ink-soft);
  font-size: 1.05rem;
}

/* Feature tabs — interactive */
.lp-feature-tabs {
  display: grid;
  gap: 20px;
}

.lp-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lp-tabs::-webkit-scrollbar { display: none; }

.lp-tab {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-ink-soft);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.lp-tab:hover { border-color: var(--lp-primary-soft); color: var(--lp-primary); }

.lp-tab.is-active {
  background: var(--lp-primary);
  color: #fff;
  border-color: var(--lp-primary);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.lp-tab-panels {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 28px 24px;
  min-height: 220px;
  box-shadow: var(--lp-shadow);
}

.lp-panel[hidden] { display: none; }

.lp-panel.is-active {
  animation: lpFadeUp 0.35s ease;
}

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

.lp-panel h3 {
  font-family: var(--lp-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lp-panel > p {
  color: var(--lp-ink-soft);
  margin-bottom: 16px;
  max-width: 52ch;
}

.lp-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.lp-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--lp-ink);
  font-weight: 500;
}

.lp-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lp-primary-soft);
  box-shadow: inset 0 0 0 4px var(--lp-primary);
}

/* Steps */
.lp-steps {
  list-style: none;
  display: grid;
  gap: 16px;
}

.lp-step {
  background: var(--lp-surface);
  border-radius: var(--lp-radius);
  padding: 24px;
  border: 1px solid var(--lp-line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.lp-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--lp-primary);
  color: #fff;
  font-family: var(--lp-display);
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-step h3 {
  font-family: var(--lp-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.lp-step p { color: var(--lp-ink-soft); font-size: 0.95rem; }

/* Languages */
.lp-lang-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.lp-lang-cards {
  display: grid;
  gap: 12px;
}

.lp-lang-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  text-align: left;
  padding: 18px;
  border-radius: var(--lp-radius-sm);
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lp-lang-card:hover {
  border-color: var(--lp-primary-soft);
  transform: translateY(-2px);
}

.lp-lang-card.is-active {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px var(--lp-primary-soft);
}

.lp-lang-flag {
  grid-row: 1 / 3;
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.lp-lang-card strong {
  font-family: var(--lp-display);
  font-size: 1.05rem;
}

.lp-lang-card span:last-child {
  font-size: 0.85rem;
  color: var(--lp-muted);
}

/* FAQ */
.lp-faq {
  max-width: 720px;
  display: grid;
  gap: 10px;
}

.lp-faq-item {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.lp-faq-item[open] { border-color: var(--lp-primary-soft); }

.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 18px;
  font-weight: 600;
  position: relative;
  font-family: var(--lp-display);
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--lp-primary);
  font-weight: 500;
  transition: transform 0.2s;
}

.lp-faq-item[open] summary::after {
  content: "–";
}

.lp-faq-item p {
  padding: 0 18px 18px;
  color: var(--lp-ink-soft);
  font-size: 0.95rem;
}

/* CTA band */
.lp-cta-band {
  margin: 20px 20px 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 255, 255, 0.15), transparent),
    linear-gradient(135deg, #6D28D9 0%, #4F46E5 55%, #2563EB 100%);
  color: #fff;
  overflow: hidden;
}

.lp-cta-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
}

.lp-cta-inner h2 { color: #fff; }
.lp-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 24px;
  max-width: 40ch;
}

.lp-cta-inner .lp-hero-cta {
  justify-content: center;
  margin-top: 0;
}

.lp-cta-inner .lp-btn-primary {
  background: #fff;
  color: var(--lp-primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lp-cta-inner .lp-btn-primary:hover {
  background: #F8FAFC;
}

/* Offer bar — desktop only */
.lp-offer {
  display: none;
  background: linear-gradient(90deg, #5B21B6, #7C3AED 45%, #4F46E5);
  color: #fff;
}

.lp-offer.is-hidden { display: none !important; }

.lp-offer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  font-size: 0.88rem;
}

.lp-offer-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.lp-offer-inner p { margin: 0; font-weight: 500; }

.lp-offer-code {
  opacity: 0.95;
  font-size: 0.82rem;
}

.lp-offer-code strong {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
}

.lp-offer-cta {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-offer-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.lp-offer-close:hover { background: rgba(255, 255, 255, 0.15); }

/* Nav dropdown */
.lp-dropdown { position: relative; }

.lp-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lp-ink-soft);
  padding: 6px 4px;
}

.lp-dropdown-toggle:hover,
.lp-dropdown.is-open .lp-dropdown-toggle { color: var(--lp-primary); }

.lp-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--lp-shadow);
  z-index: 120;
}

.lp-dropdown.is-open .lp-dropdown-menu { display: grid; gap: 2px; }

.lp-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lp-ink) !important;
}

.lp-dropdown-menu a:hover {
  background: var(--lp-primary-soft);
  color: var(--lp-primary) !important;
}

.lp-nav-link.is-current { color: var(--lp-primary); font-weight: 600; }

/* Footer */
.lp-footer {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 48px 20px 40px;
  border-top: 1px solid var(--lp-line);
}

.lp-footer-grid {
  display: grid;
  gap: 28px;
  text-align: left;
  margin-bottom: 28px;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-display);
  font-weight: 700;
  color: var(--lp-primary);
  margin-bottom: 8px;
}

.lp-footer-logo {
  width: auto;
  height: 28px;
  max-width: 96px;
  object-fit: contain;
  border-radius: 6px;
}

.lp-footer-brand-col > p {
  color: var(--lp-ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
  max-width: 28ch;
}

.lp-footer-contact {
  list-style: none;
  display: grid;
  gap: 10px;
}

.lp-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--lp-ink-soft);
}

.lp-footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--lp-primary); }
.lp-footer-contact a { color: var(--lp-ink); font-weight: 500; }
.lp-footer-contact a:hover { color: var(--lp-primary); }

.lp-footer-col h4 {
  font-family: var(--lp-display);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.lp-footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--lp-ink-soft);
  padding: 4px 0;
  font-weight: 500;
}

.lp-footer-col a:hover { color: var(--lp-primary); }

.lp-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.lp-footer-links a {
  font-weight: 600;
  color: var(--lp-primary);
}

.lp-copy {
  font-size: 0.8rem !important;
  color: var(--lp-muted) !important;
  text-align: center;
  border-top: 1px solid var(--lp-line);
  padding-top: 20px;
}

/* Inner pages */
.lp-page {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.lp-page-hero { max-width: 640px; margin-bottom: 36px; }

.lp-page-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lp-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.lp-page-hero h1 {
  font-family: var(--lp-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.lp-page-lead {
  color: var(--lp-ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.lp-page-section {
  max-width: 720px;
  margin-bottom: 36px;
}

.lp-page-section h2 {
  font-family: var(--lp-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.lp-page-section p { color: var(--lp-ink-soft); margin-bottom: 12px; }

.lp-page-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.lp-page-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.lp-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lp-primary-soft);
  box-shadow: inset 0 0 0 4px var(--lp-primary);
}

.lp-page-cta { margin: 40px 0 0; }

.lp-muted { color: var(--lp-muted); font-size: 0.88rem; }

.lp-contact-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.lp-contact-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 22px;
}

.lp-contact-card h3 {
  font-family: var(--lp-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.lp-contact-card a { color: var(--lp-primary); font-weight: 600; }

.lp-contact-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.lp-form-row { display: grid; gap: 6px; }

.lp-form-row label { font-weight: 600; font-size: 0.9rem; }

.lp-form-row input,
.lp-form-row textarea {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: var(--lp-surface);
}

.lp-form-row input:focus,
.lp-form-row textarea:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px var(--lp-primary-soft);
}

.lp-pricing-grid {
  display: grid;
  gap: 16px;
}

.lp-price-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-price-card.is-featured {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px var(--lp-primary-soft);
  position: relative;
}

.lp-price-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.lp-price-card h3 {
  font-family: var(--lp-display);
  font-size: 1.25rem;
}

.lp-price { font-size: 1.5rem; }

.lp-price-card > p { color: var(--lp-ink-soft); font-size: 0.95rem; }

.lp-price-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
  flex: 1;
}

.lp-price-card li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
}

.lp-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-primary);
  font-weight: 700;
}

.lp-legal-body {
  max-width: 720px;
}

.lp-legal-body h2 {
  font-family: var(--lp-display);
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

.lp-legal-body p {
  color: var(--lp-ink-soft);
  margin-bottom: 10px;
  line-height: 1.65;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile nav open */
@media (max-width: 899px) {
  .lp-offer { display: none !important; }

  .lp-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--lp-shadow);
    gap: 4px;
  }

  .lp-nav-links.is-open .lp-dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: none;
    padding: 0 0 0 8px;
  }

  .lp-nav-links.is-open a,
  .lp-nav-links.is-open .lp-dropdown-toggle {
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    justify-content: space-between;
  }

  .lp-nav-links.is-open a:hover {
    background: var(--lp-primary-soft);
  }

  .lp-nav {
    position: sticky;
    flex-wrap: wrap;
  }

  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand-col { grid-column: 1 / -1; }
}

/* Desktop */
@media (min-width: 900px) {
  .lp-offer { display: block; }
  .lp-menu-toggle { display: none; }

  .lp-nav-links { display: flex; }
  .lp-lang { display: flex; }

  .lp-nav-actions .lp-btn-ghost,
  .lp-nav-actions .lp-btn-primary {
    display: inline-flex;
  }

  .lp-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }

  .lp-contact-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

  .lp-hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .lp-trust {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .lp-feature-tabs {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .lp-tabs {
    flex-direction: column;
    overflow: visible;
  }

  .lp-tab {
    text-align: left;
    border-radius: 14px;
  }

  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .lp-lang-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
  }

  .lp-lang-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-cta-band {
    margin-left: max(20px, calc((100% - var(--lp-max)) / 2));
    margin-right: max(20px, calc((100% - var(--lp-max)) / 2));
  }
}

/* Nav Apps badge — corner of "Apps" text */
.lp-nav-apps {
  display: inline-flex;
  align-items: center;
}

.lp-nav-apps-label {
  position: relative;
  display: inline-block;
  padding-right: 2px;
}

.lp-nav-badge {
  position: absolute;
  top: -0.55em;
  right: -0.15em;
  transform: translate(55%, -15%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--lp-surface, #fff);
}

.lp-nav-badge-new {
  background: #dbeafe;
  color: #1d4ed8;
}

.lp-nav-badge-hot {
  background: #ffedd5;
  color: #c2410c;
}

/* Private app store listing */
.lp-apps { padding-bottom: 64px; }

.store-cover {
  height: 180px;
  border-radius: 0 0 28px 28px;
  background-size: cover;
  background-position: center;
  margin: 0 -20px 0;
}

.store-cover-fallback {
  background:
    radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.35), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.28), transparent 45%),
    linear-gradient(135deg, #0f766e, #134e4a 55%, #0f172a);
}

.store-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.store-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.store-hero-copy h1 {
  margin: 8px 0 4px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.store-developer {
  margin: 0;
  color: var(--lp-primary);
  font-weight: 600;
}

.store-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-pill-new { background: #dbeafe; color: #1d4ed8; }
.store-pill-hot { background: #ffedd5; color: #c2410c; }

.store-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.store-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 8px;
  padding: 18px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.store-meta-item {
  display: grid;
  gap: 2px;
  text-align: center;
}

.store-meta-item strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.store-meta-item span,
.store-meta-item small {
  color: var(--lp-muted);
  font-size: 0.78rem;
}

.store-section { margin-top: 36px; }
.store-section h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.store-about {
  color: var(--lp-ink);
  line-height: 1.7;
  white-space: normal;
}

.store-version-line {
  color: var(--lp-muted);
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.store-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.store-score-big {
  text-align: right;
}

.store-score-big span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.store-score-big small { color: var(--lp-muted); }

.store-reviews { display: grid; gap: 14px; }

.store-review {
  padding: 16px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
}

.store-review-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.store-stars { color: #d97706; letter-spacing: 1px; font-size: 0.9rem; }
.store-review h3 { margin: 0 0 6px; font-size: 1rem; }
.store-review p { margin: 0; line-height: 1.6; }
.store-review time { display: block; margin-top: 10px; color: var(--lp-muted); font-size: 0.8rem; }

.store-support .store-note {
  margin-top: 14px;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .store-cover { height: 240px; margin: 0; border-radius: 24px; }
  .store-hero { margin-top: -56px; grid-template-columns: 120px 1fr; }
  .store-icon { width: 120px; height: 120px; border-radius: 28px; }
  .store-meta { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
