* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #0b0f1c;
    color: #eef2ff;
    line-height: 1.5;
    padding-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========= ЛИПКОЕ МЕНЮ ========= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 28, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e293b;
    z-index: 1000;
    transition: 0.2s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 16px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 20px;
}

.logo img {
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #cbd5e6;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.btn-outline {
    border: 1px solid #2d3a5e;
    padding: 8px 20px;
    border-radius: 40px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: #2563eb;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid #1e293b;
}

.hero {
    text-align: center;
    padding: 20px 0 30px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 32px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    gap: 32px;
    margin-top: 40px;
    justify-content: center;
}

.card {
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 24px;
    padding: 18px;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 8px;
}

.price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #94a3b8;
}

.feature-list {
    list-style: none;
    margin: 8px 0;
}

.feature-list li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background: #1e293b;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 40px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #1e293b;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    color: #3b82f6;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* ========= СТИЛИ ДЛЯ ТАБЛИЦ И КНОПОК ========= */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    border-radius: 16px;
    overflow: hidden;
}
.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #1e293b;
}
.badge-status {
    background: #1e293b;
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #cbd5e6;
}
.badge-status.paid {
    background: #10b981;
    color: #0b0f1c;
}
.btn-sm {
    background: #3b82f6;
    padding: 6px 12px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
}
.btn-sm:hover {
    background: #2563eb;
}
.table-responsive {
    overflow-x: auto;
}

/* ========= БУРГЕР-МЕНЮ ========= */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.burger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: #cbd5e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========= МОБИЛЬНАЯ АДАПТАЦИЯ ========= */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    .hero h1 {
        font-size: 1.7rem;
        padding-top: 10px;
    }
    .hero {
        margin-top: 20px;
    }
    .section {
        padding: 40px 0;
    }
    .card {
        padding: 12px;
    }
    .steps {
        gap: 24px;
    }
    .grid {
        gap: 20px;
    }

    /* Навигация */
    .nav {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        flex-wrap: nowrap;
    }

    /* Бургер — показываем */
    .burger-btn {
        display: flex;
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }

    /* Меню — скрыто за экраном */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 65%;
        max-width: 300px;
        height: 100vh;
        background: rgba(11, 15, 28, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-left: 1px solid #1e293b;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid #1e293b;
        width: 100%;
        text-align: left;
        color: #eef2ff;
    }
    .nav-links .btn-primary {
        width: 100%;
        margin-top: 8px;
    }

    /* Оверлей */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }
    .menu-overlay.active {
        display: block;
    }

    /* Формы */
    label {
        font-size: 16px;
    }
    input, select, textarea, button {
        font-size: 16px !important;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        text-align: center;
    }
    .table-responsive {
        overflow-x: auto;
    }
    .orders-table {
        min-width: 600px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 56px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 16px;
    }
}