.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom,
        rgba(2, 6, 23, 0.95),
        rgba(2, 6, 23, 0.75),
        transparent
    );
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-link {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.nav-link:hover {
    color: var(--text);
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.9);
    padding: 0;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: #e5e7eb;
    border-radius: 999px;
}

/* HERO */

.hero {
    padding: 3.5rem 0 4.5rem;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: center;
}
.hero-subtitle {
    color: var(--text-muted);
    max-width: 32rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hero-meta span {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* HERO right side */

.hero-media {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: radial-gradient(circle at top left,
        rgba(129, 140, 248, 0.6),
        rgba(17, 24, 39, 1)
    );
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-soft);
}
.hero-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.95;
}
.hero-image-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.8rem;
    color: #e5e7eb;
}

.hero-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.26), transparent 55%),
                radial-gradient(circle at bottom right, rgba(41, 37, 107, 0.8), #020617);
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.hero-card-title {
    font-weight: 600;
}
.hero-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hero-card-body {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.chat-bubble {
    max-width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}
.chat-bubble.bot {
    background: rgba(31, 41, 55, 0.9);
    border-bottom-left-radius: 0.2rem;
}
.chat-bubble.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    border-bottom-right-radius: 0.2rem;
}

/* Avatar */

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #e5e7eb 0, #9ca3af 30%, #111827 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* EMOTION SECTION */

.section-emotions {
    padding-top: 0;
    padding-bottom: 3rem;
}
.emotions-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: center;
}
.emotions-text p {
    color: var(--text-muted);
}
.emotion-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.emotion-card {
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.9rem;
}
.emotion-tag {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(79, 70, 229, 0.12);
    color: #c7d2fe;
}
.emotion-card p {
    margin: 0;
    color: var(--text-muted);
}

/* Steps */

.steps-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.steps-list li {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    border: 1px solid var(--border-subtle);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.steps-list span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

/* DETAILS SECTION (что куда как) */

.section-details {
    background: radial-gradient(circle at top, #020617 0, #020617 80%, #000 100%);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.info-block {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 1.25rem 1.3rem;
}
.info-block p {
    color: var(--text-muted);
}
.info-block .muted {
    font-size: 0.85rem;
    margin-top: 0.4rem;
}
.bullet-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.bullet-list li {
    margin-bottom: 0.35rem;
}

/* FAQ */

.faq-list {
    margin-top: 1.5rem;
}
.faq-item {
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1.1rem;
    margin-bottom: 0.8rem;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item p {
    margin-top: 0.6rem;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding: 1.5rem 0 2rem;
    background: rgba(2, 6, 23, 0.95);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}
.footer-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--text);
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .emotions-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        inset-inline: 1.25rem;
        top: 64px;
        border-radius: var(--radius-lg);
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.45);
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.16s ease, transform 0.16s ease;
    }
    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .footer-inner {
        flex-direction: column;
    }
    .emotion-cards {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .hero-image {
        height: 200px;
    }
}