:root {
    --bg: #07080c;
    --text: #eef0ff;
    --muted: rgba(238, 240, 255, 0.72);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --accent: #7c5cff;
    --accent2: #29f7d7;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    background: radial-gradient(
            1200px 700px at 20% 10%,
            rgba(124, 92, 255, 0.22),
            transparent 60%
        ),
        radial-gradient(
            900px 650px at 70% 20%,
            rgba(41, 247, 215, 0.14),
            transparent 62%
        ),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
        Arial;
    overflow-x: hidden;
}

a {
    color: inherit;
}
button {
    font: inherit;
}

.topbar {
    position: fixed;
    inset: 14px 14px auto 14px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 6px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
    box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.12);
}
.name {
    font-weight: 800;
    letter-spacing: 0.02em;
}
.pill {
    margin-left: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
}

.right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip {
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    padding: 9px 12px;
    border-radius: 999px;
}
.chip[aria-pressed="true"] {
    border-color: rgba(41, 247, 215, 0.45);
    background: rgba(41, 247, 215, 0.08);
    color: var(--text);
}

.progress {
    position: relative;
    width: 160px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}
.progress__bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.35);
}

/* Panels */
.slides-wrapper {
    padding-top: 88px;
}

.panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 18px;
    overflow: hidden;
}

.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.2),
            transparent 30%,
            rgba(0, 0, 0, 0.35)
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0 1px,
            transparent 1px 6px
        );
    opacity: 0.45;
    mix-blend-mode: overlay;
}

.panel-bg {
    position: absolute;
    inset: -40px;
    pointer-events: none;
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.06;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.28;
    transform: translate3d(0, 0, 0);
}
.b1 {
    left: -120px;
    top: -120px;
    background: rgba(124, 92, 255, 0.9);
}
.b2 {
    right: -160px;
    bottom: -180px;
    background: rgba(41, 247, 215, 0.75);
}
.b3 {
    left: -120px;
    bottom: -190px;
    background: rgba(41, 247, 215, 0.75);
}
.b4 {
    right: -120px;
    top: -160px;
    background: rgba(124, 92, 255, 0.8);
}
.b5 {
    left: -140px;
    top: -160px;
    background: rgba(255, 134, 224, 0.65);
}
.b6 {
    right: -150px;
    bottom: -170px;
    background: rgba(41, 247, 215, 0.65);
}
.b7 {
    left: -160px;
    bottom: -160px;
    background: rgba(124, 92, 255, 0.85);
}
.b8 {
    right: -170px;
    top: -170px;
    background: rgba(255, 214, 0, 0.38);
}
.b9 {
    left: -160px;
    top: -160px;
    background: rgba(41, 247, 215, 0.65);
}
.b10 {
    right: -180px;
    bottom: -180px;
    background: rgba(124, 92, 255, 0.85);
}

.panel-shell {
    width: min(1200px, 94vw);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.panel-shell--center {
    grid-template-columns: 1fr;
}

.kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(238, 240, 255, 0.65);
    margin-bottom: 10px;
}

.title {
    font-size: clamp(44px, 6.4vw, 88px);
    line-height: 0.92;
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}
.title--sm {
    font-size: clamp(34px, 4.4vw, 60px);
}
.title--lg {
    font-size: clamp(52px, 7vw, 96px);
}

.desc {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 52ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
}
.mini {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(238, 240, 255, 0.74);
    font-size: 13px;
}

.cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.2s ease,
        border-color 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn--primary {
    border-color: rgba(124, 92, 255, 0.45);
    background: linear-gradient(
        90deg,
        rgba(124, 92, 255, 0.22),
        rgba(41, 247, 215, 0.12)
    );
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.hint {
    margin-top: 14px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.18);
    color: rgba(238, 240, 255, 0.7);
    font-size: 13px;
    display: none;
}

/* Media */
.frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow);
}
.frame img {
    width: 100%;
    display: block;
}
.frame__badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.14em;
}
.frame__meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(238, 240, 255, 0.85);
    font-size: 13px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.card {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}
.card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.tag {
    font-size: 12px;
    color: rgba(238, 240, 255, 0.72);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.val {
    font-size: 14px;
    color: rgba(238, 240, 255, 0.9);
}
.val b {
    font-size: 18px;
}
.bar {
    height: 10px;
    border-radius: 999px;
    margin: 12px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.card__foot {
    font-size: 12px;
    color: rgba(238, 240, 255, 0.68);
}

/* Device */
.device {
    width: min(520px, 90%);
    margin-left: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.device__screen {
    padding: 16px;
}
.chart {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(
            600px 320px at 30% 10%,
            rgba(124, 92, 255, 0.18),
            transparent 55%
        ),
        rgba(0, 0, 0, 0.22);
    padding: 14px;
}
.chart__row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    opacity: 0.55;
}
.chart__row span {
    height: 8px;
    flex: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}
.chart__bars {
    height: 170px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 12px;
}
.chart__bars i {
    flex: 1;
    border-radius: 14px 14px 10px 10px;
    background: linear-gradient(
        180deg,
        rgba(41, 247, 215, 0.85),
        rgba(124, 92, 255, 0.55)
    );
    box-shadow: 0 14px 30px rgba(124, 92, 255, 0.2);
}
.device__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(238, 240, 255, 0.75);
    font-size: 12px;
    margin-top: 10px;
}
.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(41, 247, 215, 0.9);
    box-shadow: 0 0 0 0 rgba(41, 247, 215, 0.35);
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 247, 215, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(41, 247, 215, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(41, 247, 215, 0);
    }
}
.device__base {
    height: 14px;
    background: rgba(0, 0, 0, 0.24);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gallery */
.masonry {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 54px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    transition: transform 0.18s ease, border-color 0.2s ease;
}
.tile:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(41, 247, 215, 0.35);
}
.tile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.tile__cap {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(238, 240, 255, 0.9);
}

/* Story */
.quote {
    margin: 14px 0 14px;
    padding: 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(238, 240, 255, 0.86);
    line-height: 1.5;
}
.quote .who {
    display: block;
    margin-top: 10px;
    color: rgba(238, 240, 255, 0.65);
    font-size: 13px;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);
    color: rgba(238, 240, 255, 0.74);
    font-size: 13px;
}
.step b {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        90deg,
        rgba(124, 92, 255, 0.22),
        rgba(41, 247, 215, 0.12)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Poster */
.poster {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}
.poster img {
    width: 100%;
    display: block;
}
.poster__glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        520px 420px at 50% 20%,
        rgba(41, 247, 215, 0.22),
        transparent 60%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}
.poster__stamp {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.22em;
}

/* Final */
.final {
    width: min(860px, 92vw);
    text-align: center;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
    padding: 26px 20px;
}
.foot {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.small {
    color: rgba(238, 240, 255, 0.62);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 980px) {
    .panel-shell {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .masonry {
        grid-template-columns: 1fr;
    }
    .tile img {
        height: 200px;
    }
}
