/* Shared styles for public marketing pages (Landing, Privacy, Terms).
   Scoped under .lp so they don't affect the authenticated app shell. */

.lp {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: #0D0E18;
    color: #E2E4F0;
    overflow-x: hidden;
    min-height: 100vh;
}
.lp a { color: inherit; text-decoration: none; }

/* Marketing pages own the page background too */
body:has(.lp) { background: #0D0E18; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

@keyframes lpFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpGrad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lp .lp-fade-up { animation: lpFadeUp .7s ease both; }
.lp .lp-fade-up.d1 { animation-delay: .1s; }
.lp .lp-fade-up.d2 { animation-delay: .2s; }
.lp .lp-fade-up.d3 { animation-delay: .3s; }
.lp .lp-fade-up.d4 { animation-delay: .4s; }

/* Nav */
.lp .lp-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13,14,24,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp .lp-nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 28px; height: 66px;
    display: flex; align-items: center; gap: 32px;
}
.lp .lp-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lp .lp-logo {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
}
.lp .lp-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.3px; color: #E2E4F0; }
.lp .lp-nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.lp .lp-nav-links a {
    font-size: 13.5px; font-weight: 600; color: #9095B0;
    transition: color .15s;
}
.lp .lp-nav-links a:hover { color: #E2E4F0; }
.lp .lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lp .lp-btn-pri {
    background: #6366F1; color: #fff;
    padding: 11px 24px; border-radius: 9px;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    cursor: pointer; border: none;
    font-family: inherit;
    transition: background .15s, transform .1s;
}
.lp .lp-btn-pri:hover { background: #7275F3; color: #fff; transform: translateY(-1px); }
.lp .lp-btn-out {
    background: transparent; color: #E2E4F0;
    padding: 10px 22px; border-radius: 9px;
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 7px;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.2);
    transition: all .15s;
    font-family: inherit;
}
.lp .lp-btn-out:hover { border-color: #6366F1; color: #A5B4FC; }
.lp .lp-btn-ghost {
    background: transparent; color: #A0A5C0;
    padding: 8px 16px; border-radius: 8px;
    font-size: 13.5px; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.lp .lp-btn-ghost:hover { border-color: rgba(99,102,241,0.5); color: #E2E4F0; }

.lp .lp-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 11.5px; font-weight: 700; color: #A5B4FC;
    letter-spacing: .05em; text-transform: uppercase;
    margin-bottom: 16px;
}
.lp .lp-card {
    background: #131423;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
}

/* Hero */
.lp .lp-hero {
    min-height: 92vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding: 80px 28px;
}
.lp .lp-blob { position: absolute; pointer-events: none; }
.lp .lp-blob-top {
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.18) 0%, transparent 70%);
}
.lp .lp-blob-bottom {
    bottom: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.1) 0%, transparent 70%);
}
.lp .lp-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.lp .lp-hero-title {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -2px; color: #F0F1FF;
    margin-bottom: 22px; text-wrap: pretty;
}
.lp .lp-hero-grad {
    background: linear-gradient(90deg, #6366F1, #A78BFA, #6366F1);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lpGrad 4s ease infinite;
}
.lp .lp-hero-sub {
    font-size: clamp(15px, 2vw, 19px);
    color: #9095B0; line-height: 1.65;
    max-width: 580px; margin: 0 auto 36px;
}
.lp .lp-hero-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap; margin-bottom: 52px;
}
.lp .lp-social {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
}
.lp .lp-social-cluster { display: flex; align-items: center; gap: 8px; }
.lp .lp-social-text { font-size: 13px; color: #6B7090; }
.lp .lp-social-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }
.lp .lp-avatars { display: flex; }
.lp .lp-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid #0D0E18;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp .lp-avatars .lp-avatar + .lp-avatar { margin-left: -8px; }

.lp .lp-preview { margin-top: 60px; position: relative; }
.lp .lp-preview-frame {
    background: #131423;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.lp .lp-preview-topbar {
    background: #181927;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    height: 44px;
    display: flex; align-items: center;
    padding: 0 18px; gap: 8px;
}
.lp .lp-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp .lp-address {
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 4px 20px;
    font-size: 11px; color: #4A4F6A;
}
.lp .lp-preview-body { padding: 24px; display: grid; grid-template-columns: 160px 1fr; gap: 0; }
.lp .lp-preview-sidebar {
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 16px 12px;
}
.lp .lp-side-item {
    display: flex; align-items: center; gap: 7px;
    padding: 8px; border-radius: 7px; margin-bottom: 2px;
}
.lp .lp-side-item span { font-size: 11.5px; color: #5A5F7A; }
.lp .lp-side-active { background: rgba(99,102,241,0.14); }
.lp .lp-side-active span { color: #8B9AFF; font-weight: 600; }
.lp .lp-preview-content { padding: 16px 20px; }
.lp .lp-preview-title { font-size: 14px; font-weight: 700; color: #E2E4F0; margin-bottom: 14px; }
.lp .lp-preview-metrics {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; margin-bottom: 14px;
}
.lp .lp-metric-tile {
    background: #0D0E18;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px;
}
.lp .lp-metric-lbl {
    font-size: 9px; color: #5A5F7A;
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 5px;
}
.lp .lp-metric-val {
    font-size: 16px; font-weight: 700; color: #E2E4F0;
    font-variant-numeric: tabular-nums;
}
.lp .lp-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.lp .lp-preview-fade {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, #0D0E18);
    border-radius: 0 0 20px 20px;
}

/* Sections */
.lp .lp-section { padding: 96px 28px; max-width: 1200px; margin: 0 auto; }
.lp .lp-section-head { text-align: center; margin-bottom: 56px; }
.lp .lp-section-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.lp .lp-h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    color: #F0F1FF; letter-spacing: -1px;
    margin-bottom: 14px; text-align: center; text-wrap: pretty;
}
.lp .lp-lead {
    font-size: 16px; color: #7A7F9E;
    max-width: 520px; margin: 0 auto; line-height: 1.65;
}

.lp .lp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp .lp-bene { padding: 28px; transition: border-color .2s; }
.lp .lp-bene:hover { border-color: rgba(99,102,241,0.35); }
.lp .lp-bene-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.lp .lp-bene-title { font-size: 15.5px; font-weight: 700; color: #E2E4F0; margin-bottom: 8px; }
.lp .lp-bene-desc { font-size: 13.5px; color: #7A7F9E; line-height: 1.65; }

.lp .lp-howto-wrap {
    padding: 80px 28px;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.05), transparent);
}
.lp .lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp .lp-step { text-align: center; }
.lp .lp-step-num {
    width: 52px; height: 52px;
    background: rgba(99,102,241,0.12);
    border: 1.5px solid rgba(99,102,241,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 18px; font-weight: 800; color: #A5B4FC;
}
.lp .lp-step-title { font-size: 14px; font-weight: 700; color: #E2E4F0; margin-bottom: 6px; }
.lp .lp-step-desc { font-size: 12.5px; color: #7A7F9E; line-height: 1.6; }

.lp .lp-plans {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; align-items: stretch;
}
.lp .lp-plan {
    background: #131423;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    display: flex; flex-direction: column;
}
.lp .lp-plan-featured {
    background: #181830;
    border: 2px solid #6366F1;
    box-shadow: 0 0 40px rgba(99,102,241,0.2);
}
.lp .lp-plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: #6366F1; color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 4px 14px; border-radius: 100px;
    white-space: nowrap; letter-spacing: .05em;
}
.lp .lp-plan-name {
    font-size: 13px; font-weight: 700; color: #A5B4FC;
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 8px;
}
.lp .lp-plan-tag { font-size: 13px; color: #7A7F9E; margin-bottom: 22px; line-height: 1.5; }
.lp .lp-plan-price { margin-bottom: 24px; }
.lp .lp-plan-price span { font-size: 38px; font-weight: 800; color: #F0F1FF; letter-spacing: -1.5px; }
.lp .lp-plan-price small { font-size: 14px; color: #5A5F7A; }
.lp .lp-plan-features {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 28px; flex: 1;
    list-style: none; padding: 0;
}
.lp .lp-plan-features li {
    font-size: 13px; color: #9095B0; line-height: 1.5;
    display: flex; align-items: flex-start; gap: 9px;
}
.lp .lp-plan-features li::before {
    content: '✓';
    color: #4ADE80; font-weight: 700;
    flex-shrink: 0; margin-top: 1px;
}
.lp .lp-plan-cta {
    padding: 12px; border-radius: 9px;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: opacity .15s;
}
.lp .lp-plan-cta:hover { opacity: .88; }
.lp .lp-plan-cta-alt {
    background: rgba(255,255,255,0.07); color: #C8CCE0;
    border: 1px solid rgba(255,255,255,0.1);
}
.lp .lp-plan-cta-pri { background: #6366F1; color: #fff; border: none; }

/* FAQ */
.lp .lp-faq {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
}
.lp .lp-faq:last-child { border-bottom: none; }
.lp .lp-faq summary {
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; cursor: pointer;
}
.lp .lp-faq summary::-webkit-details-marker { display: none; }
.lp .lp-faq-q { font-size: 14.5px; font-weight: 700; color: #D0D4E8; }
.lp .lp-faq-toggle {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(99,102,241,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #A5B4FC; font-weight: 700; font-size: 16px;
    position: relative;
}
.lp .lp-faq-plus, .lp .lp-faq-minus { position: absolute; }
.lp .lp-faq-minus { display: none; }
.lp .lp-faq[open] .lp-faq-plus { display: none; }
.lp .lp-faq[open] .lp-faq-minus { display: inline; }
.lp .lp-faq-a {
    font-size: 13.5px; color: #7A7F9E; line-height: 1.7;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* About */
.lp .lp-about {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.lp .lp-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.lp .lp-stat-n { font-size: 28px; font-weight: 800; color: #A5B4FC; letter-spacing: -1px; }
.lp .lp-stat-l { font-size: 13px; color: #5A5F7A; margin-top: 2px; }
.lp .lp-about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp .lp-mini { padding: 22px; }
.lp .lp-mini-emoji { font-size: 22px; margin-bottom: 10px; }
.lp .lp-mini-t { font-size: 13.5px; font-weight: 700; color: #E2E4F0; margin-bottom: 5px; }
.lp .lp-mini-d { font-size: 12.5px; color: #7A7F9E; line-height: 1.6; }

/* Contact */
.lp .lp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lp .lp-contact-icon {
    width: 36px; height: 36px;
    background: rgba(99,102,241,0.12);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp .lp-contact-form { padding: 28px; }
.lp .lp-lbl {
    font-size: 12px; font-weight: 600; color: #7A7F9E;
    margin-bottom: 6px; display: block;
    letter-spacing: .03em;
}
.lp .lp-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    color: #E2E4F0;
    padding: 11px 14px;
    font-size: 14px;
    width: 100%;
    transition: border-color .15s;
    outline: none;
    font-family: inherit;
}
.lp .lp-input:focus { border-color: #6366F1; background: rgba(99,102,241,0.06); }
.lp .lp-input::placeholder { color: #4A4F6A; }

/* CTA */
.lp .lp-cta-wrap { padding: 80px 28px; }
.lp .lp-cta {
    max-width: 800px; margin: 0 auto;
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.12));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
}

/* Footer */
.lp .lp-footer {
    background: #0A0B14;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 56px 28px 28px;
}
.lp .lp-footer-inner { max-width: 1200px; margin: 0 auto; }
.lp .lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; margin-bottom: 48px;
}
.lp .lp-footer-hd {
    font-size: 11.5px; font-weight: 700; color: #4A4F6A;
    letter-spacing: .09em; text-transform: uppercase;
    margin-bottom: 16px;
}
.lp .lp-footer-links { display: flex; flex-direction: column; gap: 11px; }
.lp .lp-footer-links a {
    font-size: 13.5px; color: #7A7F9E;
    transition: color .15s;
}
.lp .lp-footer-links a:hover { color: #E2E4F0; }
.lp .lp-footer-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    font-size: 13px; color: #3D4260;
}
.lp .lp-footer-bar a {
    font-size: 12.5px; color: #3D4260;
    transition: color .15s;
}
.lp .lp-footer-bar a:hover { color: #7A7F9E; }

@media (max-width: 900px) {
    .lp .lp-preview-body { grid-template-columns: 1fr; }
    .lp .lp-preview-sidebar { display: none; }
}
@media (max-width: 768px) {
    .lp .desk-only { display: none !important; }
    .lp .lp-benefits { grid-template-columns: 1fr 1fr; }
    .lp .lp-steps { grid-template-columns: 1fr 1fr; }
    .lp .lp-plans { grid-template-columns: 1fr; }
    .lp .lp-about, .lp .lp-contact { grid-template-columns: 1fr; gap: 32px; }
    .lp .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .lp .lp-preview-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .lp .lp-benefits { grid-template-columns: 1fr; }
    .lp .lp-steps { grid-template-columns: 1fr; }
}
