/* Scoped entirely to body.landing-page so the functional admin/portal design is untouched. */

body.landing-page {
  --bg: #0b1220;
  --bg-subtle: #0f1729;
  --fg: #f1f5f9;
  --fg-muted: #96a1b5;
  --card: #131b2e;
  --border: rgba(255, 255, 255, 0.08);

  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-soft: rgba(139, 92, 246, 0.15);
  --on-primary: #ffffff;

  --success: #2dd4bf;
  --success-soft: rgba(45, 212, 191, 0.14);
  --warning: #e0ac4c;
  --warning-soft: rgba(251, 191, 36, 0.14);
  --danger: #f0716e;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --neutral-soft: rgba(255, 255, 255, 0.06);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.45);

  background:
    radial-gradient(1100px 700px at 8% -10%, rgba(20, 184, 166, 0.55) 0%, rgba(20, 184, 166, 0) 60%),
    radial-gradient(900px 650px at 92% 5%, rgba(124, 58, 237, 0.4) 0%, rgba(124, 58, 237, 0) 55%),
    linear-gradient(165deg, #0d9488 0%, #0f766e 16%, #134e4a 30%, #0b1220 52%, #0b1220 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body.landing-page #bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}
/* .topbar already has position:sticky + z-index:10 from app.css — left untouched so it stays above the canvas. */
body.landing-page main.content {
  position: relative;
  z-index: 1;
}

body.landing-page .topbar {
  background: rgba(11, 18, 32, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.landing-page .brand { color: #fff; }
body.landing-page nav a { color: rgba(255, 255, 255, 0.78); }
body.landing-page nav a:hover { color: #fff; }

body.landing-page .btn {
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
body.landing-page .btn:hover { filter: brightness(1.08); }
body.landing-page .btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}
body.landing-page .btn.secondary:hover { background: rgba(255, 255, 255, 0.12); }

body.landing-page .grad-text {
  background: linear-gradient(135deg, #b8a2fb, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.landing-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 0.75rem;
}
body.landing-page .eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: #5eead4;
  display: inline-block;
}

body.landing-page .hero {
  background: none;
  padding: 6rem 1.75rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: left;
}
body.landing-page .hero-copy { flex: 1 1 420px; }
body.landing-page .hero h1 { text-align: left; margin: 0 0 1rem; max-width: 560px; }
body.landing-page .hero .lede { text-align: left; margin: 0 0 1.75rem; max-width: 480px; }
body.landing-page .hero .cta-row { justify-content: flex-start; }

body.landing-page .hero-demo-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 420px;
}
body.landing-page .hero-demo-form select,
body.landing-page .hero-demo-form input {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}
body.landing-page .hero-demo-form select:focus,
body.landing-page .hero-demo-form input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
body.landing-page .hero-demo-form select option {
  background: #131b2e;
  color: #f1f5f9;
}
body.landing-page .hero-demo-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
body.landing-page .hero-demo-row input { flex: 1 1 220px; }
body.landing-page .hero-demo-row button { flex: 0 0 auto; }

body.landing-page .hero-mockup {
  flex: 1 1 320px;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
body.landing-page .hero-mockup .mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
body.landing-page .hero-mockup .dot { width: 9px; height: 9px; border-radius: 50%; }
body.landing-page .hero-mockup .dot.red { background: #f87171; }
body.landing-page .hero-mockup .dot.yellow { background: #fbbf24; }
body.landing-page .hero-mockup .dot.green { background: #34d399; }
body.landing-page .hero-mockup .mockup-url { margin-left: 0.4rem; font-size: 0.68rem; color: var(--fg-muted); }
body.landing-page .hero-mockup .mockup-body { padding: 1.1rem; }

body.landing-page .hero-mockup .mockup-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
body.landing-page .hero-mockup .mockup-greeting { font-weight: 700; color: #fff; font-size: 0.95rem; }
body.landing-page .hero-mockup .mockup-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  flex-shrink: 0;
}

body.landing-page .hero-mockup .mockup-hero-stat {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.7rem;
  margin-bottom: 1rem;
}
body.landing-page .hero-mockup .mockup-hero-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
body.landing-page .hero-mockup .mockup-hero-stat-label { font-size: 0.7rem; color: var(--fg-muted); margin-bottom: 0.2rem; }
body.landing-page .hero-mockup .mockup-hero-stat-value { font-size: 1.5rem; font-weight: 800; color: #fff; }
body.landing-page .hero-mockup .mockup-trend {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
body.landing-page .hero-mockup .mockup-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.landing-page .hero-mockup .mockup-feed-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #e2e8f0;
}
body.landing-page .hero-mockup .feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
body.landing-page .hero-mockup .feed-dot.done { background: #34d399; }
body.landing-page .hero-mockup .feed-dot.pending { background: #fbbf24; }
body.landing-page .hero-mockup .feed-time {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--fg-muted);
  flex-shrink: 0;
}

body.landing-page .hero-mockup .mockup-stats { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
body.landing-page .hero-mockup .mockup-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}
body.landing-page .hero-mockup .mockup-stat .num { font-weight: 800; color: #fff; font-size: 1.15rem; }
body.landing-page .hero-mockup .mockup-stat .lbl { font-size: 0.68rem; color: var(--fg-muted); }
body.landing-page .hero-mockup .mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
body.landing-page .hero-mockup .mockup-row:first-of-type { border-top: none; }
body.landing-page .hero-mockup .mockup-row span:first-child { color: #e2e8f0; display: inline-flex; align-items: center; gap: 0.45rem; }
body.landing-page .hero-mockup .mockup-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
body.landing-page .hero-mockup .mockup-dot.green { background: #34d399; }
body.landing-page .hero-mockup .mockup-dot.amber { background: #fbbf24; }

body.landing-page .section-heading { text-align: left; margin: 0 0 2rem; max-width: 640px; margin-left: 0; }
body.landing-page .section-heading h2 { color: #fff; }
body.landing-page .service-card .icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.28));
  color: #cabffd;
}
body.landing-page .service-card h3,
body.landing-page .plan-card h3 { color: #fff; }

body.landing-page .step-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #b8a2fb, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

body.landing-page .plan-card.featured {
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.55), var(--shadow-md);
}
body.landing-page .plan-badge {
  display: inline-block;
  align-self: center;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
body.landing-page .plan-card .price { color: #fff; }
body.landing-page .plan-card ul { color: var(--fg-muted); }

body.landing-page .footer { color: var(--fg-muted); border-top-color: var(--border); }
