.support-main a,
.support-main a:hover,
.support-main a:focus,
.support-main a:active,
.support-main button,
.support-main button:hover,
.support-main button:focus,
.support-main button:active,
.chatbot a,
.chatbot a:hover,
.chatbot a:focus,
.chatbot a:active,
footer a,
footer a:hover,
footer a:focus,
footer a:active {
    text-decoration: none;
}

.support-main button {
    font: inherit;
    background: none;
    border: none;
    padding: 0;
}

.support-main {
    padding-top: 2rem;
}

header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 2rem);
    padding-right: calc(50vw - 50% + 2rem);
    background:
        linear-gradient(180deg, rgba(5, 10, 24, 0.92), rgba(5, 10, 24, 0.68)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 30%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

.header-content {
    width: 100%;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(226, 232, 240, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.72);
    transform: translateY(-2px);
}

.nav-link-active {
    color: #04111f;
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(34, 211, 238, 0.25);
}

.support-hero {
    padding: 2rem 0 3rem;
}

.support-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: stretch;
}

.support-hero-copy,
.support-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.94), rgba(4, 8, 18, 0.84)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.35);
}

.support-hero-copy {
    padding: 2.75rem;
}

.support-hero-copy::before,
.support-hero-panel::before,
.support-card::after,
.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 35%, transparent 70%, rgba(34, 211, 238, 0.08));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.18);
    color: #67e8f9;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.support-hero-subtitle {
    max-width: 760px;
    margin-bottom: 2rem;
    color: #a5b4c7;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-width: 205px;
    padding: 1rem 1.3rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-action:hover {
    transform: translateY(-3px);
}

.hero-action-primary {
    color: #04111f;
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    box-shadow: 0 18px 44px rgba(34, 211, 238, 0.24);
}

.hero-action-secondary {
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.55);
}

.support-hero-panel {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-panel-card,
.hero-mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 15, 30, 0.68);
}

.hero-panel-card {
    padding: 1.5rem;
}

.hero-panel-card-accent {
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(96, 165, 250, 0.08)),
        rgba(8, 15, 30, 0.76);
}

.hero-panel-label,
.hero-mini-card span,
.support-card-meta {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-card strong,
.hero-mini-card strong {
    display: block;
    color: #f8fafc;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-panel-card p,
.hero-mini-card p {
    margin-top: 0.65rem;
    color: #94a3b8;
    line-height: 1.6;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-mini-card {
    padding: 1.2rem;
}

.section {
    padding: 4.5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.section-title i {
    color: #06b6d4;
    font-size: 2.2rem;
}

.title-decoration {
    display: none;
}

.section-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

/* КАРТОЧКИ ПОДДЕРЖКИ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.95), rgba(4, 8, 18, 0.86)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 30%);
    border-radius: 28px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.24);
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 1.35rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.08));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #67e8f9;
    transition: all 0.3s ease;
    border: 1px solid rgba(125, 211, 252, 0.14);
}

.support-card:hover .support-icon {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(96, 165, 250, 0.12));
}

.support-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.support-info {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-description {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 72px;
}

/* Кнопки в карточках */
.btn-call, .btn-email, .btn-chat, .btn-map {
    width: 100%;
    margin-top: auto;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-call {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
}

.btn-email {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
}

.btn-chat {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
}

.btn-map {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
}

.btn-call:hover, .btn-email:hover, .btn-chat:hover, .btn-map:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ФОРМА ОБРАТНОЙ СВЯЗИ */
.contact-form {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.97), rgba(4, 8, 18, 0.88)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 28%);
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(24px);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.34);
}

.contact-form h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form h3 i {
    color: #06b6d4;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #06b6d4;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
    background: rgba(15, 23, 42, 0.92);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-upload label {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.file-upload label:hover {
    background: rgba(124, 58, 237, 0.2);
}

.file-upload input {
    display: none;
}

#fileName {
    color: #94a3b8;
    font-size: 0.9rem;
}

.btn-submit {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* FAQ СТИЛИ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-category h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-category h3 i {
    color: #06b6d4;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    color: #06b6d4;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgba(10, 14, 35, 0.8);
    padding: 0 1.4rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.4rem 1.4rem;
}

.faq-answer-content {
    padding: 1.5rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-answer p {
    padding: 0 0.15rem;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.limits-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.limits-table th,
.limits-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.limits-table th {
    background: rgba(124, 58, 237, 0.1);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.limits-table td {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.limits-table tr:last-child td {
    border-bottom: none;
}

/* СТАТУС СИСТЕМЫ */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.status-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.status-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.status-item.operational {
    border-left-color: #10b981;
}

.status-item.degraded {
    border-left-color: #f59e0b;
}

.status-item.disrupted {
    border-left-color: #ef4444;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.operational .status-indicator {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

.degraded .status-indicator {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.status-header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.status-description {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.status-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-stats span {
    color: #cbd5e1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-stats i {
    width: 16px;
    color: #06b6d4;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.incident-history {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.incident-history h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.incident-history h3 i {
    color: #06b6d4;
}

.incident-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.incident-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1.2rem;
    border-left: 3px solid #f59e0b;
    transition: all 0.3s ease;
}

.incident-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.incident-date {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.incident-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.incident-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ЧАТ-БОТ */
.chatbot-toggle {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.45rem;
    cursor: pointer;
    border: none;
    box-shadow: none;
    z-index: 1000;
    transition: transform 0.2s ease, background 0.2s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.04);
    background: #1d4ed8;
}

.chatbot-toggle.active {
    transform: scale(0.94);
}

.chatbot {
    position: fixed;
    right: 28px;
    bottom: 104px;
    width: 340px;
    max-width: 90vw;
    background:
        linear-gradient(180deg, rgba(3, 10, 24, 0.96), rgba(8, 16, 34, 0.92)),
        radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 42%);
    border-radius: 30px;
    box-shadow:
        0 36px 90px rgba(2, 6, 23, 0.55),
        0 0 0 1px rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(26px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    transform-origin: bottom right;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.chatbot.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    position: relative;
    padding: 1.25rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(14, 165, 233, 0.16)),
        rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.chatbot-header::after {
    content: '';
    position: absolute;
    inset: auto 1.35rem 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.45), transparent);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.chatbot-title i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #dbeafe;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.9));
    box-shadow: 0 14px 30px rgba(8, 47, 73, 0.28);
}

.chatbot-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.chatbot-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(125, 211, 252, 0.3);
}

.chat-window {
    height: 300px;
    padding: 1.25rem;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(6, 11, 23, 0.24), rgba(6, 11, 23, 0.04)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 28%);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.chat-window::-webkit-scrollbar {
    width: 8px;
}

.chat-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.chat-window::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.5), rgba(14, 165, 233, 0.5));
    border-radius: 999px;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    max-width: 88%;
    animation: messageAppear 0.35s ease;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22);
}

.bot .avatar {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.92));
    color: white;
}

.user .avatar {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(56, 189, 248, 0.92));
    color: white;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.message-text {
    padding: 0.95rem 1.05rem;
    border-radius: 22px;
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.18);
}

.bot .message-text {
    border-bottom-left-radius: 8px;
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(15, 23, 42, 0.28)),
        rgba(255, 255, 255, 0.04);
}

.user .message-text {
    border-bottom-right-radius: 8px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.24)),
        rgba(255, 255, 255, 0.04);
}

.message-time {
    font-size: 0.75rem;
    color: #93c5fd;
    padding: 0 0.65rem;
    letter-spacing: 0.03em;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.quick-reply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(103, 232, 249, 0.22);
    color: #dbeafe;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quick-reply:hover {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(125, 211, 252, 0.42);
    color: #f8fafc;
    transform: translateY(-2px);
}

.chat-input {
    padding: 1.2rem 1.25rem 1.3rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04)),
        rgba(6, 11, 23, 0.72);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.input-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.95rem;
    padding: 0.45rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.input-container input {
    flex: 1;
    min-width: 0;
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    background: transparent;
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.input-container input:focus {
    outline: none;
}

.input-container input::placeholder {
    color: rgba(191, 219, 254, 0.56);
}

.input-container a,
.input-container button {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 1));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px rgba(8, 47, 73, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.input-container a:hover,
.input-container button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 20px 36px rgba(8, 47, 73, 0.36);
}

.chat-tips {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.chat-tips span {
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 2.2;
}

.tip {
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #bfdbfe;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tip:hover {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(125, 211, 252, 0.34);
    color: #f8fafc;
    transform: translateY(-1px);
}

/* МОДАЛЬНЫЕ ОКНА */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(10, 14, 35, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show {
    transform: scale(1);
    opacity: 1;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-icon.success {
    color: #10b981;
}

.modal h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-modal {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* АНИМАЦИИ */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Стили для статуса "hidden" */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

/* НОТИФИКАЦИИ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.notification.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.notification.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.notification.info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.notification button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.notification button:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ОШИБКИ В ФОРМЕ */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* ФУТЕР ТЕХПОДДЕРЖКИ */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* СВЕТЛЕЕ ФОНЫ */
.nav-link {
    background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover {
    background: rgba(51, 65, 125, 0.42);
}

.support-hero-copy,
.support-hero-panel {
    background:
        linear-gradient(180deg, rgba(40, 54, 112, 0.78), rgba(30, 43, 92, 0.7)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%);
}

.hero-action-secondary {
    background: rgba(71, 85, 150, 0.42);
}

.hero-panel-card,
.hero-mini-card {
    background: rgba(56, 70, 138, 0.44);
}

.section:nth-child(even),
.faq-category,
.status-item,
.incident-history,
.incident-item,
.footer-bottom {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
}

.faq-category {
    background:
        linear-gradient(180deg, rgba(40, 54, 112, 0.78), rgba(30, 43, 92, 0.7)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%);
    border-color: rgba(125, 211, 252, 0.16);
}

.status-item,
.incident-history {
    background:
        linear-gradient(180deg, rgba(40, 54, 112, 0.78), rgba(30, 43, 92, 0.7)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%);
    border-color: rgba(125, 211, 252, 0.16);
}

.incident-item {
    background: rgba(18, 58, 92, 0.64);
}

.support-card {
    background:
        linear-gradient(180deg, rgba(45, 60, 125, 0.76), rgba(35, 49, 108, 0.68)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 30%);
}

.contact-form {
    background:
        linear-gradient(180deg, rgba(47, 62, 128, 0.8), rgba(36, 50, 109, 0.72)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 28%);
}

.form-group input,
.form-group select,
.form-group textarea,
.faq-item,
.limits-table,
.modal {
    background: rgba(255, 255, 255, 0.08);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.faq-question:hover,
.incident-item:hover {
    background: rgba(255, 255, 255, 0.11);
}

.faq-item.active {
    background: rgba(99, 102, 241, 0.12);
}

.faq-item {
    border-radius: 22px;
    padding: 0.4rem;
}

.faq-question {
    border-radius: 18px;
}

.faq-answer {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 1.25rem;
}

.faq-answer,
.faq-answer-content,
.faq-answer p,
.faq-answer ul,
.faq-answer ol,
.faq-answer li {
    text-align: center;
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    list-style-position: inside;
    margin-left: 0;
}

.chatbot {
    width: 320px;
    bottom: 92px;
    border-radius: 26px;
}

.chatbot-header {
    padding: 1rem 1.1rem;
}

.chatbot-title {
    font-size: 0.94rem;
}

.chat-window {
    height: 260px;
    padding: 1rem;
}

.chat-input {
    padding: 1rem 1.05rem 1.1rem;
}

.modal {
    max-width: 400px;
    padding: 1.75rem;
    border-radius: 18px;
}

.modal-icon {
    font-size: 3.1rem;
    margin-bottom: 1rem;
}

.modal h3 {
    font-size: 1.45rem;
}

.modal p {
    font-size: 0.95rem;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    header {
        padding-left: calc(50vw - 50% + 1rem);
        padding-right: calc(50vw - 50% + 1rem);
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .support-hero {
        padding-top: 1rem;
    }

    .support-hero-inner {
        grid-template-columns: 1fr;
    }

    .support-hero-copy,
    .support-hero-panel {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-action {
        width: 100%;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-title i {
        font-size: 1.8rem;
    }

    .title-decoration {
        display: none;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .file-upload {
        justify-content: space-between;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .chatbot {
        right: 24px;
        left: 24px;
        width: auto;
        max-width: none;
        bottom: 88px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-info p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .support-hero h1 {
        font-size: 2.1rem;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .support-card,
    .contact-form,
    .faq-category,
    .status-item,
    .incident-history {
        padding: 1.5rem;
    }

    .chatbot-toggle {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        font-size: 1.25rem;
    }

    .chatbot {
        right: 16px;
        left: 16px;
        bottom: 84px;
        width: auto;
        max-width: none;
        border-radius: 24px;
    }

    .modal {
        padding: 1.5rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .modal h3 {
        font-size: 1.5rem;
    }
}
