/*
 * DBeeSpot marketing site — fully self-contained (no app base.css).
 * Open ../index.html from disk or serve this folder statically.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --p-h: 38;
  --p-s: 92%;
  --p-l: 50%;
  --primary: hsl(38, 92%, 50%);
  --primary-hover: hsl(38, 92%, 42%);
  --primary-glow: hsla(38, 92%, 50%, 0.3);
  --primary-gradient: linear-gradient(135deg, hsl(38, 92%, 50%), hsl(38, 92%, 64%));
  --bg: #06060f;
  --surface: #0d0d1a;
  --surface2: #12121b;
  --border: hsla(38, 92%, 50%, 0.15);
  --border2: hsla(38, 92%, 50%, 0.25);
  --border-focus: hsla(38, 92%, 50%, 0.7);
  --text: #f1f5f9;
  --muted: #d6d3d1;
  --muted2: #a8a29e;
  --success: #34d399;
  --radius: 14px;
  --page-pad: clamp(16px, 4vw, 40px);
  --content: 1120px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  background: radial-gradient(circle, var(--primary), transparent);
  top: -160px;
  left: -160px;
}

.bg-orb-2 {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  background: radial-gradient(circle, hsla(38, 92%, 50%, 0.5), transparent);
  bottom: -140px;
  right: -140px;
  animation-delay: -7s;
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, 18px) scale(1.06); }
}

.lp-wrap {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--page-pad);
  background: rgba(6, 6, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.lp-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-gradient);
  color: #111;
  font-weight: 800;
  flex-shrink: 0;
}

.lp-brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.lp-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.lp-nav-links a:hover {
  color: var(--text);
}

.lp-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-lang {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.lp-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  place-items: center;
}

/* ── Buttons ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 14px;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

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

.lp-btn-primary {
  background: var(--primary-gradient);
  color: #111827;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.lp-btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--border2);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--muted);
}

.lp-btn-ghost:hover {
  color: var(--text);
}

.lp-btn-lg {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.lp-btn-block {
  width: 100%;
}

/* ── Layout helpers ── */
.lp-container {
  width: min(var(--content), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
}

.lp-section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.lp-section-alt {
  background: rgba(13, 13, 26, 0.72);
  border-block: 1px solid var(--border);
}

.lp-section-head {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.lp-section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.lp-section-head p {
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
  font-size: 0.98rem;
}

.lp-eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Hero ── */
.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(36px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
}

.lp-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 14px;
  max-width: 18ch;
}

.lp-lead {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  max-width: 40ch;
  margin-bottom: 22px;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.lp-cta-center {
  justify-content: center;
}

.lp-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-proof li {
  font-size: 0.72rem;
  color: var(--muted2);
  border: 1px solid var(--border);
  background: rgba(13, 13, 26, 0.7);
  border-radius: 999px;
  padding: 6px 11px;
}

/* ── Mock ── */
.lp-mock {
  border: 1px solid var(--border2);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--surface), var(--surface2));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  width: 100%;
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.lp-mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.lp-mock-bar i:nth-child(1) { background: #f87171; }
.lp-mock-bar i:nth-child(2) { background: #fbbf24; }
.lp-mock-bar i:nth-child(3) { background: #34d399; }

.lp-mock-bar strong {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.lp-mock-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.lp-mock-bubble {
  max-width: 92%;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.88rem;
}

.lp-mock-user {
  align-self: flex-end;
  background: hsla(38, 92%, 50%, 0.18);
  border: 1px solid var(--border2);
}

.lp-mock-ai {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
}

.lp-mock-ai p {
  margin-bottom: 12px;
  color: var(--muted);
}

.lp-mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  padding: 8px 4px 0;
}

.lp-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 8px 8px 4px 4px;
  background: var(--primary-gradient);
  position: relative;
  min-width: 0;
}

.lp-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--muted2);
}

.lp-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.lp-mock-chips span {
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}

/* ── Steps ── */
.lp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lp-steps li {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  min-width: 0;
}

.lp-step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: hsla(38, 92%, 50%, 0.16);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.lp-steps h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.lp-steps p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ── Features ── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lp-feature {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: rgba(18, 18, 27, 0.85);
  min-width: 0;
}

.lp-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.lp-feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Vertical ── */
.lp-vertical {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
}

.lp-vertical h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
  max-width: 24ch;
}

.lp-vertical-copy > p:last-of-type {
  color: var(--muted);
  max-width: 44ch;
}

.lp-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-examples li {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

/* ── Security ── */
.lp-security-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lp-security-grid li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--surface2);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 0;
}

.lp-security-grid li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 800;
}

/* ── Pricing ── */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.lp-plan-hero {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 1px hsla(38, 92%, 50%, 0.25), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.lp-plan-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--primary);
  color: #111;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.lp-plan h3 {
  font-size: 1.1rem;
}

.lp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.lp-plan-price .amt {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lp-plan-price .per {
  color: var(--muted);
  font-size: 0.9rem;
}

.lp-plan-desc {
  color: var(--muted);
  font-size: 0.86rem;
  flex: 1;
  margin-bottom: 6px;
}

.lp-price-note {
  text-align: center;
  color: var(--muted2);
  font-size: 0.82rem;
  margin-top: 18px;
  max-width: 62ch;
  margin-inline: auto;
}

/* ── FAQ ── */
.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin-inline: auto;
}

.lp-faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  padding: 4px 16px;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--primary);
  font-weight: 700;
}

.lp-faq details[open] summary::after {
  content: "−";
}

.lp-faq p {
  color: var(--muted);
  padding-bottom: 14px;
  font-size: 0.9rem;
}

/* ── Final + footer ── */
.lp-final {
  text-align: center;
  padding: clamp(48px, 8vw, 88px) 0;
}

.lp-final h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
  max-width: 24ch;
  margin: 0 auto 22px;
  line-height: 1.2;
}

.lp-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.84rem;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lp-footer-brand .lp-brand-mark {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.lp-footer-brand strong {
  color: var(--text);
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lp-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.lp-footer-links a:hover {
  color: var(--text);
}

.lp-footer-copy {
  text-align: right;
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-nav-links {
    display: none;
  }

  .lp-nav.is-open .lp-nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px var(--page-pad) 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(6, 6, 15, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .lp-nav.is-open .lp-nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }

  .lp-menu-btn {
    display: grid;
  }

  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
  }

  .lp-hero h1 {
    max-width: none;
  }

  .lp-hero-visual {
    order: -1;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .lp-vertical {
    grid-template-columns: 1fr;
  }

  .lp-pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .lp-footer {
    grid-template-columns: 1fr;
  }

  .lp-footer-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .lp-nav-actions .lp-btn-ghost,
  .lp-nav-actions .lp-btn-secondary {
    display: none;
  }

  .lp-features,
  .lp-steps,
  .lp-security-grid {
    grid-template-columns: 1fr;
  }

  .lp-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-cta-row .lp-btn {
    width: 100%;
  }

  .lp-mock-body {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-orb,
  .lp-btn:hover {
    animation: none;
    transform: none;
  }
}
