/* Styles used only by the feature pages (features.html and the individual feature pages). */

.hero.hero-compact {
    padding-bottom: 110px;
}

.hero.hero-compact + .section.after-hero {
    padding-top: 110px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.media-frame .vcard-thumb {
    border-radius: 16px;
}

.media-frame .vcard-thumb:hover img {
    transform: scale(1.04);
}

.media-frame .vcard-thumb:hover .vcard-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.mini h3.title {
    margin-top: 0;
}

.split .checks {
    margin-top: 8px;
}

.prose p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.dark .prose p {
    color: rgba(255, 255, 255, 0.72);
}

/* FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq details[open] {
    border-color: #d6cdff;
    box-shadow: var(--shadow-sm);
}

.faq summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: var(--brand);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq summary:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 16px;
}

.faq details p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

/* Feature link cards (hub page and "related features") */
a.card.feature-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

a.card.feature-link p {
    flex: 1;
}

a.card.feature-link .more {
    margin-top: 18px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
}

.dark a.card.feature-link .more {
    color: var(--blush);
}

a.card.feature-link:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

.feature-link .feature-thumb {
    display: block;
    margin: -30px -28px 22px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--ink);
}

.feature-link .feature-thumb img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.feature-link:hover .feature-thumb img {
    transform: scale(1.05);
}

.feature-link .feature-thumb-icon {
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse 60% 70% at 20% 20%, rgba(47, 57, 186, 0.6), transparent 70%),
        radial-gradient(ellipse 60% 70% at 85% 85%, rgba(255, 94, 196, 0.4), transparent 70%),
        var(--ink);
}

.feature-link .feature-thumb-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

/* ---------- Multi-Group Meetings page: split hero with a group board ---------- */
.hero.mg-hero {
    text-align: left;
}

.mg-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.mg-hero .breadcrumb,
.mg-hero .hero-actions {
    justify-content: flex-start;
}

.mg-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.mg-hero .hero-lead {
    margin: 0 0 36px;
}

.mg-board {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
    isolation: isolate;
}

.mg-board::before {
    content: "";
    position: absolute;
    inset: 10% 8% -6%;
    z-index: -1;
    border-radius: 40px;
    background: var(--grad);
    filter: blur(70px);
    opacity: 0.35;
}

.mg-board-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 6px 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.mg-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
}

.mg-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5ec4;
    box-shadow: 0 0 0 4px rgba(255, 94, 196, 0.2);
}

.mg-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mg-group {
    padding: 14px;
    border: 1px solid rgba(179, 184, 240, 0.16);
    border-radius: 18px;
    background: rgba(10, 10, 20, 0.85);
}

.mg-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
}

.mg-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(179, 184, 240, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    font-weight: 650;
}

.mg-tag-lock {
    background: rgba(255, 94, 196, 0.16);
    color: #ffc8eb;
}

.mg-locked {
    border-color: rgba(255, 94, 196, 0.35);
}

.mg-target {
    border: 1.5px dashed rgba(255, 200, 235, 0.55);
    animation: mg-target 3.2s ease-in-out infinite;
}

.mg-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mg-av {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(150deg, #2f39ba 0%, #15194f 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
}

.mg-av:nth-child(3n + 2) {
    background: linear-gradient(150deg, #c2389e 0%, #ff5ec4 100%);
}

.mg-av:nth-child(3n + 3) {
    background: linear-gradient(150deg, #5b4bd6 0%, #f092dd 100%);
}

.mg-av.speaking {
    box-shadow: 0 0 0 2px #0a0a14, 0 0 0 4px #ff5ec4;
}

.mg-av.more {
    background: rgba(179, 184, 240, 0.14);
    color: rgba(255, 255, 255, 0.75);
}

.mg-slot {
    width: 44px;
    height: 44px;
    border: 1.5px dashed rgba(255, 200, 235, 0.55);
    border-radius: 50%;
}

.mg-drag {
    position: absolute;
    top: 52%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 2px;
    transform: translate(-50%, -50%);
    animation: mg-drag 3.2s ease-in-out infinite;
    pointer-events: none;
}

.mg-av-drag {
    background: var(--grad);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 16px 30px rgba(0, 0, 0, 0.5);
    transform: rotate(-6deg);
}

.mg-cursor {
    margin: 26px 0 0 -10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.mg-drag-label {
    margin: 30px 0 0 2px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

@keyframes mg-drag {
    0%, 100% { transform: translate(-60%, -70%); }
    50% { transform: translate(-40%, -30%); }
}

@keyframes mg-target {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 94, 196, 0); }
    50% { box-shadow: 0 0 0 6px rgba(255, 94, 196, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
    .mg-drag,
    .mg-target {
        animation: none;
    }
}

/* ---------- Multi-Group Meetings page: overview with comparison ---------- */
.mg-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
}

.mg-intro h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.mg-intro .prose p:last-child {
    margin-bottom: 0;
}

.mg-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.mg-card {
    position: relative;
    height: 100%;
    padding: 34px 32px 30px;
    border-radius: var(--radius);
}

.mg-card h3 {
    margin: 14px 0 20px;
    font-size: 22px;
    font-weight: 750;
}

.mg-card-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mg-before {
    border: 1px dashed #cfd1e2;
    background: var(--soft);
}

.mg-before .mg-card-tag {
    background: #e4e5ef;
    color: var(--muted);
}

.mg-before h3 {
    color: var(--muted);
}

.mg-after {
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        var(--grad) border-box;
    box-shadow: var(--shadow-lg);
}

.mg-after .mg-card-tag {
    background: var(--grad);
    color: #ffffff;
}

.mg-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mg-list-x li {
    position: relative;
    padding-left: 34px;
    color: var(--muted);
    font-size: 16px;
}

.mg-list-x li::before {
    content: "\2715";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e4e5ef;
    color: #8a8aa3;
    font-size: 11px;
    font-weight: 800;
}

.mg-vs {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
}

.mg-demo {
    max-width: 780px;
    margin: 88px auto 0;
}

.mg-demo .pill-row {
    margin-top: 32px;
}

@media (max-width: 960px) {
    .mg-hero .container,
    .mg-intro {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mg-compare {
        grid-template-columns: 1fr;
    }

    .mg-vs {
        margin: -4px auto;
    }
}

@media (max-width: 560px) {
    .mg-board {
        padding: 12px;
    }

    .mg-groups {
        gap: 8px;
    }

    .mg-group {
        padding: 10px;
    }

    .mg-group-head {
        flex-wrap: wrap;
        font-size: 13px;
    }

    .mg-av,
    .mg-slot {
        width: 34px;
        height: 34px;
        font-size: 11.5px;
    }

    .mg-drag-label {
        display: none;
    }
}

/* ---------- AI Captions & Summaries page: split hero with live caption panel ---------- */
.hero.ai-hero {
    text-align: left;
}

.ai-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-hero .breadcrumb,
.ai-hero .hero-actions {
    justify-content: flex-start;
}

.ai-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.ai-hero .hero-lead {
    margin: 0 0 36px;
}

.ai-stage {
    position: relative;
    padding: 0 0 250px;
    isolation: isolate;
}

.ai-stage::before {
    content: "";
    position: absolute;
    inset: 6% 4% 10%;
    z-index: -1;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(47, 57, 186, 0.9), rgba(34, 211, 238, 0.35));
    filter: blur(80px);
    opacity: 0.4;
}

.ai-panel {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(12, 12, 24, 0.92);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.ai-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
}

.ai-rec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
}

.ai-rec::before {
    content: "REC";
    padding: 2px 7px;
    border-radius: 6px;
    background: #e5484d;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.ai-cc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid rgba(179, 184, 240, 0.25);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 650;
}

.ai-speaker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(179, 184, 240, 0.07);
}

.ai-speaker b {
    display: block;
    color: #ffffff;
    font-size: 15px;
}

.ai-speaker small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

.ai-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(150deg, #c2389e 0%, #ff5ec4 100%);
    box-shadow: 0 0 0 2px #0c0c18, 0 0 0 4px #ff5ec4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
}

.ai-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    margin-left: auto;
}

.ai-wave i {
    width: 4px;
    height: 40%;
    border-radius: 4px;
    background: var(--grad);
    animation: ai-wave 1.1s ease-in-out infinite;
}

.ai-wave i:nth-child(2) { animation-delay: 0.15s; }
.ai-wave i:nth-child(3) { animation-delay: 0.3s; }
.ai-wave i:nth-child(4) { animation-delay: 0.45s; }
.ai-wave i:nth-child(5) { animation-delay: 0.6s; }

@keyframes ai-wave {
    0%, 100% { height: 30%; }
    50% { height: 100%; }
}

.ai-caption {
    margin: 14px 0;
    padding: 16px 18px;
    border-left: 3px solid #ff5ec4;
    border-radius: 4px 14px 14px 4px;
    background: rgba(0, 0, 0, 0.55);
}

.ai-caption small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

.ai-caption p {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
}

.ai-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-langs span {
    padding: 5px 12px;
    border: 1px solid rgba(179, 184, 240, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
    font-weight: 650;
}

.ai-langs .on {
    border-color: transparent;
    background: var(--grad);
    color: #ffffff;
}

.ai-langs .more {
    border-style: dashed;
}

.ai-summary {
    position: absolute;
    right: -24px;
    bottom: 0;
    width: min(320px, 78%);
    padding: 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    font-size: 13.5px;
    animation: ai-float 5s ease-in-out infinite;
}

.ai-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 800;
}

.ai-summary-head span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
}

.ai-summary ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.ai-summary-label {
    margin: 12px 0 6px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-summary .ai-todo {
    padding: 0;
    list-style: none;
}

.ai-todo li::before {
    content: "\2713";
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 4px;
    background: var(--grad);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.ai-dl {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.ai-dl span,
.ai-dl-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 700;
}

.ai-dl-chip {
    justify-self: end;
    margin-top: 4px;
    background: #ffffff;
    border: 1px solid var(--line);
}

@keyframes ai-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .ai-wave i,
    .ai-summary {
        animation: none;
    }
}

/* ---------- AI Captions & Summaries page: bento overview ---------- */
.ai-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ai-tile {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ai-tile h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 750;
}

.ai-tile p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.ai-shot {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: var(--ink);
    border-color: transparent;
}

.ai-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.ai-shot figcaption {
    margin-top: auto;
    padding: 18px 16px 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
}

.ai-shot figcaption b {
    margin-right: 6px;
    color: #ffffff;
}

.ai-big {
    background:
        radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 94, 196, 0.14), transparent 70%),
        #ffffff;
}

.ai-num {
    display: block;
    margin-bottom: 6px;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ai-ico {
    display: block;
    margin-bottom: 14px;
    font-size: 30px;
}

.ai-mini-transcript {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 12px;
    background: var(--soft);
    font-size: 12.5px;
    color: var(--muted);
}

.ai-mini-transcript b {
    margin-right: 6px;
    color: var(--brand);
}

.ai-timeline {
    position: relative;
    height: 34px;
    margin-bottom: 18px;
}

.ai-timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 6px;
    background: linear-gradient(90deg, #2f39ba 0 61%, #e4e5ef 61%);
}

.ai-timeline i {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #ff5ec4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ai-where {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.ai-where span {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.ai-outro {
    max-width: 820px;
    margin: 56px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 960px) {
    .ai-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ai-summary {
        right: 0;
    }

    .ai-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .ai-bento {
        grid-template-columns: 1fr;
    }

    .ai-shot {
        grid-column: auto;
        grid-row: auto;
    }

    .ai-caption p {
        font-size: 16px;
    }
}

/* ---------- Conference Mode page: hero ---------- */
.hero.cf-hero {
    text-align: left;
}

.cf-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.cf-hero .breadcrumb,
.cf-hero .hero-actions {
    justify-content: flex-start;
}

.cf-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.cf-hero .hero-lead {
    margin: 0 0 36px;
}

.cf-venue {
    position: relative;
    padding: 0 0 200px;
    isolation: isolate;
}

.cf-venue::before {
    content: "";
    position: absolute;
    inset: -4% 10% 30%;
    z-index: -1;
    background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 94, 196, 0.45), transparent 70%);
    filter: blur(30px);
}

.cf-stage {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 24px 10px 10px;
    background:
        radial-gradient(ellipse 70% 90% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 65%),
        linear-gradient(180deg, #1b1640 0%, #0d0b1f 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cf-stage-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 13.5px;
}

.cf-live {
    padding: 3px 8px;
    border-radius: 6px;
    background: #ef4444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.cf-count {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    white-space: nowrap;
}

.cf-presenters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cf-presenter {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 16px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-align: center;
}

.cf-presenter b {
    font-size: 13px;
}

.cf-presenter small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11.5px;
}

.cf-face {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: linear-gradient(150deg, #2f39ba 0%, #15194f 100%);
    font-size: 15px;
    font-weight: 750;
}

.cf-presenter:nth-child(2) .cf-face {
    background: linear-gradient(150deg, #c2389e 0%, #ff5ec4 100%);
}

.cf-presenter:nth-child(3) .cf-face {
    background: linear-gradient(150deg, #5b4bd6 0%, #f092dd 100%);
}

.cf-presenter.speaking {
    border-color: rgba(255, 94, 196, 0.6);
    background: rgba(255, 94, 196, 0.1);
}

.cf-presenter.speaking .cf-face {
    box-shadow: 0 0 0 3px #0d0b1f, 0 0 0 5px #ff5ec4;
}

.cf-edge {
    height: 10px;
    margin: 0 6% 14px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: linear-gradient(90deg, #2f39ba, #ff5ec4);
    opacity: 0.8;
}

.cf-audience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 4px;
    perspective: 600px;
}

.cf-pod {
    padding: 10px;
    border: 1px solid rgba(179, 184, 240, 0.16);
    border-radius: 14px;
    background: rgba(10, 10, 20, 0.85);
}

.cf-pod small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 650;
}

.cf-pod div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cf-pod i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(179, 184, 240, 0.16);
    color: rgba(255, 255, 255, 0.8);
    font-size: 9.5px;
    font-style: normal;
    font-weight: 700;
}

.cf-pod-mic {
    border-color: rgba(255, 94, 196, 0.55);
}

.cf-pod-mic i:first-child {
    background: var(--grad);
    color: #ffffff;
    box-shadow: 0 0 0 2px #0a0a14, 0 0 0 4px #ff5ec4;
    animation: cf-pulse 2.4s ease-in-out infinite;
}

.cf-mic {
    position: absolute;
    right: -18px;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: ai-float 5s ease-in-out infinite;
}

.cf-mic-ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffe4f5;
    font-size: 17px;
}

.cf-mic b {
    display: block;
    font-size: 13px;
}

.cf-mic small {
    color: #c2389e;
    font-size: 11.5px;
    font-weight: 700;
}

.cf-qa {
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 230px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: ai-float 6s ease-in-out -2s infinite;
}

.cf-qa-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13.5px;
    font-weight: 800;
}

.cf-qa-head span {
    padding: 2px 8px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 11px;
}

.cf-q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--soft);
}

.cf-q + .cf-q {
    margin-top: 6px;
}

.cf-q p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.cf-q em {
    flex: none;
    color: var(--brand);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 800;
}

@keyframes cf-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    .cf-mic,
    .cf-qa,
    .cf-pod-mic i:first-child {
        animation: none;
    }
}

/* ---------- Conference Mode page: overview ---------- */
.cf-zones {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cf-zones::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 12%;
    right: 12%;
    z-index: 0;
    border-top: 2px dashed #d9d4ff;
}

.cf-zone {
    position: relative;
    z-index: 1;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cf-zone:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cf-zone:nth-child(2) {
    border-color: transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        var(--grad) border-box;
    border: 1.5px solid transparent;
}

.cf-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cf-zone-ico {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--soft);
    font-size: 26px;
}

.cf-zone-num {
    color: #e4e1f7;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.cf-zone h3 {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 750;
}

.cf-zone .checks {
    margin: 0;
}

.cf-demo {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 72px;
}

.cf-demo-text h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cf-demo-text p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .cf-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cf-qa {
        left: 0;
    }

    .cf-mic {
        right: 0;
    }

    .cf-zones,
    .cf-demo {
        grid-template-columns: 1fr;
    }

    .cf-zones::before {
        display: none;
    }
}

@media (max-width: 680px) {
    .cf-qa {
        position: static;
        width: auto;
        margin-top: 16px;
    }

    .cf-mic {
        position: static;
        width: fit-content;
        margin-top: 16px;
        animation: none;
    }

    .cf-venue {
        padding-bottom: 0;
    }

    .cf-count {
        display: none;
    }
}

.cf-tabs {
    display: inline-flex;
    gap: 2px;
    padding: 2px !important;
    background: var(--soft) !important;
}

.cf-tabs b,
.cf-tabs i {
    padding: 2px 8px;
    border-radius: 999px;
    font-style: normal;
}

.cf-tabs b {
    background: var(--brand);
    color: #ffffff;
}

.cf-tabs i {
    color: var(--muted);
    font-weight: 700;
}

.cf-q p strong {
    display: block;
    color: var(--text);
    font-size: 11.5px;
}

.cf-q-dm {
    background: #fff0f9;
}

/* ---------- Game Streaming & WatchParty page: hero ---------- */
.hero.gs-hero {
    text-align: left;
}

.gs-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.gs-hero .breadcrumb,
.gs-hero .hero-actions {
    justify-content: flex-start;
}

.gs-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.gs-hero .hero-lead {
    margin: 0 0 36px;
}

.gs-arena {
    position: relative;
    padding: 0 0 205px;
    isolation: isolate;
}

.gs-arena::before {
    content: "";
    position: absolute;
    inset: 6% 4% 20%;
    z-index: -1;
    border-radius: 40px;
    background: linear-gradient(135deg, #22d3ee, #6d4aff 50%, #ff5ec4);
    filter: blur(70px);
    opacity: 0.35;
}

.gs-screen {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: #0b0b16;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.gs-screen-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px 12px;
    color: #ffffff;
    font-size: 13.5px;
}

.gs-live {
    padding: 3px 8px;
    border-radius: 6px;
    background: #ef4444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.gs-viewers {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12.5px;
    white-space: nowrap;
}

.gs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gs-stream {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    color: #ffffff;
}

.gs-race {
    background:
        linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.6) 49% 51%, transparent 51%) center bottom / 100% 54% no-repeat,
        linear-gradient(180deg, #ff9a5a 0%, #b23a7a 45%, #2b2b3a 46%, #15151f 100%);
}

.gs-shoot {
    background:
        radial-gradient(circle at 50% 50%, transparent 14px, rgba(255, 255, 255, 0.8) 15px 16px, transparent 17px),
        linear-gradient(180deg, #1e3a5f 0%, #3e6d8a 55%, #2d4a3a 56%, #1a2a20 100%);
}

.gs-quest {
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 210, 90, 0.7), transparent 30%),
        linear-gradient(160deg, #3b1a6b 0%, #6d2a8a 50%, #1a0f2e 100%);
}

.gs-pitch {
    background:
        radial-gradient(circle at 50% 55%, transparent 18px, rgba(255, 255, 255, 0.55) 19px 20px, transparent 21px),
        linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, 0.55) 49.6% 50.4%, transparent 50.4%),
        repeating-linear-gradient(90deg, #1f8a4c 0 12.5%, #1a7a43 12.5% 25%);
}

.gs-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}

.gs-fps,
.gs-hud {
    position: absolute;
    top: 8px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 10px;
    font-weight: 800;
}

.gs-fps {
    left: 8px;
    color: #67e8f9;
    letter-spacing: 0.04em;
}

.gs-hud {
    right: 8px;
}

.gs-player {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px 3px 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    font-size: 11px;
    font-weight: 700;
}

.gs-player i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grad);
}

.gs-player small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 9.5px;
}

.gs-board {
    position: absolute;
    left: -40px;
    bottom: 0;
    width: 230px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: ai-float 6s ease-in-out infinite;
}

.gs-board-head {
    margin-bottom: 10px;
    font-size: 13.5px;
    font-weight: 800;
}

.gs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 12.5px;
}

.gs-row:first-of-type {
    background: #fff4d6;
}

.gs-row em {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--soft);
    color: var(--brand);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.gs-row span {
    flex: 1;
    font-weight: 650;
}

.gs-row b {
    color: var(--brand);
}

.gs-fans {
    position: absolute;
    right: -18px;
    bottom: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: ai-float 5s ease-in-out -2s infinite;
}

.gs-fans-av {
    display: flex;
}

.gs-fans-av i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(150deg, #2f39ba, #15194f);
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
}

.gs-fans-av i:first-child {
    margin-left: 0;
}

.gs-fans-av i:nth-child(2) {
    background: linear-gradient(150deg, #c2389e, #ff5ec4);
}

.gs-fans-av i:nth-child(3) {
    background: linear-gradient(150deg, #0e9fb8, #22d3ee);
}

.gs-fans-av i:last-child {
    background: var(--soft);
    color: var(--brand);
}

.gs-fans b {
    display: block;
    font-size: 13px;
}

.gs-fans small {
    color: var(--muted);
    font-size: 12px;
}

.gs-reacts {
    position: absolute;
    top: 30%;
    right: -22px;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.gs-reacts span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    font-size: 20px;
    animation: gs-pop 3.2s ease-in-out infinite;
}

.gs-reacts span:nth-child(2) { animation-delay: 0.4s; }
.gs-reacts span:nth-child(3) { animation-delay: 0.8s; }
.gs-reacts span:nth-child(4) { animation-delay: 1.2s; }

@keyframes gs-pop {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .gs-board,
    .gs-fans,
    .gs-reacts span {
        animation: none;
    }
}

/* ---------- Game Streaming & WatchParty page: overview ---------- */
.gs-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gs-mode {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gs-mode:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gs-mode-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    color: #ffffff;
}

.gs-mode-play .gs-mode-head {
    background: linear-gradient(120deg, #2f39ba 0%, #6d4aff 60%, #22d3ee 130%);
}

.gs-mode-watch .gs-mode-head {
    background: linear-gradient(120deg, #c2389e 0%, #ff5ec4 60%, #ffb86b 130%);
}

.gs-mode-ico {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 26px;
}

.gs-mode-head small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gs-mode-head h3 {
    margin: 2px 0 0;
    font-size: 24px;
    font-weight: 800;
}

.gs-mode .checks {
    margin: 0;
    padding: 24px 28px 28px;
}

.gs-demo {
    max-width: 900px;
    margin: 72px auto 0;
}

.gs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.gs-stats div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.gs-stats b {
    display: block;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.gs-stats span {
    color: var(--muted);
    font-size: 14px;
}

.gs-outro {
    max-width: 780px;
    margin: 32px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 960px) {
    .gs-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gs-board {
        left: 0;
    }

    .gs-fans {
        right: 0;
    }

    .gs-reacts {
        display: none;
    }

    .gs-modes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .gs-arena {
        padding-bottom: 0;
    }

    .gs-board,
    .gs-fans {
        position: static;
        width: auto;
        margin-top: 14px;
        animation: none;
    }

    .gs-reacts {
        display: none;
    }

    .gs-viewers {
        display: none;
    }

    .gs-stats b {
        font-size: 28px;
    }
}

/* ---------- Live Polls page: hero ---------- */
.hero.lp-hero {
    text-align: left;
}

.lp-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lp-hero .breadcrumb,
.lp-hero .hero-actions {
    justify-content: flex-start;
}

.lp-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.lp-hero .hero-lead {
    margin: 0 0 36px;
}

.lp-stage {
    position: relative;
    padding: 84px 0 70px;
    isolation: isolate;
}

.lp-stage::before {
    content: "";
    position: absolute;
    inset: 12% 6% 10%;
    z-index: -1;
    border-radius: 40px;
    background: var(--grad);
    filter: blur(70px);
    opacity: 0.4;
}

.lp-poll {
    max-width: 470px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.lp-poll-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.lp-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.lp-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 12px;
}

.lp-switch b,
.lp-switch i {
    padding: 4px 12px;
    border-radius: 999px;
    font-style: normal;
}

.lp-switch b {
    background: var(--brand);
    color: #ffffff;
}

.lp-switch i {
    color: var(--muted);
    font-weight: 700;
}

.lp-poll h3 {
    margin: 0 0 18px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.lp-options {
    display: grid;
    gap: 10px;
}

.lp-opt {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 650;
}

.lp-bar {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    width: var(--w);
    background: #efe9ff;
    transform-origin: left;
    animation: lp-grow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d) both;
}

.lp-top {
    border-color: transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
    border: 1.5px solid transparent;
}

.lp-top .lp-bar {
    background: linear-gradient(90deg, #e3dcff, #d6e4ff);
}

.lp-label,
.lp-opt b {
    position: relative;
    z-index: 1;
}

.lp-opt b {
    color: var(--brand);
}

.lp-poll-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.lp-avs {
    display: flex;
}

.lp-avs i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: -7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(150deg, #2f39ba, #15194f);
    color: #ffffff;
    font-size: 9.5px;
    font-style: normal;
    font-weight: 750;
}

.lp-avs i:first-child {
    margin-left: 0;
}

.lp-avs i:nth-child(2) {
    background: linear-gradient(150deg, #c2389e, #ff5ec4);
}

.lp-avs i:nth-child(3) {
    background: linear-gradient(150deg, #0e9fb8, #22d3ee);
}

.lp-avs i:last-child {
    background: var(--soft);
    color: var(--brand);
}

.lp-toast {
    position: absolute;
    top: 0;
    right: -10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(20, 18, 40, 0.92);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: ai-float 5s ease-in-out infinite;
}

.lp-toast-ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

.lp-toast b,
.lp-export b {
    display: block;
    font-size: 13px;
}

.lp-toast small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.lp-export {
    position: absolute;
    bottom: 0;
    left: -24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 12px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: ai-float 6s ease-in-out -2s infinite;
}

.lp-file {
    display: grid;
    place-items: center;
    width: 38px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(160deg, #10b981, #047857);
    color: #ffffff;
    font-size: 20px;
}

.lp-export small {
    color: var(--muted);
    font-size: 12px;
}

.lp-export-btn {
    margin-left: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--grad);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 750;
}

@keyframes lp-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-bar,
    .lp-toast,
    .lp-export {
        animation: none;
    }
}

/* ---------- Live Polls page: overview ---------- */
.lp-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lp-mode {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-mode:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.lp-mini {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 14px;
    background: var(--soft);
}

.lp-private .lp-mini {
    background: #fff3fa;
}

.lp-mini-head {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.lp-mini-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    padding: 8px 12px;
    border-radius: 9px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 650;
}

.lp-mini-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    background: #e3dcff;
}

.lp-mini-bar span,
.lp-mini-bar b {
    position: relative;
}

.lp-mini-bar b {
    color: var(--brand);
}

.lp-blur::before {
    background: repeating-linear-gradient(135deg, #ffd6ee 0 6px, #ffe8f5 6px 12px);
}

.lp-blur b {
    color: #c2389e;
    letter-spacing: 0.1em;
}

.lp-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-private .lp-tag {
    background: #ffe4f5;
    color: #c2389e;
}

.lp-mode h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 750;
}

.lp-mode p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

.lp-demo {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: center;
    margin-top: 72px;
}

.lp-demo-text h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-demo-text p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

.lp-demo-text .checks {
    margin: 0;
}

@media (max-width: 960px) {
    .lp-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .lp-toast {
        right: 0;
    }

    .lp-export {
        left: 0;
    }

    .lp-modes,
    .lp-demo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .lp-stage {
        padding: 0;
    }

    .lp-toast,
    .lp-export {
        position: static;
        width: fit-content;
        margin-top: 14px;
        animation: none;
    }

    .lp-poll h3 {
        font-size: 18px;
    }
}

/* ---------- Online Whiteboard page: hero ---------- */
.hero.wb-hero {
    text-align: left;
}

.wb-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.wb-hero .breadcrumb,
.wb-hero .hero-actions {
    justify-content: flex-start;
}

.wb-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.wb-hero .hero-lead {
    margin: 0 0 36px;
}

.wb-stage {
    position: relative;
    padding: 0 0 50px;
    isolation: isolate;
}

.wb-stage::before {
    content: "";
    position: absolute;
    inset: 8% 6% 6%;
    z-index: -1;
    border-radius: 40px;
    background: linear-gradient(135deg, #22d3ee, #6d4aff 55%, #ff5ec4);
    filter: blur(70px);
    opacity: 0.38;
}

.wb-board {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 22px;
    background:
        radial-gradient(circle, #d9dcea 1.2px, transparent 1.4px) 0 0 / 22px 22px,
        #ffffff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.wb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: fit-content;
    margin: 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.wb-tools {
    display: flex;
    gap: 4px;
}

.wb-tools span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 15px;
}

.wb-tools .on {
    background: #efe9ff;
}

.wb-colors {
    display: flex;
    gap: 6px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.wb-colors i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.wb-colors i:first-child {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6d4aff;
}

.wb-sketch {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 8px;
}

.wb-sketch path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: wb-draw 1.6s ease forwards;
}

.wb-sketch .wb-d2 { animation-delay: 0.6s; }
.wb-sketch .wb-d3 { animation-delay: 1s; }
.wb-sketch .wb-d4 { animation-delay: 1.6s; }
.wb-sketch .wb-d5 { animation-delay: 2s; }
.wb-sketch .wb-d6 { animation-delay: 2.6s; }

.wb-sketch text {
    font-family: inherit;
}

.wb-cur {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    pointer-events: none;
}

.wb-cur svg {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.wb-cur b {
    margin-top: 14px;
    padding: 2px 8px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
}

.wb-cur-1 { top: 64%; left: 66%; animation: wb-move 6s ease-in-out infinite; }
.wb-cur-1 b { background: #ff5ec4; }
.wb-cur-2 { top: 26%; left: 82%; animation: wb-move 7s ease-in-out -2s infinite; }
.wb-cur-2 b { background: #0e9fb8; }
.wb-cur-3 { top: 74%; left: 18%; animation: wb-move 6.5s ease-in-out -4s infinite; }
.wb-cur-3 b { background: #6d4aff; }

.wb-live {
    position: absolute;
    left: -30px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(20, 18, 40, 0.92);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: ai-float 5s ease-in-out infinite;
}

.wb-avs {
    display: flex;
}

.wb-avs i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border: 2px solid #141228;
    border-radius: 50%;
    background: linear-gradient(150deg, #c2389e, #ff5ec4);
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
}

.wb-avs i:first-child {
    margin-left: 0;
}

.wb-avs i:nth-child(2) {
    background: linear-gradient(150deg, #0e9fb8, #22d3ee);
}

.wb-avs i:nth-child(3) {
    background: linear-gradient(150deg, #5b4bd6, #6d4aff);
}

.wb-live b {
    display: block;
    font-size: 13px;
}

.wb-live small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

@keyframes wb-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes wb-move {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-18px, 10px); }
}

@media (prefers-reduced-motion: reduce) {
    .wb-sketch path {
        stroke-dashoffset: 0;
        animation: none;
    }

    .wb-cur,
    .wb-live {
        animation: none;
    }
}

/* ---------- Online Whiteboard page: overview ---------- */
.wb-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.wb-mode {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wb-mode:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.wb-mini {
    position: relative;
    height: 170px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 14px;
}

.wb-mini svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wb-mini-blank {
    border: 1px solid var(--line);
    background:
        radial-gradient(circle, #d9dcea 1.2px, transparent 1.4px) 0 0 / 18px 18px,
        #ffffff;
}

.wb-mini-glass {
    background: #15132b;
}

.wb-slide {
    position: absolute;
    inset: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-size: 13px;
}

.wb-bars {
    display: flex;
    align-items: flex-end;
    gap: 12%;
    height: 72%;
    padding: 8px 10% 0;
}

.wb-bars i {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #8b7bff, #6d4aff);
}

.wb-mini-glass svg {
    z-index: 1;
}

.wb-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wb-mode-glass .wb-tag {
    background: #ffe4f5;
    color: #c2389e;
}

.wb-mode h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 750;
}

.wb-mode p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

.wb-demo {
    max-width: 960px;
    margin: 80px auto 0;
}

.wb-demo-lead {
    max-width: 780px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

.wb-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.wb-tile {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.wb-tile > span {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--soft);
    font-size: 20px;
}

.wb-tile h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 750;
}

.wb-tile p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 960px) {
    .wb-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .wb-live {
        left: 0;
    }

    .wb-modes,
    .wb-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .wb-stage {
        padding: 0;
    }

    .wb-live {
        position: static;
        width: fit-content;
        margin-top: 14px;
        animation: none;
    }

    .wb-tools span {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

/* ---------- Shared split hero (sports, connect, karaoke, trivia) ---------- */
.hero.xh-hero {
    text-align: left;
}

.xh-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.xh-hero .breadcrumb,
.xh-hero .hero-actions {
    justify-content: flex-start;
}

.xh-hero h1 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.xh-hero .hero-lead {
    margin: 0 0 36px;
}

.sp-stage,
.cn-stage,
.kk-stage,
.tv-stage {
    position: relative;
    isolation: isolate;
}

.sp-stage::before,
.cn-stage::before,
.kk-stage::before,
.tv-stage::before {
    content: "";
    position: absolute;
    inset: 8% 6% 6%;
    z-index: -1;
    border-radius: 40px;
    background: var(--grad);
    filter: blur(70px);
    opacity: 0.38;
}

.xh-float {
    animation: ai-float 5s ease-in-out infinite;
}

/* ---------- Sports Highlights ---------- */
.sp-stage {
    padding: 0 0 190px;
}

.sp-player {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: #0b0b16;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.sp-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 50% 50%, transparent 38px, rgba(255, 255, 255, 0.5) 39px 41px, transparent 42px),
        linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.5) 49.7% 50.3%, transparent 50.3%),
        linear-gradient(90deg, transparent 0 3%, rgba(255, 255, 255, 0.5) 3% 3.5%, transparent 3.5% 96.5%, rgba(255, 255, 255, 0.5) 96.5% 97%, transparent 97%),
        repeating-linear-gradient(90deg, #1f8a4c 0 10%, #1a7a43 10% 20%);
}

.sp-score,
.sp-clip {
    position: absolute;
    top: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 750;
}

.sp-score {
    left: 12px;
}

.sp-score b {
    color: #67e8f9;
}

.sp-clip {
    right: 12px;
    background: var(--grad);
}

.sp-ink {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sp-ball {
    position: absolute;
    top: 53.6%;
    left: 67%;
    transform: translate(-50%, -50%);
    font-size: 22px;
}

.sp-time {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.sp-time small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    white-space: nowrap;
}

.sp-track {
    position: relative;
    flex: 1;
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
}

.sp-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 62%;
    border-radius: 6px;
    background: var(--grad);
}

.sp-track i {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border: 2px solid #0b0b16;
    border-radius: 50%;
    background: #ffffff;
    font-size: 12px;
    font-style: normal;
}

.sp-card {
    position: absolute;
    right: -24px;
    bottom: 0;
    width: 270px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: ai-float 6s ease-in-out infinite;
}

.sp-card-head {
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 800;
}

.sp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 12.5px;
}

.sp-row em {
    width: 30px;
    color: var(--muted);
    font-style: normal;
    font-weight: 700;
}

.sp-row span {
    flex: 1;
    font-weight: 650;
}

.sp-row b {
    color: var(--brand);
    font-size: 10px;
}

.sp-row.on {
    background: #efe9ff;
}

.sp-chat {
    position: absolute;
    left: -30px;
    bottom: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(20, 18, 40, 0.92);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: ai-float 5s ease-in-out -2s infinite;
}

.sp-chat-av,
.cn-av,
.cn-call-av,
.kk-av,
.cn-t-av {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(150deg, #c2389e, #ff5ec4);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.sp-chat b,
.cn-call b {
    display: block;
    font-size: 13px;
}

.sp-chat small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.sp-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.sp-strip::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #6d4aff, #ff5ec4);
    opacity: 0.25;
}

.sp-moment {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2px;
    text-align: center;
}

.sp-moment span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    font-size: 22px;
}

.sp-moment b {
    font-size: 16px;
}

.sp-moment small {
    color: var(--muted);
    font-size: 13px;
}

.sp-moment.on span {
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
    box-shadow: 0 10px 24px rgba(109, 74, 255, 0.25);
}

.sp-moment.on small {
    color: var(--brand);
    font-weight: 700;
}

.sp-demo {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 56px;
}

.sp-cards > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.sp-mini,
.wb-tile {
    display: flex;
    gap: 14px;
}

.sp-mini {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.sp-mini + .sp-mini {
    margin-top: 10px;
}

.sp-mini > span {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--soft);
    font-size: 19px;
}

.sp-mini h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 750;
}

.sp-mini p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* ---------- Bozu Connect ---------- */
.cn-stage {
    padding: 0 0 60px;
}

.cn-app {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.cn-side {
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    background: var(--soft);
}

.cn-search {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--muted);
    font-size: 12px;
}

.cn-chat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
}

.cn-chat.on {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.cn-chat div {
    flex: 1;
    min-width: 0;
}

.cn-chat b,
.cn-head b {
    display: block;
    font-size: 12.5px;
}

.cn-chat small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cn-chat i {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff5ec4;
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.cn-av {
    width: 32px;
    height: 32px;
    font-size: 10.5px;
    background: linear-gradient(150deg, #2f39ba, #6d4aff);
}

.cn-chat:nth-child(3) .cn-av { background: linear-gradient(150deg, #c2389e, #ff5ec4); }
.cn-chat:nth-child(4) .cn-av { background: linear-gradient(150deg, #0e9fb8, #22d3ee); }
.cn-chat:nth-child(5) .cn-av { background: linear-gradient(150deg, #d97706, #f59e0b); }

.cn-main {
    display: flex;
    flex-direction: column;
}

.cn-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.cn-head small {
    color: var(--muted);
    font-size: 11px;
}

.cn-btns {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.cn-btns i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #efe9ff;
    font-size: 14px;
    font-style: normal;
}

.cn-msgs {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 8px;
    padding: 14px;
    font-size: 12.5px;
}

.cn-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 4px 14px 14px 14px;
    background: var(--soft);
}

.cn-msg b {
    display: block;
    color: #c2389e;
    font-size: 11px;
}

.cn-me {
    justify-self: end;
    border-radius: 14px 4px 14px 14px;
    background: var(--grad);
    color: #ffffff;
}

.cn-file,
.cn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.cn-file > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 36px;
    border-radius: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.cn-file b,
.cn-link b {
    display: block;
    font-size: 12px;
}

.cn-file small,
.cn-link small {
    color: var(--muted);
    font-size: 11px;
}

.cn-link {
    justify-self: end;
    display: block;
    padding: 8px 12px;
    border-color: #d9d0ff;
    background: #f6f3ff;
}

.cn-react {
    justify-self: end;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
}

.cn-input {
    display: flex;
    justify-content: space-between;
    margin: 0 12px 12px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 12px;
}

.cn-call {
    position: absolute;
    right: -24px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(20, 18, 40, 0.94);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    animation: ai-float 5s ease-in-out infinite;
}

.cn-call-av {
    background: linear-gradient(150deg, #d97706, #f59e0b);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
    animation: cf-pulse 1.6s ease-in-out infinite;
}

.cn-call small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.cn-call-no,
.cn-call-yes {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
}

.cn-call-no {
    margin-left: 6px;
    background: #ef4444;
}

.cn-call-yes {
    background: #10b981;
}

.cn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cn-tile {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cn-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cn-tile h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 750;
}

.cn-tile p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

.cn-art {
    display: grid;
    align-content: center;
    min-height: 118px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    background: var(--soft);
    font-size: 12.5px;
}

.cn-t-list,
.cn-t-hist,
.cn-t-ctrl {
    display: grid;
    gap: 6px;
}

.cn-t-list span,
.cn-t-hist span,
.cn-t-ctrl span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 9px;
    background: #ffffff;
    font-weight: 650;
}

.cn-t-list i {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ff5ec4;
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
}

.cn-t-calls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cn-t-calls span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 12px 24px rgba(109, 74, 255, 0.3);
    font-size: 26px;
}

.cn-t-hist span {
    justify-content: flex-start;
    gap: 8px;
}

.cn-t-hist i {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-style: normal;
}

.cn-t-hist .in { background: #10b981; }
.cn-t-hist .miss { background: #ef4444; }
.cn-t-hist .busy { background: #f59e0b; }

.cn-t-req {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #ffffff;
}

.cn-t-req div {
    flex: 1;
}

.cn-t-req b {
    display: block;
}

.cn-t-req small {
    color: var(--muted);
}

.cn-t-req em {
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--grad);
    color: #ffffff;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 750;
}

.cn-t-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cn-t-chips span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 650;
}

.cn-t-ctrl span {
    justify-content: flex-start;
}

.cn-outro {
    max-width: 760px;
    margin: 48px auto 0;
    text-align: center;
}

.cn-outro p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Virtual Karaoke ---------- */
.kk-stage {
    padding: 0 0 170px;
}

.kk-venue {
    position: relative;
    overflow: hidden;
    padding: 16px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, #1d1240 0%, #0c0a1c 100%);
    color: #ffffff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.kk-light {
    position: absolute;
    top: -30px;
    width: 140px;
    height: 300px;
    background: linear-gradient(180deg, rgba(255, 224, 140, 0.35), transparent 80%);
    clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
    transform-origin: top center;
    animation: kk-sway 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.kk-l1 {
    left: 18%;
    transform-origin: top center;
}

.kk-l2 {
    right: 18%;
    background: linear-gradient(180deg, rgba(255, 94, 196, 0.35), transparent 80%);
    animation-delay: -2s;
}

.kk-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.kk-live {
    padding: 3px 8px;
    border-radius: 6px;
    background: #ff5ec4;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.kk-singer {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2px;
    margin: 18px 0 14px;
}

.kk-av {
    width: 70px;
    height: 70px;
    margin-bottom: 6px;
    font-size: 18px;
    box-shadow: 0 0 0 4px #1d1240, 0 0 0 6px #ffe08c, 0 0 40px rgba(255, 224, 140, 0.5);
}

.kk-singer small {
    color: #ffe08c;
    font-size: 12px;
}

.kk-lyrics {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.kk-lyrics small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
}

.kk-lyrics p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.kk-fill {
    background: linear-gradient(90deg, #ffe08c 0 50%, rgba(255, 255, 255, 0.9) 50% 100%) 100% 0 / 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: kk-karaoke 4s linear infinite;
}

.kk-crowd {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.kk-crowd i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: -6px;
    border: 2px solid #0c0a1c;
    border-radius: 50%;
    background: linear-gradient(150deg, #2f39ba, #6d4aff);
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
}

.kk-crowd i:nth-child(2n) {
    background: linear-gradient(150deg, #0e9fb8, #22d3ee);
}

.kk-crowd i:nth-child(3n) {
    background: linear-gradient(150deg, #c2389e, #ff5ec4);
}

.kk-crowd i:last-of-type {
    background: rgba(255, 255, 255, 0.15);
}

.kk-notes {
    margin-left: 12px;
    font-size: 16px;
    animation: gs-pop 2.4s ease-in-out infinite;
}

.kk-queue {
    position: absolute;
    left: -26px;
    bottom: 0;
    width: 190px;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: ai-float 6s ease-in-out infinite;
}

.kk-queue-head {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
}

.kk-q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 9px;
}

.kk-q.on {
    background: #fff4d6;
}

.kk-q em {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--soft);
    color: var(--brand);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.kk-q b {
    display: block;
    font-size: 12.5px;
}

.kk-q small {
    color: var(--muted);
    font-size: 11px;
}

.kk-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}

.kk-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.kk-box-hl {
    border: 1.5px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
}

.kk-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kk-arrow {
    align-self: center;
    color: #b9b2e8;
    font-size: 28px;
    font-weight: 800;
}

.kk-src {
    display: grid;
    gap: 8px;
}

.kk-src span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--soft);
    font-size: 18px;
}

.kk-src b {
    font-size: 14px;
}

.kk-src em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    text-align: center;
}

.kk-mini-lyrics {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 12px;
    background: #1d1240;
    color: #ffffff;
    text-align: center;
}

.kk-mini-lyrics small {
    color: rgba(255, 255, 255, 0.55);
}

.kk-mini-lyrics b {
    color: #ffe08c;
    font-size: 16px;
}

.kk-mini-lyrics i {
    color: #ffffff;
    font-style: normal;
}

.kk-mini-stage {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
}

.kk-mini-stage span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--soft);
    font-size: 22px;
}

.kk-mini-stage span:first-child {
    background: var(--grad);
}

.kk-demo {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 64px;
}

.kk-demo-text > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

.kk-index {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.kk-index b {
    display: block;
    font-size: 15px;
}

.kk-index small {
    color: var(--muted);
    font-size: 13.5px;
}

.kk-index-bar {
    position: relative;
    height: 6px;
    margin: 18px 6px 8px;
    border-radius: 6px;
    background: linear-gradient(90deg, #6d4aff, #ff5ec4);
}

.kk-index-bar i {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #1d1240;
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.kk-demo .pill-row {
    justify-content: flex-start;
}

@keyframes kk-karaoke {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

@keyframes kk-sway {
    from { transform: rotate(-8deg); }
    to { transform: rotate(8deg); }
}

/* ---------- Virtual Trivia ---------- */
.tv-stage {
    padding: 0 0 185px;
}

.tv-quiz {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.tv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tv-timer {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(#ff5ec4 0 60%, #f1eefe 60% 100%);
}

.tv-timer b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0;
}

.tv-img {
    display: grid;
    place-items: center;
    height: 110px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #8ec5ff 0%, #c7e3ff 60%, #e8f1ff 100%);
    font-size: 54px;
    line-height: 1;
}

.tv-img small {
    color: #2f39ba;
    font-size: 11px;
    font-weight: 700;
}

.tv-quiz h3 {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.tv-answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.tv-a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 650;
}

.tv-a em {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.tv-a.ok {
    border-color: #10b981;
    background: #ecfdf5;
}

.tv-a.ok em {
    background: #10b981;
    color: #ffffff;
}

.tv-board {
    position: absolute;
    left: -34px;
    bottom: 0;
    width: 250px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(20, 18, 40, 0.94);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    animation: ai-float 6s ease-in-out infinite;
}

.tv-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
}

.tv-export {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.16);
    color: #67e8f9;
    font-size: 11px;
    font-weight: 700;
}

.tv-board-sub {
    margin: 4px 0 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11.5px;
}

.tv-demo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tv-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 12.5px;
}

.tv-row em {
    font-style: normal;
}

.tv-row span {
    flex: 1;
    font-weight: 650;
}

.tv-row b {
    color: #67e8f9;
}

.tv-pts {
    position: absolute;
    top: 30%;
    right: -14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    animation: gs-pop 2.4s ease-in-out infinite;
}

.tv-sources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tv-src {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tv-src:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tv-src:nth-child(2) {
    border: 1.5px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
}

.tv-src-ico {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--soft);
    font-size: 26px;
}

.tv-src h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 750;
}

.tv-src p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
}

.tv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tv-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #efe9ff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}

.tv-demo {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
    margin-top: 64px;
}

.tv-demo-text h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tv-demo-text p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .sp-card, .sp-chat, .sp-ink path, .sp-ink circle,
    .cn-call, .cn-call-av,
    .kk-light, .kk-fill, .kk-notes, .kk-queue,
    .tv-board, .tv-pts {
        animation: none;
    }

    .sp-ink path,
    .sp-ink circle {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 960px) {
    .xh-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sp-card, .cn-call, .tv-pts {
        right: 0;
    }

    .sp-chat, .tv-board, .kk-queue {
        left: 0;
    }

    .sp-demo,
    .kk-demo,
    .tv-demo,
    .tv-sources,
    .cn-grid {
        grid-template-columns: 1fr;
    }

    .cn-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-strip {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }

    .sp-strip::before {
        display: none;
    }

    .kk-flow {
        grid-template-columns: 1fr;
    }

    .kk-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 680px) {
    .sp-stage, .cn-stage, .kk-stage, .tv-stage {
        padding: 0;
    }

    .sp-card, .sp-chat, .cn-call, .kk-queue, .tv-board {
        position: static;
        width: auto;
        margin-top: 14px;
        animation: none;
    }

    .sp-chat, .cn-call {
        width: fit-content;
    }

    .tv-pts {
        display: none;
    }

    .cn-app {
        grid-template-columns: 1fr;
    }

    .cn-side {
        display: none;
    }

    .cn-grid {
        grid-template-columns: 1fr;
    }

    .sp-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
