/* Landing page styles — scoped under .landing-page to prevent bleed into MudBlazor app views */

:root {
  --bg: #ececee;
  --panel: #f7f7f8;
  --ink: #1b1b1f;
  --gray: #9a9aa2;
  --gray-light: #c9c9cf;
  --accent: #ff4b2b;
  --accent-soft: #ff7a5c;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 40px rgba(27,27,31,.08), 0 2px 6px rgba(27,27,31,.05);
  --shadow-deep: 0 30px 60px rgba(27,27,31,.16);
}

html { scroll-behavior: smooth }

.landing-page,
.landing-page * { margin: 0; padding: 0; box-sizing: border-box }

.landing-page {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}

.landing-page a { text-decoration: none; color: inherit }
.landing-page img { max-width: 100% }

/* ───────── shell ───────── */
.shell { max-width: 1490px; margin: 0 auto; padding: 12px }

/* ───────── nav ───────── */
.nav-wrap {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: min(760px, 94vw)
}
.nav-auth { display: flex; align-items: center; gap: 8px }
.btn-login { background: transparent; color: #54545c; padding: 12px 16px; font-size: 13.5px }
.btn-login:hover { color: var(--ink) }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 14px 34px rgba(27,27,31,.14)
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%; background: #16161a;
  position: relative; flex: none
}
.logo-mark::after {
  content: ''; position: absolute; inset: 6px 6px 6px 13px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft))
}
.nav-links { display: flex; gap: 20px; font-size: 13.5px; color: #54545c }
.nav-links a.active {
  color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px
}
.nav-links a:hover { color: var(--ink) }
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: .25s
}
.btn-dark {
  background: #16161a; color: #fff; padding: 12px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 22px rgba(22,22,26,.35)
}
.btn-dark:hover { transform: translateY(-2px) }
/* higher specificity than .landing-page a { color: inherit } (0,1,1) */
.landing-page .btn-dark { color: #fff }
.btn-ghost {
  background: #fff; color: #4a4a52; padding: 12px 24px; box-shadow: var(--shadow-card)
}
.btn-ghost:hover { transform: translateY(-2px) }
.btn-gray { background: #8d8d95; color: #fff; padding: 12px 24px }
.btn-accent {
  background: linear-gradient(135deg, #2a2a2e, #101013); color: #fff; padding: 14px 30px
}

/* ───────── hero ───────── */
.hero {
  position: relative; border-radius: var(--radius-xl); min-height: 92vh;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(255,75,43,.55), transparent 60%),
    radial-gradient(700px 600px at 95% 70%, rgba(20,20,24,.85), transparent 62%),
    radial-gradient(800px 500px at 10% 80%, rgba(150,150,160,.35), transparent 60%),
    linear-gradient(135deg, #f4f4f6 0%, #e6e6ea 45%, #dcdce2 100%);
  display: flex; align-items: center; justify-content: center
}
.hero::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(2px) }
.hero-inner { position: relative; text-align: center; padding: 120px 24px 90px; max-width: 980px }
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border-radius: 999px; padding: 8px 18px; font-size: 12.5px; color: var(--accent);
  box-shadow: var(--shadow-card)
}
.pill-tag::before { content: '✦'; font-size: 11px }
.landing-page h1 {
  font-size: clamp(44px, 7vw, 92px); font-weight: 500; line-height: 1.06;
  color: #6d6d75; margin: 26px 0 8px; letter-spacing: -1px;
  border: none; outline: none
}
.hero-sub { color: #8a8a92; font-size: 15px; max-width: 520px; margin: 18px auto 30px; line-height: 1.75 }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }
.lang-note { margin-top: 26px; font-size: 13px; color: #8a8a92 }
.lang-note b { color: #6d6d75; font-weight: 500 }
.scroll-pill {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  background: var(--bg); border-radius: 26px 26px 0 0;
  padding: 16px 44px 18px; font-size: 13.5px; color: #54545c;
  display: flex; gap: 10px; align-items: center
}
.scroll-pill span { color: var(--accent); animation: bob 1.6s infinite }
@keyframes bob { 50% { transform: translateY(4px) } }

/* ───────── hero try-on widget ───────── */
.landing-page .tryon {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-deep);
  padding: 28px; text-align: left; max-width: 520px; margin: 0 auto; position: relative
}
.landing-page .tryon h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--ink) }
.landing-page .tryon .lead { font-size: 12.5px; color: #8a8a92; margin-bottom: 18px }
.landing-page .tryon .free-badge {
  position: absolute; top: -13px; left: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; font-size: 11.5px; font-weight: 500; padding: 6px 15px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255,75,43,.4)
}
.landing-page .tryon .replay {
  position: absolute; top: 18px; right: 20px; font-size: 11.5px; color: var(--accent);
  cursor: pointer; background: none; border: none; font-family: inherit
}
.landing-page .tryon .tryon-error { font-size: 12px; color: #c23b22; margin-top: 10px; line-height: 1.5 }

/* idle dropzone */
.landing-page .tryon .drop {
  border: 2px dashed #d6d6dc; border-radius: 18px; padding: 34px 20px;
  text-align: center; cursor: pointer; transition: .2s
}
.landing-page .tryon .drop:hover,
.landing-page .tryon .drop.dragover { border-color: var(--accent-soft); background: #fff8f6 }
.landing-page .tryon .drop .ic { font-size: 34px }
.landing-page .tryon .drop .big { font-size: 14.5px; font-weight: 500; margin-top: 8px; color: #54545c }
.landing-page .tryon .drop .sm { font-size: 12px; color: #9a9aa2; margin-top: 4px }
.landing-page .tryon .lang-row { display: flex; gap: 10px; margin-top: 16px }
.landing-page .tryon .sel { flex: 1; position: relative }
.landing-page .tryon .sel select {
  appearance: none; -webkit-appearance: none; width: 100%; background: var(--panel);
  border: none; border-radius: 12px; padding: 12px 34px 12px 14px; font-family: inherit;
  font-size: 13px; color: #54545c; outline: none; cursor: pointer
}
.landing-page .tryon .sel::after {
  content: '▾'; position: absolute; right: 14px; top: 12px; color: #9a9aa2; font-size: 11px; pointer-events: none
}

/* processing */
.landing-page .tryon .fname {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: #54545c; margin-bottom: 18px
}
.landing-page .tryon .fname .thumb {
  width: 46px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #cfd0d6, #a9aab2);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; flex: none
}
.landing-page .tryon .bar {
  height: 8px; border-radius: 999px; background: #eceef0; overflow: hidden; margin: 4px 0 16px
}
.landing-page .tryon .bar > i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transition: width .5s
}
.landing-page .tryon .stages { display: flex; flex-direction: column; gap: 9px }
.landing-page .tryon .st { display: flex; align-items: center; gap: 11px; font-size: 13px; color: #b6b6be }
.landing-page .tryon .st .dot {
  width: 18px; height: 18px; border-radius: 50%; background: #eceef0;
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; flex: none
}
.landing-page .tryon .st.done { color: #54545c }
.landing-page .tryon .st.done .dot { background: #2c7a4b }
.landing-page .tryon .st.run { color: var(--accent); font-weight: 500 }
.landing-page .tryon .st.run .dot { background: var(--accent); animation: tryon-pulse 1s infinite }
@keyframes tryon-pulse { 50% { opacity: .4 } }

/* ready / preview / gate */
.landing-page .tryon .preview {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; margin-bottom: 16px;
  background: linear-gradient(135deg, #2a2a30, #141417); display: flex; align-items: center; justify-content: center
}
.landing-page .tryon .preview video { width: 100%; height: 100%; object-fit: contain; background: #000 }
.landing-page .tryon .preview .tag {
  position: absolute; top: 10px; left: 10px; background: rgba(44,122,75,.95); color: #fff;
  font-size: 11px; padding: 4px 10px; border-radius: 8px
}
.landing-page .tryon .gate { background: var(--panel); border-radius: 16px; padding: 18px; text-align: center }
.landing-page .tryon .gate .lock { font-size: 13px; color: #54545c; font-weight: 500 }
.landing-page .tryon .gate .why { font-size: 11.5px; color: #9a9aa2; margin: 5px 0 14px }
.landing-page .tryon #tryon-gbtn { display: flex; justify-content: center }

/* download / upsell */
.landing-page .tryon .note { font-size: 11.5px; color: #9a9aa2; text-align: center; margin-top: 14px; line-height: 1.6 }
.landing-page .tryon .note b { color: #6d6d75; font-weight: 500 }
.landing-page .tryon .btn-block {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-align: center
}
.landing-page .tryon .btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: #fff;
  padding: 15px 30px; box-shadow: 0 14px 28px rgba(255,75,43,.4)
}
.landing-page .tryon .btn-accent:hover { transform: translateY(-2px) }

/* ───────── section scaffolding ───────── */
.landing-page section { padding: 90px 0 }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px }
.sec-head { margin-bottom: 54px }
.sec-head.center { text-align: center }
.landing-page h2 {
  font-size: clamp(34px, 4.6vw, 58px); font-weight: 400; color: #9a9aa2;
  line-height: 1.12; letter-spacing: -.5px
}
.landing-page h2 b { font-weight: 500; color: #7c7c84 }
.sec-sub { color: #8a8a92; font-size: 14.5px; max-width: 460px; line-height: 1.8; margin-top: 18px }

/* ───────── trustbar ───────── */
.trustbar { display: flex; align-items: center; gap: 50px; padding: 34px 0 10px; overflow: hidden }
.trustbar .lbl { flex: none; font-size: 13px; color: #6d6d75; line-height: 1.5 }
.marquee { display: flex; gap: 64px; animation: slide 26s linear infinite; white-space: nowrap }
@keyframes slide { to { transform: translateX(-50%) } }
.marquee span { font-size: 20px; font-weight: 600; color: #b9b9c0; letter-spacing: .5px; font-style: italic }

/* ───────── pipeline ───────── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start }
.stage-stack { display: flex; flex-direction: column; gap: 16px }

/* pipeline product-screenshot slider */
.pipe-slider { margin-top: 34px; max-width: 540px }
.pipe-slides {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card); background: var(--panel)
}
.pipe-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; pointer-events: none
}
.pipe-slide.active { opacity: 1 }
.pipe-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px }
.pipe-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: var(--gray-light); cursor: pointer; transition: .25s
}
.pipe-dot:hover { background: var(--accent-soft) }
.pipe-dot.active { width: 24px; background: var(--accent) }
@media (prefers-reduced-motion: reduce) { .pipe-slide { transition: none } }
.stage {
  border-radius: var(--radius-lg); padding: 34px 36px; background: #fff;
  box-shadow: var(--shadow-card); color: #9a9aa2; transition: .3s; position: relative
}
.stage .num { position: absolute; top: 26px; right: 30px; font-size: 13px; color: inherit; opacity: .7 }
.stage h3 { font-size: 26px; font-weight: 500; color: #7c7c84 }
.stage p { font-size: 13.5px; line-height: 1.7; margin-top: 10px; display: none }
.stage .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; display: none }
.stage .tags span {
  background: rgba(255,255,255,.12); border-radius: 999px; padding: 8px 16px; font-size: 12px
}
.stage.active {
  background: linear-gradient(150deg, #3a3a40, #1d1d22);
  color: #cfcfd6; box-shadow: var(--shadow-deep)
}
.stage.active h3 { color: #fff; font-size: 30px }
.stage.active p, .stage.active .tags { display: flex }
.stage.active p { display: block; color: #a9a9b2 }

/* ───────── feature cards ───────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px }
.card {
  background: var(--panel); border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow-card)
}
.card h4 { font-size: 19px; font-weight: 600; margin-bottom: 10px }
.card p { font-size: 13.5px; color: #8a8a92; line-height: 1.75 }
.card .art {
  height: 150px; border-radius: 18px; margin-bottom: 26px;
  background:
    radial-gradient(300px 120px at 70% 20%, rgba(255,75,43,.18), transparent 70%),
    linear-gradient(135deg, #fdfdfe, #ebebef);
  display: flex; align-items: center; justify-content: center; font-size: 44px
}
.icon-tile {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 24px;
  box-shadow: 0 14px 26px rgba(255,75,43,.35)
}

/* ───────── dark band ───────── */
.dark-band {
  border-radius: var(--radius-xl);
  background: radial-gradient(900px 500px at 50% -10%, #3a3a42, #131316 60%);
  color: #e8e8ec; padding: 90px 0; overflow: hidden
}
.dark-band h2 { color: #85858d }
.dark-band h2 b { color: #d8d8de }
.dark-band .card { background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.06) }
.dark-band .card h4 { color: #fff }
.dark-band .card p { color: #9a9aa2 }

/* ───────── pricing ───────── */
.price-card { position: relative; display: flex; flex-direction: column }
.price-card .plan { font-size: 13px; color: var(--accent); font-weight: 500 }
.price-card .amount { font-size: 46px; font-weight: 600; margin: 14px 0 2px }
.price-card .amount small { font-size: 14px; color: #9a9aa2; font-weight: 400 }
.price-card ul { list-style: none; margin: 26px 0 34px; flex: 1 }
.price-card li { font-size: 13.5px; color: #6d6d75; padding: 9px 0; border-bottom: 1px dashed #e1e1e6 }
.price-card li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 600 }
.price-card.featured {
  background: linear-gradient(150deg, #2c2c32, #141417); color: #fff; box-shadow: var(--shadow-deep)
}
.price-card.featured li { color: #b9b9c0; border-color: #33333a }
.price-card.featured .badge {
  position: absolute; top: 26px; right: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; border-radius: 999px; font-size: 11px; padding: 6px 14px
}

/* ───────── CTA / contact ───────── */
.cta-panel {
  border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(620px 420px at 86% 80%, rgba(255,75,43,.9), transparent 65%),
    radial-gradient(700px 500px at 110% 10%, rgba(255,122,92,.55), transparent 60%),
    linear-gradient(120deg, #c9ccd4 0%, #9fa3ad 38%, #3c3c44 70%, #191920 100%)
}
.cta-left { padding: 74px 60px; color: #fff }
.cta-left h2 { color: #e6e6ea }
.cta-left h2 b { color: #fff }
.contact-line { display: flex; gap: 16px; align-items: center; margin-top: 34px }
.contact-line .ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.92); color: #1b1b1f;
  display: flex; align-items: center; justify-content: center; font-size: 18px
}
.contact-line small { display: block; font-size: 12px; opacity: .75 }
.contact-line span { font-size: 14px }
.cta-form {
  margin: 34px; background: rgba(255,255,255,.2); backdrop-filter: blur(14px);
  border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px;
  border: 1px solid rgba(255,255,255,.35)
}
.cta-form label { font-size: 12.5px; color: #fff; font-weight: 500 }
.cta-form input, .cta-form textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding: 10px 2px; color: #fff; font-family: inherit; font-size: 14px; outline: none
}
.cta-form ::placeholder { color: rgba(255,255,255,.65) }
.cta-form textarea { min-height: 80px; resize: vertical }
.cta-form .btn-dark { display: block; text-align: center; margin-top: 6px }

/* ───────── footer ───────── */
.landing-page footer {
  position: relative; padding: 110px 28px 36px; text-align: center; overflow: hidden
}
.watermark {
  position: absolute; inset: auto 0 -60px;
  font-size: clamp(120px, 24vw, 340px); font-weight: 600;
  color: rgba(27,27,31,.045); line-height: 1;
  pointer-events: none; user-select: none
}
.foot-logo {
  width: 58px; height: 58px; border-radius: 18px; background: #16161a;
  margin: 0 auto 22px; position: relative; box-shadow: var(--shadow-deep)
}
.foot-logo::after {
  content: ''; position: absolute; inset: 14px 14px 14px 28px;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft))
}
.landing-page footer h5 { font-size: 20px; font-weight: 600 }
.landing-page footer .mut { color: #8a8a92; font-size: 13px; margin: 8px 0 30px }
.socials { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap }
.socials a {
  background: #fff; border-radius: 999px; padding: 14px 26px;
  font-size: 14px; box-shadow: var(--shadow-card); display: flex; gap: 10px; align-items: center
}
.socials a:hover { transform: translateY(-2px) }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1240px; margin: 80px auto 0;
  font-size: 13px; color: #8a8a92; flex-wrap: wrap; gap: 14px
}
.foot-bottom nav { display: flex; gap: 22px }
.foot-bottom nav a { text-decoration: underline; text-underline-offset: 4px }

/* ───────── reveal ───────── */
.reveal { opacity: 0; transform: translateY(34px); transition: .7s cubic-bezier(.2,.7,.3,1) }
.reveal.in { opacity: 1; transform: none }

@media (max-width: 960px) {
  .split, .grid-2, .grid-3, .cta-panel { grid-template-columns: 1fr }
  .nav-links { display: none }
  .trustbar { flex-direction: column; align-items: flex-start; gap: 18px }
}

/* ───────── definition intro ───────── */
.page-intro {
  max-width: 720px; margin: 0 auto;
  font-size: 16px; line-height: 1.85; color: #54545c;
  text-align: center; padding: 40px 28px 20px
}

/* ───────── FAQ ───────── */
.faq-list { display: flex; flex-direction: column; gap: 10px }
.faq-item {
  background: #fff; border-radius: 20px; padding: 32px 40px;
  box-shadow: var(--shadow-card)
}
.faq-q {
  font-size: 16px; font-weight: 600; color: #3a3a42; margin-bottom: 10px
}
.faq-a {
  font-size: 14px; color: #6d6d75; line-height: 1.85; margin: 0
}
@media (max-width: 700px) {
  .faq-item { padding: 24px 24px }
}

/* ───────── legal pages (/terms, /privacy, /refunds) ───────── */
.legal-wrap {
  max-width: 840px; margin: 0 auto; padding: 140px 24px 48px
}
.legal-page-head {
  text-align: center; margin-bottom: 36px
}
.legal-h1 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 500; color: #54545c;
  margin: 22px 0 12px; letter-spacing: -.5px; border: none; outline: none
}
.legal-meta { font-size: 13px; color: #9a9aa2; margin-top: 2px }
.legal-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 56px 72px; box-shadow: var(--shadow-deep)
}
.legal-list {
  counter-reset: li; list-style: none; padding: 0; margin: 0
}
.legal-list > li {
  counter-increment: li; position: relative;
  padding: 22px 0 22px 56px;
  border-bottom: 1px solid #f0f0f4;
  font-size: 14px; line-height: 1.84; color: #54545c
}
.legal-list > li:last-child { border-bottom: none; padding-bottom: 4px }
.legal-list > li::before {
  content: counter(li) ".";
  position: absolute; left: 0; top: 23px;
  font-size: 12px; font-weight: 600; color: #c0c0c8;
  width: 42px; text-align: right; padding-right: 8px
}
.legal-list b { color: #3a3a42; font-weight: 600 }
.legal-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px }
.legal-footer-bar {
  max-width: 840px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  padding: 22px 24px 52px;
  font-size: 12.5px; color: #9a9aa2
}
.legal-footer-bar a { color: #8a8a92 }
.legal-footer-bar a:hover { color: var(--ink) }
.legal-footer-bar nav { display: flex; gap: 22px }
@media (max-width: 700px) {
  .legal-card { padding: 36px 24px }
  .legal-list > li { padding-left: 36px }
  .legal-list > li::before { width: 28px; padding-right: 6px; top: 22px }
  .legal-footer-bar { justify-content: center; text-align: center }
}
