/* MuswanSoft public site — modern image-led marketing */

:root {
  --ink: #1a1830;
  --ink-muted: #5c6478;
  --paper: #ffffff;
  --wash: #f3f5f8;
  --brand: #5b21b6;
  --brand-strong: #4c1d95;
  --accent: #e89a12;
  --accent-ink: #1a1830;
  --line: #e3e7ee;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(26, 24, 48, 0.05), 0 22px 48px rgba(26, 24, 48, 0.08);
  --motion: 240ms;
  --max: 72rem;
  --hero-h: 86vh;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  font-family: "IBM Plex Sans", "Source Sans 3", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a { color: var(--brand); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* —— Header —— */
.lp-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.lp-brand { display: inline-flex; text-decoration: none; }
.lp-brand-logo {
  height: 2.2rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}
.lp-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
}
.lp-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  transition: color var(--motion);
}
.lp-nav a:hover,
.lp-nav a.is-active { color: var(--ink); }
.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem !important;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 650;
}
.lp-nav-cta:hover { filter: brightness(1.04); color: var(--accent-ink) !important; }
.lp-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.lp-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* —— Buttons —— */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  min-height: 46px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: background var(--motion), color var(--motion), border-color var(--motion), transform var(--motion);
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.lp-btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.lp-btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.lp-btn-accent:hover { filter: brightness(1.05); color: var(--accent-ink); }
.lp-btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.lp-btn-ghost:hover { border-color: var(--ink); }
.lp-btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.lp-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

/* —— Full-bleed hero (first viewport = one composition) —— */
.lp-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #1a1830;
}
.lp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.lp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-hero-img.is-alive { transform: scale(1); }
.lp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 24, 48, 0.25) 0%, rgba(26, 24, 48, 0.55) 45%, rgba(26, 24, 48, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 24, 48, 0.55) 0%, transparent 55%);
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.75rem 3.75rem;
}
.lp-hero-mark {
  height: 2.75rem;
  width: auto;
  max-width: 14rem;
  margin: 0 0 1.35rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
  animation: lp-rise 700ms ease both;
}
.lp-hero .lp-h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  animation: lp-rise 760ms ease 60ms both;
}
.lp-hero .lp-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  font-size: 1.12rem;
  animation: lp-rise 760ms ease 110ms both;
}
.lp-hero .lp-cta {
  animation: lp-rise 760ms ease 160ms both;
}
.lp-h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 560;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lp-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 34rem;
}
.lp-cta {
  margin: 1.75rem 0 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.lp-section { padding: 0; }
.lp-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.75rem;
}
.lp-section-wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.lp-section-head h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
  font-weight: 560;
  letter-spacing: -0.015em;
}
.lp-section-head p { margin: 0; color: var(--ink-muted); }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Features with images */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.lp-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--motion), box-shadow var(--motion);
}
.lp-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26, 24, 48, 0.12);
}
.lp-feature-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--wash);
}
.lp-feature-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lp-feature:hover .lp-feature-media > img { transform: scale(1.04); }
.lp-feature-icon {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.lp-feature-icon img { width: 1.55rem; height: 1.55rem; }
.lp-feature h3 {
  margin: 1.1rem 1.2rem 0.4rem;
  font-size: 1.08rem;
}
.lp-feature p {
  margin: 0 1.2rem 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Steps */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.lp-steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.4rem;
  transition: border-color var(--motion), transform var(--motion);
}
.lp-steps li:hover {
  border-color: rgba(232, 154, 18, 0.55);
  transform: translateY(-2px);
}
.lp-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--wash);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}
.lp-step-icon img { width: 1.4rem; height: 1.4rem; }
.lp-steps strong { font-size: 1.05rem; }
.lp-steps span { color: var(--ink-muted); font-size: 0.94rem; }

/* CTA scene */
.lp-cta-scene {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.lp-cta-scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-cta-scene-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26, 24, 48, 0.9) 0%, rgba(26, 24, 48, 0.55) 55%, rgba(26, 24, 48, 0.35) 100%);
}
.lp-cta-scene-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.75rem;
}
.lp-cta-scene h2 {
  margin: 0 0 0.45rem;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 560;
}
.lp-cta-scene p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 32rem; }

/* —— Inner pages —— */
.lp-page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 3.5rem;
  min-height: 55vh;
}
.lp-page-wide { max-width: var(--max); }
.lp-page-hero { margin-bottom: 2rem; }
.lp-page-hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0 0 0.75rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}
.lp-narrow { max-width: 28rem; margin-left: auto; margin-right: auto; }

.lp-detail-block { margin: 2.75rem 0; }
.lp-detail-block > h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.55rem;
  margin: 0 0 0.65rem;
  font-weight: 560;
}
.lp-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.lp-detail-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lp-detail-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}
.lp-detail-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.lp-detail-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.lp-detail-card .lp-btn { margin-top: 0.85rem; }
.lp-detail-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.lp-detail-split-rev { direction: rtl; }
.lp-detail-split-rev > * { direction: ltr; }
.lp-detail-aside {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--wash);
}
.lp-detail-aside img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}
.lp-check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.lp-check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--ink-muted);
  font-size: 0.96rem;
}
.lp-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(26, 24, 48, 0.12);
}
.lp-compare {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.lp-compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.lp-compare-row:first-child { border-top: 0; }
.lp-compare-head {
  background: var(--wash);
  font-weight: 650;
  color: var(--ink);
}
.lp-compare-row span:first-child { color: var(--ink); font-weight: 500; }
.lp-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.lp-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
}
.lp-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--ink-muted);
  font-weight: 500;
}
.lp-faq-item[open] summary::after { content: "–"; }
.lp-faq-item p {
  margin: 0.65rem 0 0.15rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.lp-cta-band-plain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 40%, rgba(232, 154, 18, 0.08));
  box-shadow: var(--shadow);
}
.lp-cta-band-plain h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-family: "IBM Plex Serif", Georgia, serif;
}
.lp-cta-band-plain p { margin: 0; color: var(--ink-muted); }
.lp-form-wide { max-width: 32rem; }
.lp-signup { max-width: 36rem; margin-left: auto; margin-right: auto; }
.lp-form-signup { max-width: none; }
.lp-fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.lp-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .lp-form-row { grid-template-columns: 1fr; }
}
.lp-intro { max-width: 40rem; color: var(--ink-muted); }
.lp-muted { font-size: 0.9rem; color: var(--ink-muted); }
.lp-notice {
  background: rgba(91, 33, 182, 0.07);
  border: 1px solid rgba(91, 33, 182, 0.2);
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  color: var(--ink);
}
.lp-error { color: var(--danger); margin: 0.5rem 0; }

.lp-card {
  background: #fff;
  padding: 1.35rem;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.lp-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.1rem;
  margin-top: 0.5rem;
}
.lp-plan {
  display: flex;
  flex-direction: column;
  transition: transform var(--motion), border-color var(--motion);
}
.lp-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 154, 18, 0.45);
}
.lp-plan-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 32px rgba(232, 154, 18, 0.18);
}
.lp-plan h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.lp-plan-price { font-size: 1.4rem; margin: 0.25rem 0 0.75rem; }
.lp-plan-price span { font-size: 0.85rem; font-weight: 400; color: var(--ink-muted); }
.lp-plan-desc { font-size: 0.95rem; color: var(--ink-muted); flex: 1; }
.lp-plan-limits {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.lp-plan .lp-btn { margin-top: auto; }

.lp-form {
  max-width: 22rem;
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
.lp-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.lp-form input,
.lp-form textarea,
.lp-form select {
  padding: 0.65rem 0.75rem;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.lp-login-panel {
  max-width: 24rem;
  margin: 2rem auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.lp-login-panel .lp-form { max-width: none; }
.lp-login-links { margin: 0.85rem 0 0; font-size: 0.9rem; }

.lp-checklist {
  padding-left: 1.2rem;
  margin: 1.25rem 0 1.75rem;
}
.lp-checklist li { margin-bottom: 0.55rem; }

.lp-legal-nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.lp-legal-nav a {
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--ink-muted);
}
.lp-legal-nav a.is-active {
  border-color: var(--brand);
  background: rgba(91, 33, 182, 0.07);
  color: var(--ink);
}
.lp-legal-body {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 46rem;
}
.lp-legal-body p { margin-top: 0; }
.lp-legal-meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  max-width: 46rem;
  color: var(--ink-muted);
}

/* —— Footer —— */
.lp-foot {
  border-top: 1px solid var(--line);
  background: var(--wash);
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.lp-foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}
.lp-foot strong { display: block; color: var(--ink); margin-bottom: 0.45rem; }
.lp-foot a { color: var(--ink-muted); text-decoration: none; }
.lp-foot a:hover { color: var(--brand); }
.lp-foot-links { display: grid; gap: 0.4rem; }
.lp-foot-bottom {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0ms; }
  html { scroll-behavior: auto; }
  .lp-hero-mark,
  .lp-hero .lp-h1,
  .lp-hero .lp-lead,
  .lp-hero .lp-cta,
  .lp-hero-img,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 960px) {
  .lp-feature-grid,
  .lp-steps,
  .lp-detail-grid,
  .lp-detail-grid-2,
  .lp-detail-grid-3 { grid-template-columns: 1fr; }
  .lp-detail-split,
  .lp-detail-split-rev {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .lp-compare-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    font-size: 0.8rem;
  }
  .lp-foot-inner { grid-template-columns: 1fr; }
  .lp-hero { min-height: 78vh; }
}

@media (max-width: 767.98px) {
  .lp-nav-toggle { display: inline-flex; }
  .lp-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem 0 0.75rem;
  }
  .lp-nav.is-open { display: flex; }
  .lp-top { flex-wrap: wrap; }
  .lp-hero-inner { padding-top: 4rem; }
  .lp-hero .lp-h1 { font-size: 2.05rem; max-width: none; }
}
