/* LANDING PAGE (before login). Every class starts with lp-, nothing here touches the application's pages. */

.lp {
    --lp-primary: #7c3aed;
    --lp-cyan: #06b6d4;
    --lp-muted: #94a3b8;
    --lp-line: rgba(255, 255, 255, .09);
    --lp-card: rgba(255, 255, 255, .04);
    --lp-radius: 22px;
    overflow-x: clip;
}

/* the page container (95% wide with padding in the topnav layout) runs edge to edge here: every section has its own .container */
html[data-layout=topnav] .container-fluid:has(> .lp) { max-width: none; padding-left: 0; padding-right: 0; }

.lp a { text-decoration: none; }

.lp-gradient {
    background: linear-gradient(135deg, #e9d5ff, #a78bfa 40%, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- buttons ---- */
.lp-btn {
    padding: .85rem 1.6rem;
    border-radius: 14px;
    font-weight: 700;
    transition: transform .25s, box-shadow .25s, background .25s;
}

.lp-btn-main {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-cyan));
    box-shadow: 0 10px 32px rgba(124, 58, 237, .32);
}

.lp-btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(124, 58, 237, .45); }

.lp-btn-ghost {
    color: #fff;
    border: 1px solid var(--lp-line);
    background: rgba(255, 255, 255, .03);
}

.lp-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lp-btn-ghost:disabled { color: var(--lp-muted); opacity: .8; }

.lp-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.1rem; }

/* ---- hero ---- */
.lp-hero {
    position: relative;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.lp-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.lp-glow-1 { width: 620px; height: 620px; top: -260px; right: -200px; background: radial-gradient(circle, rgba(124, 58, 237, .32), transparent 70%); }
.lp-glow-2 { width: 520px; height: 520px; bottom: -260px; left: -220px; background: radial-gradient(circle, rgba(6, 182, 212, .2), transparent 70%); }

.lp-hero .container { position: relative; z-index: 2; }

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    margin-bottom: 1.4rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-card);
    color: #cbd5e1;
    font-size: .85rem;
}

.lp-badge .mdi { color: var(--lp-cyan); font-size: 1.1rem; }

.lp-h1 {
    margin: 0 0 1.2rem;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.lp-lead {
    max-width: 560px;
    margin-bottom: 1.8rem;
    color: var(--lp-muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.lp-note { color: var(--lp-muted); font-size: .9rem; margin: 0; }
.lp-note .mdi { color: #22c55e; }
.lp-note a { color: #c4b5fd; }
.lp-note a:hover { color: #fff; }

/* ---- the demo song ---- */
.lp-demo-wrap { position: relative; max-width: 560px; margin-left: auto; padding-bottom: 1.8rem; }

.lp-demo {
    border: 1px solid var(--lp-line);
    border-radius: 26px;
    background: rgba(17, 24, 39, .9);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .5), 0 0 70px rgba(124, 58, 237, .18);
    overflow: hidden;
}

.lp-demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1.2rem;
    border-bottom: 1px solid var(--lp-line);
    background: rgba(255, 255, 255, .03);
}

.lp-demo-title { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lp-demo-title span { color: var(--lp-muted); font-size: .78rem; }

.lp-demo-tools { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }

.lp-tool {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lp-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.lp-tool:hover { background: rgba(124, 58, 237, .35); }
.lp-tool:active { transform: scale(.94); }
.lp-tool.active { background: var(--lp-primary); }

.lp-key {
    padding: .3rem .55rem;
    border-radius: 8px;
    background: rgba(6, 182, 212, .18);
    color: #67e8f9;
    font-size: .8rem;
    font-weight: 700;
}

.lp-demo-song { padding: 1.1rem 1.3rem 1.3rem; overflow-x: auto; }
.lp-demo-song #song-content { min-width: 0; }

.lp-demo-hint {
    text-align: right;
    padding: .65rem 1.2rem;
    border-top: 1px dashed var(--lp-line);
    color: var(--lp-muted);
    font-size: .8rem;
}

.lp-demo-hint .mdi { color: var(--lp-cyan); }

.lp-float {
    position: absolute;
    left: -1.2rem;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: rgba(15, 23, 42, .95);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    animation: lp-float 6s ease-in-out infinite;
}

.lp-float strong { display: block; line-height: 1.2; font-size: .9rem; }
.lp-float small { color: var(--lp-muted); }
.lp-float-qr { font-size: 1.6rem; color: #c4b5fd; }

.lp-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f43f5e;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, .22);
    animation: lp-pulse 1.6s ease-in-out infinite;
}

@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- strip ---- */
.lp-strip {
    padding: 1.4rem 0;
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
    background: rgba(255, 255, 255, .02);
    color: #cbd5e1;
    font-size: .92rem;
}

.lp-strip .mdi { margin-right: .35rem; color: var(--lp-cyan); font-size: 1.25rem; vertical-align: middle; }
.lp-strip span { vertical-align: middle; }

/* ---- sections ---- */
.lp-section { padding: 5.5rem 0; }
.lp-section-alt { background: rgba(255, 255, 255, .02); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-narrow { max-width: 820px; }

.lp-title { text-align: center; margin-bottom: 3.2rem; }
.lp-title h2, .lp-h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.12; }
.lp-title p { max-width: 640px; margin: .9rem auto 0; color: var(--lp-muted); font-size: 1.05rem; line-height: 1.7; }
.lp-sub { color: var(--lp-muted); font-size: 1.05rem; line-height: 1.75; margin: 1rem 0 1.6rem; max-width: 540px; }

/* ---- feature cards ---- */
.lp-card {
    height: 100%;
    padding: 1.7rem;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-card);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.lp-card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.lp-card h4 { margin: 1.1rem 0 .6rem; font-size: 1.12rem; font-weight: 800; }
.lp-card p { margin: 0; color: var(--lp-muted); line-height: 1.7; font-size: .95rem; }

.lp-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .85), rgba(6, 182, 212, .85));
    color: #fff;
    font-size: 1.6rem;
}

/* ---- live sessions ---- */
.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-steps li { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.lp-steps h5 { margin: .1rem 0 .25rem; font-weight: 800; }
.lp-steps p { margin: 0; color: var(--lp-muted); line-height: 1.65; }

.lp-step-no {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-cyan));
    color: #fff;
    font-weight: 800;
}

.lp-live-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding: 2rem 1rem;
}

.lp-invite {
    width: 220px;
    padding: 1.1rem 1rem 1.3rem;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    background: rgba(17, 24, 39, .9);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    transform: rotate(-3deg);
}

.lp-invite-logo img { height: 26px; margin-bottom: .5rem; }
.lp-invite strong { display: block; margin-bottom: .75rem; }
.lp-invite-qr { display: inline-block; padding: 8px; border-radius: 12px; background: #fff; line-height: 0; }
.lp-qr { width: 150px; height: 150px; display: block; }

.lp-phone {
    position: relative;
    width: 235px;
    border: 7px solid #1f2937;
    border-radius: 32px;
    background: #0f172a;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
    transform: rotate(2.5deg);
}

.lp-phone-bar { height: 22px; display: flex; justify-content: center; align-items: center; }
.lp-phone-bar span { width: 54px; height: 6px; border-radius: 4px; background: #1f2937; }
.lp-phone-head { display: flex; justify-content: space-between; align-items: center; padding: .35rem .85rem; border-bottom: 1px solid var(--lp-line); font-size: .78rem; }
.lp-phone-live { color: #22c55e; font-size: .68rem; font-weight: 700; }
.lp-phone-song { padding: .7rem .85rem .4rem; }
.lp-phone-title { font-size: .85rem; font-weight: 800; margin-bottom: .45rem; }
.lp-phone-title .lp-key { font-size: .68rem; padding: .15rem .4rem; margin-left: .25rem; }
.lp-phone-lines { display: flex; flex-direction: column; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .66rem; line-height: 1.5; color: #cbd5e1; white-space: nowrap; }
.lp-phone-lines .lp-ch { color: #38bdf8; font-weight: 700; }

.lp-people { margin: .5rem .6rem .75rem; padding: .45rem .6rem; border: 1px solid var(--lp-line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lp-person { display: flex; align-items: center; gap: .4rem; padding: .12rem 0; font-size: .72rem; }
.lp-tag { margin-left: auto; padding: .05rem .4rem; border-radius: 6px; font-size: .6rem; font-weight: 700; }
.lp-tag-host { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.lp-tag-you { background: rgba(34, 197, 94, .18); color: #4ade80; }

/* ---- tuner ---- */
.lp-ticks { list-style: none; margin: 0; padding: 0; }
.lp-ticks li { padding: .35rem 0; color: #cbd5e1; }
.lp-ticks .mdi { margin-right: .4rem; color: #22c55e; }

.lp-tuner {
    max-width: 420px;
    margin: 0 auto;
    padding: 1.6rem 1.4rem 1.4rem;
    border: 1px solid var(--lp-line);
    border-radius: 28px;
    background: rgba(17, 24, 39, .9);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.lp-gauge { width: 100%; height: auto; }
.lp-needle { transform-origin: 160px 170px; animation: lp-tune 5s ease-in-out infinite; }
@keyframes lp-tune {
    0%, 100% { transform: rotate(-4deg); }
    20% { transform: rotate(-38deg); }
    45% { transform: rotate(22deg); }
    65% { transform: rotate(-9deg); }
    80% { transform: rotate(2deg); }
}

.lp-tuner-note { margin-top: -.4rem; font-size: 3rem; font-weight: 900; line-height: 1; color: #4ade80; }
.lp-tuner-note small { font-size: 1.2rem; }
.lp-tuner-strings { display: flex; justify-content: center; gap: .55rem; margin-top: 1.1rem; }
.lp-tuner-strings span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--lp-line); border-radius: 50%; background: rgba(255, 255, 255, .05); font-weight: 700; }
.lp-tuner-strings span:nth-child(3) { border-color: #22c55e; color: #4ade80; }

/* ---- plans ---- */
.lp-plan {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.9rem;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-card);
}

.lp-plan-featured { border-color: rgba(124, 58, 237, .6); box-shadow: 0 0 0 1px rgba(124, 58, 237, .3), 0 24px 70px rgba(124, 58, 237, .16); }
.lp-plan h4 { margin: 0; font-weight: 800; }
.lp-plan-tag { margin: .2rem 0 1.2rem; color: var(--lp-muted); font-size: .9rem; }
.lp-plan ul { flex: 1 1 auto; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.lp-plan li { padding: .3rem 0; font-size: .93rem; }
.lp-plan li.lp-off { color: var(--lp-muted); }
.lp-plan li .mdi { margin-right: .35rem; }

/* ---- FAQ ---- */
.lp-faq details { margin-bottom: .75rem; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-card); }
.lp-faq summary { padding: 1.05rem 1.3rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--lp-cyan); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--lp-muted); line-height: 1.75; }

/* ---- final call ---- */
.lp-end {
    padding: 4.2rem 1.5rem;
    border: 1px solid var(--lp-line);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(6, 182, 212, .14));
    text-align: center;
}

.lp-end h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; }
.lp-end p { margin: .8rem 0 1.8rem; color: #cbd5e1; font-size: 1.1rem; }

/* ---- footer ---- */
.lp-footer { padding: 2.2rem 0 1.6rem; border-top: 1px solid var(--lp-line); background: rgba(255, 255, 255, .02); }
.lp-footer-logo { height: 28px; }
.lp-footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.lp-footer-nav a { color: var(--lp-muted); font-size: .92rem; }
.lp-footer-nav a:hover, .lp-footer-nav a.active { color: #fff; }
.lp-lang > a { color: var(--lp-muted); font-size: .92rem; }
.lp .lp-lang .dropdown-toggle::after { display: none; }   /* Bootstrap's dropup caret, the chevron icon is enough */
.lp-lang > a:hover, .lp-lang > a.show { color: #fff; }

/* ---- small screens ---- */
@media (max-width: 991px) {
    .lp-hero { padding-top: 2.5rem; }
    .lp-demo-wrap { margin: 0 auto; }
    .lp-section { padding: 4rem 0; }
    .lp-float { left: .5rem; }
}

@media (max-width: 575px) {
    .lp-actions .btn { width: 100%; }
    .lp-demo-head { padding: .75rem .9rem; }
    .lp-demo-song { padding: .9rem; }
    .lp-invite { transform: none; }
    .lp-phone { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-float, .lp-live-dot, .lp-needle { animation: none; }
}

/* ---- phones: the demo song scrolls sideways instead of wrapping (a wrapped line would lose its chords), cards are compact ---- */
@media (max-width: 575px) {
    .lp-demo-song #song-content { font-size: .78rem !important; }
    .lp-demo-song .song-line { white-space: pre !important; }
    .lp-float { position: static; margin-top: .9rem; animation: none; }
    .lp-demo-hint { text-align: left; }
    .lp-demo-wrap { padding-bottom: 0; }
    .lp-card { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; align-items: start; padding: 1.2rem; }
    .lp-card .lp-icon { grid-row: 1 / span 2; }
    .lp-card h4 { margin: .15rem 0 .3rem; }
}

/* ---- Premium marks and prices ---- */
.lp-pro {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
    font-size: .72rem;
    font-weight: 700;
}

.lp-card { position: relative; }
.lp-card .lp-pro { position: absolute; top: 1.3rem; right: 1.3rem; }

.lp-price { margin: .2rem 0 1.2rem; }
.lp-price-main { font-size: 2.3rem; font-weight: 900; letter-spacing: -.02em; }
.lp-price-per { margin-left: .3rem; color: var(--lp-muted); }
.lp-price-year { margin-top: .2rem; color: #cbd5e1; font-size: .92rem; }
.lp-save { margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(34, 197, 94, .15); color: #4ade80; font-size: .75rem; font-weight: 700; }
.lp-trial { display: inline-block; margin-top: .6rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(124, 58, 237, .22); color: #c4b5fd; font-size: .8rem; font-weight: 700; }
