.landing-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.landing {
    position: relative;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

/* Topbar */
.landing-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.character-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 99px;
    backdrop-filter: blur(10px);
}

.character-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(124, 92, 255, .4);
}

.character-name {
    font-weight: 600;
    font-size: 14px;
}

.character-role {
    font-size: 11px;
    color: var(--fg-dim);
    margin-top: 1px;
}

/* Hero */
.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.landing-hero {
    text-align: center;
    margin-bottom: 48px;
}

.landing-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, #95a0b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-hero p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--fg-dim);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    flex: 1;
    align-items: start;
}

.card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--fg);
    transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--accent) 60%, transparent 80%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 92, 255, .3);
    box-shadow: 0 20px 60px -20px rgba(124, 92, 255, .3);
}

.card:hover::before { opacity: 1; }

.card[data-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

.card[data-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}

.card-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 10px;
    background: rgba(124, 92, 255, .15);
    color: #c8b8ff;
    border: 1px solid rgba(124, 92, 255, .3);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.card-voice .card-badge {
    background: rgba(34, 211, 238, .15);
    color: #a5f3fc;
    border-color: rgba(34, 211, 238, .3);
}

.card-liveavatar .card-badge {
    background: rgba(251, 146, 60, .15);
    color: #fed7aa;
    border-color: rgba(251, 146, 60, .3);
}

.card-visual {
    position: relative;
    height: 200px;
    background: radial-gradient(circle at 50% 60%, rgba(124, 92, 255, .15), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-visual img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.1);
    z-index: 1;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,.6);
}

.card-pulse {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), transparent 60%);
    opacity: .3;
    animation: cardPulse 3s ease-in-out infinite;
    filter: blur(20px);
}

.card-pulse-cyan {
    background: radial-gradient(circle, #fb923c, transparent 60%);
}

@keyframes cardPulse {
    0%, 100% { transform: scale(1); opacity: .3; }
    50% { transform: scale(1.2); opacity: .5; }
}

/* Orb (voice card) */
.orb {
    position: relative;
    width: 140px; height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.orb-inner {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #22d3ee, #7c5cff, #22d3ee);
    box-shadow: 0 0 40px rgba(34, 211, 238, .5);
    animation: orbPulse 2.5s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 70%);
    filter: blur(15px);
    animation: orbPulse 2.5s ease-in-out infinite reverse;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 6px;
}

.card-body h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.card-body h2 small {
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-dim);
    margin-left: 4px;
}

.card-body > p {
    font-size: 14px;
    color: var(--fg-dim);
    line-height: 1.55;
    margin-bottom: 20px;
}

.card-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.card-specs li {
    padding: 12px 6px;
    text-align: center;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-specs li:last-child { border-right: 0; }

.card-specs span {
    font-size: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--fg-dim);
    opacity: .8;
}

.card-specs b {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg);
}

.card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-2);
    font-size: 14px;
    transition: gap .2s ease;
}

.card-cta-muted {
    color: var(--fg-dim);
}

.card:hover .card-cta {
    gap: 12px;
}

.card-cta .arrow {
    transition: transform .2s ease;
}

.card:hover .card-cta .arrow { transform: translateX(4px); }

/* Footer */
.landing-footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--fg-dim);
}

@media (max-width: 640px) {
    .landing { padding: 16px; }
    .landing-topbar { flex-direction: column; gap: 16px; align-items: flex-start; }
    .cards { grid-template-columns: 1fr; }
    .card { min-height: 420px; }
    .landing-footer { flex-direction: column; gap: 8px; text-align: center; }
}

/* Shared brand-link */
.brand-link {
    text-decoration: none;
    color: var(--fg);
    transition: opacity .2s ease;
}
.brand-link:hover { opacity: .7; }
.back-arrow {
    font-size: 18px;
    opacity: .6;
    margin-right: 4px;
}
