
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #3b82f6;
    --accent-soft: rgba(59, 130, 246, 0.15);
    --accent-glow: rgba(59, 130, 246, 0.35);
    --green: #34d399;
    --yellow: #fbbf24;
    --text: #e5e7eb;
    --text-dim: #9ca3af;
    --text-faint: #6b7280;
    --card-bg: rgba(12, 14, 22, 0.85);
    --card-border: rgba(59, 130, 246, 0.35);
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.07);
}

html, body {
    height: 80%;
}

body {
    font-family: 'Segoe UI', -apple-system, Arial, sans-serif;
    color: var(--text);
    background: #06070c;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== ФОНОВОЕ СВЕЧЕНИЕ ===== */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.12), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.05), transparent 60%);
    animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.08) translate(-10px, 10px); }
}

/* ===== КАРТОЧКА (почти на всё окно) ===== */
.card {
    width: 100%;
    max-width: 1100px;
    min-height: calc(100vh - 48px);
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 56px 60px 40px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== ЛОГОТИП ===== */
.logo { text-align: center; }

.logo h1 {
    font-size: clamp(42px, 8vw, 68px);
    font-weight: 800;
    letter-spacing: 8px;
    color: #fff;
    text-shadow:
        0 0 24px var(--accent-glow),
        0 0 60px rgba(59, 130, 246, 0.25);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(59, 130, 246, 0.2); }
    to   { text-shadow: 0 0 32px var(--accent-glow), 0 0 80px rgba(59, 130, 246, 0.35); }
}

.subtitle {
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 12px;
}

/* ===== РАЗДЕЛИТЕЛЬ ===== */
.divider {
    height: 1px;
    margin: 36px 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

/* ===== О СЕРВЕРЕ ===== */
.about {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 36px;
}

.about h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.about p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 900px;
}

.about p strong {
    color: var(--accent);
    font-weight: 600;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 24px;
    margin-top: 20px;
}

.features-list li {
    color: var(--text);
    font-size: 15px;
    padding-left: 22px;
    position: relative;
}

.features-list li::before {
    content: "▸";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ===== КНОПКИ ===== */
.actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
    border: 1px solid transparent;
    min-width: 220px;
    letter-spacing: 0.5px;
}

.btn-icon { font-size: 13px; opacity: 0.9; }

.btn-primary {
    background: rgba(52, 211, 153, 0.16);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 0 28px rgba(52, 211, 153, 0.18);
}

.btn-primary:hover {
    background: rgba(52, 211, 153, 0.32);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.4);
}

.btn-secondary {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.18);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.32);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

/* ===== ФУТЕР ===== */
.footer {
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    padding-top: 22px;
    border-top: 1px solid var(--surface-border);
}

.footer span { color: var(--accent); font-weight: 600; }

/* ===== АДАПТИВ ===== */
@media (max-width: 640px) {
    .card {
        padding: 36px 24px 28px;
        min-height: auto;
    }
    .logo h1 { letter-spacing: 5px; }
    .subtitle { letter-spacing: 4px; font-size: 12px; }
    .about h2 { font-size: 22px; }
    .about p { font-size: 15px; }
    .btn { width: 100%; min-width: auto; padding: 16px 24px; }
}

.logo-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.55));
    animation: glow 3s ease-in-out infinite alternate;
}
@media (max-width: 640px) {
    .logo-img {
        max-width: 260px;
        width: 80%;
    }
}