/* Landing page — light theme (indigo + coral, distinct from competitors) */

.landing-gate.landing-light {
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-text: #0f172a;
  --lp-muted: #64748b;
  --lp-border: #e2e8f0;
  --lp-primary: #4f46e5;
  --lp-primary-dark: #3730a3;
  --lp-accent: #ea580c;
  --lp-accent-soft: #fff7ed;
  --lp-indigo-soft: #eef2ff;
  --lp-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --lp-shadow-lg: 0 24px 64px rgba(79, 70, 229, 0.12);
  --lp-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #ea580c 120%);
  --lp-gradient-text: linear-gradient(135deg, #4f46e5, #7c3aed);
  background: var(--lp-bg);
  color: var(--lp-text);
  padding: 0;
}

.landing-gate.landing-light::before,
.landing-gate.landing-light::after {
  display: none;
}

body:has(.landing-gate.landing-light:not(.hidden)) {
  background: var(--lp-bg);
}

body:has(.landing-gate.landing-light:not(.hidden))::before,
body:has(.landing-gate.landing-light:not(.hidden))::after {
  display: none;
}

/* Topbar */
.landing-light .lp-topbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border);
  margin: 0;
  max-width: none;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  position: sticky;
  top: 0;
  z-index: 50;
}

.landing-light .landing-top-brand .brand-name {
  color: var(--lp-text);
}

.landing-light .landing-topnav a {
  color: var(--lp-muted);
}

.landing-light .landing-topnav a:hover {
  color: var(--lp-primary);
}

/* Buttons */
.landing-light .lp-btn-primary {
  background: var(--lp-gradient);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.28);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-light .lp-btn-primary:hover {
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.landing-light .lp-btn-lg {
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
}

.landing-light .lp-btn-outline {
  background: var(--lp-surface);
  border: 2px solid var(--lp-border);
  border-radius: 999px;
  color: var(--lp-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.landing-light .lp-btn-outline:hover {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
}

.landing-light .lp-btn-ghost {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--lp-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
}

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

.landing-light .lp-link-btn {
  background: none;
  border: 0;
  color: var(--lp-primary);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

/* Hero */
.landing-light .lp-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(79, 70, 229, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 95% 20%, rgba(234, 88, 12, 0.06), transparent 50%),
    var(--lp-bg);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
}

.landing-light .lp-hero-inner {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
}

.landing-light .lp-pill {
  background: var(--lp-indigo-soft);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  color: var(--lp-primary-dark);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
}

.landing-light .lp-headline {
  color: var(--lp-text);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1.1rem;
}

.landing-light .lp-headline-accent {
  background: var(--lp-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.landing-light .lp-headline-accent::after {
  background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
  border-radius: 4px;
  bottom: 0.05em;
  content: "";
  height: 0.18em;
  left: 0;
  opacity: 0.35;
  position: absolute;
  right: 0;
  z-index: -1;
}

.landing-light .lp-lead {
  color: var(--lp-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 540px;
}

.landing-light .lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.landing-light .lp-trust-list {
  color: var(--lp-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.landing-light .lp-trust-list li {
  font-weight: 600;
}

/* Phone mockup */
.landing-light .lp-hero-visual {
  min-height: 380px;
  position: relative;
}

.landing-light .lp-phone {
  background: #1e293b;
  border: 3px solid #334155;
  border-radius: 36px;
  box-shadow: var(--lp-shadow-lg);
  margin: 0 auto;
  max-width: 280px;
  padding: 12px;
  position: relative;
  z-index: 2;
}

.landing-light .lp-phone-notch {
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  height: 18px;
  margin: -6px auto 10px;
  width: 40%;
}

.landing-light .lp-phone-screen {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-radius: 26px;
  color: var(--lp-text);
  padding: 1rem 0.85rem 0.75rem;
}

.landing-light .lp-preview-greet {
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
}

.landing-light .lp-preview-label {
  color: var(--lp-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.landing-light .lp-preview-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.7rem;
}

.landing-light .lp-preview-card span {
  color: var(--lp-muted);
  font-size: 0.62rem;
}

.landing-light .lp-preview-card strong {
  font-size: 1rem;
}

.landing-light .lp-preview-card small {
  color: #16a34a;
  font-size: 0.6rem;
  font-weight: 700;
}

.landing-light .lp-preview-card-main {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: 0;
  color: #fff;
  margin-bottom: 0.5rem;
}

.landing-light .lp-preview-card-main span,
.landing-light .lp-preview-card-main small {
  color: rgba(255, 255, 255, 0.85);
}

.landing-light .lp-preview-card-warn strong {
  color: var(--lp-accent);
}

.landing-light .lp-preview-row {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0.65rem;
}

.landing-light .lp-preview-nav {
  display: flex;
  font-size: 1rem;
  justify-content: space-around;
  padding-top: 0.35rem;
}

.landing-light .lp-preview-scan {
  background: var(--lp-gradient);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  font-size: 0.85rem;
  line-height: 1;
  margin-top: -0.5rem;
  padding: 0.45rem;
}

.landing-light .lp-float {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  box-shadow: var(--lp-shadow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  position: absolute;
  white-space: nowrap;
  z-index: 3;
}

.landing-light .lp-float-left {
  animation: lp-float 4s ease-in-out infinite;
  left: -4%;
  top: 18%;
}

.landing-light .lp-float-right {
  animation: lp-float 4s ease-in-out infinite 1s;
  right: -2%;
  top: 52%;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Store types marquee */
.landing-light .lp-store-types {
  background: var(--lp-surface);
  border-block: 1px solid var(--lp-border);
  overflow: hidden;
  padding: 0.85rem 0;
}

.landing-light .lp-store-track {
  animation: lp-marquee 28s linear infinite;
  display: flex;
  gap: 2rem;
  width: max-content;
}

.landing-light .lp-store-track span {
  color: var(--lp-muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes lp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stats band */
.landing-light .lp-stats-band {
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.landing-light .lp-stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1000px;
}

.landing-light .lp-stats-grid article {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 1rem;
  box-shadow: var(--lp-shadow);
  padding: 1.1rem 1.25rem;
  text-align: center;
}

.landing-light .lp-stats-grid strong {
  color: var(--lp-primary);
  display: block;
  font-size: 1.5rem;
}

.landing-light .lp-stats-grid span {
  color: var(--lp-muted);
  display: block;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

/* Problems */
.landing-light .lp-problems {
  margin: 0 auto;
  max-width: 1180px;
  padding: 3rem clamp(1rem, 4vw, 2.5rem);
}

.landing-light .lp-section-head {
  margin-bottom: 2rem;
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.landing-light .lp-eyebrow {
  color: var(--lp-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.landing-light .lp-section-head h2 {
  color: var(--lp-text);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.landing-light .lp-problems-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-light .lp-problem-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 1.15rem;
  box-shadow: var(--lp-shadow);
  padding: 1.35rem 1.25rem;
}

.landing-light .lp-problem-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.landing-light .lp-problem-card h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.landing-light .lp-problem-card p {
  color: var(--lp-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.landing-light .lp-problem-solution {
  background: linear-gradient(145deg, var(--lp-indigo-soft), #fff);
  border-color: rgba(79, 70, 229, 0.25);
}

.landing-light .lp-problem-solution h3 {
  color: var(--lp-primary-dark);
}

/* Sections — light overrides */
.landing-light .landing-bento,
.landing-light .landing-steps,
.landing-light .landing-harga,
.landing-light .landing-compare,
.landing-light .landing-testimonials,
.landing-light .landing-trust,
.landing-light .landing-faq,
.landing-light .landing-final-cta,
.landing-light .landing-footer {
  color: var(--lp-text);
}

.landing-light .landing-bento-head h2,
.landing-light .landing-steps .landing-bento-head h2,
.landing-light .landing-harga .landing-bento-head h2,
.landing-light .landing-compare .landing-bento-head h2,
.landing-light .landing-testimonials .landing-bento-head h2,
.landing-light .landing-final-cta-inner h2,
.landing-light .landing-faq h2 {
  color: var(--lp-text);
}

.landing-light .landing-gradient-text {
  background: var(--lp-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-light .landing-bento-lead,
.landing-light .landing-bento-head .eyebrow,
.landing-light .faq-grid p,
.landing-light .bento-card p,
.landing-light .testimonial-card blockquote,
.landing-light .landing-footer p,
.landing-light .landing-footer-nav a {
  color: var(--lp-muted);
}

.landing-light .bento-card,
.landing-light .landing-step-card,
.landing-light .landing-harga-card,
.landing-light .testimonial-card,
.landing-light .landing-trust-grid article,
.landing-light .landing-faq.panel,
.landing-light .compare-table-wrap {
  background: var(--lp-surface);
  border-color: var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.landing-light .landing-harga-featured {
  border-color: var(--lp-primary);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

.landing-light .landing-harga-card strong {
  color: var(--lp-primary);
}

.landing-light .bento-tag {
  background: var(--lp-indigo-soft);
  border-color: rgba(79, 70, 229, 0.25);
  color: var(--lp-primary);
}

.landing-light .landing-step-num {
  background: var(--lp-gradient);
  color: #fff;
}

.landing-light .compare-table th,
.landing-light .compare-table td {
  border-color: var(--lp-border);
  color: var(--lp-text);
}

.landing-light .compare-table tbody tr:hover {
  background: var(--lp-indigo-soft);
}

.landing-light .compare-highlight {
  background: rgba(79, 70, 229, 0.06);
}

.landing-light .landing-final-cta-inner {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: 0;
  box-shadow: var(--lp-shadow-lg);
}

.landing-light .landing-final-cta-inner .eyebrow,
.landing-light .landing-final-cta-inner h2,
.landing-light .landing-final-cta-inner > p {
  color: #fff;
}

.landing-light .landing-final-cta .lp-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.landing-light .landing-final-cta .lp-btn-outline:hover {
  background: #fff;
  color: var(--lp-primary);
}

.landing-light .landing-footer {
  border-color: var(--lp-border);
}

.landing-light .landing-footer-copy a,
.landing-light .landing-harga-cta a,
.landing-light .faq-grid a {
  color: var(--lp-primary);
}

.landing-light .testimonial-stars {
  color: var(--lp-accent);
}

/* Auth modal */
.lp-auth-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 200;
}

.lp-auth-modal.hidden {
  display: none;
}

.lp-auth-backdrop {
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.lp-auth-dialog {
  background: var(--lp-surface, #fff) !important;
  border: 1px solid var(--lp-border, #e2e8f0) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2) !important;
  color: var(--lp-text, #0f172a);
  max-height: 92vh;
  max-width: 440px;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.25rem !important;
  position: relative;
  width: 100%;
  z-index: 1;
}

.lp-auth-dialog .eyebrow {
  color: var(--lp-primary, #4f46e5);
}

.lp-auth-dialog h2 {
  color: var(--lp-text, #0f172a);
}

.lp-auth-dialog .login-hint,
.lp-auth-dialog .login-legal {
  color: var(--lp-muted, #64748b);
}

.lp-auth-dialog input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
  padding: 0.65rem 0.75rem;
}

.lp-auth-dialog .button.primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 0;
  border-radius: 10px;
}

.lp-auth-close {
  background: #f1f5f9;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .landing-light .lp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-light .lp-lead {
    margin-inline: auto;
  }

  .landing-light .lp-hero-actions,
  .landing-light .lp-trust-list {
    justify-content: center;
  }

  .landing-light .lp-hero-visual {
    min-height: 340px;
  }

  .landing-light .lp-problems-grid,
  .landing-light .lp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-light .landing-topnav a:not(.lp-btn-primary):not(.lp-btn-ghost) {
    display: none;
  }
}

@media (max-width: 560px) {
  .landing-light .lp-problems-grid,
  .landing-light .lp-stats-grid {
    grid-template-columns: 1fr;
  }

  .landing-light .lp-float-left {
    left: 0;
  }

  .landing-light .lp-float-right {
    right: 0;
  }
}
