*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --blue: #3f51b5;
    --blue-light: #5c6bc0;
    --bg: #f5f6fa;
    --text: #1a1d2e;
    --muted: #6b7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ═══════════════════════════════════════════
       HERO — fully redesigned
    ═══════════════════════════════════════════ */
.sol-hero {
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%,
            rgba(126, 167, 255, 0.45),
            transparent 28%),
        radial-gradient(circle at 88% 28%,
            rgba(97, 240, 221, 0.42),
            transparent 32%),
        radial-gradient(circle at 62% 92%,
            rgba(120, 139, 255, 0.34),
            transparent 30%),
        linear-gradient(180deg, #eef4f8 0%, #dfe8ef 100%);
}

.sol-hero::before,
.sol-hero::after {
    content: "";
    position: absolute;
    top: 67%;
    width: 60%;
    height: 45%;
    border-radius: 18px;
    transform: translateY(-50%);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.42),
            rgba(255, 255, 255, 0.12)),
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.18) 0 1px,
            transparent 1px 6px);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 0 34px rgba(81, 145, 255, 0.16);
    opacity: 0.72;
    filter: blur(0.1px);
    pointer-events: none;
}

.sol-hero::before {
    left: max(1%, calc(50% - 490px));
}

.sol-hero::after {
    right: max(1%, calc(50% - 490px));
}

.sol-hero-inner {
    margin: 0 auto;
    padding: 40px 48px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ── Badge ── */
.sol-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(63, 81, 181, 0.08);
    border: 1px solid rgba(63, 81, 181, 0.15);
    color: #3f51b5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0px 14px;
    height: 30px;
    border-radius: 99px;
    margin-bottom: 30px;
}

.sol-badge svg {
    width: 18px;
    height: 18px;
}

/* ── Headline ── */
.sol-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
}

.sol-hero-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.sol-hero-title .highlight {
    color: var(--blue);
}

.sol-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    color: var(--muted);
    line-height: 1.78;
    max-width: 560px;
    margin-bottom: 28px;
}

.sol-hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

/* ── Panels ── */
.hero-panel {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: none;
    align-items: stretch;
    gap: 56px;
    padding: 8px;
    border-radius: 23px;
    box-shadow:
        0 30px 54px rgba(47, 70, 95, 0.35),
        0 0 0 1px rgba(93, 150, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: rgba(238, 247, 255, 0.72);
    backdrop-filter: blur(8px);
    position: relative;
}

.hero-panel.active {
    display: flex;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 1;
    pointer-events: none;
}

/* right video column */
.hero-panel-right {
    flex: 1;
}

.hero-video-wrap {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0 0 15px 15px !important;
    box-shadow:
        0 32px 72px rgba(18, 21, 42, 0.18),
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(63, 81, 181, 0.1);
    background: #12152a;
    position: relative;
}

/* subtle top shine on video frame */
.hero-video-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(124, 143, 245, 0.35),
            transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.screenshot-safari .hero-video-frame {
    border-radius: 0;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
    .hero-panel {
        flex-direction: column;
        gap: 20px;
    }

    .hero-panel-right {
        flex: none;
        width: 100%;
    }

    .sol-hero-inner {
        padding: 48px 24px 56px;
    }
}

@media (max-width: 600px) {

    .sol-hero::before,
    .sol-hero::after {
        display: none;
    }

    .sol-hero-inner {
        padding: 35px 20px 40px;
    }

    .sol-badge {
        font-size: 0.75rem;
        padding: 0 14px;
        height: 30px;
        margin-bottom: 25px;
        align-self: center;
    }

    .sol-hero-left {
        width: 100%;
        align-items: center;
    }

    .sol-hero-title {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════
       REST OF PAGE — unchanged
    ═══════════════════════════════════════════ */
.logos-bar {
    background: #fff;
    border-top: 1px solid rgba(63, 81, 181, 0.06);
    border-bottom: 1px solid rgba(63, 81, 181, 0.06);
    padding: 16px 0;
    overflow: hidden;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 28s linear infinite;
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 40px;
    color: #a0a8c0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.stat-item svg {
    width: 15px;
    height: 15px;
    color: var(--blue);
    opacity: 0.55;
}

.section-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-family: "Sora", sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.section-sub strong {
    color: var(--text);
    font-weight: 600;
}

.sec-hr {
    width: calc(100% - 96px);
    max-width: 1100px;
    height: 1px;
    margin: 0 auto;
    border: none;
    background-color: rgba(77, 78, 81, 0.1);
}

.why-section {
    padding: 0px 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.why-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 22px;
    border: 1px solid rgba(132, 140, 161, 0.16);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(63, 81, 181, 0.08);
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-icon svg {
    width: 20px;
    height: 20px;
}

.why-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.68;
}

.img-band {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.img-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
}

.img-band-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(18, 21, 42, 0.5) 0%,
            rgba(63, 81, 181, 0.2) 100%);
}

.img-band-label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.img-band-quote {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    max-width: 760px;
    letter-spacing: -0.02em;
}

.img-band-quote em {
    color: #3b51ce;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.528);
    font-style: normal;
}

.img-band-sm {
    max-width: 1400px;
    margin: 0 auto;
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.img-band-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.52);
}

.img-band-sm-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 40px 48px;
    background: linear-gradient(90deg,
            rgba(18, 21, 42, 0.78) 0%,
            transparent 70%);
}

.img-band-sm-text {
    max-width: 440px;
}

.ibs-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.img-band-sm-text h3 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.img-band-sm-text em {
    color: #3b51ce;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.528);
    font-style: normal;
}

.img-band-sm-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

.features-section {
    padding: 0 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(132, 140, 161, 0.16);
    transition: transform 0.22s;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-icon svg {
    width: 19px;
    height: 19px;
}

.feature-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.65;
}

.how-section {
    padding: 0 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.how-steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(16.67% + 28px);
    right: calc(16.67% + 28px);
    height: 1px;
    background: rgba(63, 81, 181, 0.14);
    z-index: 0;
}

.how-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(63, 81, 181, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--blue);
    margin: 0 auto 20px;
}

.how-step h4 {
    font-family: "Sora", sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.how-step p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.68;
}

.cmp-section {
    padding: 0px 50px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.seo-decision-section {
    padding: 72px 48px 56px;
    max-width: 1400px;
    margin: 0 auto;
}

.seo-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.seo-decision-card {
    background: #fff;
    border: 1px solid rgba(132, 140, 161, 0.16);
    border-radius: 16px;
    padding: 24px;
}

.seo-decision-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0;
}

.seo-decision-card p {
    color: var(--muted);
    line-height: 1.68;
    font-size: 0.96rem;
}

.cmp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    font-size: 1rem;
    border: 1px solid rgba(132, 140, 161, 0.18);
    margin-top: 40px;
}

.cmp-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(63, 81, 181, 0.03);
}

.cmp-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(42, 42, 42, 0.07);
    color: #111;
    vertical-align: middle;
}

.cmp-table tbody tr:last-child td {
    border-bottom: none;
}

.cmp-table thead tr th:first-child {
    border-radius: 14px 0 0 0;
}

.cmp-table thead tr th:last-child {
    border-radius: 0 14px 0 0;
}

.col-h {
    background: rgba(63, 81, 181, 0.04) !important;
    font-weight: 600 !important;
    color: #3f51b5 !important;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.73rem;
    padding: 3px 11px;
    border-radius: 999px;
    font-weight: 500;
}

.chip.yes {
    background: #eaf3de;
    color: #3b6d11;
    border: 1px solid #c6e0a4;
}

.chip.no {
    background: #fcebeb;
    color: #a32d2d;
    border: 1px solid #f5c6c6;
}

.chip.partial {
    background: #faeeda;
    color: #854f0b;
    border: 1px solid #f0cfa4;
}

.td-main {
    font-weight: 500;
    color: var(--text);
    font-size: 1rem;
}

.td-sub {
    font-size: 0.88rem;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.testi-section {
    padding: 0 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.testi-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(132, 140, 161, 0.16);
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testi-stars svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.testi-quote {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 20px;
}

.related-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px 56px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.related-card {
    display: block;
    min-height: 100%;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(132, 140, 161, 0.16);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(63, 81, 181, 0.08);
}

.related-card span {
    display: block;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.related-card strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    line-height: 1.35;
}

.testi-quote::before {
    content: "\201C";
    color: var(--blue);
    font-size: 1.6rem;
    line-height: 0;
    vertical-align: -6px;
    margin-right: 3px;
}

.testi-quote::after {
    content: "\201D";
    color: var(--blue);
    font-size: 1.6rem;
    line-height: 0;
    vertical-align: -6px;
    margin-left: 3px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.testi-role {
    font-size: 0.95rem;
    color: var(--muted);
}

.footer-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%,
            rgba(99, 120, 255, 0.35) 0%,
            transparent 60%),
        radial-gradient(ellipse at 80% 20%,
            rgba(79, 100, 220, 0.3) 0%,
            transparent 55%),
        #3f51b5;
    padding: 88px 48px;
    text-align: center;
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.footer-cta>* {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-family: "Sora", sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.footer-cta>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 28px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-cta {
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(63, 81, 181, 0.28);
}

.btn-cta:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.btn-ghost-white {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 24px;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 980px) {

    .why-grid,
    .how-steps {
        grid-template-columns: 1fr;
    }

    .how-step {
        margin-bottom: 40px;
    }

    .how-steps::before {
        display: none;
    }

    .features-grid,
    .related-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .why-section,
    .features-section,
    .how-section,
    .testi-section,
    .related-section,
    .seo-decision-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .how-section {
        padding-bottom: 10px;
    }

    .cmp-section {
        display: none !important;
    }

    .seo-decision-grid {
        grid-template-columns: 1fr;
    }

    .img-band-sm {
        margin: 0 24px;
    }

    .sec-hr {
        width: calc(100% - 48px);
    }
}

@media (max-width: 600px) {

    .hero-form,
    .cta-actions {
        flex-direction: column;
    }

    .img-band {
        height: 300px;
    }
}



/* ── Scene ── */
.scene {
    width: min(1120px, 100%);
    position: relative;
}

.scene::before,
.scene::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 31%;
    height: 78%;
    border-radius: 18px;
    transform: translateY(-50%);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 6px);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 0 34px rgba(81, 145, 255, 0.16);
    opacity: 0.86;
    pointer-events: none;
}

.scene::before {
    left: -10%;
}

.scene::after {
    right: -10%;
}

/* ── Ghost card ── */
.ghost-card {
    position: absolute;
    right: -28px;
    top: 86px;
    width: 220px;
    height: 120px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.ghost-card span {
    position: absolute;
    left: 18px;
    top: 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    font-weight: 700;
}

.ghost-card .avatar-row {
    position: absolute;
    left: 18px;
    bottom: 20px;
    display: flex;
}

.ghost-card .avatar {
    width: 26px;
    height: 26px;
    margin-right: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.ghost-card .avatar:nth-child(1) {
    background: linear-gradient(135deg, #f7b267, #e05875);
}

.ghost-card .avatar:nth-child(2) {
    background: linear-gradient(135deg, #766df4, #5c9cf4);
}

.ghost-card .avatar:nth-child(3) {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
}

/* ── Meeting frame (glass card) ── */
.meeting-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 23px;
    background: rgba(238, 247, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow:
        0 30px 54px rgba(47, 70, 95, 0.35),
        0 0 0 1px rgba(93, 150, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.meeting-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 1;
}

/* ── Meeting window ── */
.meeting-window {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 430px;
    overflow: hidden;
    border-radius: 12px;
    background: #0d1020;
    /* safe black for unloaded video */
}

/* =====================================================
       THUMBNAIL LAYER (the animated video-call scene)
    ===================================================== */
#thumbnail {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.55s ease;
}

#thumbnail.hiding {
    opacity: 0;
    transform: scale(1.025);
    pointer-events: none;
}

/* Gradient background (fallback when mp4 not loaded) */
.presenter-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 35% 50%, rgba(63, 81, 181, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 72% 30%, rgba(45, 55, 150, 0.22) 0%, transparent 45%),
        linear-gradient(155deg, #12152a 0%, #1c2548 60%, #0d1020 100%);
}

/* Floating ambient orbs — give a "live camera" feel */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0;
    animation: fadeOrb 1.2s ease forwards;
}

.orb-1 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #5c78ff 0%, transparent 70%);
    top: -80px;
    left: 0;
    opacity: 0;
    animation: fadeOrb 1.2s ease 0.1s forwards, driftA 14s ease-in-out 1.3s infinite alternate;
}

.orb-2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
    bottom: -60px;
    right: 5%;
    animation: fadeOrb 1.2s ease 0.3s forwards, driftB 18s ease-in-out 1.5s infinite alternate;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #818cf8 0%, transparent 70%);
    top: 45%;
    left: 48%;
    transform: translate(-50%, -50%);
    animation: fadeOrb 1.2s ease 0.5s forwards, driftC 11s ease-in-out 1.7s infinite alternate;
}

@keyframes fadeOrb {
    to {
        opacity: 0.38;
    }
}

@keyframes driftA {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(45px, 55px);
    }
}

@keyframes driftB {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-35px, -40px);
    }
}

@keyframes driftC {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.38;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 0.22;
    }
}

/* Main presenter video (covers gradient when file loads) */
.presenter-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* transparent when not loaded — gradient shows through */
}

/* Vignette / cinema overlay */
.vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(9, 14, 22, 0.28) 0%, transparent 35%, rgba(9, 14, 22, 0.16) 100%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.22) 0%, transparent 35%, rgba(7, 9, 13, 0.46) 100%);
    pointer-events: none;
}

/* Meeting info — top left */
.meeting-title {
    position: absolute;
    z-index: 5;
    top: 24px;
    left: 24px;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: center;
    align-items: flex-start;
}

.meeting-title strong {
    display: block;
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.meeting-title .meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 600;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(239, 68, 68, 0.85);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

/* ── Participant tiles — top right ── */
.participant-stack {
    position: absolute;
    z-index: 6;
    top: 12px;
    right: 12px;
    width: 21%;
    min-width: 160px;
    display: grid;
    gap: 10px;
}

.participant {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Gradient fallback per participant */
.participant-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-bg.sofia {
    background: linear-gradient(135deg, #e8a0a0, #c45e7a, #8b2252);
}

.participant-bg.kwame {
    background: linear-gradient(135deg, #d4956a, #a06830, #6b3f1a);
}

.participant-bg.wei {
    background: linear-gradient(135deg, #4ecdc4, #3498db, #1a4a7a);
}

.p-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

/* participant video (covers gradient when file loads) */
.participant video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: inherit;
}

.participant::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.44));
    z-index: 2;
    pointer-events: none;
}

.participant-name {
    position: absolute;
    z-index: 3;
    left: 8px;
    bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.mic-status {
    position: absolute;
    z-index: 3;
    top: 7px;
    right: 7px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #357dff;
}

.mic-status.muted {
    background: rgba(160, 166, 172, 0.72);
}

/* ── Controls bar ── */
.controls {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 20px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.ctrl-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 0;
    color: #fff;
    background: rgba(83, 84, 86, 0.88);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    cursor: default;
    /* purely decorative in thumbnail state */
}

.ctrl-btn.danger {
    background: #ff4d4d;
}

/* =====================================================
       PLAY OVERLAY
    ===================================================== */
.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.18);
}

/* Pulsing rings */
.rings {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 46.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    animation: ringExpand 2.8s ease-out infinite;
}

.ring:nth-child(1) {
    width: 96px;
    height: 96px;
    animation-delay: 0s;
}

.ring:nth-child(2) {
    width: 126px;
    height: 126px;
    animation-delay: 0.55s;
}

.ring:nth-child(3) {
    width: 158px;
    height: 158px;
    animation-delay: 1.1s;
}

@keyframes ringExpand {
    0% {
        transform: scale(0.75);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

/* Play button circle */
.play-btn {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 36px rgba(0, 0, 0, 0.48),
        0 0 0 1.5px rgba(255, 255, 255, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform 0.22s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.22s;
}

.play-overlay:hover .play-btn {
    transform: scale(1.1);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.58),
        0 0 0 2px rgba(255, 255, 255, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Offset the triangle icon visually */
.play-btn svg {
    margin-left: 4px;
    color: #12152a;
}

/* Label below play button */
.watch-label {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.28);
    padding: 4px 14px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s;
}

.play-overlay:hover .watch-label {
    background: rgba(0, 0, 0, 0.42);
}

/* =====================================================
       DEMO VIDEO (hidden → visible on click)
    ===================================================== */
#demoVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
    border-radius: inherit;
    /* object-fit: cover; — use if your video should fill the frame */
}

#demoVideo.active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Responsive ── */
@media (max-width: 780px) {

    .scene {
        padding:  0;
    }

    .ghost-card,
    .scene::before,
    .scene::after {
        display: none;
    }

    .meeting-frame {
        padding: 7px;
        border-radius: 18px;
    }

    .meeting-window {
        min-height: unset;
        aspect-ratio: 16/9;
    }

    .participant-stack {
        top: auto;
        right: 8px;
        left: 8px;
        bottom: 74px;
        width: auto;
        min-width: 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .controls {
        gap: 8px;
        bottom: 16px;
    }

    .ctrl-btn {
        width: 38px;
        height: 38px;
    }

    .play-btn {
        width: 64px;
        height: 64px;
    }

    .ring:nth-child(1) {
        width: 80px;
        height: 80px;
    }

    .ring:nth-child(2) {
        width: 104px;
        height: 104px;
    }

    .ring:nth-child(3) {
        width: 128px;
        height: 128px;
    }
}