/* Landing-page styles — Meta for Business inspired, mockups mirror the real app UI */

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 480px at 82% 8%, color-mix(in srgb, var(--azure) 10%, transparent), transparent 68%),
    radial-gradient(560px 420px at 8% 92%, color-mix(in srgb, var(--cyan) 8%, transparent), transparent 68%);
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.3rem);
  line-height: 1.05; letter-spacing: -0.038em; font-weight: 830;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(94deg, var(--azure-deep), var(--sky) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { margin-top: 1.4rem; max-width: 540px; color: var(--text-dim); font-size: 1.18rem; line-height: 1.55; }
.badges { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  font-size: 0.82rem; font-weight: 700; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-dim);
}
.badge.free { border-color: color-mix(in srgb, var(--positive) 50%, transparent); color: var(--positive); background: color-mix(in srgb, var(--positive) 7%, var(--surface)); }
.cta-row { margin-top: 2.3rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Phone frame (hero) ─── */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: min(350px, 88vw); border-radius: 48px; padding: 13px;
  background: linear-gradient(160deg, #1c1f27, #0b0d12);
  box-shadow: 0 30px 80px rgba(11, 20, 40, 0.35), 0 4px 14px rgba(11, 20, 40, 0.2);
  transform: rotate(2.5deg);
}
.phone-screen {
  border-radius: 36px; overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 13px; color: var(--text);
}

/* Dashboard mock — gradient hero band like the real Overview tab */
.ps-hero {
  background: linear-gradient(135deg, var(--azure-deep), var(--azure) 60%, var(--sky));
  color: #fff; padding: 24px 18px 18px;
  border-radius: 0 0 26px 26px;
}
.ps-hello { display: flex; align-items: center; justify-content: space-between; }
.ps-hello small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.85; }
.ps-hello b { font-size: 17px; letter-spacing: -0.02em; }
.ps-bell {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.ps-bell::after {
  content: "3"; position: absolute; top: -3px; right: -3px;
  background: #ff5d6c; color: #fff; font-size: 8px; font-weight: 800;
  width: 13px; height: 13px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.ps-ranges { display: flex; gap: 6px; margin: 13px 0 14px; }
.ps-ranges i {
  font-style: normal; flex: 1; text-align: center; font-size: 10px; font-weight: 700;
  padding: 5px 0; border-radius: 999px; background: rgba(255, 255, 255, 0.18); color: #fff;
}
.ps-ranges i.on { background: #fff; color: var(--azure-deep); }
.ps-spend { display: flex; align-items: baseline; justify-content: space-between; }
.ps-spend small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.85; }
.ps-delta { font-size: 9.5px; font-weight: 800; background: rgba(255, 255, 255, 0.22); padding: 3px 8px; border-radius: 999px; }
.ps-spend-num { font-size: 30px; font-weight: 830; letter-spacing: -0.03em; margin: 2px 0 4px; }
.ps-hero svg { display: block; width: 100%; height: 56px; }
.ps-body { padding: 14px 14px 18px; }
.ps-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 11px; }
.ps-kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 10px 11px;
  box-shadow: 0 2px 8px rgba(11, 14, 20, 0.05);
}
.ps-kpi small { display: block; color: var(--text-dim); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ps-kpi b { font-size: 16px; letter-spacing: -0.02em; }
.ps-kpi .up { color: var(--positive); font-size: 9.5px; font-weight: 800; }
.ps-kpi .spark { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; margin-top: 5px; }
.ps-kpi .spark i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--sky), var(--azure-deep)); opacity: 0.75; }
.ps-status { display: flex; gap: 7px; }
.ps-status span {
  flex: 1; text-align: center; font-size: 9.5px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 0;
  color: var(--text-dim);
}
.ps-status span b { color: var(--text); }

/* ─── Stats band ─── */
.stats { padding: clamp(2.4rem, 4vw, 3.6rem) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; }
.stat b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 830; letter-spacing: -0.03em;
  background: linear-gradient(94deg, var(--azure-deep), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: 0.95rem; font-weight: 600; }

/* ─── Product tour ─── */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.2rem, 4.5vw, 4rem) 0; }
.tour + .tour { border-top: 1px solid var(--border); }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour .tour-visual { order: 2; } }
.tour.flip .tour-visual { order: -1; }
@media (max-width: 900px) { .tour.flip .tour-visual { order: 2; } }
.tour h3 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem); letter-spacing: -0.025em; font-weight: 800; margin-bottom: 0.8rem; }
.tour .tour-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--azure); background: color-mix(in srgb, var(--azure) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--azure) 25%, var(--border));
  padding: 5px 13px; border-radius: 999px; margin-bottom: 1rem;
}
.tour p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 1rem; }
.tour ul { list-style: none; display: grid; gap: 10px; }
.tour li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); font-size: 0.97rem; }
.tour li::before { content: "✓"; color: var(--azure); font-weight: 800; flex: none; }

/* Mock panels (tour visuals) */
.mock {
  width: min(430px, 100%); margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow); padding: 20px; font-size: 13px; color: var(--text);
}
.mock-title { font-weight: 800; font-size: 14px; letter-spacing: -0.015em; margin-bottom: 12px; }
.mk-search {
  display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 12px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 11px; padding: 9px 12px; margin-bottom: 10px;
}
.mk-chips { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.mk-chips i {
  font-style: normal; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-dim); background: var(--surface);
}
.mk-chips i.on { background: var(--azure-deep); border-color: var(--azure-deep); color: #fff; }
.mk-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 13px;
  padding: 11px 12px; margin-bottom: 8px;
}
.mk-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); flex: none; }
.mk-row .dot.paused { background: #c3c9d4; }
.mk-row .dot.review { background: #f5a623; }
.mk-row div { flex: 1; min-width: 0; }
.mk-row b { display: block; font-size: 12.5px; letter-spacing: -0.01em; }
.mk-row small { color: var(--text-dim); font-size: 10.5px; }
.mk-toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--positive); position: relative; flex: none; }
.mk-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mk-toggle.off { background: #c3c9d4; }
.mk-toggle.off::after { right: auto; left: 2px; }

/* Wizard mock */
.mk-steps { display: flex; gap: 5px; margin-bottom: 6px; }
.mk-steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--border); }
.mk-steps i.on { background: var(--azure-deep); }
.mk-steplabel { color: var(--text-dim); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.mk-objectives { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.mk-obj {
  border: 1.5px solid var(--border); border-radius: 13px; padding: 11px 12px; background: var(--surface);
}
.mk-obj.on { border-color: var(--azure-deep); background: color-mix(in srgb, var(--azure) 6%, var(--surface)); }
.mk-obj b { display: block; font-size: 12.5px; }
.mk-obj small { color: var(--text-dim); font-size: 10px; line-height: 1.35; display: block; }
.mk-continue {
  text-align: center; font-weight: 800; font-size: 13px; color: #fff;
  background: var(--azure-deep); border-radius: 999px; padding: 11px 0;
}

/* Insights mock */
.mk-bars { display: grid; gap: 9px; margin-bottom: 14px; }
.mk-bar { display: grid; grid-template-columns: 82px 1fr 36px; gap: 9px; align-items: center; font-size: 11px; }
.mk-bar small { color: var(--text-dim); font-weight: 650; }
.mk-bar .track { height: 9px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.mk-bar .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--azure-deep), var(--sky)); }
.mk-bar b { text-align: right; font-size: 10.5px; }
.mk-share {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, var(--azure-deep), var(--sky));
  color: #fff; border-radius: 13px; padding: 12px 14px;
}
.mk-share b { font-size: 12.5px; display: block; }
.mk-share small { font-size: 10px; opacity: 0.85; }
.mk-share .pill { margin-left: auto; background: #fff; color: var(--azure-deep); font-weight: 800; font-size: 11px; padding: 6px 12px; border-radius: 999px; flex: none; }

/* Wallet mock */
.mk-balance {
  background: linear-gradient(135deg, var(--azure-deep), var(--azure) 60%, var(--sky));
  color: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px;
}
.mk-balance small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.mk-balance b { display: block; font-size: 26px; font-weight: 830; letter-spacing: -0.03em; margin: 2px 0 10px; }
.mk-balance .pill { display: inline-block; background: #fff; color: var(--azure-deep); font-weight: 800; font-size: 11px; padding: 6px 14px; border-radius: 999px; }
.mk-cap { margin-bottom: 12px; }
.mk-cap .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); font-weight: 650; margin-bottom: 6px; }
.mk-cap .track { height: 8px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--border); overflow: hidden; }
.mk-cap .fill { display: block; height: 100%; width: 43%; border-radius: 99px; background: linear-gradient(90deg, var(--azure-deep), var(--sky)); }
.mk-tx { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--border); font-size: 12px; }
.mk-tx:last-child { border-bottom: 0; }
.mk-tx .ic {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
  background: color-mix(in srgb, var(--azure) 10%, var(--surface));
}
.mk-tx div { flex: 1; }
.mk-tx small { color: var(--text-dim); font-size: 10px; display: block; }
.mk-tx b.plus { color: var(--positive); }

/* ─── Steps ─── */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--sky), var(--azure-deep));
  color: #fff; font-weight: 800; font-size: 1.05rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--text-dim); font-size: 0.96rem; }

/* ─── Free & private commitments ─── */
.commit-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .commit-grid { grid-template-columns: 1fr; } }
.commit {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: var(--shadow);
}
.commit .tick {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--positive) 12%, var(--surface));
  color: var(--positive); font-weight: 800;
}
.commit h3 { font-size: 1.04rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.commit p { color: var(--text-dim); font-size: 0.94rem; }

/* ─── CTA band ─── */
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-band .panel {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(120deg, var(--azure-deep), var(--azure) 55%, var(--cyan));
  border-radius: 28px; padding: clamp(3rem, 6vw, 4.6rem) clamp(1.5rem, 4vw, 4rem);
  color: #fff;
}
.cta-band .panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(480px 260px at 85% 15%, rgba(255, 255, 255, 0.22), transparent 70%);
}
.cta-band h2 { position: relative; color: #fff; }
.cta-band p { position: relative; margin: 1rem auto 2rem; max-width: 560px; color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; }
.cta-band .btn-light { position: relative; background: #fff; color: var(--azure-deep); box-shadow: 0 8px 26px rgba(0, 30, 80, 0.3); }

@media (prefers-color-scheme: dark) {
  .phone { background: linear-gradient(160deg, #2a2e3a, #05060a); }
}
@media (prefers-reduced-motion: reduce) {
  .phone { transform: none; }
}
