:root {
    --bg: #0f1117;
    --bg-soft: #151925;
    --card: #1a2030;
    --card-hover: #20283b;
    --text: #f3f4f6;
    --text-soft: #b7c0d1;
    --line: rgba(255, 255, 255, 0.08);
    --primary: #4f8cff;
    --primary-soft: rgba(79, 140, 255, 0.15);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #0f1117 0%, #101420 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(15, 17, 23, 0.75);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.menu a {
    color: var(--text-soft);
    transition: 0.25s ease;
    font-size: 0.96rem;
}

.menu a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
}

.hero {
    padding: 90px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.tag,
.section-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: #b9d0ff;
    border: 1px solid rgba(79, 140, 255, 0.22);
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 5vw, 4.1rem);
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 700px;
}

.hero-text p {
    color: var(--text-soft);
    max-width: 700px;
    font-size: 1.04rem;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 30px rgba(79, 140, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.stat-card span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.panel-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.mini-title {
    font-size: 0.95rem;
    color: #b9d0ff;
    margin-bottom: 16px;
    font-weight: 700;
}

.panel-card ul {
    padding-left: 18px;
}

.panel-card li {
    margin-bottom: 10px;
    color: var(--text-soft);
}

.section {
    padding: 84px 0;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-soft);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card,
.feature-box,
.contact-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: 0.28s ease;
    box-shadow: var(--shadow);
}

.info-card:hover,
.feature-box:hover,
.contact-box:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
}

.info-card h3,
.feature-box h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.info-card p,
.feature-box p,
.contact-box p {
    color: var(--text-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-box {
    max-width: 760px;
}

.contact-box .btn {
    margin-top: 18px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer p {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.youtube-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ff0033;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(255, 0, 51, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.25s ease;
}

.youtube-float svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.youtube-float:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 36px rgba(255, 0, 51, 0.45);
}

.youtube-float:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: 0.7s ease;
}

@media (max-width: 980px) {
    .hero-grid,
    .card-grid,
    .feature-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-text h1 {
        max-width: 100%;
    }

    .hero-text p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu {
        position: absolute;
        top: 74px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        background: #121725;
        border: 1px solid var(--line);
        border-radius: 16px;
    }

    .menu.show {
        display: flex;
    }

    .footer-inner {
        flex-direction: column;
    }

    .youtube-float {
        right: 16px;
        bottom: 16px;
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}
