/* =============================================================================
 * Signet — public marketing landing page (GET /).
 * Namespaced under .lp so nothing leaks into the qr-decoder or the app theme.
 * Mirrors the public layout palette (cyan #00d4ff / indigo / glass on navy).
 * Fully RTL-correct: all directional rules use CSS logical properties.
 * =========================================================================== */

html { scroll-behavior: smooth; }

.lp {
    --lp-accent: #00d4ff;
    --lp-accent-2: #6366f1;
    --lp-ink: #0a0e1a;
    --lp-amber: #fbbf24;
    --lp-text: #f1f5f9;
    --lp-text-muted: #94a3b8;
    --lp-text-dim: #64748b;
    --lp-body: #cbd5e1;
    --lp-card: rgba(255, 255, 255, 0.05);
    --lp-card-2: rgba(255, 255, 255, 0.03);
    --lp-bd: rgba(255, 255, 255, 0.10);
    --lp-bd-soft: rgba(255, 255, 255, 0.07);
    --lp-radius: 16px;
    color: var(--lp-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }

/* ---- Flash messages (post-submit confirmation) ---- */
.lp-flash { padding: 13px 16px; border-radius: 11px; font-size: 0.9rem; font-weight: 600; margin-bottom: 22px; }
.lp-flash.success { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.lp-flash.error   { background: rgba(244, 63, 94, 0.12);  border: 1px solid rgba(244, 63, 94, 0.35);  color: #fda4af; }

/* ---- Shared bits ---- */
.lp-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--lp-accent);
    background: rgba(0, 212, 255, 0.10); border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.lp-eyebrow-amber  { color: var(--lp-amber); background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.30); }
.lp-eyebrow-indigo { color: #a5b4fc;        background: rgba(99, 102, 241, 0.12); border-color: rgba(99, 102, 241, 0.30); }

.lp-section { margin-top: 56px; }
.lp-section-title { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; color: var(--lp-text); margin: 0 0 14px; line-height: 1.2; letter-spacing: -0.01em; }
.lp-lead { font-size: 1.02rem; line-height: 1.65; color: var(--lp-text-muted); margin: 0 0 24px; max-width: 64ch; }

/* ---- Buttons (mirror the qr-decoder .qr-btn) ---- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 11px; font-family: inherit; font-size: 0.95rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
    transition: filter 0.15s, background 0.15s, transform 0.15s;
}
.lp-btn-primary { background: var(--lp-accent); color: var(--lp-ink); }
.lp-btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.lp-btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--lp-text); border-color: var(--lp-bd); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.lp-cta-center { justify-content: center; }

/* ---- Waitlist forms (hero + final) ---- */
.lp-form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--lp-text-muted); margin-bottom: 10px; }
.lp-waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-waitlist input[type="email"] {
    flex: 1; min-width: 200px; padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.25); color: var(--lp-text);
    font-family: inherit; font-size: 0.95rem;
}
.lp-waitlist input[type="email"]::placeholder { color: #5b6b82; }
.lp-waitlist input[type="email"]:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; }
.lp-form-note { font-size: 0.78rem; color: var(--lp-text-dim); margin: 12px 0 0; line-height: 1.5; }

/* ---- 1. Hero ---- */
.lp-hero {
    position: relative; padding-block: 18px 8px; text-align: start;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 212, 255, 0.10), transparent 60%);
}
.lp-hero-title { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.12; font-weight: 700; color: var(--lp-text); margin: 0 0 16px; letter-spacing: -0.015em; }
.lp-hero-sub { font-size: 1.05rem; line-height: 1.6; color: var(--lp-text-muted); margin: 0 0 28px; max-width: 60ch; }
.lp-hero-form { margin-top: 26px; padding: 20px; border-radius: var(--lp-radius); background: var(--lp-card-2); border: 1px solid var(--lp-bd-soft); max-width: 540px; }

/* ---- 2. Wave 24 urgency band ---- */
.lp-wave {
    margin-top: 48px; padding: 28px; border-radius: var(--lp-radius);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.lp-wave-title { font-size: 1.4rem; font-weight: 700; color: var(--lp-text); margin: 0 0 10px; }
.lp-wave-body { font-size: 0.98rem; line-height: 1.6; color: var(--lp-body); margin: 0 0 20px; max-width: 70ch; }
.lp-wave-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-stat { flex: 1; min-width: 200px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.20); border: 1px solid var(--lp-bd-soft); }
.lp-stat-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lp-text-dim); margin-bottom: 6px; }
.lp-stat-value { display: block; font-size: 1.15rem; font-weight: 700; color: var(--lp-amber); }
.lp-wave-disclaimer { font-size: 0.78rem; color: var(--lp-text-dim); margin: 16px 0 0; line-height: 1.5; }

/* ---- 3. The pain -> how Signet answers ---- */
.lp-pain-list { display: flex; flex-direction: column; gap: 16px; }
.lp-pain-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--lp-radius); overflow: hidden; border: 1px solid var(--lp-bd); background: var(--lp-card); }
.lp-pain-problem, .lp-pain-answer { padding: 20px 22px; }
.lp-pain-problem { background: rgba(0, 0, 0, 0.18); }
.lp-pain-answer { background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(99, 102, 241, 0.04)); border-inline-start: 1px solid var(--lp-bd); }
.lp-pain-label { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lp-text-dim); margin-bottom: 8px; }
.lp-pain-label-accent { color: var(--lp-accent); }
.lp-pain-card p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--lp-body); }
.lp-tag { display: inline-block; margin-top: 12px; font-size: 0.68rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0, 212, 255, 0.12); color: var(--lp-accent); border: 1px solid rgba(0, 212, 255, 0.25); }

/* ---- 4. Free tool spotlight (accent-framed: the live capability) ---- */
.lp-tool-card {
    padding: 28px; border-radius: var(--lp-radius);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.28); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.lp-feature-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-feature-list li { position: relative; padding-inline-start: 30px; font-size: 0.95rem; line-height: 1.55; color: var(--lp-body); }
.lp-feature-list li::before {
    content: "\2713"; position: absolute; inset-inline-start: 0; inset-block-start: 1px;
    width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; color: var(--lp-ink); background: var(--lp-accent); border-radius: 50%;
}

/* ---- 5. The bridge (early access; dashed indigo + Soon pills signal not-live) ---- */
.lp-bridge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.lp-bridge-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--lp-card-2); border: 1px dashed rgba(99, 102, 241, 0.35); font-size: 0.92rem; line-height: 1.45; color: var(--lp-body); }
.lp-soon { flex-shrink: 0; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 999px; background: rgba(99, 102, 241, 0.18); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.40); }
.lp-bridge-status { font-size: 0.85rem; line-height: 1.55; color: var(--lp-amber); background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.22); border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; }

/* ---- 6. Why Signet ---- */
.lp-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-why-card { padding: 22px; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--lp-bd); }
.lp-why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--lp-text); margin: 0 0 8px; }
.lp-why-card p { font-size: 0.9rem; line-height: 1.55; color: var(--lp-text-muted); margin: 0; }
.lp-why-note { margin-top: 18px; }

/* ---- 7. Final CTA ---- */
.lp-final {
    margin-top: 60px; padding: 40px 32px; border-radius: 20px; text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.22); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.30);
    scroll-margin-top: 24px;
}
.lp-final-title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: var(--lp-text); margin: 0 0 12px; line-height: 1.2; }
.lp-final-body { font-size: 1rem; line-height: 1.6; color: var(--lp-text-muted); margin: 0 auto 24px; max-width: 52ch; }
.lp-final-form { max-width: 520px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lp-final .lp-form-label, .lp-final .lp-form-note { text-align: center; }

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .lp-section { margin-top: 44px; }
    .lp-pain-card { grid-template-columns: 1fr; }
    .lp-pain-answer { border-inline-start: none; border-block-start: 1px solid var(--lp-bd); }
    .lp-bridge-grid, .lp-why-grid { grid-template-columns: 1fr; }
    .lp-wave, .lp-tool-card { padding: 22px; }
    .lp-final { padding: 28px 20px; }
    .lp-waitlist { flex-direction: column; }
    .lp-waitlist .lp-btn { width: 100%; }
}
