/* ========================================
   ГОСУСЛУГИ - Точная копия gosuslugi.ru
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --gu-blue: #0d4cd3;
    --gu-blue-hover: #0a3ca8;
    --gu-blue-light: #e8f0fe;
    --gu-red: #e31e24;
    --gu-white: #ffffff;
    --gu-black: #0b1f33;
    --gu-gray-50: #f8f9fa;
    --gu-gray-100: #f5f7fa;
    --gu-gray-200: #e9ecef;
    --gu-gray-300: #dce1e6;
    --gu-gray-400: #b8c1cc;
    --gu-gray-500: #8e99a4;
    --gu-gray-600: #73808c;
    --gu-gray-700: #5c6773;
    --gu-green: #2e7d32;
    --gu-green-light: #e8f5e9;
    --gu-orange: #f57c00;
    --gu-orange-light: #fff3e0;
    --gu-purple: #7b1fa2;
    --gu-purple-light: #f3e5f5;
    --gu-yellow: #ffc107;
    --gu-yellow-light: #fff8e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gu-black);
    background: var(--gu-gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Container
======================================== */

.gu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header - как на gosuslugi.ru
======================================== */

.gu-header {
    background: var(--gu-white);
    border-bottom: 1px solid var(--gu-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gu-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.gu-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gu-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.gu-logo-gos {
    color: var(--gu-blue);
}

.gu-logo-u {
    color: var(--gu-red);
}

.gu-logo-slugi {
    color: var(--gu-blue);
}

.gu-header-divider {
    width: 1px;
    height: 24px;
    background: var(--gu-gray-300);
}

.gu-header-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gu-gray-700);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.gu-header-dropdown:hover {
    background: var(--gu-gray-100);
}

.gu-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gu-nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gu-gray-700);
    border-radius: 8px;
    transition: all 0.2s;
}

.gu-nav-link:hover {
    background: var(--gu-gray-100);
    color: var(--gu-black);
}

.gu-nav-link.active {
    color: var(--gu-blue);
}

.gu-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gu-btn-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--gu-blue);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.gu-btn-enter:hover {
    background: var(--gu-blue-hover);
    color: white;
}

/* ========================================
   Categories Bar - Серая полоса с категориями
======================================== */

.gu-categories-bar {
    background: var(--gu-gray-50);
    border-bottom: 1px solid var(--gu-gray-200);
    padding: 12px 0;
}

.gu-categories-list {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gu-categories-list::-webkit-scrollbar {
    display: none;
}

.gu-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 16px;
    min-width: 90px;
    color: var(--gu-gray-700);
    border-radius: 12px;
    transition: all 0.2s;
}

.gu-cat-item:hover {
    background: var(--gu-gray-200);
    color: var(--gu-black);
}

.gu-cat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.gu-cat-item span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

/* ========================================
   Promo Section - Синий блок
======================================== */

.gu-promo-section {
    background: linear-gradient(135deg, #0d4cd3 0%, #1565c0 100%);
    padding: 24px 0 28px;
}

.gu-promo-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.gu-promo-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    flex: 1;
}

.gu-promo-card:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.gu-promo-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gu-promo-card span {
    flex: 1;
}

.gu-promo-arrow {
    opacity: 0.7;
}

.gu-quick-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gu-quick-tag {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.gu-quick-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ========================================
   Sections
======================================== */

.gu-section {
    padding: 40px 0;
}

.gu-section-gray {
    background: var(--gu-gray-100);
}

.gu-section-white {
    background: var(--gu-white);
}

.gu-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.gu-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gu-black);
}

.gu-section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gu-blue);
}

.gu-section-link:hover {
    text-decoration: underline;
}

.gu-section-nav {
    display: flex;
    gap: 8px;
}

.gu-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gu-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gu-gray-500);
    transition: all 0.2s;
}

.gu-nav-btn:hover {
    border-color: var(--gu-blue);
    color: var(--gu-blue);
}

/* ========================================
   News Grid - Карточки "Новое на портале"
======================================== */

.gu-news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gu-news-card {
    background: var(--gu-white);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--gu-gray-200);
    transition: all 0.3s ease;
}

.gu-news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.gu-news-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gu-news-icon-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.gu-news-icon-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.gu-news-icon-yellow {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #f9a825;
}

.gu-news-icon-green {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #c2185b;
}

.gu-news-icon-orange {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ef6c00;
}

.gu-news-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gu-black);
    line-height: 1.4;
}

/* ========================================
   Services Grid - Полезные сервисы
======================================== */

.gu-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gu-service-card {
    background: var(--gu-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gu-gray-200);
    transition: all 0.3s ease;
}

.gu-service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.gu-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gu-service-icon-blue {
    background: var(--gu-blue-light);
    color: var(--gu-blue);
}

.gu-service-icon-green {
    background: var(--gu-green-light);
    color: var(--gu-green);
}

.gu-service-icon-orange {
    background: var(--gu-orange-light);
    color: var(--gu-orange);
}

.gu-service-icon-purple {
    background: var(--gu-purple-light);
    color: var(--gu-purple);
}

.gu-service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gu-black);
    margin-bottom: 8px;
}

.gu-service-card p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.5;
}

/* ========================================
   Footer
======================================== */

.gu-footer {
    background: #1a2633;
    padding: 32px 0;
    margin-top: auto;
}

.gu-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gu-footer-logo {
    font-size: 20px;
    font-weight: 600;
}

.gu-footer-logo .gu-logo-gos,
.gu-footer-logo .gu-logo-slugi {
    color: white;
}

.gu-footer-logo .gu-logo-u {
    color: var(--gu-red);
}

.gu-footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Page Layout - для внутренних страниц
======================================== */

.gu-page {
    flex: 1;
    padding: 32px 0;
    background: var(--gu-gray-100);
}

.gu-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gu-gray-600);
    margin-bottom: 24px;
}

.gu-breadcrumb a {
    color: var(--gu-gray-600);
}

.gu-breadcrumb a:hover {
    color: var(--gu-blue);
}

.gu-breadcrumb span {
    color: var(--gu-gray-400);
}

.gu-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.gu-page-main {
    background: var(--gu-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gu-gray-200);
}

.gu-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gu-black);
    margin-bottom: 8px;
}

.gu-page-subtitle {
    font-size: 15px;
    color: var(--gu-blue);
    margin-bottom: 32px;
}

/* ========================================
   Forms
======================================== */

.gu-form-section {
    margin-bottom: 24px;
}

.gu-form-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gu-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.gu-form-group {
    margin-bottom: 20px;
}

.gu-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gu-black);
    margin-bottom: 8px;
}

.gu-form-required {
    color: var(--gu-red);
}

.gu-form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--gu-gray-300);
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
}

.gu-form-input:focus {
    border-color: var(--gu-blue);
    box-shadow: 0 0 0 3px rgba(13, 76, 211, 0.1);
}

.gu-form-input::placeholder {
    color: var(--gu-gray-400);
}

.gu-form-hint {
    font-size: 13px;
    color: var(--gu-gray-500);
    margin-top: 6px;
}

.gu-input-group {
    display: flex;
}

.gu-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--gu-gray-100);
    border: 1px solid var(--gu-gray-300);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 15px;
    color: var(--gu-gray-600);
}

.gu-input-with-prefix {
    border-radius: 0 10px 10px 0;
}

.gu-form-agreement {
    font-size: 13px;
    color: var(--gu-gray-600);
    line-height: 1.5;
    margin-top: 20px;
}

/* ========================================
   Buttons
======================================== */

.gu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gu-btn-primary {
    background: var(--gu-blue);
    color: white;
}

.gu-btn-primary:hover {
    background: var(--gu-blue-hover);
}

.gu-btn-secondary {
    background: var(--gu-gray-100);
    color: var(--gu-gray-700);
    border: 1px solid var(--gu-gray-300);
}

.gu-btn-secondary:hover {
    background: var(--gu-gray-200);
}

.gu-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Sidebar Cards
======================================== */

.gu-sidebar-card {
    background: var(--gu-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gu-gray-200);
    margin-bottom: 16px;
}

.gu-sidebar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gu-sidebar-icon-blue {
    background: var(--gu-blue-light);
    color: var(--gu-blue);
}

.gu-sidebar-icon-green {
    background: var(--gu-green-light);
    color: var(--gu-green);
}

.gu-sidebar-icon-orange {
    background: var(--gu-orange-light);
    color: var(--gu-orange);
}

.gu-sidebar-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gu-black);
    margin-bottom: 8px;
}

.gu-sidebar-card p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.5;
}

/* ========================================
   Code Display
======================================== */

.gu-code-display {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--gu-gray-50) 0%, var(--gu-gray-100) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.gu-code-label {
    font-size: 14px;
    color: var(--gu-gray-600);
    margin-bottom: 12px;
}

.gu-code-value {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 12px;
    color: var(--gu-blue);
    font-family: 'Courier New', monospace;
    margin-bottom: 24px;
}

.gu-code-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.gu-success-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.gu-success-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gu-success-banner-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.gu-success-banner-text span {
    opacity: 0.9;
    font-size: 14px;
}

/* ========================================
   Chat
======================================== */

.gu-chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.gu-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--gu-gray-50);
    border-radius: 12px;
    margin-bottom: 16px;
}

.gu-message {
    display: flex;
    gap: 12px;
    max-width: 80%;
    animation: messageSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gu-message-user {
    animation-name: messageSlideInRight;
}

@keyframes messageSlideInRight {
    from {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.gu-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.gu-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gu-gray-200);
    color: var(--gu-gray-600);
}

.gu-message-support .gu-message-avatar {
    background: var(--gu-blue-light);
    color: var(--gu-blue);
}

.gu-message-bubble {
    background: var(--gu-white);
    padding: 12px 16px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.gu-message-user .gu-message-bubble {
    background: var(--gu-blue);
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 4px;
}

.gu-message-text {
    font-size: 14px;
    line-height: 1.5;
}

.gu-message-time {
    font-size: 11px;
    color: var(--gu-gray-500);
    margin-top: 4px;
}

.gu-message-user .gu-message-time {
    color: rgba(255, 255, 255, 0.7);
}

.gu-chat-input {
    display: flex;
    gap: 12px;
}

.gu-chat-input .gu-form-input {
    flex: 1;
}

/* ========================================
   FAQ
======================================== */

.gu-faq-list {
    border: 1px solid var(--gu-gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.gu-faq-item {
    border-bottom: 1px solid var(--gu-gray-200);
}

.gu-faq-item:last-child {
    border-bottom: none;
}

.gu-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gu-black);
    text-align: left;
    transition: all 0.2s;
}

.gu-faq-toggle:hover {
    background: var(--gu-gray-50);
}

.gu-faq-toggle svg {
    transition: transform 0.2s;
    color: var(--gu-gray-500);
}

.gu-faq-item.active .gu-faq-toggle svg {
    transform: rotate(180deg);
}

.gu-faq-content {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.6;
}

.gu-faq-item.active .gu-faq-content {
    display: block;
}

/* ========================================
   Admin
======================================== */

.gu-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gu-stat-card {
    background: var(--gu-white);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--gu-gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
}

.gu-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gu-stat-icon-blue {
    background: var(--gu-blue-light);
    color: var(--gu-blue);
}

.gu-stat-icon-green {
    background: var(--gu-green-light);
    color: var(--gu-green);
}

.gu-stat-icon-orange {
    background: var(--gu-orange-light);
    color: var(--gu-orange);
}

.gu-stat-icon-purple {
    background: var(--gu-purple-light);
    color: var(--gu-purple);
}

.gu-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gu-black);
}

.gu-stat-label {
    font-size: 13px;
    color: var(--gu-gray-600);
}

.gu-admin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gu-admin-card {
    background: var(--gu-white);
    border-radius: 16px;
    border: 1px solid var(--gu-gray-200);
    overflow: hidden;
}

.gu-admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gu-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gu-admin-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gu-black);
}

.gu-admin-card-body {
    padding: 0;
}

/* ========================================
   Table
======================================== */

.gu-table {
    width: 100%;
    border-collapse: collapse;
}

.gu-table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gu-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gu-gray-50);
    border-bottom: 1px solid var(--gu-gray-200);
}

.gu-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--gu-black);
    border-bottom: 1px solid var(--gu-gray-100);
}

.gu-table tr:last-child td {
    border-bottom: none;
}

.gu-table tr:hover td {
    background: var(--gu-gray-50);
}

/* ========================================
   Spinner
======================================== */

.gu-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Alerts
======================================== */

.gu-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.gu-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.gu-alert-success {
    background: var(--gu-green-light);
    color: var(--gu-green);
    border: 1px solid #a5d6a7;
}

/* ========================================
   Tabs
======================================== */

.gu-tabs {
    display: flex;
    gap: 4px;
    background: var(--gu-gray-100);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.gu-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gu-gray-600);
    border-radius: 8px;
    transition: all 0.2s;
}

.gu-tab:hover {
    color: var(--gu-black);
}

.gu-tab.active {
    background: var(--gu-white);
    color: var(--gu-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Page Transitions
======================================== */

.page-transition {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 1200px) {
    .gu-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gu-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .gu-page-layout {
        grid-template-columns: 1fr;
    }
    
    .gu-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gu-admin-layout {
        grid-template-columns: 1fr;
    }
    
    .gu-promo-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .gu-header-dropdown,
    .gu-nav {
        display: none;
    }
    
    .gu-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gu-services-grid {
        grid-template-columns: 1fr;
    }
    
    .gu-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gu-code-value {
        font-size: 36px;
        letter-spacing: 6px;
    }
    
    .gu-footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .gu-container {
        padding: 0 16px;
    }
    
    .gu-page-main {
        padding: 24px;
    }
    
    .gu-page-title {
        font-size: 24px;
    }
    
    .gu-news-grid {
        grid-template-columns: 1fr;
    }
    
    .gu-quick-tags {
        flex-direction: column;
    }
    
    .gu-quick-tag {
        text-align: center;
    }
}

/* ========================================
   Admin Chat Styles
======================================== */

.admin-chat-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    height: calc(100vh - 200px);
    min-height: 500px;
}

.dialogs-list {
    background: var(--gu-white);
    border-radius: 16px;
    border: 1px solid var(--gu-gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dialogs-header {
    padding: 20px;
    border-bottom: 1px solid var(--gu-gray-200);
    font-weight: 600;
    font-size: 16px;
}

.dialogs-scroll {
    flex: 1;
    overflow-y: auto;
}

.dialog-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gu-gray-100);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: dialogSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dialog-item:nth-child(1) { animation-delay: 0.05s; }
.dialog-item:nth-child(2) { animation-delay: 0.1s; }
.dialog-item:nth-child(3) { animation-delay: 0.15s; }
.dialog-item:nth-child(4) { animation-delay: 0.2s; }
.dialog-item:nth-child(5) { animation-delay: 0.25s; }

.dialog-item:hover {
    background: var(--gu-gray-50);
}

.dialog-item.active {
    background: var(--gu-blue-light);
    border-left: 3px solid var(--gu-blue);
}

.dialog-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gu-blue-light);
    color: var(--gu-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.dialog-info {
    flex: 1;
    min-width: 0;
}

.dialog-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dialog-preview {
    font-size: 13px;
    color: var(--gu-gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dialog-meta {
    text-align: right;
    flex-shrink: 0;
}

.dialog-time {
    font-size: 12px;
    color: var(--gu-gray-500);
    margin-bottom: 4px;
}

.dialog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--gu-blue);
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    animation: badgePop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.chat-area {
    background: var(--gu-white);
    border-radius: 16px;
    border: 1px solid var(--gu-gray-200);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gu-gray-200);
    background: var(--gu-gray-50);
}

.chat-header-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.chat-header-info span {
    font-size: 13px;
    color: var(--gu-gray-600);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--gu-gray-50);
}

.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gu-gray-500);
    text-align: center;
    padding: 40px;
}

.chat-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--gu-gray-200);
    background: var(--gu-white);
}

.chat-input-area .gu-form-input {
    flex: 1;
}

.no-dialogs {
    padding: 40px 20px;
    text-align: center;
    color: var(--gu-gray-500);
}

.no-dialogs svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Typing indicator animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--gu-gray-100);
    border-radius: 16px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gu-gray-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* New message pulse effect */
.new-message-pulse {
    animation: newMessagePulse 0.6s ease-out;
}

@keyframes newMessagePulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 76, 211, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 76, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 76, 211, 0); }
}

@media (max-width: 992px) {
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .dialogs-list {
        max-height: 300px;
    }
    
    .chat-area {
        min-height: 400px;
    }
}

/* ========================================
   Hero Section - Главный баннер
======================================== */

.gu-hero-section {
    background: linear-gradient(135deg, var(--gu-blue) 0%, #1a56db 50%, #0d4cd3 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.gu-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.gu-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.gu-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gu-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.gu-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.gu-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--gu-blue);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.gu-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--gu-blue);
}

.gu-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s;
}

.gu-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.gu-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.gu-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--gu-blue);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.gu-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--gu-blue);
}

/* ========================================
   About Section
======================================== */

.gu-about-content {
    max-width: 900px;
    margin: 0 auto;
}

.gu-about-text {
    text-align: center;
    margin-bottom: 40px;
}

.gu-about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gu-gray-700);
    margin-bottom: 12px;
}

.gu-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gu-feature-item {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.gu-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.gu-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gu-feature-icon-blue {
    background: var(--gu-blue-light);
    color: var(--gu-blue);
}

.gu-feature-icon-green {
    background: var(--gu-green-light);
    color: var(--gu-green);
}

.gu-feature-icon-orange {
    background: var(--gu-orange-light);
    color: var(--gu-orange);
}

.gu-feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gu-black);
    margin-bottom: 8px;
}

.gu-feature-item p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.5;
}

/* ========================================
   FAQ Section
======================================== */

.gu-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.gu-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--gu-gray-200);
    transition: all 0.3s;
}

.gu-faq-item:hover {
    border-color: var(--gu-blue);
}

.gu-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    font-size: 16px;
    font-weight: 500;
    color: var(--gu-black);
    text-align: left;
    transition: all 0.3s;
}

.gu-faq-question:hover {
    background: var(--gu-gray-50);
}

.gu-faq-icon {
    flex-shrink: 0;
    color: var(--gu-blue);
    transition: transform 0.3s;
}

.gu-faq-item.open .gu-faq-icon {
    transform: rotate(45deg);
}

.gu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.gu-faq-item.open .gu-faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.gu-faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gu-gray-700);
    margin-bottom: 12px;
}

.gu-faq-answer ul,
.gu-faq-answer ol {
    margin: 12px 0;
    padding-left: 24px;
}

.gu-faq-answer li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gu-gray-700);
    margin-bottom: 8px;
}

.gu-faq-answer a {
    color: var(--gu-blue);
    text-decoration: underline;
}

.gu-faq-answer a:hover {
    color: var(--gu-blue-hover);
}

/* ========================================
   CTA Section - Blue
======================================== */

.gu-section-blue {
    background: linear-gradient(135deg, var(--gu-blue) 0%, #1a56db 100%);
    padding: 60px 0;
}

.gu-cta-content {
    text-align: center;
}

.gu-cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.gu-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

/* ========================================
   Official Bar - Государственная плашка
======================================== */

.gu-official-bar {
    background: linear-gradient(90deg, #0d4cd3 0%, #1a73e8 100%);
    padding: 8px 0;
}

.gu-official-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.gu-official-content svg {
    flex-shrink: 0;
}

/* ========================================
   Header Badge - Официальный сервис
======================================== */

.gu-header-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========================================
   Logo Image Support
======================================== */

.gu-logo-img {
    height: 28px;
    width: auto;
}

.gu-logo-text {
    display: flex;
    align-items: baseline;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* ========================================
   Hero Section Enhanced
======================================== */

.gu-hero-section {
    background: linear-gradient(135deg, #0d4cd3 0%, #1565c0 50%, #0d47a1 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.gu-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.gu-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gu-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gu-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gu-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.7;
}

.gu-hero-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(227, 30, 36, 0.2);
    border: 1px solid rgba(227, 30, 36, 0.4);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    text-align: left;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gu-hero-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.gu-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.gu-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--gu-blue);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gu-btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    color: var(--gu-blue);
}

.gu-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.gu-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.gu-btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.gu-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--gu-blue);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gu-btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    color: var(--gu-blue);
}

/* ========================================
   Info Cards Section
======================================== */

.gu-info-section {
    background: var(--gu-white);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.gu-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.gu-info-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gu-gray-200);
}

.gu-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.gu-info-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gu-info-card-red .gu-info-card-icon {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.gu-info-card-blue .gu-info-card-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.gu-info-card-orange .gu-info-card-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    color: #e65100;
}

.gu-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gu-black);
    margin-bottom: 10px;
}

.gu-info-card p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.6;
}

/* ========================================
   About Section Enhanced
======================================== */

.gu-about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gu-about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gu-about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gu-gray-700);
    margin-bottom: 16px;
}

.gu-section-subtitle {
    font-size: 16px;
    color: var(--gu-gray-600);
    margin-top: 8px;
}

.gu-section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ========================================
   Features Grid Enhanced
======================================== */

.gu-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gu-feature-item {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gu-gray-200);
    transition: all 0.3s ease;
}

.gu-feature-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.gu-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gu-feature-icon-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.gu-feature-icon-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.gu-feature-icon-orange {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    color: #e65100;
}

.gu-feature-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gu-black);
    margin-bottom: 10px;
}

.gu-feature-item p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.6;
}

/* ========================================
   FAQ Section Enhanced
======================================== */

.gu-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.gu-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gu-gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gu-faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gu-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gu-black);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gu-faq-question:hover {
    background: var(--gu-gray-50);
}

.gu-faq-icon {
    flex-shrink: 0;
    color: var(--gu-blue);
    transition: transform 0.3s ease;
}

.gu-faq-item.open .gu-faq-icon {
    transform: rotate(45deg);
}

.gu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gu-faq-item.open .gu-faq-answer {
    max-height: 500px;
}

.gu-faq-answer p,
.gu-faq-answer ul,
.gu-faq-answer ol {
    padding: 0 24px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--gu-gray-700);
    line-height: 1.7;
}

.gu-faq-answer ul,
.gu-faq-answer ol {
    padding-left: 44px;
}

.gu-faq-answer li {
    margin-bottom: 8px;
}

.gu-faq-answer p:last-child {
    padding-bottom: 20px;
}

.gu-faq-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px !important;
    margin: 0 24px 20px !important;
    color: #856404 !important;
}

/* ========================================
   CTA Section Enhanced
======================================== */

.gu-section-blue {
    background: linear-gradient(135deg, #0d4cd3 0%, #1565c0 100%);
    padding: 60px 0;
}

/* ========================================
   Footer Enhanced
======================================== */

.gu-footer {
    background: #0b1f33;
    padding: 40px 0;
    margin-top: auto;
}

.gu-footer-content {
    text-align: center;
}

.gu-footer-logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    letter-spacing: -0.5px;
}

.gu-footer-logo .gu-logo-gos {
    color: #90caf9;
}

.gu-footer-logo .gu-logo-u {
    color: #ef5350;
}

.gu-footer-logo .gu-logo-slugi {
    color: #90caf9;
}

.gu-footer-info {
    margin-bottom: 20px;
}

.gu-footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.gu-footer-links {
    margin-top: 8px;
}

.gu-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.gu-footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.gu-footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive - Hero & FAQ
======================================== */

@media (max-width: 1024px) {
    .gu-info-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .gu-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gu-official-bar {
        padding: 6px 0;
    }
    
    .gu-official-content {
        font-size: 11px;
    }
    
    .gu-hero-section {
        padding: 40px 0 100px;
    }
    
    .gu-hero-title {
        font-size: 28px;
    }
    
    .gu-hero-subtitle {
        font-size: 15px;
    }
    
    .gu-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gu-btn-primary,
    .gu-btn-secondary,
    .gu-btn-white {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .gu-info-section {
        margin-top: -60px;
    }
    
    .gu-info-cards {
        padding: 0 16px;
    }
    
    .gu-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gu-faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .gu-cta-content h2 {
        font-size: 24px;
    }
    
    .gu-cta-content p {
        font-size: 16px;
    }
    
    .gu-header-badge {
        display: none;
    }
    
    .gu-nav {
        display: none;
    }
    
    .gu-steps {
        flex-direction: column;
        gap: 24px;
    }
    
    .gu-step::after {
        display: none;
    }
}

/* ========================================
   Steps Section
======================================== */

.gu-steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: relative;
}

.gu-step {
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 280px;
}

.gu-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--gu-blue) 0%, var(--gu-gray-300) 100%);
}

.gu-step:last-child::after {
    display: none;
}

.gu-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gu-blue) 0%, #1976d2 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(13, 76, 211, 0.3);
}

.gu-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gu-black);
    margin-bottom: 10px;
}

.gu-step p {
    font-size: 14px;
    color: var(--gu-gray-600);
    line-height: 1.6;
}

/* ========================================
   MOBILE OPTIMIZATIONS - Modern & Beautiful
======================================== */

@media (max-width: 768px) {
    /* Smooth scrolling & tap highlights */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        font-size: 15px;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Container */
    .gu-container {
        padding: 0 16px;
    }
    
    /* Header - Mobile Optimized */
    .gu-header {
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    .gu-header-content {
        height: 52px;
    }
    
    .gu-logo {
        font-size: 19px;
    }
    
    .gu-btn-enter {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    /* Hero Section - Mobile */
    .gu-hero-section {
        padding: 32px 0 40px;
        text-align: center;
    }
    
    .gu-hero-title {
        font-size: 26px !important;
        line-height: 1.25;
        margin-bottom: 16px;
        font-weight: 700;
    }
    
    .gu-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        opacity: 0.95;
        margin-bottom: 28px;
        padding: 0 8px;
    }
    
    .gu-hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 4px;
    }
    
    .gu-btn-primary.gu-btn-large,
    .gu-btn-secondary.gu-btn-large {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 14px;
        justify-content: center;
    }
    
    .gu-btn-primary.gu-btn-large {
        box-shadow: 0 4px 15px rgba(13, 76, 211, 0.35);
    }
    
    /* Info Cards - Mobile Grid */
    .gu-info-section {
        padding: 24px 0;
    }
    
    .gu-info-cards {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    
    .gu-info-card {
        padding: 20px 16px;
        border-radius: 16px;
        text-align: center;
    }
    
    .gu-info-card-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }
    
    .gu-info-card h3 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .gu-info-card p {
        font-size: 12px;
        line-height: 1.5;
        opacity: 0.85;
    }
    
    /* Steps Section - Mobile */
    .gu-steps-section {
        padding: 32px 0;
    }
    
    .gu-steps {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .gu-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
        gap: 16px;
        background: white;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .gu-step::after {
        display: none;
    }
    
    .gu-step-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .gu-step-content {
        flex: 1;
    }
    
    .gu-step h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .gu-step p {
        font-size: 13px;
    }
    
    /* Page Layout */
    .gu-page {
        padding: 20px 0;
    }
    
    .gu-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gu-page-main {
        padding: 20px;
        border-radius: 16px;
    }
    
    .gu-page-title {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .gu-breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    
    /* Code Display - Mobile */
    .gu-code-display {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .gu-code-value {
        font-size: 32px !important;
        letter-spacing: 4px !important;
    }
    
    .gu-code-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .gu-code-actions .gu-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    /* Sidebar Cards - Mobile */
    .gu-sidebar-card {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 12px;
    }
    
    .gu-sidebar-icon {
        width: 42px;
        height: 42px;
    }
    
    .gu-sidebar-card h4 {
        font-size: 14px;
    }
    
    .gu-sidebar-card p {
        font-size: 13px;
    }
    
    /* Forms - Mobile */
    .gu-form-input {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
    }
    
    .gu-form-label {
        font-size: 14px;
    }
    
    /* Success Banner */
    .gu-success-banner {
        padding: 16px;
        border-radius: 14px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .gu-success-banner-icon {
        margin: 0 auto;
    }
    
    /* Warning Box */
    .gu-warning-box {
        padding: 14px 16px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }
    
    /* FAQ Section */
    .gu-faq-section {
        padding: 32px 0;
    }
    
    .gu-faq-item {
        border-radius: 14px;
        margin-bottom: 10px;
    }
    
    .gu-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    .gu-faq-answer {
        padding: 0 18px 18px;
        font-size: 14px;
    }
    
    /* Footer - Mobile */
    .gu-footer {
        padding: 24px 0;
        text-align: center;
    }
    
    .gu-footer-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .gu-footer-logo {
        font-size: 18px;
    }
    
    .gu-footer-links {
        font-size: 13px;
    }
    
    .gu-footer-copy {
        font-size: 12px;
    }
    
    /* Buttons - Mobile Touch Friendly */
    .gu-btn {
        min-height: 48px;
        border-radius: 12px;
    }
    
    .gu-btn-primary {
        box-shadow: 0 4px 12px rgba(13, 76, 211, 0.25);
    }
    
    /* Support Chat - Mobile */
    .chat-messages {
        padding: 16px;
    }
    
    .chat-message {
        max-width: 85%;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 18px;
    }
    
    .chat-input {
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 24px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .gu-hero-title {
        font-size: 22px !important;
    }
    
    .gu-info-cards {
        grid-template-columns: 1fr !important;
    }
    
    .gu-code-value {
        font-size: 28px !important;
        letter-spacing: 3px !important;
    }
}

/* Safe area support for notched phones */
@supports (padding-top: env(safe-area-inset-top)) {
    .gu-header {
        padding-top: env(safe-area-inset-top);
    }
    
    .gu-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Smooth animations for mobile */
@media (prefers-reduced-motion: no-preference) {
    .gu-btn,
    .gu-info-card,
    .gu-service-card,
    .gu-news-card,
    .gu-step {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}
/* ========================================
   PREMIUM MOBILE STYLES
   Modern iOS/Android-like experience
======================================== */

@media (max-width: 768px) {
    /* === Base === */
    body {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }
    
    .gu-container {
        padding: 0 16px;
    }

    /* === Header Mobile === */
    .gu-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        background: rgba(255, 255, 255, 0.85);
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    }
    
    .gu-header-content {
        height: 52px;
    }
    
    .gu-logo {
        font-size: 18px;
    }
    
    .gu-btn-enter,
    .gu-header-right a {
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }

    /* === Hero Section Mobile === */
    .gu-hero-section {
        padding: 80px 0 40px !important;
        min-height: auto !important;
        background: linear-gradient(135deg, #0d4cd3 0%, #1a5fe8 50%, #2e7af5 100%) !important;
    }
    
    .gu-hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
        font-weight: 700 !important;
    }
    
    .gu-hero-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
        opacity: 0.95;
        margin-bottom: 24px !important;
    }
    
    .gu-hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }
    
    .gu-hero-buttons a,
    .gu-btn-primary.gu-btn-large,
    .gu-btn-secondary.gu-btn-large {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
        justify-content: center !important;
    }
    
    .gu-btn-primary.gu-btn-large {
        background: white !important;
        color: var(--gu-blue) !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    }
    
    .gu-btn-secondary.gu-btn-large {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }

    /* === Info Cards Mobile === */
    .gu-info-section {
        padding: 24px 0 !important;
        background: var(--gu-gray-50) !important;
    }
    
    .gu-info-cards {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 0 !important;
        margin: 0 -16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .gu-info-cards::-webkit-scrollbar {
        display: none;
    }
    
    .gu-info-card {
        flex: 0 0 75% !important;
        min-width: 75% !important;
        scroll-snap-align: start !important;
        padding: 20px !important;
        border-radius: 16px !important;
        margin: 0 !important;
    }
    
    .gu-info-card h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
    }
    
    .gu-info-card p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .gu-info-card-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 12px !important;
    }

    /* === Steps Section Mobile === */
    .gu-steps-section {
        padding: 32px 0 !important;
    }
    
    .gu-steps-header h2 {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }
    
    .gu-steps-header p {
        font-size: 13px !important;
    }
    
    .gu-steps-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 20px 0 !important;
    }
    
    .gu-step {
        display: flex !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }
    
    .gu-step-number {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        flex-shrink: 0 !important;
    }
    
    .gu-step-content {
        padding-top: 4px;
    }
    
    .gu-step h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    
    .gu-step p {
        font-size: 13px !important;
        color: var(--gu-gray-600) !important;
    }

    /* === Code Display Mobile === */
    .gu-code-display {
        padding: 28px 20px !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    }
    
    .gu-code-label {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    
    .gu-code-value {
        font-size: 34px !important;
        letter-spacing: 4px !important;
        font-weight: 700 !important;
        color: var(--gu-blue) !important;
    }
    
    .gu-code-actions {
        margin-top: 20px !important;
        display: flex !important;
        gap: 10px !important;
    }
    
    .gu-code-actions .gu-btn {
        flex: 1 !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    /* === Success Banner Mobile === */
    .gu-success-banner {
        padding: 16px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }
    
    .gu-success-banner-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .gu-success-banner-text strong {
        font-size: 14px !important;
    }
    
    .gu-success-banner-text span {
        font-size: 12px !important;
    }

    /* === Warning Box Mobile === */
    .gu-warning-box {
        padding: 14px 16px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
        font-size: 13px !important;
    }

    /* === Sidebar Cards Mobile === */
    .gu-page-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .gu-page-layout aside {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .gu-sidebar-card {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    
    .gu-sidebar-card h4 {
        font-size: 14px !important;
    }
    
    .gu-sidebar-card p {
        font-size: 13px !important;
    }
    
    .gu-sidebar-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 10px !important;
    }

    /* === FAQ Mobile === */
    .gu-faq-section {
        padding: 32px 0 !important;
    }
    
    .gu-faq-title {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    
    .gu-faq-item {
        border-radius: 14px !important;
        margin-bottom: 10px !important;
    }
    
    .gu-faq-question {
        padding: 16px !important;
        font-size: 14px !important;
    }
    
    .gu-faq-answer {
        padding: 0 16px 16px !important;
        font-size: 13px !important;
    }

    /* === Footer Mobile === */
    .gu-footer {
        padding: 24px 0 !important;
        margin-top: 24px !important;
    }
    
    .gu-footer-content {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
    
    .gu-footer-logo {
        font-size: 18px !important;
    }
    
    .gu-footer-links {
        font-size: 12px !important;
    }
    
    .gu-footer-copy {
        font-size: 11px !important;
    }

    /* === Breadcrumb Mobile === */
    .gu-breadcrumb {
        font-size: 12px !important;
        padding: 70px 0 12px !important;
        margin-bottom: 8px !important;
    }

    /* === Page Title Mobile === */
    .gu-page-title {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }

    /* === Buttons General Mobile === */
    .gu-btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }
    
    .gu-btn-lg {
        padding: 16px 24px !important;
        font-size: 15px !important;
    }

    /* === Support Chat Mobile === */
    .support-chat-container {
        border-radius: 0 !important;
        margin: 0 -16px !important;
        height: calc(100vh - 120px) !important;
    }

    /* === Chat Container Mobile === */
    .gu-chat-container {
        height: calc(100vh - 220px) !important;
        min-height: 400px !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        background: var(--gu-gray-50) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    }
    
    .gu-chat-messages {
        flex: 1 !important;
        padding: 16px !important;
        gap: 12px !important;
        background: linear-gradient(180deg, #f0f4f8 0%, #fafbfc 100%) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .gu-message {
        max-width: 85% !important;
        gap: 8px !important;
    }
    
    .gu-message-avatar {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    
    .gu-message-avatar svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .gu-message-bubble {
        padding: 10px 14px !important;
        border-radius: 18px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    }
    
    .gu-message-support .gu-message-bubble {
        background: white !important;
        border-top-left-radius: 4px !important;
    }
    
    .gu-message-user .gu-message-bubble {
        background: linear-gradient(135deg, #0d4cd3 0%, #1a5fe8 100%) !important;
        border-top-right-radius: 4px !important;
        box-shadow: 0 2px 8px rgba(13, 76, 211, 0.3) !important;
    }
    
    .gu-message-text {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
    
    .gu-message-time {
        font-size: 10px !important;
        margin-top: 6px !important;
    }
    
    /* Chat Input Mobile */
    .gu-chat-input {
        display: flex !important;
        gap: 10px !important;
        padding: 12px 16px !important;
        background: white !important;
        border-top: 0.5px solid rgba(0, 0, 0, 0.08) !important;
        position: sticky !important;
        bottom: 0 !important;
    }
    
    .gu-chat-input .gu-form-input {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 22px !important;
        border: 1px solid var(--gu-gray-200) !important;
        background: var(--gu-gray-50) !important;
        transition: all 0.2s !important;
    }
    
    .gu-chat-input .gu-form-input:focus {
        background: white !important;
        border-color: var(--gu-blue) !important;
        box-shadow: 0 0 0 3px rgba(13, 76, 211, 0.1) !important;
    }
    
    .gu-chat-input .gu-btn {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        background: linear-gradient(135deg, #0d4cd3 0%, #1a5fe8 100%) !important;
        box-shadow: 0 2px 8px rgba(13, 76, 211, 0.35) !important;
    }
    
    .gu-chat-input .gu-btn:active {
        transform: scale(0.92) !important;
    }
    
    .gu-chat-input .gu-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* === FAQ List Mobile === */
    .gu-faq-list {
        border-radius: 14px !important;
        overflow: hidden !important;
        border: none !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    }
    
    .gu-faq-toggle {
        padding: 14px 16px !important;
        font-size: 13px !important;
    }
    
    .gu-faq-content {
        padding: 0 16px 14px !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: var(--gu-gray-600) !important;
    }

    /* === Page Main Mobile === */
    .gu-page-main {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    
    /* === Page Layout for Support === */
    .gu-page-subtitle {
        font-size: 14px !important;
        color: var(--gu-gray-500) !important;
        margin-bottom: 16px !important;
    }

    /* === Touch Feedback === */
    .gu-btn:active,
    .gu-info-card:active,
    .gu-faq-question:active {
        transform: scale(0.98) !important;
        opacity: 0.9;
    }
}

/* === Ultra Small Screens (iPhone SE, etc) === */
@media (max-width: 375px) {
    .gu-hero-title {
        font-size: 22px !important;
    }
    
    .gu-code-value {
        font-size: 28px !important;
        letter-spacing: 2px !important;
    }
    
    .gu-info-card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
    }
    
    .gu-code-actions {
        flex-direction: column !important;
    }
    
    .gu-btn-enter {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* ========================================
   MOBILE ADAPTATION - Full
======================================== */

/* === Mobile Admin Panel === */
@media (max-width: 900px) {
    .admin-chat-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .dialogs-list {
        max-height: 300px !important;
        order: 1;
    }
    
    .chat-area {
        order: 2;
        min-height: 400px !important;
        height: 50vh !important;
    }
}

@media (max-width: 768px) {
    /* === Header Mobile === */
    .gu-header-content {
        height: 50px !important;
        padding: 0 12px !important;
    }
    
    .gu-logo {
        font-size: 18px !important;
    }
    
    .gu-btn-enter {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    /* === Main Content Mobile === */
    .gu-page {
        padding: 16px 0 !important;
    }
    
    .gu-container {
        padding: 0 12px !important;
    }
    
    /* === Form Mobile === */
    .gu-page-main {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
    
    .gu-page-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .gu-input-group {
        margin-bottom: 14px !important;
    }
    
    .gu-input {
        padding: 14px 16px !important;
        font-size: 16px !important; /* iOS zoom fix */
        border-radius: 10px !important;
    }
    
    .gu-btn {
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }
    
    /* === Code Page Mobile === */
    .gu-code-box {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
    
    .gu-code-value {
        font-size: 32px !important;
        letter-spacing: 4px !important;
        padding: 16px !important;
    }
    
    .gu-code-timer {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    .gu-code-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .gu-code-actions .gu-btn {
        width: 100% !important;
    }
    
    /* === Support Chat Mobile === */
    .gu-support-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .gu-chat-messages {
        height: 350px !important;
        padding: 14px !important;
    }
    
    .gu-chat-message {
        max-width: 85% !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .gu-chat-input-area {
        padding: 12px !important;
    }
    
    .gu-chat-input {
        padding: 12px 14px !important;
        font-size: 16px !important; /* iOS zoom fix */
    }
    
    /* === Admin Panel Mobile === */
    .admin-header {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 14px !important;
    }
    
    .admin-tabs {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .admin-tab {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .dialogs-scroll {
        max-height: 250px !important;
    }
    
    .dialog-item {
        padding: 12px !important;
    }
    
    .dialog-info h4 {
        font-size: 14px !important;
    }
    
    .dialog-info p {
        font-size: 12px !important;
    }
    
    .chat-input-area {
        padding: 12px !important;
    }
    
    .chat-input {
        padding: 12px !important;
        font-size: 16px !important;
    }
    
    /* === Tables Mobile === */
    .users-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .users-table th,
    .users-table td {
        padding: 10px 8px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    
    /* === Info Cards Mobile === */
    .gu-info-cards {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .gu-info-card {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    /* === Footer Mobile === */
    .gu-footer {
        padding: 20px 0 !important;
    }
    
    .gu-footer-content {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    
    .gu-footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
}

/* === Mobile Portrait Specific === */
@media (max-width: 480px) {
    .gu-hero {
        padding: 40px 0 !important;
    }
    
    .gu-hero-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .gu-hero-subtitle {
        font-size: 14px !important;
    }
    
    .gu-page-main {
        padding: 16px 14px !important;
    }
    
    .gu-page-title {
        font-size: 18px !important;
    }
    
    .gu-btn {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    .gu-code-value {
        font-size: 26px !important;
        letter-spacing: 3px !important;
    }
    
    /* Notification prompt mobile */
    .notification-prompt-box {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        margin: 12px !important;
    }
    
    .notification-prompt h3 {
        font-size: 18px !important;
    }
    
    .notification-prompt p {
        font-size: 13px !important;
    }
    
    .notification-prompt-btn {
        padding: 14px !important;
        font-size: 15px !important;
    }
}

/* === Touch Device Improvements === */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets */
    .gu-btn, 
    .admin-tab,
    .dialog-item,
    button {
        min-height: 44px !important;
    }
    
    /* Remove hover states that can stick */
    .gu-btn:hover,
    .dialog-item:hover,
    .admin-tab:hover {
        transform: none !important;
    }
    
    /* Better active states */
    .gu-btn:active {
        transform: scale(0.98) !important;
        opacity: 0.9 !important;
    }
}