* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0c0f;
    color: #e8eef2;
    line-height: 1.6;
    min-height: 100vh;
}

.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 200, 255, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255, 0, 200, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* ===== ШАПКА ===== */
header {
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 230, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #ff66cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #b0c4ce;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ffff;
    border-bottom-color: #00ffff;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: 70vh;
}

/* ===== ГЛАВНАЯ ===== */
.hero {
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.neon-text {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #a0b8c2;
    max-width: 600px;
    margin: 0 auto;
}

.choice-cards {
    display: grid;
    grid-template-columns: 0.6fr 0.6fr;
    gap: 2rem;
    margin: 3rem auto 2rem;
    justify-content: center;
    max-width: fit-content;
}

.choice-card {
    background: rgba(20, 30, 40, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    transition: 0.25s;
}

.choice-card:hover {
    border-color: rgba(0, 255, 255, 0.6);
    background: rgba(25, 40, 50, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 200, 255, 0.1);
}

.choice-icon {
    font-size: 3.2rem;
    margin-bottom: 0.8rem;
}

.choice-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.choice-card ul {
    list-style: none;
    margin: 0.5rem 0;
    color: #c0d8e0;
}

.choice-card li {
    padding: 0.1rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.choice-card li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #00ffff;
}

.btn-choice {
    display: inline-block;
    background: transparent;
    color: #00ffff;
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    border: 2px solid #00ffff;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.2s;
    margin-top: 0.5rem;
}

.btn-choice:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.simple-note {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 30, 40, 0.5);
    border-radius: 60px;
    color: #90e0ff;
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* ===== ОБЩИЕ ЗАГОЛОВКИ СТРАНИЦ ===== */
.page-title {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #aaffff, #ffaaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    text-align: center;
    color: #9bb8c5;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* ===== КНОПКИ ВЫБОРА ПЛАТФОРМ (ДЕДИКИ И VDS) ===== */
.dedic-buttons,
.cpu-selector .cpu-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dedic-btn-label,
.cpu-option {
    cursor: pointer;
    flex: 1;
    max-width: 280px;
}

.dedic-btn-label input,
.cpu-option input {
    display: none;
}

.dedic-btn,
.cpu-card {
    display: flex;
    flex-direction: column;
    background: rgba(20, 30, 40, 0.7);
    border: 1px solid #2a5a66;
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    transition: all 0.2s ease;
    width: 100%;
    height: 100%;
    text-align: left;
    color: #fff;
}

.dedic-btn-label input:checked + .dedic-btn,
.cpu-option input:checked + .cpu-card {
    border-color: #00ffff;
    background: rgba(0, 200, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);
    transform: translateY(-2px);
}

.dedic-btn:hover,
.cpu-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.btn-title,
.cpu-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.btn-speed,
.cpu-speed {
    display: block;
    color: #00ffe0;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.btn-desc,
.cpu-desc {
    display: block;
    color: #a0c0cc;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ===== VDS СПЕЦИФИЧЕСКИЕ СТИЛИ ===== */
.cpu-selector {
    background: rgba(0, 40, 50, 0.3);
    border-radius: 40px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 200, 255, 0.2);
    width: 100%;
}

.cpu-selector h2 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: #c0f5ff;
    text-align: center;
}

/* ===== ЗАГОЛОВКИ БРЕНДОВ ===== */
.dedic-brand-title {
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: #b0f0ff;
    text-align: center;
    font-size: 1.8rem;
}

/* ===== СЕТКИ КАРТОЧЕК ===== */
.dedic-grid,
.vds-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* ===== КАРТОЧКИ (ДЕДИКИ И VDS) ===== */
.dedic-card,
.vds-card-new {
    background: rgba(16, 22, 30, 0.9);
    border: 1px solid #2a4a55;
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    position: relative;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
}

.dedic-card:hover,
.vds-card-new:hover {
    border-color: #00e0ff;
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.15);
    transform: translateY(-4px);
}

.dedic-card.popular,
.vds-card-new.popular {
    border: 2px solid #ffaa33;
    box-shadow: 0 0 20px rgba(255, 170, 51, 0.2);
}

/* ===== БЕЙДЖИ ХИТ ===== */
.popular-badge,
.vds-badge-new {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #ffaa33;
    color: #0a0c0f;
    font-weight: bold;
    padding: 0.2rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    z-index: 10;
}

/* ===== СПЕЦИФИКАЦИИ КАРТОЧЕК ===== */
.dedic-specs-new,
.vds-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0.5rem 0 1.5rem;
}

.spec-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.spec-group .spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8ab3c0;
    font-weight: 500;
}

.spec-group .spec-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

.price-group {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.price-value {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #00ffe0 !important;
}

/* ===== КНОПКИ ЗАКАЗА ===== */
.btn-dedic-new,
.btn-vds-new {
    width: 100%;
    background: transparent;
    color: #00f0ff;
    border: 1.5px solid #00f0ff;
    padding: 0.9rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    margin-top: auto;
}

.btn-dedic-new:hover,
.btn-vds-new:hover {
    background: #00f0ff;
    color: #0a0c0f;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* ===== ФУТЕР ===== */
footer {
    background: rgba(8, 12, 18, 0.9);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 1.8rem;
    text-align: center;
    color: #8099a3;
    margin-top: 3rem;
}

/* ===== АНИМАЦИИ ===== */
.vds-grid-new {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0.5;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 900px) {
    .cpu-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .dedic-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .dedic-btn-label,
    .cpu-option {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 750px) {
    nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .choice-cards {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .spec-value {
        padding: 0.3rem 0;
    }
    
    .spec-price {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .cpu-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cpu-card {
        padding: 1.2rem;
    }
}

/* ===== СКРЫТЫЕ СТАРЫЕ СТИЛИ ===== */
.dedic-label,
.dedic-price,
.dedic-specs,
.spec-row,
.btn-dedic,
.vds-grid,
.vds-card,
.vds-badge,
.btn-vds {
    display: none !important;
}