/* login/landing.css — landing page core: tokens, nav, hero, apps, automation,
   custom-apps band. Pricing/FAQ/footer live in landingPricing.css; the auth
   modals in landingAuth.css. Brand accents mirror the app switcher's per-app
   palette so the marketing site and the product read as one design language. */

:root {
  --lp-ink: #0a2540;
  --lp-ink-soft: #33455e;
  --lp-muted: #5b6b83;
  --lp-faint: #8a97ab;
  --lp-bg: #ffffff;
  --lp-tint: #f6f8fc;
  --lp-line: #e6ebf3;
  --lp-blue: #1a73e8;
  --lp-orange: #b45309;
  --lp-purple: #6a1b9a;
  --lp-green: #188038;
  --lp-pink: #c2185b;
  --lp-teal: #0f766e;
  --lp-brown: #795548;
  --lp-indigo: #4f46e5;
  --lp-grad: linear-gradient(100deg, var(--lp-blue) 0%, var(--lp-purple) 52%, var(--lp-pink) 100%);
  --lp-radius: 18px;
  --lp-shadow: 0 18px 50px rgba(10, 37, 64, 0.10);
  --lp-max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--lp-ink);
  background: var(--lp-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
.material-symbols-outlined { font-variation-settings: "opsz" 24, "wght" 500; user-select: none; }

/* ---------------- Buttons ---------------- */
.lp-btn {
  display: inline-flex;   /* [hidden] guard below */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.lp-btn[hidden] { display: none; }
.lp-btn--big { padding: 14px 28px; font-size: 16px; }
.lp-btn--solid { background: var(--lp-ink); color: #fff; }
.lp-btn--solid:hover { background: var(--lp-blue); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(26, 115, 232, 0.35); }
.lp-btn--ghost { background: transparent; color: var(--lp-ink); }
.lp-btn--ghost:hover { color: var(--lp-blue); }
.lp-btn--outline { background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-line); }
.lp-btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--lp-blue); color: var(--lp-blue); }
.lp-btn__arrow { display: inline-block; transition: transform 0.16s ease; }
.lp-btn:hover .lp-btn__arrow { transform: translateX(3px); }

/* ---------------- Brand ---------------- */
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17.5px; text-decoration: none; letter-spacing: -0.01em; }
.lp-brand__dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--lp-grad);
  box-shadow: 0 4px 12px rgba(106, 27, 154, 0.35);
  display: inline-block;
}

/* ---------------- Nav ---------------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line); background: rgba(255, 255, 255, 0.9); }
.lp-nav__inner {
  max-width: var(--lp-max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.lp-nav__links { display: flex; gap: 24px; margin-left: 8px; }
.lp-nav__links a {
  font-size: 14px; font-weight: 600; color: var(--lp-ink-soft); text-decoration: none;
  transition: color 0.15s ease;
}
.lp-nav__links a:hover { color: var(--lp-blue); }
.lp-nav__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-nav__burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--lp-ink); padding: 6px; }
.lp-nav__burger[hidden] { display: none; }

/* ---------------- Hero ---------------- */
.lp-hero { position: relative; overflow: hidden; padding: 148px 24px 56px; }
.lp-hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.lp-aur { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: lpDrift 16s ease-in-out infinite alternate; }
.lp-aur--1 { width: 560px; height: 560px; left: -140px; top: -180px; background: radial-gradient(circle, #9ec3ff 0%, transparent 70%); }
.lp-aur--2 { width: 640px; height: 640px; right: -200px; top: -120px; background: radial-gradient(circle, #f3b6d2 0%, transparent 70%); animation-delay: -5s; }
.lp-aur--3 { width: 520px; height: 520px; left: 34%; top: 180px; background: radial-gradient(circle, #d9c2f0 0%, transparent 70%); animation-delay: -10s; opacity: 0.4; }
@keyframes lpDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 26px, 0) scale(1.08); }
}
.lp-hero__inner { position: relative; max-width: var(--lp-max); margin: 0 auto; text-align: center; }
.lp-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lp-purple);
  background: rgba(106, 27, 154, 0.08); border-radius: 999px; padding: 6px 16px; margin-bottom: 18px;
}
.lp-eyebrow--light { color: #e9b8ff; background: rgba(233, 184, 255, 0.12); }
.lp-hero__title {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.lp-grad {
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-hero__sub {
  max-width: 680px; margin: 0 auto 28px;
  font-size: clamp(15.5px, 1.6vw, 18px); color: var(--lp-muted); line-height: 1.65;
}
.lp-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }

/* ---------------- Hero product mock ---------------- */
.lp-mockwrap { position: relative; max-width: 860px; margin: 0 auto; }
.lp-mock {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 16px;
  box-shadow: 0 40px 90px rgba(10, 37, 64, 0.16);
  overflow: hidden; text-align: left;
}
.lp-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f9; border-bottom: 1px solid var(--lp-line); }
.lp-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #d4dce8; }
.lp-mock__url {
  margin-left: 12px; flex: 1; max-width: 300px; background: #fff; border-radius: 999px;
  font-size: 11px; color: var(--lp-faint); padding: 4px 14px; border: 1px solid var(--lp-line);
}
.lp-mock__top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--lp-line); }
.lp-mock__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--lp-grad); }
.lp-mock__tab {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--lp-muted);
  padding: 6px 12px; border-radius: 9px; background: #f6f8fc;
}
.lp-mock__tab .material-symbols-outlined { font-size: 15px; }
.lp-mock__tab--mail .material-symbols-outlined { color: var(--lp-blue); }
.lp-mock__tab--orders .material-symbols-outlined { color: var(--lp-orange); }
.lp-mock__tab--design .material-symbols-outlined { color: var(--lp-pink); }
.lp-mock__tab.is-on { background: #fdf3e7; color: var(--lp-orange); }
.lp-mock__search { flex: 1; height: 26px; border-radius: 999px; background: #f1f4f9; margin: 0 8px; }
.lp-mock__avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--lp-green); color: #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.lp-mock__body { display: flex; min-height: 210px; }
.lp-mock__side { width: 150px; border-right: 1px solid var(--lp-line); padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fbfcfe; }
.lp-mock__create { height: 30px; border-radius: 999px; background: #fdf3e7; border: 1px solid #f3ddc2; }
.lp-mock__folder { height: 12px; border-radius: 6px; background: #e9eef6; width: 84%; }
.lp-mock__folder--short { width: 58%; }
.lp-mock__folder.is-on { background: #f7dcbc; }
.lp-mock__list { flex: 1; padding: 8px 0; }
.lp-mock__row {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid #f1f4f9;
}
.lp-mock__row.is-lit { background: #f4f8ff; }
.lp-mock__flag { width: 12px; height: 12px; border-radius: 50%; background: var(--c, #ccc); flex: none; }
.lp-mock__l1 { width: 20%; height: 11px; border-radius: 6px; background: #dbe3ee; }
.lp-mock__l2 { flex: 1; height: 11px; border-radius: 6px; background: #edf1f7; }
.lp-mock__amt { font-size: 12px; font-weight: 800; color: var(--lp-ink-soft); }

.lp-float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--lp-line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.14);
  font-size: 12.5px; font-weight: 700; color: var(--lp-ink-soft);
  padding: 10px 14px;
  animation: lpFloat 5.5s ease-in-out infinite;
}
.lp-float .material-symbols-outlined { font-size: 18px; }
.lp-float--a { top: 16%; right: -30px; animation-delay: -1s; }
.lp-float--b { bottom: 24%; left: -46px; animation-delay: -2.6s; }
.lp-float--c { bottom: -18px; right: 10%; animation-delay: -4s; }
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.lp-strip {
  list-style: none; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px);
  flex-wrap: wrap; margin-top: 48px; padding: 0;
}
.lp-strip li { font-size: 13.5px; color: var(--lp-muted); font-weight: 600; }
.lp-strip strong { display: block; font-size: 26px; font-weight: 800; color: var(--lp-ink); letter-spacing: -0.02em; }

/* ---------------- Shared section chrome ---------------- */
.lp-sec { padding: 88px 24px; }
.lp-sec--tint { background: var(--lp-tint); }
.lp-sec__inner { max-width: var(--lp-max); margin: 0 auto; text-align: center; }
.lp-sec__inner--narrow { max-width: 780px; }
.lp-h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 16px; }
.lp-sub { max-width: 700px; margin: 0 auto 44px; font-size: 16px; color: var(--lp-muted); line-height: 1.65; }
.lp-sub--light { color: #b7c3d8; }

/* ---------------- Apps grid ---------------- */
.lp-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.lp-app {
  position: relative; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  padding: 26px 22px 24px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-app::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--ac); opacity: 0; transition: opacity 0.2s ease;
}
.lp-app:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); border-color: transparent; }
.lp-app:hover::before { opacity: 1; }
.lp-app__ico {
  overflow: hidden;
  font-size: 26px; color: var(--ac);
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ac) 10%, #fff);
  margin-bottom: 16px;
}
@supports not (background: color-mix(in srgb, red 10%, #fff)) {
  .lp-app__ico { background: var(--lp-tint); }
}
.lp-app h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.lp-app p { font-size: 13.5px; color: var(--lp-muted); line-height: 1.62; }

/* ---------------- Automation flow ---------------- */
.lp-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: left; counter-reset: step; }
.lp-flowstep {
  position: relative; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  padding: 22px 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-flowstep:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.lp-flowstep__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ac); color: #fff; font-size: 13.5px; font-weight: 800; margin-bottom: 12px;
}
.lp-flowstep h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 7px; }
.lp-flowstep p { font-size: 12.8px; color: var(--lp-muted); line-height: 1.6; }

.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; padding: 0; }
.lp-chips li {
  font-size: 13px; font-weight: 700; color: var(--lp-ink-soft);
  background: #fff; border: 1px solid var(--lp-line); border-radius: 999px; padding: 8px 16px;
}

/* ---------------- Custom apps (dark band) ---------------- */
.lp-sec--dark {
  background:
    radial-gradient(700px 420px at 18% 0%, rgba(26, 115, 232, 0.22), transparent 60%),
    radial-gradient(700px 460px at 88% 100%, rgba(194, 24, 91, 0.20), transparent 60%),
    #0a1930;
  color: #fff;
}
.lp-sec--dark .lp-h2 { color: #fff; }
.lp-custom { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; text-align: left; margin-top: 8px; }

.lp-custom__demo { min-width: 0; }
.lp-inspect {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--lp-radius);
  padding: 26px;
  backdrop-filter: blur(4px);
}
.lp-inspect__row { position: relative; height: 62px; margin-bottom: 18px; }
.lp-inspect__target {
  position: absolute; inset: 0; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  outline: 2px dashed #7ab5ff; outline-offset: 3px;
  animation: lpPulse 2.4s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { outline-color: #7ab5ff; }
  50% { outline-color: #f18ab5; }
}
.lp-inspect__cursor {
  position: absolute; right: 16%; bottom: -8px; font-size: 26px; color: #fff;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
  animation: lpFloat 4s ease-in-out infinite;
}
.lp-inspect__pop { display: flex; flex-direction: column; gap: 10px; }
.lp-inspect__q { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa7c8; }
.lp-inspect__a {
  font-size: 15px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 13px 16px;
}
.lp-inspect__done { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #7ee2a8; }
.lp-inspect__done .material-symbols-outlined { font-size: 19px; }

.lp-custom__points { display: flex; flex-direction: column; gap: 26px; }
.lp-cpoint { display: flex; gap: 16px; }
.lp-cpoint > .material-symbols-outlined {
  overflow: hidden;
  flex: none; font-size: 22px; color: #fff;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lp-grad);
}
.lp-cpoint h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.lp-cpoint p { font-size: 14px; color: #b7c3d8; line-height: 1.65; }
.lp-custom__note { font-size: 12.5px; font-weight: 700; color: #8fa7c8; }

/* ---------------- Final CTA ---------------- */
.lp-cta { padding: 96px 24px; text-align: center; background:
  radial-gradient(640px 320px at 50% 0%, rgba(106, 27, 154, 0.07), transparent 70%), #fff; }
.lp-cta__inner .lp-sub { margin-bottom: 30px; }

/* ---------------- Reveal-on-scroll ---------------- */
.rev { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rev.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; transition: none; }
  .lp-aur, .lp-float, .lp-inspect__target, .lp-inspect__cursor { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .lp-apps { grid-template-columns: repeat(2, 1fr); }
  .lp-flow { grid-template-columns: repeat(3, 1fr); }
  .lp-custom { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .lp-nav__links, .lp-nav__cta { display: none; }
  .lp-nav__burger { display: block; }
  .lp-nav.is-open .lp-nav__links,
  .lp-nav.is-open .lp-nav__cta {
    display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    position: absolute; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--lp-line); padding: 16px 24px;
  }
  .lp-nav.is-open .lp-nav__links { top: 100%; }
  .lp-nav.is-open .lp-nav__cta { top: calc(100% + 178px); padding-top: 0; }
  .lp-nav.is-open .lp-nav__links a { padding: 8px 0; font-size: 15px; }
  .lp-hero { padding-top: 120px; }
  .lp-float--a { right: -6px; }
  .lp-float--b { left: -8px; }
}
@media (max-width: 640px) {
  .lp-flow { grid-template-columns: 1fr; }
  .lp-apps { grid-template-columns: 1fr; }
  .lp-mock__side { display: none; }
  .lp-float { display: none; }
  .lp-sec { padding: 64px 20px; }
}
