* {
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #000911;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

footer {
    padding: 24px;
    text-align: center;
    height: 110px;
    background-color: rgb(0, 0, 0);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-left {
    justify-self: end;
    margin-right: 200px;
}

.footer-center {
    justify-self: center;
}

.footer-right {
    justify-self: start;
    margin-left: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

main {
    color: white;
}

.hero-title {
    margin: 0;
    padding: 48px 20px;
    color: white;
    font-size: clamp(2rem, 5.5vw, 5rem);
    font-style: italic;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    transform: skewX(-6deg);
}

.hero-highlight {
    color: #3498DB;
}

.hero-description {
    max-width: 760px;
    margin: -24px auto 0;
    padding: 0 20px 48px;
    color: white;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.hero-description-highlight {
    color: #3498DB;
}

.hero-description-muted {
    color: rgba(255, 255, 255, 0.397);
    font-size: 0.86em;
    font-weight: 400;
}

.bot-cards {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 0 24px 72px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.bot-card {
    display: grid;
    grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
    width: 100%;
    padding: clamp(32px, 5vw, 44px);
    opacity: 1;
    transform: none;
}

.card-flow-pending {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bot-card-reversed {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
}

.card-flow-pending.bot-card-reversed {
    transform: translateX(80px);
}

.bot-card-visible {
    opacity: 1;
    transform: translateX(0);
}

.bot-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(52, 152, 219, 0.08);
    border: 4px solid #3498DB;
    border-radius: 18px;
    box-shadow: 0 0 28px rgba(52, 152, 219, 0.16);
}

.bot-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: rgba(52, 152, 219, 0.08);
    border: 4px solid #3498DB;
    border-radius: 18px;
    box-shadow: 0 0 28px rgba(52, 152, 219, 0.16);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bot-image-link:hover {
    box-shadow: 0 0 42px rgba(52, 152, 219, 0.42);
    transform: scale(1.04);
}

.bot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.25s ease;
}

.bot-image-link:hover .bot-image {
    transform: scale(1.02);
}

.bot-card-content {
    max-width: 760px;
    text-align: left;
}

.bot-card-reversed .bot-card-content {
    justify-self: end;
    text-align: right;
}

.bot-type-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    color: #3498DB;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.35);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bot-type-badge-user {
    color: #7CCBFF;
    background: rgba(124, 203, 255, 0.12);
    border-color: rgba(124, 203, 255, 0.42);
}

.bot-card-content h2 {
    margin: 0 0 12px;
    color: white;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.bot-card-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.866);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
}

footer p {
    margin: 0;
    color: white;
}

.footer-subtext {
    margin-top: 4px;
    color: rgb(82, 82, 82);
    font-size: 0.65rem;
}

footer a {
    color: #3498DB;
    text-decoration: none;
}

@media (max-width: 760px) {
    .bot-cards {
        padding: 0 20px 56px;
        gap: 36px;
    }

    .bot-card,
    .bot-card-reversed {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        padding: 28px 0;
    }

    .card-flow-pending,
    .card-flow-pending.bot-card-reversed {
        transform: translateY(42px);
    }

    .bot-card-visible {
        transform: translateY(0);
    }

    .bot-card-reversed .bot-card-content {
        order: 2;
        justify-self: center;
        text-align: center;
    }

    .bot-card-reversed .bot-image-link,
    .bot-card-reversed .bot-image-placeholder {
        order: 1;
    }

    .bot-image-link,
    .bot-image-placeholder {
        width: min(100%, 220px);
        justify-self: center;
    }

    .bot-card-content {
        order: 2;
        max-width: 100%;
        justify-self: center;
        text-align: center;
    }

    footer {
        height: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-self: center;
        margin: 0;
    }

}
