/* SM Karaoke — Landing page */
:root {
    --lp-primary: #ff6b35;
    --lp-primary-glow: rgba(255, 107, 53, 0.45);
    --lp-gold: #ffc107;
    --lp-bg: #08080c;
    --lp-card: rgba(22, 22, 30, 0.85);
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-text: #f5f5f7;
    --lp-muted: #9a9aad;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-text);
    line-height: 1.5;
    overflow-x: hidden;
}

.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 53, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 193, 7, 0.08), transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(120, 80, 255, 0.06), transparent 50%),
        var(--lp-bg);
}

.lp-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.lp-wrap {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Nav */
.lp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--lp-text);
    text-decoration: none;
}

.lp-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.lp-brand-text {
    white-space: nowrap;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-nav a.lp-link {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s;
}

.lp-nav a.lp-link:hover { color: var(--lp-text); }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.lp-btn:active { transform: scale(0.98); }

.lp-btn-ghost {
    background: transparent;
    color: var(--lp-text);
    border: 1px solid var(--lp-border);
}

.lp-btn-ghost:hover {
    border-color: rgba(255, 107, 53, 0.5);
    color: var(--lp-primary);
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-primary), #ff8c42);
    color: #fff;
    box-shadow: 0 8px 28px var(--lp-primary-glow);
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px var(--lp-primary-glow);
}

.lp-btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* Hero */
.lp-hero {
    text-align: center;
    padding: 48px 0 56px;
}

.lp-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: var(--lp-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: lp-fade-up 0.7s ease both;
}

.lp-hero h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    animation: lp-fade-up 0.7s ease 0.1s both;
}

.lp-hero h1 span {
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--lp-muted);
    max-width: 620px;
    margin: 0 auto 32px;
    animation: lp-fade-up 0.7s ease 0.2s both;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 40px;
    animation: lp-fade-up 0.7s ease 0.3s both;
}

.lp-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
    animation: lp-fade-up 0.7s ease 0.4s both;
}

.lp-stat strong {
    display: block;
    font-size: 1.6rem;
    color: var(--lp-primary);
    font-weight: 800;
}

.lp-stat span {
    font-size: 0.82rem;
    color: var(--lp-muted);
}

/* Visual mock */
.lp-mock {
    margin: 0 auto 64px;
    max-width: 720px;
    border-radius: 20px;
    border: 1px solid var(--lp-border);
    background: var(--lp-card);
    backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    animation: lp-fade-up 0.8s ease 0.35s both;
}

.lp-mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--lp-border);
}

.lp-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-dot-r { background: #ff5f57; }
.lp-dot-y { background: #febc2e; }
.lp-dot-g { background: #28c840; }

.lp-mock-body {
    padding: 20px 24px 28px;
    text-align: center;
}

.lp-mock-media {
    position: relative;
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-mock-video {
    width: 100%;
    max-height: 340px;
    min-height: 200px;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.lp-mock-video.hidden { display: none; }

.lp-mock-unmute {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
}

.lp-mock-unmute.hidden { display: none; }

.lp-mock-video-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 3;
}

.lp-mock-video-controls.hidden { display: none; }

.lp-mock-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.2);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.lp-mock-nav:hover { background: rgba(255, 107, 53, 0.4); }

.lp-mock-auto-label {
    font-size: 0.75rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
}

.lp-mock-auto-label input { accent-color: var(--lp-primary); }

.lp-mock-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.lp-mock-mic {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    animation: lp-pulse 2.5s ease-in-out infinite;
}

.lp-mock-code {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--lp-gold);
    margin-bottom: 0;
}

.lp-mock-song {
    font-size: 1.1rem;
    color: var(--lp-muted);
    margin-bottom: 20px;
}

.lp-mock-score {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.08));
    border: 1px solid rgba(76, 175, 80, 0.4);
    font-size: 1.8rem;
    font-weight: 900;
    color: #81c784;
}

/* Sections */
.lp-section {
    padding: 56px 0;
}

.lp-section h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
}

.lp-section-sub {
    text-align: center;
    color: var(--lp-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 0.95rem;
}

.lp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.lp-feature {
    padding: 24px;
    border-radius: 16px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    transition: border-color 0.25s, transform 0.25s;
}

.lp-feature:hover {
    border-color: rgba(255, 107, 53, 0.35);
    transform: translateY(-4px);
}

.lp-feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.lp-feature h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.lp-feature p {
    font-size: 0.88rem;
    color: var(--lp-muted);
    line-height: 1.55;
}

/* Plans */
.lp-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.lp-plan {
    padding: 28px 24px;
    border-radius: 18px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    text-align: center;
    position: relative;
}

.lp-plan.featured {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 1px var(--lp-primary), 0 16px 48px var(--lp-primary-glow);
}

.lp-plan-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.lp-plan h3 { font-size: 1.2rem; margin-bottom: 8px; }

.lp-plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--lp-primary);
    margin: 12px 0;
}

.lp-plan-price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-plan ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    font-size: 0.88rem;
    color: var(--lp-muted);
}

.lp-plan li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.lp-plan li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lp-primary);
    font-weight: 700;
}

/* Platforms */
.lp-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.lp-platform {
    padding: 14px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--lp-border);
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA final */
.lp-cta-final {
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.03));
    border: 1px solid rgba(255, 107, 53, 0.25);
    margin-top: 20px;
}

.lp-cta-final h2 {
    margin-bottom: 12px;
}

.lp-cta-final p {
    color: var(--lp-muted);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.lp-footer {
    text-align: center;
    padding: 40px 0 20px;
    color: var(--lp-muted);
    font-size: 0.82rem;
}

.lp-footer a { color: var(--lp-muted); }

@keyframes lp-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (max-width: 600px) {
    .lp-nav-links .lp-link { display: none; }
    .lp-hero { padding-top: 28px; }
}
