* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 50%, #f8fbff 100%);
    min-height: 100vh;
    color: #2c3e50;
    padding: 24px 20px 32px;
}

.page {
    max-width: 720px;
    margin: 0 auto;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-header {
    text-align: center;
    padding: 8px 0 28px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    margin-bottom: 16px;
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.app-tagline {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    max-width: 420px;
    margin: 0 auto;
}

.app-bot-action {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.btn-bot {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 10px;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 16px;
    text-decoration: none;
    font-family: inherit;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(59, 130, 246, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    cursor: pointer;
}

.btn-bot-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.btn-bot-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-bot-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.btn-bot-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.btn-bot-hint {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.btn-bot-spinner {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: btn-bot-spin 0.65s linear infinite;
}

.btn-bot.is-loading {
    pointer-events: none;
}

.btn-bot.is-loading .btn-bot-hint {
    color: #3b82f6;
}

.btn-bot.is-ready:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow:
        0 6px 12px rgba(15, 23, 42, 0.06),
        0 16px 36px rgba(59, 130, 246, 0.18);
}

.btn-bot.is-ready:hover .btn-bot-hint {
    color: #2563eb;
}

.btn-bot.is-ready .btn-bot-spinner {
    display: none;
}

.btn-bot.is-error {
    border-color: rgba(239, 68, 68, 0.25);
    pointer-events: none;
    opacity: 0.85;
}

.btn-bot.is-error .btn-bot-hint {
    color: #dc2626;
}

.btn-bot.is-error .btn-bot-spinner {
    display: none;
}

@keyframes btn-bot-spin {
    to {
        transform: rotate(360deg);
    }
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 14px;
    padding-left: 4px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.12);
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-body {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.35;
}

.step-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.step-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 18px;
}

.about-block {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.about-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-block h2 i {
    color: #3b82f6;
    font-size: 20px;
}

.about-block > p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.about-features li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    body {
        padding: 16px 14px 24px;
    }

    .app-icon {
        width: 64px;
        height: 64px;
    }

    .app-title {
        font-size: 24px;
    }

    .step-card {
        padding: 16px;
        gap: 12px;
    }

    .step-icon-wrap {
        display: none;
    }

    .about-block {
        padding: 20px;
    }

    .btn-bot {
        min-width: 0;
        width: 100%;
        max-width: 340px;
    }
}
