/* The front page (Views/Home/Landing.cshtml, docs/LANDING-PAGE.md): brand navy and blue, Manrope headings, IBM Plex text,
   the real screens in browser and phone frames. Mobile first; one column under 992px. */
:root {
  --lp-navy: #0b1f3a;
  --lp-navy-2: #0e2645;
  --lp-blue: #1a76d1;
  --lp-blue-2: #3d9bff;
  --lp-ink: #172033;
  --lp-ink-2: #475569;
  --lp-line: #e3e8ef;
  --lp-soft: #f4f7fb;
  --lp-green: #13693a;
  --lp-radius: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.lp {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--lp-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.lp h1, .lp h2, .lp h3 { font-family: "Manrope", "IBM Plex Sans", sans-serif; letter-spacing: -0.02em; color: var(--lp-navy); }
.lp-wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.lp-skip { position: absolute; left: 16px; top: 8px; z-index: 3000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---- buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 3px solid var(--lp-blue-2); outline-offset: 2px; }
.lp-btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.lp-btn-primary { background: linear-gradient(135deg, #2a86e0, var(--lp-blue)); color: #fff; box-shadow: 0 10px 24px -12px rgba(26,118,209,.8); }
.lp-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(26,118,209,.9); }
.lp-btn-light { background: #fff; color: var(--lp-navy); border-color: var(--lp-line); }
.lp-btn-light:hover { color: var(--lp-navy); border-color: #c9d3e0; }
.lp-btn-ghost { background: transparent; color: var(--lp-navy); border-color: var(--lp-line); }
.lp-btn-ghost:hover { color: var(--lp-navy); background: var(--lp-soft); }
.lp-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.lp-btn-outline:hover { color: #fff; background: rgba(255,255,255,.1); }
.lp-link { color: #cfe3ff; text-decoration: none; font-weight: 600; }
.lp-link:hover { color: #fff; text-decoration: underline; }

/* ---- header */
.lp-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-header.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 8px 24px -18px rgba(11,31,58,.5); }
.lp-header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.lp-brand img { height: 34px; width: auto; display: block; }
.lp-brand-erp { font-family: Manrope, sans-serif; font-weight: 800; font-size: 14px; color: #fff; background: var(--lp-navy); padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }
.lp-nav { display: none; gap: 22px; margin-left: 12px; }
.lp-nav a { color: var(--lp-ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.lp-nav a:hover { color: var(--lp-blue); }
.lp-header-actions { margin-left: auto; display: flex; gap: 10px; }
@media (min-width: 992px) { .lp-nav { display: flex; } }

/* ---- hero */
.lp-hero {
  position: relative; overflow: hidden; padding: 64px 0 80px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(61,155,255,.18) 0%, rgba(61,155,255,0) 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(26,118,209,.12) 0%, rgba(26,118,209,0) 70%),
    linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}
.lp-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .lp-hero-grid { grid-template-columns: 1fr 1.15fr; } }
.lp-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: var(--lp-blue); background: #e8f2fe; padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
.lp-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; margin: 0 0 20px; }
.lp-hero h1 span { background: linear-gradient(90deg, var(--lp-blue), #6a5cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--lp-ink-2); margin: 0 0 28px; max-width: 580px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.lp-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--lp-ink-2); font-size: 14px; }
.lp-proof i { color: var(--lp-green); margin-right: 6px; }

.lp-hero-art { position: relative; padding: 0 0 40px; }
.lp-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -40px rgba(11,31,58,.55), 0 0 0 1px rgba(11,31,58,.08); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.lp-browser-bar { height: 30px; background: #e9eef5; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lp-browser-bar i:nth-child(2) { background: #febc2e; }
.lp-browser-bar i:nth-child(3) { background: #28c840; }
.lp-browser img, .lp-shot img { display: block; width: 100%; height: auto; }

.lp-phone { width: 190px; border-radius: 30px; padding: 9px; background: #0b1220; box-shadow: 0 30px 60px -24px rgba(11,31,58,.7), inset 0 0 0 2px #2c3646; }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.lp-hero-phone { position: absolute; right: -10px; bottom: 0; width: 170px; }
@media (max-width: 575.98px) { .lp-hero-phone { width: 120px; right: 0; } }

.lp-float { position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 18px 40px -18px rgba(11,31,58,.55); font-size: 14px; color: var(--lp-ink-2); display: flex; gap: 8px; align-items: center; }
.lp-float b { font-family: Manrope, sans-serif; font-size: 20px; color: var(--lp-navy); }
.lp-float-a { left: -14px; top: 18%; flex-direction: column; align-items: flex-start; gap: 0; }
.lp-float-b { left: 18%; bottom: 6px; color: var(--lp-green); font-weight: 600; }
.lp-float-b i { font-size: 18px; }
@media (max-width: 575.98px) { .lp-float { display: none; } }

/* ---- strip */
.lp-strip { background: var(--lp-navy); color: #cbd6e4; }
.lp-strip-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 26px 0; text-align: center; }
@media (min-width: 768px) { .lp-strip-row { grid-template-columns: repeat(4, 1fr); } }
.lp-strip b { display: block; font-family: Manrope, sans-serif; font-size: 26px; color: #fff; }
.lp-strip span { font-size: 14px; }

/* ---- sections */
.lp-section { padding: 88px 0; }
.lp-kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 13px; color: var(--lp-blue); margin: 0 0 10px; }
.lp-section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 0 0 14px; line-height: 1.12; }
.lp-sub { font-size: 18px; color: var(--lp-ink-2); max-width: 720px; margin: 0 0 40px; line-height: 1.6; }

.lp-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } .lp-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.lp-card { border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(11,31,58,.45); border-color: #cfe0f5; }
.lp-card > i { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; font-size: 22px; color: var(--lp-blue); background: #e8f2fe; margin-bottom: 14px; }
.lp-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.lp-card p { margin: 0; color: var(--lp-ink-2); line-height: 1.6; font-size: 15px; }

.lp-tour { background: var(--lp-soft); }
.lp-row { display: grid; gap: 36px; align-items: center; margin-bottom: 72px; }
.lp-row:last-child { margin-bottom: 0; }
@media (min-width: 992px) { .lp-row { grid-template-columns: .85fr 1.15fr; gap: 56px; } .lp-row-flip .lp-row-copy { order: 2; } }
.lp-row-copy h3 { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.lp-row-copy p { color: var(--lp-ink-2); font-size: 17px; line-height: 1.65; }
.lp-row-copy ul { padding: 0; list-style: none; margin: 18px 0 0; }
.lp-row-copy li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--lp-ink); }
.lp-row-copy li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #dff3e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2313693a' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lp-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -36px rgba(11,31,58,.5), 0 0 0 1px rgba(11,31,58,.06); }

.lp-dark { background: linear-gradient(160deg, var(--lp-navy-2), #071629); color: #cbd6e4; }
.lp-dark h2 { color: #fff; }
.lp-dark .lp-sub { color: #b6c0cf; }
.lp-dark .lp-kicker { color: #7cc0ff; }
.lp-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .lp-split { grid-template-columns: 1fr 1fr; } .lp-split-flip > :first-child { order: 0; } }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.lp-ticks li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 16px; }
.lp-ticks i { color: #34c26a; font-size: 18px; }
.lp-dark .lp-ticks li { color: #e6ebf2; }
.lp-phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.lp-phones .lp-phone { width: 220px; }
.lp-phones .lp-phone-back { margin-left: -50px; transform: translateY(-36px) rotate(6deg); opacity: .92; }
@media (max-width: 575.98px) { .lp-phones .lp-phone { width: 160px; } }

.lp-remote-art { border-radius: 16px; overflow: hidden; background: #e9eef5; box-shadow: 0 30px 70px -36px rgba(11,31,58,.5); }
.lp-remote-tabs { display: flex; gap: 6px; padding: 10px 12px 0; }
.lp-remote-tabs span { font-size: 13px; padding: 7px 12px; border-radius: 8px 8px 0 0; background: #dde4ee; color: #475569; }
.lp-remote-tabs span.on { background: #fff; color: var(--lp-navy); font-weight: 600; }
.lp-remote-screen { position: relative; height: 320px; background: linear-gradient(135deg, #2d6cdf, #7a4fd6); }
.lp-remote-badge { position: absolute; right: 14px; top: 14px; background: rgba(220,38,38,.9); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.lp-cur { position: absolute; font-size: 26px; color: #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); transform: rotate(-12deg); }
.lp-cur-a { left: 30%; top: 40%; animation: lp-drift 6s ease-in-out infinite; }
.lp-cur-b { left: 62%; top: 60%; animation: lp-drift 7s ease-in-out infinite reverse; color: #ffd1e3; }
@keyframes lp-drift { 0%, 100% { transform: translate(0, 0) rotate(-12deg); } 50% { transform: translate(40px, -24px) rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) { .lp-cur { animation: none; } }

.lp-soft { background: var(--lp-soft); }
.lp-mini { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px; }
.lp-mini i { font-size: 26px; color: var(--lp-blue); }
.lp-mini h3 { font-size: 17px; margin: 12px 0 6px; font-weight: 700; }
.lp-mini p { margin: 0; color: var(--lp-ink-2); font-size: 15px; line-height: 1.55; }

.lp-faq { max-width: 860px; }
.lp-q { border: 1px solid var(--lp-line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.lp-q summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--lp-navy); }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lp-blue); }
.lp-q[open] summary::after { content: "–"; }
.lp-q p { padding: 0 22px 18px; margin: 0; color: var(--lp-ink-2); line-height: 1.65; }

.lp-cta-band { background: radial-gradient(60% 120% at 100% 0%, #2a86e0 0%, rgba(42,134,224,0) 60%), linear-gradient(135deg, #0e2645, #0b1f3a); color: #cbd6e4; }
.lp-cta-band h2 { color: #fff; }
.lp-cta-band p { font-size: 18px; line-height: 1.6; }
.lp-cta-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .lp-cta-grid { grid-template-columns: 1.2fr 1fr; } }
.lp-contact { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

.lp-footer { background: #071629; color: #8ea3bf; padding: 40px 0; font-size: 14px; }
.lp-footer-row { display: grid; gap: 20px; }
@media (min-width: 768px) { .lp-footer-row { grid-template-columns: 1.3fr 1.7fr 1fr; align-items: center; } }
.lp-footer-logo { background: #fff; border-radius: 8px; padding: 6px 10px; height: auto; box-sizing: content-box; }
.lp-footer p { margin: 10px 0 0; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.lp-footer a { color: #cbd6e4; text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-copy { margin: 0; text-align: left; }
@media (min-width: 768px) { .lp-copy { text-align: right; } }

/* ---- reveal on scroll (landing.js); nothing hidden without the script or for less motion */
.lp-js .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; } }
