/* Amogh ERP — public landing page (home.html) and the shared top bar of the products hub (hub.html). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing, body.hub-page { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--hub-ink); background: #fff; line-height: 1.55; }
a { color: inherit; }

/* ---- top bar ---- */
.lp-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 32px; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hub-line); position: sticky; top: 0; z-index: 20; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; line-height: 1.15; }
.lp-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #6f72d6, #363990); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.lp-tagline { display: block; font-size: 11.5px; font-weight: 400; color: var(--hub-muted); }
.lp-nav { display: flex; align-items: center; gap: 30px; }
.lp-nav a { text-decoration: none; color: #4b5263; font-size: 15px; font-weight: 500; }
.lp-nav a:hover { color: var(--hub-primary); }
.lp-cta { display: flex; gap: 10px; align-items: center; }
.lp-btn { display: inline-block; border: 1px solid #d6d8ef; color: var(--hub-primary); background: #fff; padding: 9px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.lp-btn:hover { box-shadow: 0 6px 16px rgba(74, 77, 188, 0.16); transform: translateY(-1px); }
.lp-btn-solid { background: var(--hub-primary); border-color: var(--hub-primary); color: #fff; }
.lp-btn-solid:hover { background: var(--hub-primary-dark); }
.lp-btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 12px; }
.lp-btn-white { background: #fff; border-color: #fff; color: var(--hub-primary-dark); }

/* ---- hero ---- */
.lp-hero { position: relative; overflow: hidden; text-align: center; padding: 96px 20px 84px; background: radial-gradient(1000px 420px at 50% -10%, #e6e7fb 0%, rgba(230, 231, 251, 0) 70%), linear-gradient(180deg, #f6f6fe 0%, #ffffff 100%); }
.lp-hero::before, .lp-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.lp-hero::before { width: 320px; height: 320px; background: #c9caf7; left: -80px; top: 40px; }
.lp-hero::after { width: 280px; height: 280px; background: #ffd9c7; right: -60px; top: 120px; }
.lp-hero > * { position: relative; z-index: 1; }
.lp-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid #dcdcf5; color: var(--hub-primary); font-size: 13px; font-weight: 600; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(74, 77, 188, 0.08); }
.lp-hero h1 { margin: 0 auto 16px; font-size: clamp(32px, 6vw, 58px); max-width: 860px; line-height: 1.08; letter-spacing: -0.02em; }
.lp-grad { background: linear-gradient(90deg, #4a4dbc, #f15a24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero p { margin: 0 auto 30px; max-width: 620px; color: #5b6272; font-size: 19px; }
.lp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.lp-section { max-width: 1120px; margin: 0 auto; padding: 72px 20px; }
.lp-head { text-align: center; margin-bottom: 40px; }
.lp-eyebrow { display: inline-block; color: var(--hub-primary); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.lp-head h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; }
.lp-sub { color: var(--hub-muted); margin: 0; font-size: 17px; }

/* ---- pricing ---- */
.lp-price-card { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--hub-line); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(30, 34, 90, 0.12); }
.lp-price-left { background: linear-gradient(160deg, #5457cf 0%, #363990 100%); color: #fff; padding: 40px 32px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.lp-price-left::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); right: -90px; bottom: -90px; }
.lp-price-left > * { position: relative; z-index: 1; }
.lp-badge { align-self: flex-start; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 14px; }
.lp-price-prod { font-size: 14px; opacity: .85; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.lp-price-name { font-size: 28px; font-weight: 800; }
.lp-price-tag { font-size: 14.5px; opacity: .9; margin-bottom: 14px; }
.lp-price-amt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.lp-price-amt b { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.lp-price-amt span { font-size: 15px; opacity: .85; }
.lp-price-left .lp-btn { text-align: center; }
.lp-price-login { font-size: 13.5px; opacity: .9; margin-top: 12px; }
.lp-price-login a { text-decoration: underline; }
.lp-price-right { padding: 36px 36px 30px; }
.lp-inc-title { font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.lp-inc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.lp-inc { display: flex; gap: 12px; align-items: flex-start; }
.lp-inc-ico { width: 38px; height: 38px; border-radius: 11px; background: #ecedfb; color: var(--hub-primary); display: grid; place-items: center; font-size: 16px; flex: none; }
.lp-inc b { display: block; font-size: 14.5px; }
.lp-inc span { display: block; color: var(--hub-muted); font-size: 13px; line-height: 1.4; }
.lp-price-block { margin: 0 0 40px; }
.lp-price-block h3 { margin: 0 0 8px; font-size: 20px; }

/* ---- support ---- */
.lp-support-wrap { background: #f6f7fb; }
.lp-support { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; position: relative; background: #fff; border: 1px solid var(--hub-line); border-radius: 18px; padding: 26px; box-shadow: 0 12px 30px rgba(30, 34, 90, 0.06); }
.lp-support input, .lp-support select, .lp-support textarea { width: 100%; border: 1px solid var(--hub-line); border-radius: 10px; padding: 11px 13px; font: inherit; background: #fff; }
.lp-support input:focus, .lp-support select:focus, .lp-support textarea:focus { outline: 2px solid #c9caf7; border-color: var(--hub-primary); }
.lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub-ok { color: var(--hub-ok); min-height: 18px; font-size: 14px; }

/* ---- footer ---- */
.lp-footer { background: #001c44; color: #dbe3f2; }
.lp-footer-in { max-width: 1120px; margin: 0 auto; padding: 64px 20px 44px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.lp-f-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; text-decoration: none; color: #fff; margin-bottom: 18px; }
.lp-f-brand .lp-mark { width: 52px; height: 52px; font-size: 18px; border-radius: 50%; background: linear-gradient(135deg, #f7b733, #f15a24); }
.lp-footer p { margin: 0 0 22px; color: #b6c2da; font-size: 15px; line-height: 1.7; }
.lp-footer h4 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 26px; color: #fff; }
.lp-f-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-f-list a { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: 16px; }
.lp-f-list a:hover { color: #ffb08f; }
.lp-f-list i { font-size: 16px; width: 20px; }
.lp-play { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 9px; padding: 8px 16px 8px 12px; text-decoration: none; }
.lp-play i { font-size: 26px; }
.lp-play span { display: flex; flex-direction: column; font-size: 20px; line-height: 1; font-weight: 500; }
.lp-play small { font-size: 10px; letter-spacing: .05em; margin-bottom: 3px; }
.lp-play:hover { border-color: #fff; }
.lp-f-mail { margin-top: 24px; font-size: 14.5px; color: #b6c2da; }
.lp-f-mail a { color: #fff; }
.lp-f-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; padding: 18px 16px; font-size: 13.5px; color: #93a3c2; }

/* ---- hub page top bar ---- */
.hub-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--hub-line); gap: 12px; }
.hub-top .lp-cta a, .hub-top .lp-cta button { font-size: 14px; }
body.hub-page { background: var(--hub-bg); }

@media (max-width: 900px) {
  .lp-price-card { grid-template-columns: 1fr; }
  .lp-footer-in { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
}
@media (max-width: 720px) {
  .lp-nav { display: none; }
  .lp-bar { padding: 10px 14px; }
  .lp-hero { padding: 60px 16px 52px; }
  .lp-section { padding: 48px 16px; }
  .lp-inc-grid { grid-template-columns: 1fr; }
  .lp-row { grid-template-columns: 1fr; }
  .lp-price-right { padding: 26px 20px; }
  .lp-tagline { display: none; }
}

.lp-support .hub-error:empty, .lp-support .hub-ok:empty { display: none; }
.lp-bar .lp-btn { white-space: nowrap; }

/* several plans */
.lp-plans-wrap .hub-plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0 0 28px; align-items: stretch; }
.lp-plans-wrap .hub-plan { padding: 28px 26px; border-radius: 20px; }
.lp-plans-wrap .hub-plan-name { font-size: 20px; }
.lp-plans-wrap .hub-plan-price { font-size: 34px; font-weight: 800; color: var(--hub-ink); margin: 6px 0 12px; }
.lp-plans-wrap .hub-plan-price span { font-size: 14px; font-weight: 400; }
.lp-plans-wrap .hub-btn { padding: 12px 14px; border-radius: 11px; }
.lp-shared-card { border: 1px solid var(--hub-line); border-radius: 22px; padding: 32px 34px; background: #fff; box-shadow: 0 18px 44px rgba(30, 34, 90, 0.08); }
@media (max-width: 720px) { .lp-shared-card { padding: 24px 18px; } }

/* one card per product, each with its own plan */
.lp-pp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.lp-pp { background: #fff; border: 1px solid var(--hub-line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 30px rgba(30, 34, 90, 0.06); }
.lp-pp-live { border-color: var(--hub-primary); box-shadow: 0 24px 56px rgba(74, 77, 188, 0.2); }
.lp-pp-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.lp-pp-ico { width: 50px; height: 50px; border-radius: 14px; background: #ecedfb; color: var(--hub-primary); display: grid; place-items: center; font-size: 22px; flex: none; }
.lp-pp-name { font-size: 21px; font-weight: 800; line-height: 1.2; }
.lp-pp-tag { font-size: 13px; color: var(--hub-muted); }
.lp-pp-plan { font-size: 14px; color: var(--hub-muted); font-weight: 600; }
.lp-pp-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 14px; }
.lp-pp-price b { font-size: 46px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.lp-pp-price span { font-size: 15px; color: var(--hub-muted); }
.lp-pp-price .lp-pp-soon { font-size: 28px; color: #8b91a3; }
.lp-pp-btn { text-align: center; width: 100%; }
.lp-pp-btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.lp-pp-inc { margin-top: 20px; font-weight: 700; font-size: 14px; }
.lp-pp-list { list-style: none; margin: 8px 0 0; padding: 0; }
.lp-pp-list li { padding: 5px 0; font-size: 14.5px; }
.lp-pp-list i { color: var(--hub-ok); margin-right: 8px; }

.lp-pp-list li { display: flex; gap: 8px; align-items: flex-start; }
.lp-pp-list i { margin: 4px 0 0; flex: none; }

/* compact product-plan cards */
.lp-pp { padding: 22px 22px 20px; gap: 4px; border-radius: 20px; }
.lp-pp-head { margin-bottom: 8px; gap: 12px; }
.lp-pp-ico { width: 44px; height: 44px; font-size: 19px; border-radius: 12px; }
.lp-pp-name { font-size: 19px; }
.lp-pp-tag { font-size: 12.5px; }
.lp-pp-plan { font-size: 13px; }
.lp-pp-price { margin: 2px 0 10px; }
.lp-pp-price b { font-size: 36px; }
.lp-pp-price .lp-pp-soon { font-size: 22px; }
.lp-pp-btn.lp-btn-lg { padding: 10px 20px; font-size: 15px; border-radius: 11px; }
.lp-pp-inc { margin-top: 14px; font-size: 13px; color: var(--hub-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.lp-pp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lp-pp-chip { display: inline-flex; align-items: center; gap: 5px; background: #f3f4fb; color: #33384a; border-radius: 999px; padding: 4px 11px 4px 9px; font-size: 12.5px; line-height: 1.35; }
.lp-pp-chip i { color: var(--hub-ok); font-size: 10.5px; flex: none; }

/* a product with several plans */
.lp-pp-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hub-line); }
.lp-pp-row:first-of-type { border-top: 0; }
.lp-pp-rowname { font-weight: 700; font-size: 15px; }
.lp-pp-rowprice { text-align: right; }
.lp-pp-rowprice b { font-size: 24px; font-weight: 800; }
.lp-pp-rowprice span { display: block; font-size: 12px; color: var(--hub-muted); }
.lp-pp-rowprice .lp-pp-soon { font-size: 16px; color: #8b91a3; }
.lp-pp-row .lp-btn { grid-column: 1 / -1; text-align: center; padding: 8px 16px; font-size: 14px; }

/* plans of one product, one line each */
.lp-pp-rows { margin-top: 4px; }
.lp-pp-row { grid-template-columns: 1fr auto auto; gap: 4px 12px; padding: 10px 0; }
.lp-pp-rowname { font-size: 14.5px; }
.lp-pp-rowprice b { font-size: 20px; }
.lp-pp-row .lp-pp-choose { grid-column: auto; padding: 7px 14px; font-size: 13px; border-radius: 9px; }
