/* ============================================================
   Mango OS – Landing Page Styles
   ============================================================ */

:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #ececec;
  --orange: #ff8a00;
  --orange-2: #ffb000;
  --green: #35c759;
  --blue: #4f8cff;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --shadow: 0 18px 40px rgba(23, 32, 51, .08);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 184, 0, .22), transparent 18%),
    radial-gradient(circle at 88% 14%, rgba(53, 199, 89, .12), transparent 14%),
    var(--bg);
}

a { text-decoration: none; color: inherit; }

.lp-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ── */
.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(247, 247, 245, .82);
  border-bottom: 1px solid rgba(236, 236, 236, .8);
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 20px;
}

.lp-logo {
  width: 36px;
  height: 44px;
  position: relative;
  display: inline-block;
  background: linear-gradient(160deg, var(--orange-2), var(--orange));
  border-radius: 48% 48% 44% 44% / 34% 34% 66% 66%;
  transform: rotate(8deg);
  box-shadow: inset -2px -6px 10px rgba(255, 86, 0, .15);
}

.lp-logo::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 7px;
  top: 14px;
  bottom: 6px;
  border-left: 3px solid rgba(255, 255, 255, .52);
  border-radius: 60% 40% 50% 50%;
  transform: skewX(-20deg) rotate(28deg);
}

.lp-logo::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 10px;
  right: -1px;
  top: -8px;
  background: linear-gradient(135deg, #78d74f, #1faa59);
  border-radius: 0 100% 0 100%;
  transform: rotate(-12deg);
}

.lp-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.lp-menu a {
  color: #445065;
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.lp-menu a.active { color: var(--text); font-weight: 700; }

.lp-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

/* ── Buttons ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: .22s ease;
  cursor: pointer;
  border: none;
}

.lp-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  box-shadow: 0 10px 24px rgba(255, 138, 0, .25);
}

.lp-btn-primary:hover { transform: translateY(-1px); }

.lp-btn-ghost {
  color: var(--text);
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .04);
}

/* ── Hero ── */
.lp-hero { padding: 48px 0 34px; }

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 38px;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #f0c389;
  background: rgba(255, 255, 255, .85);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: #4f5565;
  box-shadow: 0 8px 16px rgba(23, 32, 51, .03);
}

.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.lp-hero-title {
  margin: 20px 0 18px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 560px;
}

.lp-accent { color: var(--orange); }

.lp-lead {
  font-size: 13px;
  line-height: 1.5;
  color: #5d677a;
  max-width: 700px;
  margin: 0 0 28px;
}

.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Laptop mockup ── */
.lp-laptop {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  background: linear-gradient(180deg, #111827, #020617);
  border-radius: 22px 22px 14px 14px;
  box-shadow: 0 30px 60px rgba(2, 6, 23, .20);
  padding: 18px;
}

.lp-laptop::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 110%;
  height: 20px;
  background: linear-gradient(180deg, #6b7280, #2d3748);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 10px 20px rgba(17, 24, 39, .15);
}

.lp-screen {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.lp-sidebar {
  background: linear-gradient(180deg, #0f2745, #081829);
  color: #d8e3f2;
  padding: 20px 14px;
}

.lp-sidebar .lp-smallbrand {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-smalllogo {
  width: 14px;
  height: 18px;
  display: inline-block;
  border-radius: 48% 48% 44% 44% / 34% 34% 66% 66%;
  background: linear-gradient(160deg, var(--orange-2), var(--orange));
  transform: rotate(8deg);
  position: relative;
}

.lp-smalllogo::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  right: -1px;
  top: -4px;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #78d74f, #1faa59);
}

.lp-sideitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: #dbe6f4;
  margin-bottom: 6px;
}

.lp-sideitem.active { background: rgba(255, 255, 255, .11); }

.lp-icon {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .25);
  display: inline-block;
}

.lp-mainpanel { padding: 20px; background: #fafafa; }

.lp-paneltop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-paneltitle { font-size: 28px; font-weight: 800; }
.lp-muted { color: var(--muted); }

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.lp-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, .03);
}

.lp-stat .lp-label { font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.lp-stat .lp-value { font-size: 34px; font-weight: 800; line-height: 1; }
.lp-value.blue { color: #2d7ff9; }
.lp-value.orange { color: #f97316; }
.lp-value.green { color: #16a34a; }

.lp-dashboard {
  display: grid;
  grid-template-columns: 1.1fr .85fr;
  gap: 14px;
}

.lp-chart, .lp-tablecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  min-height: 210px;
}

.lp-chart-graphic {
  height: 140px;
  margin-top: 18px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 138, 0, .08), rgba(255, 138, 0, .01)),
    repeating-linear-gradient(to right, #f2f2f2 0 1px, transparent 1px 60px),
    repeating-linear-gradient(to bottom, #f2f2f2 0 1px, transparent 1px 40px);
  position: relative;
  overflow: hidden;
}

.lp-chart-graphic svg { position: absolute; inset: 0; }

.lp-tablecard .lp-row {
  display: grid;
  grid-template-columns: 56px 1fr 72px;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.lp-tablecard .lp-row:last-child { border-bottom: 0; }

/* ── Metrics strip ── */
.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.lp-metric { display: flex; gap: 14px; align-items: flex-start; }

.lp-bubble {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  flex: none;
}

.lp-bubble.orange { background: #ff9d22; }
.lp-bubble.purple { background: #8b5cf6; }
.lp-bubble.green { background: #41c05f; }
.lp-bubble.blue { background: #4f8cff; }

.lp-metric b { display: block; font-size: 28px; }
.lp-metric span { color: #5d677a; display: block; }

/* ── Section ── */
.lp-section {
  padding: 34px 0 18px;
  border-top: 1px solid #efefef;
  background: #fff;
}

.lp-section-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.lp-eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .03em;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-section-title {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  max-width: 530px;
}

.lp-body { font-size: 16px; line-height: 1.6; color: #5e687a; max-width: 540px; }

.lp-link-arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
}

/* ── Feature grid ── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.lp-card .lp-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.lp-appicon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}

.lp-appicon.orange { background: #ff8a00; }
.lp-appicon.purple { background: #7c66ff; }
.lp-appicon.green { background: #57cf88; }
.lp-appicon.blue { background: #4f8cff; }
.lp-appicon.pink { background: #ec4899; }
.lp-appicon.violet { background: #8b5cf6; }

.lp-card-title { margin: 0; font-size: 15px; line-height: 1.15; }
.lp-card p { margin: 0; color: #5f6980; font-size: 16px; line-height: 1.6; }

/* ── Section visual blocks ── */
.lp-vis-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  align-self: center;
}

.lp-vis-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.lp-vis-item:last-child { border-bottom: 0; }
.lp-vis-item div strong { display: block; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.lp-vis-item div span { color: #667085; font-size: 13px; line-height: 1.4; }

.lp-vis-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  margin-top: 4px;
}

/* Offset scroll target below sticky header */
[id] { scroll-margin-top: 96px; }

/* ── Showcase ── */
.lp-showcase { padding: 26px 0 42px; background: #fff; }

.lp-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}

.lp-room-visual {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  min-height: 350px;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .35)),
    linear-gradient(135deg, #a9703b 0%, #5d4029 36%, #233550 100%);
  box-shadow: 0 26px 54px rgba(23, 32, 51, .16);
}

.lp-room-visual::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 48px;
  width: 260px;
  height: 180px;
  background: linear-gradient(180deg, #233550, #365472);
  border-radius: 14px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .05) inset;
}

.lp-bed {
  position: absolute;
  left: 86px;
  bottom: 52px;
  width: 340px;
  height: 98px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f0e5, #ccb79a);
  box-shadow: 0 22px 28px rgba(0, 0, 0, .25);
}

.lp-bed::before {
  content: "";
  position: absolute;
  left: -42px;
  top: -78px;
  width: 120px;
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(180deg, #8a6f58, #604a38);
}

.lp-bed::after {
  content: "";
  position: absolute;
  left: 24px;
  top: -22px;
  width: 114px;
  height: 36px;
  border-radius: 14px;
  background: #f5eee4;
  box-shadow: 126px 0 0 #f5eee4;
}

.lp-overlay {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 320px;
  background: rgba(6, 19, 37, .82);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
}

.lp-overlay-title { margin: 0 0 10px; font-size: 28px; }

.lp-overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0 18px;
}

.lp-overlay-stat {
  background: rgba(255, 255, 255, .05);
  padding: 12px;
  border-radius: 16px;
}

.lp-overlay-stat b { font-size: 30px; }

.lp-bars .lp-barrow {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.lp-bar {
  height: 8px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  overflow: hidden;
}

.lp-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  border-radius: 999px;
}

.lp-checks { padding: 0; margin: 18px 0 0; list-style: none; }

.lp-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
  color: #49556a;
  font-size: 19px;
}

.lp-checks i {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 138, 0, .13);
  color: var(--orange);
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}

/* ── CTA ── */
.lp-cta-wrap { padding: 8px 0 56px; background: #fff; }

.lp-cta {
  background: linear-gradient(135deg, #0b1b2e, #081423 60%, #0c2440);
  color: #fff;
  border-radius: 28px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 24px 50px rgba(8, 20, 35, .20);
}

.lp-cta-title { font-size: 20px; line-height: 1.1; margin: 0 0 8px; }
.lp-cta p { margin: 0; color: #b9c6d8; font-size: 18px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  background: #fbfbfa;
}

.lp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 90px;
  flex-wrap: wrap;
  color: #596578;
}

.lp-foot-links { display: flex; gap: 28px; flex-wrap: wrap; }

.lp-foot-company {
  font-size: 13px;
  color: #8a95a3;
  line-height: 1.6;
}
.lp-foot-company strong { display: block; color: #596578; margin-bottom: 2px; }

.lp-foot-bottom {
  border-top: 1px solid var(--line);
  background: #f5f5f3;
  font-size: 13px;
  color: #8a95a3;
  padding: 12px 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .lp-hero-title { font-size: 22px; }
  .lp-section-title { font-size: 20px; }
  .lp-hero-grid,
  .lp-section-grid,
  .lp-showcase-grid,
  .lp-cta { grid-template-columns: 1fr; display: grid; }
  .lp-feature-grid { grid-template-columns: 1fr 1fr; }
  .lp-stats, .lp-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .lp-menu { display: none; }
  .lp-hero-title { font-size: 20px; }
  .lp-lead { font-size: 13px; }
  .lp-section-title { font-size: 18px; }
  .lp-feature-grid, .lp-stats, .lp-metrics, .lp-dashboard { grid-template-columns: 1fr; }
  .lp-screen { grid-template-columns: 1fr; }
  .lp-sidebar { display: none; }
  .lp-overlay { position: relative; right: auto; top: auto; width: auto; margin: 18px; }
  .lp-room-visual { min-height: 420px; }
  .lp-cta-title { font-size: 17px; }
}
