/* RESET */

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

html, body {
    height: 100%;
}

/* BASE */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
    color: #e5e7eb;
    line-height: 1.6;
}

/* HEADER */

.site-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #020617;
    font-size: 18px;
}

.logo-title {
    font-weight: 600;
    font-size: 16px;
}

.logo-subtitle {
    font-size: 12px;
    color: #9ca3af;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
    color: #f9fafb;
    border-color: rgba(248, 250, 252, 0.7);
}

/* HERO */

.hero {
    padding: 56px 20px 40px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

/* делаем композицию более центрированной визуально */
main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero-text h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 14px;
    max-width: 600px;
}

.hero-text p {
    color: #cbd5f5;
    font-size: 15px;
    max-width: 620px;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(56, 189, 248, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.7);
}

.btn-secondary:hover {
    border-color: #e5e7eb;
    background: rgba(15, 23, 42, 0.95);
}

.hero-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
    border-radius: 18px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.hero-card h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.hero-card ul {
    list-style: none;
    font-size: 14px;
    color: #e5e7eb;
}

.hero-card li {
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.hero-card li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #38bdf8;
}

/* SECTIONS */

.section {
    padding: 40px 20px 34px;
}

.section-alt {
    background: rgba(15, 23, 42, 0.95);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.section p {
    font-size: 15px;
    color: #d1d5db;
    margin-bottom: 12px;
}

/* GRID / CARDS */

.info-grid,
.cards-grid {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card,
.card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 14px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.info-card h3,
.card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.info-card p,
.card p {
    font-size: 14px;
    color: #cbd5f5;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    color: #cbd5f5;
}

.info-card li {
    margin-bottom: 4px;
}

/* CONTACT */

.contact-box {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: flex-start;
}

.contact-box h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-box p {
    font-size: 14px;
    color: #cbd5f5;
}

.contact-note {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
}

/* LINKS */

a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: #020617;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px 14px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

/* RESPONSIVE */

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

    .hero {
        padding-top: 40px;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }
}
