/* ============================
   ОСНОВНЫЕ СТИЛИ
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(to bottom,
            #0a0a20 0%,
            rgba(10, 10, 32, 0.8) 25%,
            rgba(10, 10, 32, 0.4) 50%,
            rgba(10, 10, 32, 0.2) 75%,
            transparent 100%
        );
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    overflow-x: hidden; /* предотвращает горизонтальный скролл */
}

/* Убираем все возможные рамки и границы */
body::before,
body::after,
html::before,
html::after {
    display: none !important;
}

main {
    flex: 1 0 auto;
    margin-top: 70px;
    background: linear-gradient(to bottom,
        rgba(10, 10, 20, 0.8) 0%,
        rgba(10, 10, 20, 0.4) 50%,
        transparent 100%
    );
    min-height: calc(100vh - 70px);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Убираем фокусные рамки у всех элементов */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Убираем возможные скроллбары светлого цвета */
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Убираем выделение текста с белым фоном */
::selection {
    background: rgba(0, 200, 210, 0.3);
    color: #00faff;
}

::-moz-selection {
    background: rgba(0, 200, 210, 0.3);
    color: #00faff;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

main .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ============================
   ТИПОГРАФИЯ
============================ */
body, p, li, span {
    font-family: 'Roboto Mono', monospace;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 400;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
    font-weight: bold;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    color: #00faff;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
}

h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    color: #00faff;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 250, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a8b2d1;
}

.section-title {
    color: #00faff;
    font-size: 2.5rem;
}

.cta-title {
    color: #fff;
    font-weight: 700;
}

.cta-subtitle {
    color: #e6f1ff;
}

/* ============================
   КНОПКИ И ССЫЛКИ
============================ */
button, .btn {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,212,255,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 200, 210, 0.7), rgba(0, 153, 204, 0.7));
    border: 1px solid rgba(0, 200, 210, 0.5);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, rgba(0, 200, 210, 0.9), rgba(0, 153, 204, 0.9));
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 200, 210, 0.4);
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid rgba(0, 200, 210, 0.6);
    color: #00c8d2;
    backdrop-filter: blur(5px);
}

.btn-outline-primary:hover {
    background: rgba(0, 200, 210, 0.8);
    color: #0a0a20;
}

.btn-outline-success {
    background: transparent;
    border: 2px solid rgba(40, 167, 69, 0.6);
    color: #28a745;
    backdrop-filter: blur(5px);
}

.btn-outline-success:hover {
    background: rgba(40, 167, 69, 0.8);
    color: #0a0a20;
}

.btn-outline-warning {
    background: transparent;
    border: 2px solid rgba(255, 193, 7, 0.6);
    color: #ffc107;
    backdrop-filter: blur(5px);
}

.btn-outline-warning:hover {
    background: rgba(255, 193, 7, 0.8);
    color: #0a0a20;
}

.btn-outline-light {
    border: 2px solid rgba(168, 178, 209, 0.6);
    color: rgba(168, 178, 209, 0.9);
    background: transparent;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(168, 178, 209, 0.8);
    color: #0a0a20;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #0a0a20;
    font-weight: 600;
    border: none;
    backdrop-filter: blur(5px);
}

.btn-light:hover {
    background: rgba(248, 249, 250, 0.95);
    color: #0a0a20;
}

a {
    color: #00cccc;
    text-decoration: none;
    transition: all 0.2s;
}

a:hover, a:focus {
    color: #00dddd;
    text-decoration: none;
}

/* ============================
   СЕКЦИИ И КАРТОЧКИ
============================ */

/* Герой секция */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 200, 210, 0.7) 0%, rgba(10, 10, 20, 0.9) 25%);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 4rem 2rem;
    box-shadow: 0 10px 30px rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.hero-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,212,255,0.25);
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

/* Карточки действий */
.actions-section .container {
    padding: 1rem;
}

.action-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,212,255,0.2);
}

.action-icon {
    color: #00c8d2;
}

.action-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
}

.action-description {
    color: rgba(168, 178, 209, 0.9);
    line-height: 1.5;
}

/* Преимущества */
.advantages-section {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.advantage-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,212,255,0.1);
}

.advantage-icon {
    color: #00c8d2;
}

.advantage-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.advantage-text {
    color: rgba(168, 178, 209, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Статистика */
.stats-section {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,212,255,0.1);
}

.stat-number {
    color: #00cccc;
    font-weight: bold;
    font-size: 2.5rem;
}

.stat-label {
    color: rgba(168, 178, 209, 0.8);
    font-size: 0.9rem;
}

/* Тарифы */
.pricing-section {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,212,255,0.2);
}

.pricing-card.featured {
    border: 2px solid rgba(0,212,255,0.5);
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
}

.pricing-badge {
    background: rgba(0, 200, 210, 0.9);
    color: #0a0a20;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    color: #00c8d2;
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    color: rgba(168, 178, 209, 0.8);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    color: rgba(168, 178, 209, 0.8);
    font-size: 0.9rem;
}

.feature-icon {
    color: #00cc99;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, rgba(10,10,20,0.9) 0%, rgba(15,25,45,0.9) 100%);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,212,255,0.25);
}

.cta-button {
    background: #fff;
    color: #0a0a20;
    font-weight: 600;
    border: none;
    padding: 1rem 2rem;
}

.cta-button:hover {
    background: #f8f9fa;
    color: #0a0a20;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ============================
   МОДАЛЬНОЕ ОКНО
============================ */
.modal-content {
    background: rgba(17,17,42,0.95);
    border: 1px solid rgba(0, 200, 210, 0.2);
    box-shadow: 0 4px 20px rgba(0, 200, 210, 0.15);
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 200, 210, 0.2);
    color: #fff;
}

.modal-footer {
    border-top: 1px solid rgba(0, 200, 210, 0.2);
}

.form-control {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 200, 210, 0.3);
    color: #fff;
    border-radius: 6px;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 200, 210, 0.6);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 210, 0.2);
}

.form-label {
    color: rgba(168, 178, 209, 0.9);
}

/* ============================
   МЕССЕНДЖЕР (из второго скрипта)
============================ */
.messenger-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 210, 0.7);
    color: #0a0a20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.messenger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.messenger-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: rgba(17, 17, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 210, 0.3);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
}

.messenger-header {
    background: rgba(10, 10, 32, 0.9);
    padding: 15px;
    border-bottom: 1px solid rgba(0, 200, 210, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.messenger-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.messenger-footer {
    padding: 15px;
    border-top: 1px solid rgba(0, 200, 210, 0.2);
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message-in {
    align-items: flex-start;
}

.message-out {
    align-items: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 5px;
}

.message-in .message-bubble {
    background: rgba(0, 200, 210, 0.15);
    border-bottom-left-radius: 4px;
}

.message-out .message-bubble {
    background: rgba(0, 200, 210, 0.25);
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: #888;
}

@media (max-width: 768px) {
    .messenger-window {
        width: 300px;
        height: 400px;
    }
}

/* ============================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
============================ */
.card-body {
    background: transparent !important;
}

.card {
    background: transparent !important;
    border: none;
}

.opacity-75 {
    opacity: 0.75;
}

/* ============================
   АДАПТИВНОСТЬ
============================ */
@media (max-width: 768px) {
    body, p, li, span {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section,
    .advantages-section,
    .stats-section,
    .pricing-section,
    .cta-section {
        padding: 2rem 1rem;
        margin: 1rem 0.5rem;
    }

    .stat-card,
    .advantage-card,
    .action-card,
    .pricing-card {
        margin-bottom: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.5rem;
    }

    main .container {
        padding: 1rem 0.5rem;
    }

    .hero-section,
    .advantages-section,
    .stats-section,
    .pricing-section,
    .cta-section {
        padding: 1.5rem 1rem;
        margin: 0.5rem 0.25rem;
        border-radius: 12px;
    }
}

/* ============================
   КИБЕР-ФОН
============================ */
.cyber-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#cyber-bg {
    width: 100%;
    height: 100%;
    filter: blur(10px);
}

/* ============================
   ФУТЕР
============================ */
footer {
    background-color: #0a0a20;
    color: #888;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 200, 210, 0.2);
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 2000;
}

