/* Product marketing layer — real screenshots, oil-sticker showcase */

.animated-bg { opacity: 0.55; }
.floating-orb { opacity: 0.22; }

.hero--product {
    padding: 9.5rem 0 3.2rem;
}

.hero--product .hero-copy {
    max-width: 920px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.hero--product .badge {
    margin-left: auto;
    margin-right: auto;
}

.hero--product h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.hero--product .subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero--product .hero-actions {
    justify-content: center;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.6rem;
}

.hero-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #dbe6ff;
    border: 1px solid rgba(127, 157, 255, 0.28);
    background: rgba(12, 22, 42, 0.72);
    border-radius: 999px;
    padding: 0.4rem 0.78rem;
}

.hero-pill--ai {
    border-color: rgba(167, 139, 250, 0.45);
    background: linear-gradient(130deg, rgba(79, 124, 255, 0.22), rgba(124, 58, 237, 0.28));
    color: #e9ddff;
}

.hero-stage {
    position: relative;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 18% -8% -18%;
    background: radial-gradient(ellipse at 50% 40%, rgba(79, 124, 255, 0.28), transparent 62%);
    pointer-events: none;
    z-index: 0;
}

.shot {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(180, 200, 255, 0.22);
    background: #0b1220;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 28px 80px rgba(0, 0, 0, 0.48),
        0 8px 24px rgba(79, 124, 255, 0.12);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot--cinematic {
    transform: perspective(1600px) rotateX(6deg) scale(1.01);
    transform-origin: center top;
}

.shot--light {
    background: #f4f7fb;
    border-color: rgba(255, 255, 255, 0.35);
}

.shot--portrait img {
    max-height: 560px;
    object-fit: contain;
    object-position: top center;
    background: #f7f9fc;
}

.shot figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e8eefc;
    background: rgba(5, 7, 15, 0.72);
    border: 1px solid rgba(127, 157, 255, 0.22);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
}

.shot--expand {
    cursor: zoom-in;
}

.shot--expand::after {
    content: "Expand";
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8eefc;
    background: rgba(5, 7, 15, 0.78);
    border: 1px solid rgba(127, 157, 255, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.32rem 0.65rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.shot--expand:hover::after,
.shot--expand:focus-visible::after {
    opacity: 1;
}

.shot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.2rem 4.2rem 2.4rem;
    background: rgba(4, 8, 16, 0.9);
    backdrop-filter: blur(12px);
}

.shot-lightbox[hidden] { display: none; }

.shot-lightbox img {
    display: block;
    max-width: min(96vw, 1480px);
    max-height: 86vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(180, 200, 255, 0.22);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    background: #0b1220;
}

.shot-lightbox-close,
.shot-lightbox-nav {
    appearance: none;
    position: absolute;
    border: 1px solid rgba(127, 157, 255, 0.28);
    background: rgba(12, 22, 42, 0.88);
    color: #e8eefc;
    cursor: pointer;
}

.shot-lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.15rem;
}

.shot-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.2rem;
}

.shot-lightbox-nav.prev { left: 0.85rem; }
.shot-lightbox-nav.next { right: 0.85rem; }

.shot-lightbox-cap {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    max-width: min(80vw, 720px);
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    color: #c9d7f5;
}

.shot-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.shot-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9fb2d9;
    margin: 0 0 0.55rem;
}

.screenshot-slot .shot {
    border-radius: 16px;
}

.problem-strip {
    padding: 1.2rem 0 4.2rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.problem-card {
    border-radius: 16px;
    border: 1px solid rgba(127, 157, 255, 0.16);
    background: rgba(8, 14, 28, 0.72);
    padding: 1.15rem 1.2rem;
    min-height: 100%;
}

.problem-card strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.problem-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.oil-showcase {
    position: relative;
    padding: 6.2rem 0;
    background:
        radial-gradient(ellipse at 12% 0%, rgba(79, 124, 255, 0.16), transparent 48%),
        radial-gradient(ellipse at 88% 80%, rgba(34, 211, 238, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(10, 14, 24, 0.2), rgba(8, 12, 22, 0.92));
    border-top: 1px solid rgba(79, 124, 255, 0.16);
    border-bottom: 1px solid rgba(127, 157, 255, 0.12);
}

.oil-showcase .section-header {
    text-align: left;
    max-width: none;
    margin-bottom: 2rem;
}

.oil-showcase .section-subtitle {
    margin: 0;
    max-width: 640px;
}

.oil-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.oil-stage {
    min-width: 0;
}

.oil-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.oil-tab,
.size-chip {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(127, 157, 255, 0.24);
    background: rgba(12, 22, 42, 0.7);
    color: #c9d7f5;
}

.oil-tab {
    font-size: 0.8rem;
    padding: 0.48rem 0.9rem;
}

.size-chip {
    font-size: 0.74rem;
    padding: 0.4rem 0.72rem;
}

.oil-tab.active,
.size-chip.active {
    color: #081018;
    background: linear-gradient(130deg, #9ad4ff, #4f7cff);
    border-color: transparent;
}

.oil-panel { display: none; }
.oil-panel.active { display: block; }

.oil-aside {
    position: sticky;
    top: calc(var(--site-header-offset) + 16px);
}

.sticker-stage {
    border-radius: 22px;
    border: 1px solid rgba(127, 174, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(79, 124, 255, 0.1), transparent 38%),
        rgba(6, 10, 18, 0.9);
    padding: 1.3rem 1.2rem 1.4rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.sticker-stage h3 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.sticker-stage > p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

.sticker-frame {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 0.6rem 0 0.2rem;
}

.sticker {
    --sw: 1.8125;
    --sh: 2.5;
    width: calc(var(--sw) * 92px);
    height: calc(var(--sh) * 92px);
    max-width: 100%;
    background: #10141c;
    color: #e8eefc;
    border-radius: 6px;
    border: 1px solid rgba(154, 212, 255, 0.18);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.4),
        0 0 0 8px rgba(79, 124, 255, 0.08);
    padding: 8% 8% 7%;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 4%;
    transition: width 0.35s ease, height 0.35s ease;
}

.sticker-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8%;
}

.sticker-mark {
    width: 28%;
    aspect-ratio: 1;
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #1e4ed8 0%, #0b1b3a 58%, #0ea5e9 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.sticker-mark svg {
    width: 62%;
    height: 62%;
    display: block;
}

.sticker-qr {
    width: 28%;
    aspect-ratio: 1;
    border-radius: 2px;
    background: #fff;
    padding: 6%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.sticker-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sticker-name {
    font-size: clamp(0.62rem, 1.4vw, 0.92rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.sticker-meta {
    font-size: clamp(0.52rem, 1.1vw, 0.7rem);
    color: #9fb2d9;
    line-height: 1.35;
}

.sticker-next {
    font-size: clamp(0.58rem, 1.15vw, 0.76rem);
    font-weight: 700;
}

.oil-points {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.oil-points li {
    color: #d5def3;
    font-size: 0.9rem;
    padding-left: 1.05rem;
    position: relative;
}

.oil-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4f7cff;
}

.dash-showcase {
    position: relative;
    padding: 6.2rem 0;
    background:
        radial-gradient(ellipse at 88% 8%, rgba(79, 124, 255, 0.18), transparent 48%),
        radial-gradient(ellipse at 8% 92%, rgba(34, 211, 238, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(8, 12, 22, 0.4), rgba(6, 10, 20, 0.94));
    border-top: 1px solid rgba(79, 124, 255, 0.16);
    border-bottom: 1px solid rgba(127, 157, 255, 0.12);
}

.dash-showcase .section-header {
    text-align: left;
    max-width: none;
    margin-bottom: 2rem;
}

.dash-showcase .section-subtitle {
    margin: 0;
    max-width: 640px;
}

.dash-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.dash-aside {
    position: sticky;
    top: calc(var(--site-header-offset) + 16px);
}

.dash-stage-card {
    border-radius: 22px;
    border: 1px solid rgba(127, 174, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(79, 124, 255, 0.1), transparent 38%),
        rgba(6, 10, 18, 0.9);
    padding: 1.3rem 1.2rem 1.35rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.dash-stage-card h3 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.dash-stage-card > p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.05rem;
}

.dash-showcase .oil-tab.active {
    color: #081018;
    background: linear-gradient(130deg, #9ad4ff, #4f7cff);
    border-color: transparent;
}

.shot-caption {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8eefc;
    background: rgba(5, 7, 15, 0.78);
    border: 1px solid rgba(127, 157, 255, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.38rem 0.78rem;
}

.widget-group {
    margin-bottom: 0.85rem;
}

.widget-group > span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8aa0c9;
    margin-bottom: 0.4rem;
}

.widget-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.widget-chip {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 600;
    color: #dbe6ff;
    border: 1px solid rgba(127, 157, 255, 0.22);
    background: rgba(12, 22, 42, 0.78);
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
}

.widget-chip--more {
    border-style: dashed;
    background: transparent;
    color: #9ad4ff;
}

.dash-points {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-top: 1.05rem;
}

.dash-points li {
    color: #d5def3;
    font-size: 0.9rem;
    padding-left: 1.05rem;
    position: relative;
}

.dash-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4f7cff;
}

.workflow-strip {
    align-items: stretch;
}

.workflow-step p {
    color: var(--muted);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pillar-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(127, 157, 255, 0.2);
    background: rgba(12, 24, 45, 0.7);
    padding: 1.3rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    min-height: 100%;
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 174, 255, 0.42);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.pillar-card h3 {
    font-size: 1.12rem;
    margin: 0.15rem 0 0.5rem;
}

.pillar-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.pillar-link {
    display: inline-block;
    margin-top: 0.85rem;
    color: var(--accent-2);
    font-size: 0.8rem;
    font-weight: 700;
}

.preview-block + .preview-block {
    margin-top: 2.4rem;
}

.preview-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 0.9rem;
}

.preview-head h3 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.preview-head p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 540px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.role-card {
    border-radius: 16px;
    border: 1px solid rgba(127, 157, 255, 0.16);
    background: rgba(8, 14, 28, 0.72);
    padding: 1.2rem;
}

.role-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.role-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.feature-copy {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.02rem;
    margin: -0.6rem auto 1.6rem;
    text-align: center;
}

.module-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    margin-top: 1.85rem;
}

.module-bullets li {
    color: #d5def3;
    font-size: 0.92rem;
    padding-left: 1rem;
    position: relative;
}

.module-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #65d7ff;
}

.honest-note {
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .workflow-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oil-layout,
    .dash-layout,
    .shot-pair,
    .pillars-grid,
    .problem-grid,
    .roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oil-aside,
    .dash-aside { position: static; }
    .shot--cinematic { transform: none; }
}

@media (max-width: 760px) {
    .hero--product { padding-top: 7.6rem; }
    .oil-layout,
    .dash-layout,
    .shot-pair,
    .pillars-grid,
    .problem-grid,
    .roles-grid,
    .module-bullets {
        grid-template-columns: 1fr;
    }

    .preview-head { flex-direction: column; align-items: flex-start; }
    .sticker { width: min(100%, calc(var(--sw) * 78px)); height: calc(var(--sh) * 78px); }
    .chat-demo { height: 480px; }
    .shot-lightbox { padding: 4.2rem 0.55rem 3.4rem; }
    .shot-lightbox-nav.prev { left: 0.25rem; }
    .shot-lightbox-nav.next { right: 0.25rem; }
}

@media (hover: none) {
    .shot--expand::after { opacity: 0.9; }
}

.compare-wrap {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(127, 157, 255, 0.25);
    background: rgba(9, 20, 39, 0.76);
}

.compare-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    border: none;
    background: transparent;
}

.compare-table th,
.compare-table td {
    padding: 0.95rem 1.15rem;
    text-align: left;
    vertical-align: middle;
    font-size: 0.88rem;
    line-height: 1.35;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 46%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
    width: 27%;
}

.compare-table thead th {
    font-weight: 700;
    color: #d6e3ff;
    background: rgba(79, 124, 255, 0.16);
    border-bottom: 1px solid rgba(127, 157, 255, 0.24);
}

.compare-table tbody td {
    color: #d0defa;
    border-bottom: 1px solid rgba(127, 157, 255, 0.17);
    font-weight: 600;
}

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

.compare-table td:first-child {
    color: #edf3ff;
}

.compare-table .yes { color: #50e7b8; font-weight: 700; }
.compare-table .no { color: #ff9b9b; font-weight: 700; }

.chat-demo {
    height: 540px;
    border-radius: 18px;
    border: 1px solid rgba(180, 200, 255, 0.18);
    background: #1a2230;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 80px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-demo-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-demo-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f4f8ff;
}

.chat-demo-sub {
    display: block;
    font-size: 0.72rem;
    color: #8ea3bd;
    margin-top: 0.1rem;
}

.feature-module .chat-demo {
    max-width: 840px;
    margin-inline: auto;
}

.chat-demo-thread {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem 1rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-demo-thread::before {
    content: "";
    flex: 1 0 0;
    min-height: 0;
}

.chat-ava {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: #0c6bb8;
    flex-shrink: 0;
}

.preview-block .chat-demo {
    max-width: 720px;
    margin-inline: auto;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    max-width: 86%;
}

.chat-row.is-in { align-self: flex-start; }
.chat-row.is-out {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-bubble-wrap { min-width: 0; }

.chat-sender {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e8eef8;
    margin-bottom: 0.28rem;
}

.chat-row.is-out .chat-sender { text-align: right; }

.chat-bubble {
    display: inline-block;
    max-width: 360px;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #1c252e;
}

.chat-ref-wrap {
    position: relative;
    display: inline;
}

.chat-ref {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.82em;
    padding: 0.08em 0.48em;
    margin: 0 0.08em;
    border-radius: 6px;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    color: #1f2937;
    cursor: default;
    vertical-align: baseline;
}

.chat-ref-card {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 8;
    width: 240px;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: #111827;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    text-align: left;
    grid-template-columns: 1fr;
    gap: 0.18rem;
}

.chat-ref-wrap:hover .chat-ref-card,
.chat-ref-wrap:focus-within .chat-ref-card {
    display: grid;
}

.chat-ref-card strong {
    color: #fff;
    font-size: 0.82rem;
}

.chat-ref-card em {
    font-style: normal;
    font-size: 0.75rem;
    color: #93c5fd;
}

.chat-ref-card small {
    font-size: 0.72rem;
    color: #9ca3af;
}

.chat-reaction {
    display: inline-flex;
    margin-top: 0.28rem;
    font-size: 0.78rem;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgba(204, 228, 245, 0.95);
    color: #1c252e;
}

.chat-row.is-in .chat-bubble {
    background: #f4f6f8;
}

.chat-row.is-out .chat-bubble {
    background: #cce4f5;
}

.chat-time {
    display: block;
    margin-top: 0.22rem;
    font-size: 0.7rem;
    color: rgba(232, 238, 248, 0.45);
}

.chat-row.is-out .chat-time { text-align: right; }

.chat-demo-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    min-height: 32px;
    padding: 0.15rem 1rem 0.45rem;
    font-size: 0.8rem;
    color: #9fb0c8;
}

.chat-demo-status[hidden] {
    display: flex;
    visibility: hidden;
}

.chat-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.chat-dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9fb0c8;
    animation: chatDot 1.4s infinite;
}

.chat-dots i:nth-child(2) { animation-delay: 0.2s; }
.chat-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chat-demo-composer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    min-height: 56px;
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #7f93ad;
}

.chat-compose-field {
    flex: 1;
    min-height: 1.2em;
    font-size: 0.92rem;
    color: #e8eef8;
}

.chat-compose-field.is-empty { color: #7f93ad; }

.chat-slash {
    position: absolute;
    left: 3.2rem;
    right: 1rem;
    bottom: calc(100% + 6px);
    border-radius: 12px;
    background: #151c28;
    border: 1px solid rgba(127, 157, 255, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 6;
}

.chat-slash[hidden] { display: none; }

.chat-slash-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8ea3bd;
    padding: 0.55rem 0.8rem 0.25rem;
}

.chat-slash button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: #e8eef8;
    font: inherit;
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
    cursor: default;
}

.chat-slash button.active {
    background: rgba(12, 107, 184, 0.28);
}

.chat-demo-tools {
    display: flex;
    gap: 0.65rem;
    color: #0c6bb8;
}

.chat-demo-placeholder { flex: 1; font-size: 0.92rem; }
.chat-demo-send { color: #0c6bb8; }

@media (max-width: 900px) {
    .compare-wrap {
        overflow: visible;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .compare-table {
        table-layout: auto;
        display: block;
    }

    .compare-table thead {
        display: none;
    }

    .compare-table tbody,
    .compare-table tbody tr,
    .compare-table tbody td {
        display: block;
    }

    .compare-table th:first-child,
    .compare-table td:first-child,
    .compare-table th:nth-child(2),
    .compare-table td:nth-child(2),
    .compare-table th:nth-child(3),
    .compare-table td:nth-child(3) {
        width: auto;
    }

    .compare-table tbody tr {
        margin-bottom: 0.75rem;
        padding: 0.95rem 1rem 0.8rem;
        border-radius: 16px;
        border: 1px solid rgba(127, 157, 255, 0.22);
        background: rgba(9, 20, 39, 0.76);
    }

    .compare-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .compare-table tbody td {
        padding: 0.4rem 0 0;
        border-bottom: none;
    }

    .compare-table tbody td:first-child {
        padding: 0 0 0.7rem;
        margin-bottom: 0.2rem;
        border-bottom: 1px solid rgba(127, 157, 255, 0.16);
        font-size: 0.95rem;
        font-weight: 700;
        color: #edf3ff;
    }

    .compare-table tbody td:first-child::before {
        display: none;
    }

    .compare-table tbody td:nth-child(2),
    .compare-table tbody td:nth-child(3) {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
    }

    .compare-table tbody td:nth-child(2)::before,
    .compare-table tbody td:nth-child(3)::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #9db5e4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shot--cinematic,
    .sticker {
        transition: none;
        transform: none;
    }
    .chat-dots i { animation: none; }
}
