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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* Герой: название и бейдж */
.demo-hero {
    text-align: center;
    margin-bottom: 40px;
}

.demo-hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.demo-hero-subtitle {
    font-size: 1.2em;
    color: #475569;
    margin-bottom: 16px;
}

.demo-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Блок пояснения для демо */
.demo-intro {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.demo-intro-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.demo-intro-text {
    font-size: 1.05em;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.demo-intro-text:last-of-type {
    margin-bottom: 0;
}

.demo-intro-list {
    margin-top: 16px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.8;
}

.demo-intro-list li {
    margin-bottom: 6px;
}

/* Поиск */
.demo-search {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.demo-search-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.demo-search-form {
    display: flex;
    gap: 12px;
}

.demo-search-input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    font-family: ui-monospace, monospace;
    transition: border-color 0.2s;
}

.demo-search-input:focus {
    outline: none;
    border-color: #2563eb;
}

.demo-search-input::placeholder {
    color: #94a3b8;
}

.demo-search-button {
    padding: 14px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-search-button:hover {
    background: #1d4ed8;
}

.demo-search-button:active {
    background: #1e40af;
}

@media (max-width: 768px) {
    .demo-hero-title {
        font-size: 2.2em;
    }

    .demo-search-form {
        flex-direction: column;
    }

    .demo-search-button {
        width: 100%;
    }
}
