/* Размытый сине-фиолетовый фон в стиле официального OpenAI Codex */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #b4c6fc;
    background-image: 
        radial-gradient(circle at 80% 20%, #8da2f7 0%, transparent 45%),
        radial-gradient(circle at 15% 75%, #c5b2f9 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #d5e0ff 0%, #aabeff 100%);
    color: #000000;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ШАПКА --- */
header {
    flex-shrink: 0;
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
}

.logo-icon {
    width: 20px;
    height: 20px;
}

.btn-header {
    color: #000000;
    background: transparent;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-header:hover {
    opacity: 0.7;
}

/* --- ГЛАВНЫЙ БЛОК --- */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Иконка-эмблема OpenAI над заголовком */
.brand-badge {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.brand-badge svg {
    width: 40px;
    height: 40px;
}

h1 {
    font-size: 54px;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin: 0 0 16px 0;
    color: #000000;
    line-height: 1.1;
}

p.subtitle {
    font-size: 16px;
    color: #2d3139;
    margin-bottom: 20px;
    max-width: 540px;
    line-height: 1.5;
    font-weight: 500;
}

/* --- ЖИВОЙ СЧЕТЧИК --- */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #111318;
    margin-bottom: 32px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* --- ПОЛЕ ВВОДА (Прозрачное «стекло») --- */
.chat-input-simulator {
    width: 100%;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 40px;
    padding: 10px 10px 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.2.5s ease;
}

.chat-input-simulator:hover {
    border-color: #000000;
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.typing-text {
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #111318;
    font-weight: 500;
}

.blinking-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background-color: #000000;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.send-icon {
    width: 40px;
    height: 40px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s;
    flex-shrink: 0;
}

/* --- ТАБЫ --- */
.prompt-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.prompt-tab {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #111318;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt-tab:hover {
    background: #ffffff;
    border-color: #000000;
}

/* --- ПЛАШКА ПРЕИМУЩЕСТВ --- */
.benefits-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.benefit-item {
    font-size: 13px;
    color: #2d3139;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* --- КНОПКА-КАПСУЛА И ПУЛЬСАЦИЯ --- */
.btn-primary {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 30px; /* Круглая пилюля как на скрине */
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #1e232d;
}

.btn-pulse {
    animation: btn-glow 2.5s infinite;
}

@keyframes btn-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25); }
    70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* --- ПОДВАЛ И SEO ТЕКСТ --- */
footer {
    flex-shrink: 0;
    padding: 30px 20px;
    text-align: center;
    font-size: 12px;
    color: #434750;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.footer-seo {
    max-width: 620px;
    margin: 0 auto 10px;
    line-height: 1.5;
    color: #434750;
}

/* --- АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ --- */
@media (max-width: 600px) {
    header {
        padding: 16px 20px;
    }

    h1 {
        font-size: 40px;
        letter-spacing: -0.8px;
    }
    
    p.subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .live-counter {
        margin-bottom: 24px;
        font-size: 12px;
    }

    .chat-input-simulator {
        padding: 6px 6px 6px 18px;
    }

    .typing-text {
        font-size: 14px;
    }

    .prompt-tabs {
        gap: 8px;
        margin-bottom: 24px;
    }

    .prompt-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .benefits-row {
        gap: 10px;
        margin-bottom: 28px;
        font-size: 12px;
    }

    .btn-primary {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
}