:root {
    --bg-color: #050605;
    --text-color: #f8faf5;
    --muted: #a7b0aa;
    --muted-strong: #d8ded5;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-soft: rgba(255, 255, 255, 0.02);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --accent-1: #b6f34a;
    --accent-2: #23d5c7;
    --accent-3: #ff4d6d;
    --accent-glow: rgba(182, 243, 74, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18rem),
        var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
}

.ambient-glow {
    --glow-rotate: 0deg;
    position: absolute;
    width: 130vw;
    height: 16vh;
    border-radius: 0;
    filter: blur(50px);
    opacity: 0.16;
    animation: float 14s infinite alternate ease-in-out;
    transform-origin: center;
    transform: rotate(var(--glow-rotate));
}

.glow-1 {
    --glow-rotate: -8deg;
    top: 10vh;
    left: -18vw;
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.glow-2 {
    --glow-rotate: 7deg;
    bottom: 8vh;
    right: -24vw;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    animation-delay: -6s;
}

.glow-3 {
    --glow-rotate: -18deg;
    top: 48vh;
    left: -20vw;
    width: 120vw;
    height: 10vh;
    background: linear-gradient(90deg, transparent, var(--accent-3), transparent);
    animation-delay: -3s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1) rotate(var(--glow-rotate));
    }

    100% {
        transform: translate(3vw, 2vh) scale(1.05) rotate(calc(var(--glow-rotate) + 2deg));
    }
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 10%;
    position: relative;
    z-index: 1;
    /* Вместе с scrollIntoView(..., block: 'start') убирает «хвост» длинного слайда над следующим */
    scroll-margin-top: 1.25rem;
    scroll-margin-bottom: 0.5rem;
}

/* Slide 1 - Title */
.hero {
    text-align: center;
}

.huge-title {
    font-size: clamp(4.5rem, 12vw, 15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    /* Увеличил для лучшего переноса */
    word-wrap: break-word;
    /* Гарантирует перенос длинных слов */
    overflow-wrap: break-word;
    background: linear-gradient(135deg, #ffffff 40%, var(--muted) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: fade-in-up 1s ease-out forwards;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.huge-title:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

.definition-wrapper {
    max-width: 1000px;
    /* Увеличена ширина блока для лучшей читаемости */
    margin: 0 auto;
    position: relative;
}

.definition-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0 2.5rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--muted-strong);
    text-align: left;
    opacity: 0;
    transform: scale(0.98) translateY(-10px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.definition-card.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    max-height: 600px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.definition-highlight {
    color: var(--accent-2);
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 2rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out 1s forwards;
    transition: color 0.3s ease;
    text-decoration: none;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: #fff;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Slide Content (Generic) */
.fade-block {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
    text-align: left;
    width: 100%;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

/* Slide 2 - Bento Box Layout */
.bento-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.bento-box {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.bento-box:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(182, 243, 74, 0.12);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    grid-column: 1 / 2;
}

.event-box {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tweet-box {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
}

.tweet-box:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-1);
    box-shadow: 0 0 20px var(--accent-glow);
    flex-shrink: 0;
}

.bento-box h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.bento-box p {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
}

.tweet-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 1.1rem;
}

.tweet-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tweet-stats span strong {
    color: var(--text-color);
    font-weight: 700;
}

/* Strict Tweet Card */
.tweet-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.tweet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 0 15px var(--accent-1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tweet-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(35, 213, 199, 0.15);
}

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

.tweet-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.tweet-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}

.tweet-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.tweet-handle {
    font-size: 1.1rem;
    color: var(--muted);
}

.tweet-content {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--muted-strong);
    margin-bottom: 2rem;
}

.tweet-translation {
    font-size: 1.1rem;
    color: var(--muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.tweet-date {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 1rem;
}



/* Slide 3 - Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
}

.benefit-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.02);
    border-right-color: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.benefit-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(182, 243, 74, 0.15);
}

.benefit-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(35, 213, 199, 0.15);
}

.benefit-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 77, 109, 0.15);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05);
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--accent-1);
    filter: drop-shadow(0 0 10px rgba(182, 243, 74, 0.5));
}

.benefit-card:nth-child(1) .icon-wrapper {
    background: linear-gradient(135deg, rgba(182, 243, 74, 0.1) 0%, rgba(182, 243, 74, 0.02) 100%);
    border-top-color: rgba(182, 243, 74, 0.3);
    border-left-color: rgba(182, 243, 74, 0.1);
}

.benefit-card:nth-child(2) .benefit-icon {
    color: var(--accent-2);
    filter: drop-shadow(0 0 10px rgba(35, 213, 199, 0.5));
}

.benefit-card:nth-child(2) .icon-wrapper {
    background: linear-gradient(135deg, rgba(35, 213, 199, 0.1) 0%, rgba(35, 213, 199, 0.02) 100%);
    border-top-color: rgba(35, 213, 199, 0.3);
    border-left-color: rgba(35, 213, 199, 0.1);
}

.benefit-card:nth-child(3) .benefit-icon {
    color: var(--accent-3);
    filter: drop-shadow(0 0 10px rgba(255, 77, 109, 0.5));
}

.benefit-card:nth-child(3) .icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.1) 0%, rgba(255, 77, 109, 0.02) 100%);
    border-top-color: rgba(255, 77, 109, 0.3);
    border-left-color: rgba(255, 77, 109, 0.1);
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefit-text {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Slide 4 - Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-top: 1.4rem;
}

#slide-4 {
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#slide-4 .use-cases-grid {
    margin-top: 1.65rem;
}

.use-case-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.15rem;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.artifact-preview {
    height: 126px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 1.1rem;
    background: rgba(5, 6, 5, 0.42);
    overflow: hidden;
}

.artifact-bar {
    height: 26px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0.75rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.artifact-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line-strong);
}

.artifact-body {
    padding: 0.8rem;
}

.prototype-preview .artifact-body {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    grid-template-rows: 1fr auto;
    gap: 0.55rem;
}

.prototype-hero {
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(182, 243, 74, 0.28), rgba(35, 213, 199, 0.14));
    grid-column: 1 / -1;
}

.prototype-button {
    height: 16px;
    width: 58px;
    border-radius: 5px;
    background: var(--accent-1);
    box-shadow: 0 0 18px rgba(182, 243, 74, 0.18);
}

.prototype-panel {
    height: 16px;
    border-radius: 5px;
    border: 1px solid rgba(35, 213, 199, 0.18);
    background: rgba(35, 213, 199, 0.08);
}

.data-preview .artifact-bar {
    background: rgba(35, 213, 199, 0.06);
}

.data-preview .artifact-body {
    display: grid;
    grid-template-columns: 0.7fr 1fr 0.8fr;
    gap: 0.35rem;
}

.data-cell {
    height: 12px;
    border-radius: 999px;
    background: rgba(35, 213, 199, 0.12);
    border: 1px solid rgba(35, 213, 199, 0.12);
}

.data-cell.header {
    height: 10px;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.08);
}

.data-cell.clean {
    background: rgba(182, 243, 74, 0.22);
    border-color: rgba(182, 243, 74, 0.26);
}

.data-cell.missing {
    background: rgba(255, 77, 109, 0.14);
    border-color: rgba(255, 77, 109, 0.2);
}

.data-cell:nth-child(3n + 1) {
    background: rgba(255, 255, 255, 0.08);
}

.service-preview .artifact-body {
    display: grid;
    gap: 0.55rem;
}

.endpoint-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted-strong);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.82rem;
}

.endpoint-pill {
    width: 46px;
    border-radius: 5px;
    padding: 0.16rem 0;
    text-align: center;
    color: #101310;
    background: var(--accent-3);
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
}

.use-case-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--accent-1);
    background: rgba(182, 243, 74, 0.08);
    border: 1px solid rgba(182, 243, 74, 0.18);
    font-size: 1rem;
    margin-right: 0.55rem;
    flex-shrink: 0;
}

.use-case-card:nth-child(2) .use-case-icon {
    color: var(--accent-2);
    background: rgba(35, 213, 199, 0.08);
    border-color: rgba(35, 213, 199, 0.18);
}

.use-case-card:nth-child(3) .use-case-icon {
    color: var(--accent-3);
    background: rgba(255, 77, 109, 0.08);
    border-color: rgba(255, 77, 109, 0.18);
}

.use-case-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.22rem;
    line-height: 1.25;
    margin-bottom: 0.55rem;
}

.use-case-card p {
    color: var(--muted);
    line-height: 1.48;
    font-size: 0.96rem;
}

.use-case-note {
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-strong);
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
}

.use-case-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(176, 228, 92, 0.24);
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    margin: 0 0.12rem;
    color: var(--accent-1);
    background: rgba(182, 243, 74, 0.06);
    white-space: nowrap;
}

.tab-bar {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--line-strong);
    color: var(--muted-strong);
}

.tab-btn.active {
    background: rgba(182, 243, 74, 0.07);
    border-color: rgba(182, 243, 74, 0.4);
    color: var(--text-color);
    box-shadow: 0 0 0 1px rgba(182, 243, 74, 0.12);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:nth-child(2).active {
    background: rgba(35, 213, 199, 0.07);
    border-color: rgba(35, 213, 199, 0.4);
    box-shadow: 0 0 0 1px rgba(35, 213, 199, 0.12);
}

.tab-btn:nth-child(2).active::after {
    background: var(--accent-2);
}

.tab-btn:nth-child(3).active {
    background: rgba(255, 77, 109, 0.07);
    border-color: rgba(255, 77, 109, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.12);
}

.tab-btn:nth-child(3).active::after {
    background: var(--accent-3);
}

.tab-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tab-btn:nth-child(1) .tab-icon {
    background: rgba(182, 243, 74, 0.12);
    color: var(--accent-1);
}

.tab-btn:nth-child(2) .tab-icon {
    background: rgba(35, 213, 199, 0.12);
    color: var(--accent-2);
}

.tab-btn:nth-child(3) .tab-icon {
    background: rgba(255, 77, 109, 0.12);
    color: var(--accent-3);
}

.tab-panel {
    width: 100%;
    max-width: 1100px;
    display: none;
    animation: tab-fade-in 0.35s ease;
}

#slide-7 {
    justify-content: center;
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#slide-7 .section-title {
    margin-bottom: 0.75rem;
}

#slide-7 .section-subtitle {
    margin-bottom: 1rem;
}

#slide-7 .tab-bar {
    flex-direction: row;
}

#slide-7 .tab-btn {
    justify-content: center;
    padding: 0.7rem 0.85rem;
    min-width: 0;
}

#slide-7 .tab-icon {
    width: 30px;
    height: 30px;
}

#slide-7 .scroll-indicator {
    display: none;
}

#slide-7 .vibe-model-wrap {
    height: 220px;
}

#slide-7 .web-chat-flow {
    flex-wrap: nowrap;
    height: 220px;
    gap: 0.75rem;
}

#slide-7 .web-chat-flow .mock-win.chat {
    width: 29%;
    min-width: 0;
    height: 100%;
}

#slide-7 .web-handoff {
    width: 25%;
    min-width: 0;
    height: 100%;
}

#slide-7 .web-result-window {
    width: 34%;
    min-width: 0;
    height: 100%;
}

#slide-7 .mock-arrow {
    font-size: 1rem;
}

#slide-7 .web-result-title {
    font-size: 1rem;
}

#slide-7 .web-result-button {
    padding: 0.52rem 0.9rem;
    font-size: 0.78rem;
}

#slide-7 .web-result-note {
    display: block;
}

#slide-7 .tab-panel.active .mock-win,
#slide-7 .tab-panel.active .mock-arrow,
#slide-7 .tab-panel.active .web-handoff,
#slide-7 .tab-panel.active .web-result-window,
#slide-7 .tab-panel.active .chat .user-msg,
#slide-7 .tab-panel.active .chat .ai-msg,
#slide-7 .tab-panel.active .cli .cli-line,
#slide-7 .tab-panel.active .ide-showcase-card {
    animation-delay: 0s;
    opacity: 1;
    transform: none;
}

#slide-7 .mock-win.cli {
    width: 92%;
    height: 100%;
    padding: 0;
}

#slide-7 .mock-win.cli .mock-win-body {
    justify-content: flex-start;
    gap: 0.45rem;
    font-size: 0.7rem;
    padding: 0.8rem 1rem;
}

@media (max-width: 1024px) {
    #slide-7 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #slide-7 .section-title {
        font-size: 2.2rem;
        margin-bottom: 0.65rem;
    }

    #slide-7 .section-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    #slide-7 .tab-lead {
        font-size: 0.92rem;
        line-height: 1.38;
        margin-bottom: 0.75rem;
    }

    #slide-7 .tab-pills {
        display: none;
    }

    #slide-7 .ide-tab-selector {
        display: none;
    }

    #slide-7 .vibe-model-wrap {
        height: 175px;
        padding: 1rem;
    }

    #slide-7 .ide-showcase-wrap {
        height: 175px;
    }

    #slide-7 .ide-logo-stage {
        min-height: 82px;
    }

    #slide-7 .web-chat-flow {
        height: 175px;
    }

    #slide-7 .mock-win.cli {
        width: 88%;
    }

    #slide-7 .method-summary-card {
        min-height: 76px;
        padding: 0.52rem 0.65rem;
    }

    #slide-7 .method-summary-card strong {
        font-size: 0.82rem;
    }
}

.tab-panel.active {
    display: block;
}

@keyframes tab-fade-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.tab-lead {
    font-size: 1.02rem;
    color: var(--muted-strong);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tab-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.tab-pill {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted-strong);
    border-radius: 8px;
    padding: 0.32rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.ide-tab-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.ide-tab-btn {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted-strong);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Manrope', sans-serif;
}

.ide-tab-btn:hover,
.ide-tab-btn.active {
    background: rgba(255, 77, 109, 0.1);
    border-color: rgba(255, 77, 109, 0.4);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .tab-bar {
        flex-direction: column;
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        justify-content: flex-start;
    }
}

/* Vibe Models (Animated Mockups) */
.vibe-model-wrap {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0;
    height: 150px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 18, 0.4);
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
}

.mock-win {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #111111;
    border: 1px solid #333333;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(15px);
}

.tab-panel.active .mock-win {
    animation: winPopIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes winPopIn {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mock-win-header {
    height: 24px;
    background: #252526;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid #333;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
}

.mock-dot.r {
    background: #ff5f56;
}

.mock-dot.y {
    background: #ffbd2e;
}

.mock-dot.g {
    background: #27c93f;
}

.mock-win-body {
    flex: 1;
    padding: 1rem;
    position: relative;
    background: #1e1e1e;
    font-size: 0.75rem;
    color: #d4d4d4;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* WEB CHAT SPECIFIC */
.mock-win.chat {
    width: 40%;
    height: 100%;
    border-color: rgba(182, 243, 74, 0.4);
}

.mock-win.chat .user-msg {
    background: #2b2b2b;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
    align-self: flex-end;
    max-width: 90%;
    opacity: 0;
    font-family: 'Manrope', sans-serif;
}

.mock-win.chat .ai-msg {
    background: rgba(182, 243, 74, 0.05);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(182, 243, 74, 0.2);
    align-self: flex-start;
    max-width: 90%;
    color: var(--accent-1);
    opacity: 0;
}

.web-chat-flow {
    gap: 0.65rem;
    align-items: stretch;
}

.web-chat-flow .mock-win.chat {
    width: 30%;
    min-width: 210px;
}

.web-chat-flow .mock-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
}

.web-handoff {
    width: 22%;
    min-width: 170px;
    height: 100%;
    border: 1px solid rgba(182, 243, 74, 0.22);
    border-radius: 8px;
    background: rgba(182, 243, 74, 0.06);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    font-family: 'Manrope', sans-serif;
    opacity: 0;
    transform: translateY(15px);
}

.web-handoff-title {
    color: var(--accent-1);
    font-size: 0.76rem;
    font-weight: 800;
}

.web-flow-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.45rem;
    align-items: start;
    padding: 0.42rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.web-flow-index {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(182, 243, 74, 0.14);
    color: var(--accent-1);
    font-size: 0.75rem;
    font-weight: 800;
}

.web-flow-item strong {
    display: block;
    color: var(--text-color);
    font-size: 0.72rem;
    line-height: 1.25;
}

.web-flow-item small {
    display: block;
    color: var(--muted);
    font-size: 0.64rem;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.web-result-window {
    width: 36%;
    min-width: 280px;
    height: 100%;
    border: 1px solid rgba(35, 213, 199, 0.25);
    border-radius: 8px;
    background: #0d1117;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(15px);
}

.web-result-header {
    height: 30px;
    background: #171c22;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-bottom: 1px solid #2b333d;
}

.web-result-url {
    margin-left: 0.45rem;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--muted);
    padding: 0.16rem 0.45rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.66rem;
}

.web-result-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(35, 213, 199, 0.12), transparent 48%),
        linear-gradient(180deg, #10161d, #070b0f);
    text-align: center;
    font-family: 'Manrope', sans-serif;
}

.web-result-kicker {
    color: var(--accent-2);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.web-result-title {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 800;
}

.web-result-button {
    border-radius: 6px;
    border: 1px solid rgba(182, 243, 74, 0.45);
    background: var(--accent-1);
    color: #101310;
    padding: 0.58rem 1.05rem;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(182, 243, 74, 0.18);
}

.web-result-note {
    color: var(--muted);
    font-size: 0.72rem;
}

.mock-arrow {
    font-size: 1.5rem;
    color: var(--muted);
    opacity: 0;
}

/* CLI SPECIFIC */
.mock-win.cli {
    width: 80%;
    height: 100%;
    border-color: rgba(69, 219, 237, 0.4);
    background: #0c0c0c;
    padding: 10px;
}

.cli-line {
    margin-bottom: 4px;
    display: flex;
    opacity: 0;
}

.cli-prompt {
    color: var(--accent-2);
    margin-right: 8px;
    font-weight: bold;
}

.cli-text {
    color: #cccccc;
}

.cli-text.diff-add {
    color: #27c93f;
    background: rgba(39, 201, 63, 0.1);
    padding: 0 4px;
}

.cli-text.system {
    color: #888;
}

/* IDE SHOWCASE SPECIFIC */
.ide-showcase-wrap {
    height: 220px;
    padding: 1rem;
    align-items: stretch;
    overflow: hidden;
}

.ide-showcase-card {
    --ide-accent: var(--accent-3);
    --ide-accent-soft: rgba(255, 77, 109, 0.1);
    --ide-accent-line: rgba(255, 77, 109, 0.36);
    --ide-accent-glow: rgba(255, 77, 109, 0.3);
    width: 100%;
    height: 100%;
    border: 1px solid var(--ide-accent-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, var(--ide-accent-soft), transparent 46%),
        rgba(10, 10, 12, 0.9);
    display: grid;
    grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
    opacity: 0;
    transform: translateY(15px);
}

.ide-logo-stage {
    height: 100%;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    position: relative;
    overflow: hidden;
}

.ide-logo-stage::after {
    content: "";
    position: absolute;
    inset: auto 12% 12% 12%;
    height: 18px;
    background: var(--ide-accent-glow);
    filter: blur(18px);
    opacity: 0.7;
}

.ide-showcase-logo {
    max-width: 160px;
    max-height: 76px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.24));
}

.ide-showcase-card[data-ide="cursor"] .ide-showcase-logo {
    max-width: 150px;
    max-height: 94px;
    border-radius: 8px;
}

.ide-showcase-card[data-ide="antigravity"] .ide-showcase-logo {
    max-width: 190px;
    max-height: 46px;
}

.ide-showcase-card[data-ide="vscode"] .ide-showcase-logo {
    max-width: 80px;
    max-height: 80px;
}

.ide-showcase-card[data-ide="codex"] .ide-showcase-logo {
    max-width: 115px;
    max-height: 115px;
    border-radius: 8px;
}

.ide-wordmark {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #101310;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0;
}

.ide-showcase-logo[hidden],
.ide-wordmark[hidden] {
    display: none;
}

.ide-wordmark::before {
    content: ">_";
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #101310;
    color: var(--ide-accent);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.ide-showcase-card[data-ide="cursor"] .ide-showcase-logo {
    max-width: 84px;
    max-height: 84px;
    border-radius: 8px;
}

.ide-showcase-copy {
    min-width: 0;
}

.ide-showcase-kicker {
    color: var(--ide-accent);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.ide-showcase-title {
    color: var(--text-color);
    font-size: 1.55rem;
    line-height: 1.05;
    margin-bottom: 0.45rem;
}

.ide-showcase-desc {
    color: var(--muted-strong);
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.ide-advantage {
    border: 1px solid var(--ide-accent-line);
    border-radius: 8px;
    background: var(--ide-accent-soft);
    padding: 0.6rem 0.75rem;
}

.ide-advantage span {
    display: block;
    color: var(--ide-accent);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.ide-advantage strong {
    display: block;
    color: var(--text-color);
    font-size: 0.82rem;
    line-height: 1.32;
}

/* KEYFRAMES FOR ANIMATIONS */
@keyframes typeOut {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

@keyframes arrowSlide {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flashBtn {
    0% {
        background: rgba(255, 77, 109, 0.15);
    }

    50% {
        background: rgba(255, 77, 109, 0.5);
    }

    100% {
        background: rgba(255, 77, 109, 0.15);
        opacity: 1;
    }
}

/* SEQUENCE ANIMATIONS BASED ON TAB */
.tab-panel.active .mock-arrow {
    animation: arrowSlide 0.5s ease 1.5s forwards;
}

.tab-panel.active .web-handoff {
    animation: winPopIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.65s forwards;
}

.tab-panel.active .web-result-window {
    animation: winPopIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 2.7s forwards;
}

.tab-panel.active .chat .user-msg {
    animation: typeOut 1s steps(20) 0.5s forwards;
}

.tab-panel.active .chat .ai-msg {
    animation: fadeIn 0.4s ease 1.2s forwards;
}

.tab-panel.active .cli .cli-line:nth-child(1) {
    animation: typeOut 1s steps(20) 0.5s forwards;
}

.tab-panel.active .cli .cli-line:nth-child(2) {
    animation: fadeIn 0.2s ease 1.2s forwards;
}

.tab-panel.active .cli .cli-line:nth-child(3) {
    animation: fadeIn 0.2s ease 1.6s forwards;
}

.tab-panel.active .cli .cli-line:nth-child(4) {
    animation: typeOut 0.5s steps(10) 2.2s forwards;
}

.tab-panel.active .cli .cli-line:nth-child(5) {
    animation: fadeIn 0.2s ease 2.6s forwards;
}

.tab-panel.active .ide-showcase-card {
    animation: winPopIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.method-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.method-summary-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.75rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.035);
}

.method-summary-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(182, 243, 74, 0.09);
    color: var(--accent-1);
    border: 1px solid rgba(182, 243, 74, 0.2);
}

.method-summary-card.watch .method-summary-icon {
    background: rgba(255, 77, 109, 0.09);
    color: var(--accent-3);
    border-color: rgba(255, 77, 109, 0.2);
}

.method-summary-label {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.method-summary-card strong {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.35;
}




/* Hero tagline */
.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 2.5rem;
    animation: fade-in-up 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-tagline em {
    color: var(--accent-2);
    font-style: normal;
}

/* Progress nav */
.progress-nav {
    position: fixed;
    right: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.progress-dot.active {
    background: var(--accent-1);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--accent-glow);
}



/* Workflow arrows */
.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    opacity: 0.45;
    font-size: 1.1rem;
}

.workflow-repeat {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.workflow-repeat i {
    color: var(--accent-1);
    margin-right: 0.3rem;
}

/* CTA Slide 5 */
.cta-headline {
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: center;
    margin-bottom: 1rem;
}

.cta-headline span {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.cta-sub {
    font-size: 1.25rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 560px;
}

.cta-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2.5rem;
}

.cta-step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-step:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.cta-step:nth-child(1) {
    border-top-color: rgba(182, 243, 74, 0.35);
}

.cta-step:nth-child(2) {
    border-top-color: rgba(35, 213, 199, 0.35);
}

.cta-step:nth-child(3) {
    border-top-color: rgba(255, 77, 109, 0.35);
}

.cta-step-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.cta-step:nth-child(1) .cta-step-num {
    color: var(--accent-1);
}

.cta-step:nth-child(2) .cta-step-num {
    color: var(--accent-2);
}

.cta-step:nth-child(3) .cta-step-num {
    color: var(--accent-3);
}

.cta-step h4 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

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

.cta-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-2);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cta-link:hover {
    opacity: 1;
}

.cta-final {
    font-size: 1.25rem;
    color: var(--muted-strong);
    text-align: center;
    max-width: 640px;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
    line-height: 1.7;
}

.cta-final strong {
    color: var(--accent-1);
}



/* Slide 5 - Plan to Prompt */
#slide-5 {
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#slide-5 .section-title {
    margin-bottom: 0.65rem;
    font-size: clamp(2.55rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

#slide-5 .section-subtitle {
    margin-bottom: 1.15rem;
    font-size: clamp(1rem, 1.18vw, 1.15rem);
    line-height: 1.62;
    color: #c3ccc3;
}

/* Slide 5 — правая колонка: как составить план с ИИ */
.plan-prompt-stage.plan-ai-stage {
    min-height: 480px;
}

.plan-prompt-stage.plan-ai-stage::before {
    display: none;
}

.plan-ai-inner {
    position: relative;
    z-index: 1;
    min-height: 480px;
    height: 100%;
    padding: 1.35rem 1.35rem 1.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.plan-ai-head {
    flex-shrink: 0;
}

.plan-ai-head-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(54, 215, 191, 0.28);
    background: rgba(54, 215, 191, 0.08);
    color: #5ee9d3;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.plan-ai-head-title {
    margin: 0.65rem 0 0.35rem;
    font-size: clamp(1.15rem, 1.35vw, 1.35rem);
    font-weight: 800;
    color: #f0f4ec;
    letter-spacing: -0.02em;
}

.plan-ai-head-lead {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #9aa89e;
    max-width: 36rem;
}

.plan-builder-model {
    flex: 1;
    min-height: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(230px, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1.1rem 1.35rem;
    align-items: center;
    padding-top: 0.3rem;
}

.plan-builder-model::before {
    content: '';
    position: absolute;
    left: 26%;
    right: 18%;
    top: 45%;
    height: 1px;
    background: linear-gradient(90deg, rgba(182, 243, 74, 0.12), rgba(35, 213, 199, 0.45), rgba(35, 213, 199, 0.08));
    box-shadow: 0 0 18px rgba(35, 213, 199, 0.12);
}

.plan-builder-rail {
    position: relative;
    display: grid;
    gap: 0.7rem;
    z-index: 1;
}

.plan-builder-rail::before {
    content: '';
    position: absolute;
    left: 1.18rem;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    opacity: 0.42;
}

.plan-builder-step {
    position: relative;
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.25rem;
    color: #eef3e9;
}

.plan-builder-step span {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #101310;
    background: var(--accent-2);
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 0 0 8px rgba(5, 6, 5, 0.86), 0 0 22px rgba(35, 213, 199, 0.14);
    z-index: 1;
}

.plan-builder-step:first-child span,
.plan-builder-step:last-child span {
    background: var(--accent-1);
}

.plan-builder-step strong {
    width: fit-content;
    padding: 0.46rem 0.75rem;
    border-radius: 999px;
    color: #dfe8e4;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.plan-builder-hacks {
    margin: 0.2rem 0 0 3.1rem;
    padding: 0.72rem 0.82rem;
    border-radius: 14px;
    border: 1px solid rgba(201, 246, 107, 0.2);
    background: linear-gradient(135deg, rgba(201, 246, 107, 0.11), rgba(94, 233, 211, 0.055));
}

.plan-builder-hacks div {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    color: #c9f66b;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-builder-hacks p {
    margin: 0.42rem 0 0;
    color: #d6ddd2;
    font-size: 0.76rem;
    line-height: 1.42;
    font-weight: 800;
}

.plan-builder-hacks ul {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.34rem;
}

.plan-builder-hacks li {
    position: relative;
    padding-left: 0.95rem;
    color: #d6ddd2;
    font-size: 0.74rem;
    line-height: 1.4;
    font-weight: 700;
}

.plan-builder-hacks li::before {
    content: '';
    position: absolute;
    left: 0.05rem;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9f66b, #5ee9d3);
    box-shadow: 0 0 8px rgba(94, 233, 211, 0.45);
}

.plan-builder-hacks li strong {
    color: #eef3e9;
    font-weight: 900;
}

.plan-builder-document {
    position: relative;
    z-index: 1;
    min-height: 302px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.35rem 1.35rem 1.2rem;
    border-radius: 10px;
    color: var(--muted-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 34%),
        linear-gradient(135deg, rgba(35, 213, 199, 0.09), transparent 58%),
        rgba(5, 6, 5, 0.82);
    border: 1px solid rgba(35, 213, 199, 0.28);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.plan-builder-document::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
    box-shadow: 0 0 22px rgba(35, 213, 199, 0.28);
}

.plan-builder-document::after {
    content: none;
}

.plan-document-tab {
    position: absolute;
    left: 1.2rem;
    top: -0.72rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    color: var(--accent-2);
    background: rgba(35, 213, 199, 0.1);
    border: 1px solid rgba(35, 213, 199, 0.22);
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.plan-document-mark {
    width: 3.4rem;
    height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #101310;
    background: var(--accent-2);
    font-size: 1.05rem;
    box-shadow: 0 0 24px rgba(35, 213, 199, 0.16);
}

.plan-builder-document strong {
    color: var(--text-color);
    font-size: clamp(2.25rem, 3.45vw, 3.25rem);
    line-height: 0.92;
    letter-spacing: 0;
    font-weight: 900;
}

.plan-builder-document small {
    max-width: 16rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 800;
}

.plan-document-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.46rem;
    margin-top: 0.2rem;
}

.plan-document-content span {
    padding: 0.38rem 0.58rem;
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
}

.plan-builder-context {
    grid-column: 1 / -1;
    z-index: 1;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.72rem 0.9rem;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(182, 243, 74, 0.08), rgba(35, 213, 199, 0.055)),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(182, 243, 74, 0.22);
}

.context-path {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    flex-shrink: 0;
    padding: 0.48rem 0.7rem;
    border-radius: 999px;
    color: var(--accent-1);
    background: rgba(182, 243, 74, 0.08);
    border: 1px solid rgba(182, 243, 74, 0.2);
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.74rem;
    font-weight: 900;
}

.plan-builder-context strong {
    color: #e8f0e4;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 900;
    text-align: right;
}

.plan-prompt-live {
    width: 100%;
    max-width: 1160px;
    margin: 1.45rem auto 0;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 1.25rem;
    align-items: stretch;
}

.plan-prompt-thesis {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        rgba(255, 255, 255, 0.03);
    background-size: auto, 40px 40px, 40px 40px, auto;
    padding: 1.7rem 1.65rem 1.55rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.35rem;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    isolation: isolate;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.plan-prompt-thesis:hover {
    border-color: rgba(182, 243, 74, 0.36);
    transform: translateY(-3px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(182, 243, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.plan-prompt-thesis::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    z-index: 1;
}

.plan-prompt-thesis::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(182, 243, 74, 0.11);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 243, 74, 0.045), transparent 62%);
    pointer-events: none;
    z-index: 0;
}

.plan-prompt-thesis>* {
    position: relative;
    z-index: 1;
}

.plan-prompt-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(190, 230, 105, 0.24);
    background: rgba(182, 243, 74, 0.08);
    color: #c9f66b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-prompt-big {
    margin: 1.25rem 0 0.95rem;
    color: #f7f8ef;
    font-size: clamp(2.65rem, 4.2vw, 4.7rem);
    line-height: 0.88;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.plan-prompt-big-highlight {
    color: #f7f8ef;
    background: none;
    -webkit-text-fill-color: #f7f8ef;
}

.plan-prompt-big .plan-prompt-big-break {
    display: block;
    background: linear-gradient(100deg, #d7ff72 0%, #85f08e 42%, #35dac4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.plan-prompt-short {
    color: #d6ddd2;
    font-size: clamp(0.96rem, 1.04vw, 1.08rem);
    line-height: 1.56;
    max-width: 30rem;
}

.plan-prompt-short strong {
    color: #ffffff;
}

.plan-prompt-formula {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.formula-step {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.62rem;
    min-height: 54px;
    padding: 0.64rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: transparent;
    color: #e2e8dd;
    font-weight: 800;
    font-size: 0.9rem;
    opacity: 1;
    transform: none;
    animation: formulaStepFocus 8s ease-in-out infinite;
    transition: color 0.22s ease, padding-left 0.22s ease, background 0.22s ease;
}

.formula-step:hover {
    padding-left: 0.55rem;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(182, 243, 74, 0.085), transparent 58%);
}

.formula-step:nth-child(2):hover {
    background: linear-gradient(90deg, rgba(35, 213, 199, 0.085), transparent 58%);
}

.formula-step:nth-child(3):hover {
    background: linear-gradient(90deg, rgba(232, 184, 102, 0.09), transparent 58%);
}

.formula-step:nth-child(2) {
    animation-delay: 0.55s;
}

.formula-step:nth-child(3) {
    animation-delay: 1.1s;
}

.formula-step:last-child {
    border-bottom: 0;
}

.formula-step i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #c9f66b;
    background: rgba(201, 246, 107, 0.12);
    font-size: 0.76rem;
    flex-shrink: 0;
}

.formula-step:nth-child(2) i {
    color: #36d7bf;
    background: rgba(54, 215, 191, 0.12);
}

.formula-step:nth-child(3) i {
    color: #e8b866;
    background: rgba(232, 184, 102, 0.14);
}

.plan-prompt-stage {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        rgba(255, 255, 255, 0.03);
    background-size: auto, 40px 40px, 40px 40px, auto;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.plan-prompt-stage:hover {
    border-color: rgba(35, 213, 199, 0.26);
    transform: translateY(-3px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(35, 213, 199, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.plan-prompt-stage::before {
    content: '';
    position: absolute;
    left: 54px;
    top: 64px;
    bottom: 64px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2), rgba(232, 184, 102, 0.9));
    pointer-events: none;
    opacity: 0.78;
    transform-origin: top;
    animation: routeLine 5.5s ease-in-out infinite;
}

.prompt-machine-grid {
    position: absolute;
    inset: 1.15rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.72rem;
    z-index: 1;
}

.process-card {
    position: relative;
    overflow: hidden;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 46%),
        rgba(5, 6, 5, 0.76);
    padding: 0.95rem 1.05rem 0.95rem 5.1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: minmax(128px, 0.78fr) minmax(0, 1.22fr);
    column-gap: 1rem;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: processCardBreath 7s ease-in-out infinite;
    transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.process-card:hover {
    border-color: rgba(182, 243, 74, 0.34);
    background:
        linear-gradient(145deg, rgba(182, 243, 74, 0.1), transparent 48%),
        rgba(7, 10, 8, 0.86);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-card:nth-child(2):hover,
.process-card:nth-child(4):hover {
    border-color: rgba(35, 213, 199, 0.34);
    background:
        linear-gradient(145deg, rgba(35, 213, 199, 0.1), transparent 48%),
        rgba(7, 10, 8, 0.86);
}

.process-card:nth-child(3):hover {
    border-color: rgba(232, 184, 102, 0.34);
    background:
        linear-gradient(145deg, rgba(232, 184, 102, 0.1), transparent 48%),
        rgba(7, 10, 8, 0.86);
}

.process-card:nth-child(2) {
    animation-delay: 0.35s;
}

.process-card:nth-child(3) {
    animation-delay: 0.7s;
}

.process-card:nth-child(4) {
    animation-delay: 1.05s;
}

.process-card::before {
    content: '';
    position: absolute;
    left: 2.05rem;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #c9f66b;
    box-shadow: 0 0 0 8px rgba(5, 6, 5, 0.92), 0 0 26px rgba(201, 246, 107, 0.24);
    animation: routeDot 5.5s ease-in-out infinite;
}

.process-card:nth-child(2)::before,
.process-card:nth-child(4)::before {
    background: #36d7bf;
    box-shadow: 0 0 18px rgba(54, 215, 191, 0.18);
}

.process-card:nth-child(2)::before {
    animation-delay: 0.55s;
}

.process-card:nth-child(3)::before {
    animation-delay: 1.1s;
}

.process-card:nth-child(4)::before {
    animation-delay: 1.65s;
}

.process-card:nth-child(3)::before {
    background: #e8b866;
    box-shadow: 0 0 18px rgba(232, 184, 102, 0.18);
}

.process-card::after {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.18);
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.process-card:nth-child(1)::after {
    content: '01';
}

.process-card:nth-child(2)::after {
    content: '02';
}

.process-card:nth-child(3)::after {
    content: '03';
}

.process-card:nth-child(4)::after {
    content: '04';
}

.process-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    color: #eef3e9;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.process-card-title i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #c9f66b;
    background: rgba(201, 246, 107, 0.12);
    flex-shrink: 0;
}

.process-card:nth-child(2) .process-card-title i,
.process-card:nth-child(4) .process-card-title i {
    color: #36d7bf;
    background: rgba(54, 215, 191, 0.12);
}

.process-card:nth-child(3) .process-card-title i {
    color: #e8b866;
    background: rgba(232, 184, 102, 0.14);
}

.process-card-text {
    color: #aeb8b1;
    font-size: 0.95rem;
    line-height: 1.58;
}

.plan-mini-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.28rem;
}

.plan-mini-list span {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 28px;
    padding: 0.28rem 0.44rem;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.035);
    color: #dbe4dc;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    opacity: 0.9;
    animation: none;
}

.plan-mini-list i {
    color: var(--accent-1);
}

.prompt-code-lines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem 0.72rem;
    font-family: inherit;
    color: #dbe4dc;
    font-size: 0.86rem;
    line-height: 1.35;
}

.prompt-code-lines span {
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.prompt-code-lines b {
    color: var(--accent-2);
}

.prompt-core {
    display: none;
}

.prompt-orbit {
    position: absolute;
    width: 154px;
    height: 154px;
    border-radius: 8px;
    border: 1px solid rgba(182, 243, 74, 0.25);
    box-shadow: 0 0 55px rgba(182, 243, 74, 0.11), inset 0 0 36px rgba(35, 213, 199, 0.08);
    animation: promptRadar 13s linear infinite;
}

.prompt-orbit::before,
.prompt-orbit::after {
    content: '';
    position: absolute;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.prompt-orbit::before {
    inset: 18px;
}

.prompt-orbit::after {
    inset: 50px;
    border-style: solid;
    border-color: rgba(35, 213, 199, 0.22);
    animation: promptRadar 7s linear infinite reverse;
}

.prompt-beam {
    position: absolute;
    width: 78%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
    filter: drop-shadow(0 0 12px rgba(182, 243, 74, 0.5));
    animation: promptBeam 2.2s ease-in-out infinite;
}

.prompt-beam.alt {
    transform: rotate(-18deg);
    background: linear-gradient(90deg, transparent, var(--accent-2), var(--accent-3), transparent);
    animation-delay: 0.75s;
}

.prompt-beam.main {
    transform: rotate(18deg);
}

.prompt-human-core {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(182, 243, 74, 0.36);
    background: radial-gradient(circle, rgba(182, 243, 74, 0.22), rgba(5, 6, 5, 0.93) 65%);
    box-shadow: 0 0 48px rgba(182, 243, 74, 0.17);
    z-index: 2;
}

.prompt-human-core i {
    color: var(--accent-1);
    font-size: 1.45rem;
    margin-bottom: 0.26rem;
    animation: brainPulse 2.4s ease-in-out infinite;
}

.prompt-human-core strong {
    color: var(--text-color);
    font-size: 0.78rem;
    line-height: 1.12;
}

.prompt-human-core small {
    margin-top: 0.32rem;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.68rem;
}

@keyframes planShine {

    0%,
    35% {
        transform: translateX(-130%);
    }

    70%,
    100% {
        transform: translateX(130%);
    }
}

@keyframes formulaStepFocus {

    0%,
    58%,
    100% {
        color: #e2e8dd;
    }

    14%,
    38% {
        color: #ffffff;
    }
}

@keyframes processCardBreath {

    0%,
    60%,
    100% {
        border-color: rgba(255, 255, 255, 0.09);
        transform: translateY(0);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    12%,
    34% {
        border-color: rgba(255, 255, 255, 0.18);
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }
}

@keyframes routeLine {

    0%,
    100% {
        opacity: 0.42;
        transform: scaleY(0.96);
    }

    45%,
    62% {
        opacity: 0.86;
        transform: scaleY(1);
    }
}

@keyframes routeDot {

    0%,
    58%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    14%,
    36% {
        transform: translate(-50%, -50%) scale(1.16);
    }
}

@keyframes formulaWake {

    0%,
    58%,
    100% {
        transform: translateX(-7px);
        border-color: rgba(255, 255, 255, 0.075);
    }

    12%,
    42% {
        transform: translateX(0);
        border-color: rgba(182, 243, 74, 0.32);
        box-shadow: 0 0 20px rgba(182, 243, 74, 0.08);
    }
}

@keyframes planMiniPulse {

    0%,
    55%,
    100% {
        opacity: 0.62;
        border-color: rgba(255, 255, 255, 0.07);
    }

    12%,
    44% {
        opacity: 1;
        border-color: rgba(182, 243, 74, 0.28);
    }
}

@keyframes typePromptLine {

    0%,
    8% {
        width: 0;
        opacity: 0.55;
    }

    24%,
    74% {
        width: 100%;
        opacity: 1;
    }

    88%,
    100% {
        width: 100%;
        opacity: 0.45;
    }
}

@keyframes promptRadar {
    to {
        transform: rotate(360deg);
    }
}

@keyframes promptBeam {

    0%,
    100% {
        opacity: 0.28;
        width: 54%;
    }

    50% {
        opacity: 1;
        width: 82%;
    }
}

@keyframes promptControlSweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes brainPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(182, 243, 74, 0.3));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 22px rgba(182, 243, 74, 0.55));
    }
}

@keyframes outputWake {

    0%,
    48%,
    100% {
        opacity: 0.6;
        transform: translateY(12px);
        border-color: var(--line);
    }

    62%,
    82% {
        opacity: 1;
        transform: translateY(0);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
    }
}

.vibe-workflow-model {
    width: 100%;
    margin-top: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 22%, rgba(182, 243, 74, 0.08), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(35, 213, 199, 0.08), transparent 30%),
        rgba(255, 255, 255, 0.028);
    padding: 1.35rem;
    overflow: hidden;
}

.vibe-stage-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.vibe-stage-rail::before {
    content: '';
    position: absolute;
    left: 7%;
    right: 7%;
    top: 28px;
    height: 2px;
    background: linear-gradient(90deg, rgba(182, 243, 74, 0.55), rgba(35, 213, 199, 0.5), rgba(255, 77, 109, 0.45), rgba(182, 243, 74, 0.6));
    opacity: 0.55;
}

.vibe-stage {
    position: relative;
    display: grid;
    grid-template-rows: 56px auto auto;
    justify-items: center;
    gap: 0.42rem;
    text-align: center;
    min-width: 0;
    z-index: 1;
}

.vibe-stage-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #0d100d;
    border: 1px solid rgba(182, 243, 74, 0.32);
    color: var(--accent-1);
    box-shadow: 0 0 0 6px rgba(5, 6, 5, 0.88), 0 14px 34px rgba(0, 0, 0, 0.32);
    font-size: 1.05rem;
}

.vibe-stage:nth-child(2) .vibe-stage-icon,
.vibe-stage:nth-child(3) .vibe-stage-icon {
    border-color: rgba(35, 213, 199, 0.32);
    color: var(--accent-2);
}

.vibe-stage:nth-child(5) .vibe-stage-icon {
    border-color: rgba(255, 77, 109, 0.36);
    color: var(--accent-3);
}

.vibe-stage strong {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.25;
}

.vibe-stage span {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.25;
}

.vibe-studio {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.vibe-panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(5, 6, 5, 0.52);
    overflow: hidden;
}

.vibe-panel-header {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.85rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.vibe-panel-header i {
    color: var(--accent-2);
}

.vibe-intent-body,
.vibe-commit-body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.intent-line,
.commit-line {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.65rem;
    align-items: start;
    color: var(--muted-strong);
    font-size: 0.9rem;
    line-height: 1.42;
}

.intent-line i,
.commit-line i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(182, 243, 74, 0.09);
    color: var(--accent-1);
}

.commit-line i {
    background: rgba(35, 213, 199, 0.09);
    color: var(--accent-2);
}

.vibe-terminal {
    min-height: 268px;
    border-color: rgba(35, 213, 199, 0.22);
    box-shadow: inset 0 0 30px rgba(35, 213, 199, 0.035);
}

.terminal-dots {
    display: flex;
    gap: 0.35rem;
}

.terminal-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.terminal-dots span:nth-child(1) {
    background: #ff5f56;
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
    background: #27c93f;
}

.terminal-body {
    padding: 1rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--muted-strong);
}

.terminal-row {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    min-height: 1.45rem;
}

.terminal-row .cmd {
    color: var(--accent-2);
}

.terminal-row .ok {
    color: var(--accent-1);
}

.terminal-row .bad {
    color: var(--accent-3);
}

.terminal-fix-loop {
    margin: 0.65rem 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 77, 109, 0.22);
    background: rgba(255, 77, 109, 0.06);
    color: var(--muted-strong);
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    line-height: 1.45;
}

.terminal-fix-loop strong {
    color: var(--accent-3);
}

.commit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0.25rem 1rem 1rem;
    padding: 0.72rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(182, 243, 74, 0.22);
    background: rgba(182, 243, 74, 0.08);
    color: var(--accent-1);
    font-weight: 800;
}

.vibe-loop-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
    color: var(--muted-strong);
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
}

.vibe-loop-note i {
    color: var(--accent-1);
}

/* Slide 6 — промпты */
#slide-6 {
    justify-content: center;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

#slide-6 .section-title {
    margin-top: 0;
    margin-bottom: 0.55rem;
    letter-spacing: -0.02em;
}

#slide-6 .section-subtitle {
    margin-bottom: 1.5rem;
    line-height: 1.62;
}

.prompt-slide-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.prompt-slide-kicker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5ee9d3;
}

.prompt-slide-kicker i {
    opacity: 0.95;
}

.prompt-tip {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    background: rgba(182, 243, 74, 0.07);
    border: 1px solid rgba(182, 243, 74, 0.22);
    border-radius: 12px;
    padding: 0.78rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
    line-height: 1.52;
    color: var(--muted-strong);
}

.prompt-tip i {
    color: var(--accent-1);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.prompt-tip strong {
    color: #dff6a8;
}

.prompt-quote code {
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.82em;
    padding: 0.12em 0.35em;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c9e8d8;
}

.prompt-example.good .prompt-quote code {
    color: #b8f0e4;
}

.prompt-quote--compact {
    font-size: 0.86rem;
    line-height: 1.62;
}

.prompt-quote--compact strong {
    color: #dfe8e4;
    font-weight: 800;
}

/* Slide 6 — промпт как пульт управления */
.prompt-control {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

.prompt-control::before {
    content: "";
    position: absolute;
    inset: 4.8rem -2rem -2.4rem;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 52%, rgba(94, 233, 211, 0.18), transparent 29rem),
        radial-gradient(circle at 21% 56%, rgba(255, 77, 109, 0.13), transparent 18rem),
        radial-gradient(circle at 82% 54%, rgba(182, 243, 74, 0.14), transparent 20rem);
    filter: blur(10px);
}

.prompt-control-title {
    text-align: center;
    font-size: 4.2rem;
    line-height: 0.98;
    margin-bottom: 0.5rem;
}

.prompt-control-subtitle {
    max-width: 760px;
    margin: 0 auto 1.15rem;
    text-align: center;
    line-height: 1.5;
}

.prompt-command-stage {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(330px, 1.2fr) minmax(240px, 0.9fr);
    gap: 1rem;
    align-items: center;
    min-height: 330px;
}

.prompt-command-stage::before {
    content: "";
    position: absolute;
    left: 13%;
    right: 13%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 77, 109, 0.55), rgba(94, 233, 211, 0.86), rgba(182, 243, 74, 0.65));
    box-shadow: 0 0 24px rgba(94, 233, 211, 0.4);
    transform: translateY(-50%);
    z-index: 0;
}

.prompt-signal-panel,
.prompt-control-radar {
    position: relative;
    z-index: 1;
}

.prompt-signal-panel {
    min-height: 230px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 48%),
        rgba(5, 7, 7, 0.9);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 1rem;
}

.prompt-signal-panel--weak {
    border-color: rgba(255, 77, 109, 0.28);
}

.prompt-signal-panel--strong {
    border-color: rgba(182, 243, 74, 0.25);
}

.prompt-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dce5d8;
}

.prompt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.prompt-signal-panel--weak .prompt-panel-label i,
.prompt-signal-panel--weak .prompt-step-num {
    color: #ff6d86;
}

.prompt-signal-panel--strong .prompt-panel-label i,
.prompt-signal-panel--strong .prompt-step-num {
    color: #b6f34a;
}

.prompt-signal-panel--weak p {
    min-height: 82px;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    line-height: 1.22;
    font-weight: 800;
    color: rgba(255, 238, 242, 0.88);
    text-shadow: 0 0 28px rgba(255, 77, 109, 0.24);
}

.prompt-signal-panel--weak small {
    display: block;
    max-width: 260px;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    line-height: 1.38;
    color: rgba(224, 213, 217, 0.72);
}

.prompt-noise-bars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    margin-top: 1rem;
    align-items: end;
    height: 46px;
}

.prompt-noise-bars span {
    display: block;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.75), rgba(255, 77, 109, 0.08));
    opacity: 0.72;
}

.prompt-noise-bars span:nth-child(1) {
    height: 24%;
}

.prompt-noise-bars span:nth-child(2) {
    height: 74%;
}

.prompt-noise-bars span:nth-child(3) {
    height: 39%;
}

.prompt-noise-bars span:nth-child(4) {
    height: 91%;
}

.prompt-noise-bars span:nth-child(5) {
    height: 52%;
}

.prompt-control-radar {
    position: relative;
    min-height: 330px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(94, 233, 211, 0.24);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(94, 233, 211, 0.14), transparent 56%),
        rgba(2, 8, 8, 0.94);
    background-size: 34px 34px, 34px 34px, auto, auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), inset 0 0 80px rgba(94, 233, 211, 0.08);
}

.prompt-radar-label {
    position: absolute;
    left: 50%;
    top: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(94, 233, 211, 0.24);
    background: rgba(4, 10, 10, 0.9);
    color: #5ee9d3;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateX(-50%);
}

.prompt-radar-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    border: 1px solid rgba(94, 233, 211, 0.24);
    transform: translate(-50%, -50%);
}

.prompt-radar-ring--outer {
    width: 270px;
    height: 270px;
}

.prompt-radar-ring--middle {
    width: 178px;
    height: 178px;
    border-color: rgba(182, 243, 74, 0.28);
}

.prompt-radar-sweep {
    position: absolute;
    left: calc(50% - 126px);
    top: calc(50% - 126px);
    width: 252px;
    height: 252px;
    border-radius: 50%;
    background: conic-gradient(from -25deg, rgba(94, 233, 211, 0.34), transparent 42deg, transparent 360deg);
    animation: promptControlSweep 9s linear infinite;
}

.prompt-control-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 118px;
    height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(160deg, rgba(94, 233, 211, 0.28), rgba(182, 243, 74, 0.12)),
        rgba(4, 12, 12, 0.96);
    box-shadow: 0 0 42px rgba(94, 233, 211, 0.28), inset 0 0 28px rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%);
}

.prompt-control-core span {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #f8faf5;
}

.prompt-control-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 112px;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 10, 10, 0.88);
    color: #dfe8e4;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.prompt-control-node i {
    color: var(--node-color, #5ee9d3);
}

.prompt-control-node span {
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.prompt-control-node--goal {
    --node-color: #b6f34a;
    left: 50%;
    top: 3.2rem;
    transform: translateX(-50%);
}

.prompt-control-node--context {
    --node-color: #5ee9d3;
    left: 1.1rem;
    top: 36%;
}

.prompt-control-node--limits {
    --node-color: #ffbd6e;
    right: 1.1rem;
    top: 36%;
}

.prompt-control-node--format {
    --node-color: #a78bfa;
    left: 12%;
    bottom: 1.45rem;
}

.prompt-control-node--check {
    --node-color: #7ee787;
    right: 12%;
    bottom: 1.45rem;
}

.prompt-output-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prompt-output-list li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    min-height: 38px;
    padding: 0.54rem 0.7rem;
    border-radius: 12px;
    background: rgba(182, 243, 74, 0.055);
    border: 1px solid rgba(182, 243, 74, 0.13);
}

.prompt-output-list span {
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(182, 243, 74, 0.9);
}

.prompt-output-list strong {
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.25;
    color: #dfe8e4;
}

.prompt-output-list code {
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.9em;
    color: #b8f0e4;
}

.prompt-control-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1rem;
    align-items: center;
    margin-top: 0.85rem;
    padding: 0.72rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(94, 233, 211, 0.2);
    background: rgba(94, 233, 211, 0.06);
    text-align: center;
}

.prompt-control-bottom span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5ee9d3;
}

.prompt-control-bottom strong {
    font-size: 0.98rem;
    color: #eef5ea;
    text-align: center;
}

/* Prompt Slide */
.prompt-layout {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.4rem;
    margin-top: 2rem;
}

.prompt-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.6rem;
}

.prompt-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.prompt-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prompt-list-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-list-item span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(182, 243, 74, 0.12);
    color: var(--accent-1);
    font-size: 0.82rem;
    font-weight: 800;
}

.prompt-list-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.15rem;
    font-size: 0.98rem;
}

.prompt-list-item small {
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.9rem;
}

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

.prompt-example {
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
}

.prompt-example.bad {
    border-color: rgba(255, 77, 109, 0.25);
    background: rgba(255, 77, 109, 0.05);
}

.prompt-example.good {
    border-color: rgba(35, 213, 199, 0.25);
    background: rgba(35, 213, 199, 0.05);
}

.prompt-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.prompt-example.bad .prompt-label {
    color: var(--accent-3);
}

.prompt-example.good .prompt-label {
    color: var(--accent-2);
}

.prompt-quote {
    color: var(--muted-strong);
    line-height: 1.7;
    font-size: 1rem;
}

.prompt-takeaway {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Safety Slide */
.safety-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.safety-card {
    background: linear-gradient(160deg, rgba(255, 77, 109, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 77, 109, 0.18);
    border-radius: 18px;
    padding: 1.35rem 1.1rem;
    min-height: 210px;
}

.safety-card i {
    color: var(--accent-3);
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.safety-card h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.55rem;
}

.safety-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.safety-note {
    width: 100%;
    max-width: 1200px;
    margin-top: 1.15rem;
    padding: 1.1rem 1.3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 109, 0.18);
    background: rgba(255, 77, 109, 0.06);
    color: var(--muted-strong);
    text-align: center;
    line-height: 1.6;
}

.safety-note strong {
    color: var(--accent-3);
}

/* Verification Slide */
.check-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.check-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.3rem 1.1rem;
    min-height: 220px;
}

.check-card i {
    color: var(--accent-1);
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
}

.check-card h3 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
    line-height: 1.3;
}

.check-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.check-note {
    width: 100%;
    max-width: 1200px;
    margin-top: 1.15rem;
    padding: 1.1rem 1.3rem;
    border-radius: 16px;
    border: 1px solid rgba(182, 243, 74, 0.18);
    background: rgba(182, 243, 74, 0.06);
    color: var(--muted-strong);
    text-align: center;
    line-height: 1.6;
}

.check-note strong {
    color: var(--accent-1);
}

/* Practice Slide */
.practice-layout {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.4rem;
    margin-top: 2rem;
}

.practice-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.6rem;
}

.practice-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
}

.practice-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.98rem;
}

.practice-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.practice-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.practice-step span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(35, 213, 199, 0.12);
    color: var(--accent-2);
    font-size: 0.88rem;
    font-weight: 800;
}

.practice-step strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.15rem;
    font-size: 0.98rem;
}

.practice-step small {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.practice-prompt {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted-strong);
    line-height: 1.7;
    font-size: 0.96rem;
}

.practice-checks {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1rem;
}

.practice-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(182, 243, 74, 0.05);
    border: 1px solid rgba(182, 243, 74, 0.12);
    color: var(--muted-strong);
    line-height: 1.5;
    font-size: 0.93rem;
}

.practice-check i {
    color: var(--accent-1);
    margin-top: 0.1rem;
}

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

    .author-box,
    .event-box,
    .tweet-box {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .section-title,
    .section-subtitle {
        text-align: center;
    }

    .methods-layout {
        grid-template-columns: 1fr;
    }

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

    .vibe-stage-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1.1rem;
    }

    .vibe-stage-rail::before {
        display: none;
    }

    .vibe-studio {
        grid-template-columns: 1fr;
    }

    .vibe-terminal {
        min-height: auto;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .use-case-card {
        min-height: 104px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "text"
            "preview";
        column-gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .use-case-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        margin-right: 0.5rem;
        font-size: 0.95rem;
    }

    .artifact-preview {
        grid-area: preview;
        height: 70px;
        margin-top: 0.75rem;
    }

    .use-case-card h3 {
        display: flex;
        align-items: center;
        grid-area: title;
        margin-bottom: 0.25rem;
        font-size: 1.04rem;
    }

    .use-case-card p {
        grid-area: text;
        font-size: 0.84rem;
        line-height: 1.34;
    }

    .artifact-bar {
        height: 22px;
    }

    .artifact-body {
        padding: 0.65rem;
    }

    .use-case-note {
        padding: 0.55rem 0.9rem;
        margin-top: 0.75rem;
        font-size: 0.95rem;
    }

    .workflow-arrow {
        display: none;
    }

    .web-chat-flow {
        height: auto;
        flex-wrap: wrap;
    }

    .web-chat-flow .mock-win.chat,
    .web-handoff,
    .web-result-window {
        width: 100%;
        min-width: 0;
    }

    .web-chat-flow .mock-win.chat {
        height: 190px;
    }

    .web-handoff {
        height: auto;
    }

    .web-result-window {
        height: 190px;
    }

    .ide-showcase-wrap {
        height: auto;
    }

    .ide-showcase-card {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
    }

    .ide-logo-stage {
        min-height: 110px;
    }

    .cta-steps {
        grid-template-columns: 1fr;
    }

    .company-grid,
    .prompt-layout,
    .practice-layout,
    .safety-grid,
    .check-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .prompt-command-stage {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .prompt-control-title {
        font-size: 3.55rem;
    }

    .prompt-command-stage::before {
        left: 50%;
        right: auto;
        top: 9%;
        bottom: 9%;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(255, 77, 109, 0.5), rgba(94, 233, 211, 0.82), rgba(182, 243, 74, 0.62));
        transform: none;
    }

    .prompt-signal-panel {
        min-height: auto;
    }

    .prompt-control-radar {
        min-height: 360px;
    }

    .plan-prompt-live {
        grid-template-columns: 1fr;
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-prompt-thesis,
    .plan-prompt-stage {
        min-height: 510px;
    }

    .plan-prompt-stage {
        height: 510px;
    }

    .plan-prompt-stage.plan-ai-stage {
        height: auto;
        min-height: 0;
    }

    .plan-ai-inner {
        min-height: 0;
    }
}

@media (max-width: 680px) {
    section {
        padding: 4rem 6%;
    }

    .method-card {
        grid-template-columns: 1fr;
    }

    .ide-selector {
        grid-template-columns: 1fr;
    }

    .cursor-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cursor-heading h3 {
        font-size: 2.4rem;
    }

    .cursor-advantages {
        grid-template-columns: 1fr;
    }

    .workflow-strip {
        grid-template-columns: 1fr;
    }

    #slide-5 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .vibe-workflow-model {
        padding: 1rem;
    }

    .vibe-stage-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.65rem;
    }

    .vibe-stage {
        grid-template-rows: 48px auto auto;
    }

    .vibe-stage-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        box-shadow: 0 0 0 5px rgba(5, 6, 5, 0.88), 0 12px 28px rgba(0, 0, 0, 0.28);
    }

    .vibe-stage strong {
        font-size: 0.88rem;
    }

    .vibe-stage span {
        font-size: 0.72rem;
    }

    .terminal-body {
        font-size: 0.8rem;
    }

    .terminal-row {
        align-items: flex-start;
    }

    .terminal-row span:last-child {
        overflow-wrap: anywhere;
    }

    .commit-badge {
        width: calc(100% - 2rem);
    }

    .use-case-card {
        display: flex;
        min-height: auto;
        text-align: center;
    }

    .artifact-preview {
        height: 128px;
        margin-bottom: 1.1rem;
    }

    .use-case-icon {
        margin-bottom: 0.9rem;
    }

    .workflow-arrow {
        display: none;
    }

    .progress-nav {
        display: none;
    }

    .stat-row {
        gap: 2rem;
    }

    .benefit-card.risk-card {
        flex-direction: column;
    }

    .company-grid,
    .prompt-layout,
    .practice-layout,
    .safety-grid,
    .check-grid,
    .prompt-compare {
        grid-template-columns: 1fr;
    }

    .prompt-control-title {
        font-size: 2.45rem;
    }

    .prompt-control-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.15rem;
    }

    .prompt-command-stage {
        gap: 0.8rem;
        min-height: 0;
    }

    .prompt-signal-panel {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .prompt-signal-panel--weak p {
        min-height: 62px;
        font-size: 1.05rem;
    }

    .prompt-signal-panel--weak small {
        max-width: none;
        font-size: 0.74rem;
    }

    .prompt-noise-bars {
        height: 34px;
        margin-top: 0.75rem;
    }

    .prompt-control-radar {
        min-height: 315px;
        border-radius: 20px;
    }

    .prompt-radar-ring--outer {
        width: 236px;
        height: 236px;
    }

    .prompt-radar-ring--middle {
        width: 158px;
        height: 158px;
    }

    .prompt-radar-sweep {
        left: calc(50% - 112px);
        top: calc(50% - 112px);
        width: 224px;
        height: 224px;
    }

    .prompt-control-core {
        width: 104px;
        height: 104px;
    }

    .prompt-control-core span {
        font-size: 0.96rem;
    }

    .prompt-control-core strong {
        font-size: 0.62rem;
    }

    .prompt-control-node {
        min-width: 96px;
        min-height: 36px;
        padding: 0.45rem 0.56rem;
        gap: 0.34rem;
    }

    .prompt-control-node span {
        font-size: 0.64rem;
    }

    .prompt-control-node--context {
        left: 0.65rem;
    }

    .prompt-control-node--goal {
        top: 3rem;
    }

    .prompt-control-node--limits {
        right: 0.65rem;
    }

    .prompt-control-node--format {
        left: 0.8rem;
        bottom: 1.4rem;
    }

    .prompt-control-node--check {
        right: 0.8rem;
        bottom: 1.4rem;
    }

    .prompt-output-list li {
        grid-template-columns: 54px minmax(0, 1fr);
        min-height: 38px;
        padding: 0.5rem 0.58rem;
    }

    .prompt-output-list strong {
        font-size: 0.8rem;
    }

    .prompt-control-bottom {
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.78rem 0.85rem;
    }

    .prompt-control-bottom strong {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .plan-prompt-live {
        grid-template-columns: 1fr;
    }

    .plan-prompt-thesis {
        min-height: auto;
        padding: 0.95rem 1rem 0.95rem 1.12rem;
        gap: 1.25rem;
    }

    .plan-prompt-big {
        font-size: clamp(1.7rem, 6.7vw, 2.2rem);
        margin: 0.75rem 0 0.55rem;
    }

    .plan-prompt-short {
        font-size: 0.86rem;
    }

    .formula-step {
        min-height: 32px;
        font-size: 0.78rem;
    }

    .plan-prompt-stage {
        height: auto;
        min-height: 0;
        border-radius: 18px;
    }

    .plan-prompt-stage.plan-ai-stage {
        min-height: 0;
    }

    .plan-ai-inner {
        min-height: 0;
        height: auto;
        padding: 1rem 0.95rem 1rem;
    }

    .plan-ai-head-title {
        font-size: 1.05rem;
    }

    .plan-ai-head-lead {
        font-size: 0.8rem;
    }

    .plan-builder-model {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .plan-builder-model::before {
        display: none;
    }

    .plan-builder-document {
        min-height: 250px;
    }

    .plan-builder-context {
        border-radius: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .plan-builder-context strong {
        text-align: left;
    }

    .prompt-machine-grid {
        inset: 0.85rem;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, minmax(0, 1fr));
    }

    .process-card {
        padding: 0.82rem;
    }

    .process-card:nth-child(1),
    .process-card:nth-child(2),
    .process-card:nth-child(3),
    .process-card:nth-child(4) {
        padding: 0.82rem;
    }

    .process-card-title {
        font-size: 0.82rem;
        margin-bottom: 0.48rem;
    }

    .process-card-text,
    .prompt-code-lines,
    .plan-mini-list span {
        font-size: 0.78rem;
    }

    .prompt-core {
        display: none;
    }

    .prompt-orbit {
        width: 158px;
        height: 158px;
    }

    .prompt-human-core {
        width: 94px;
        height: 94px;
    }

    .prompt-human-core i {
        font-size: 1.35rem;
    }

}
