:root {
            --primary: #2AABEE;
            --primary-dark: #229ED9;
            --bg: #f8f9fa;
            --text: #333;
            --card-bg: #fff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --feature-bg: rgba(42, 171, 238, 0.1);
            --footer-text: #777;
            
            /* Status Colors */
            --st-error: #ff4444;
            --st-success: #4CAF50;
            --st-warning: #FF9800;
            --st-info: #2AABEE;
            --st-purple: #9C27B0;
            --st-gray: #757575;
        }

        .dark-mode {
            --primary: #3db4f2;
            --primary-dark: #2AABEE;
            --bg: #1a1a1a;
            --text: #f0f0f0;
            --card-bg: #2d2d2d;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            --feature-bg: rgba(61, 180, 242, 0.15);
            --footer-text: #aaa;
            --st-error: #ff6666;
            --st-success: #66BB6A;
            --st-warning: #FFA726;
            --st-info: #4FC3F7;
            --st-purple: #BA68C8;
            --st-gray: #9E9E9E;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            margin: 0;
            padding: 0;
            line-height: 1.6;
            transition: all 0.3s ease;
        }

        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon {
            font-size: 1.75rem;
            color: var(--primary);
        }

        .logo-text {
            font-weight: 700;
            font-size: 1.5rem;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .lang-switcher {
            display: flex;
            gap: 0.5rem;
        }

        .lang-btn {
            background: none;
            border: none;
            font-family: inherit;
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.6;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .lang-btn.active {
            opacity: 1;
            background-color: rgba(42, 171, 238, 0.2);
            color: var(--primary);
        }

        .theme-toggle {
            background: none;
            border: none;
            color: var(--text);
            cursor: pointer;
            font-size: 1.1rem;
            opacity: 0.8;
            transition: all 0.2s;
            padding: 0.25rem;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle:hover {
            opacity: 1;
            background-color: rgba(42, 171, 238, 0.1);
        }

        .card {
            background-color: var(--card-bg);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.3s ease;
        }

        h1 {
            margin-top: 0;
            margin-bottom: 1.5rem;
            font-size: 1.70rem;
            font-weight: 700;
            color: var(--primary);
        }

        .description {
            margin-bottom: 2rem;
            font-size: 1.05rem;
            color: var(--text);
            opacity: 0.9;
        }

        .cta-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.6rem;
            flex-wrap: nowrap;
            margin: 1.5rem 0;
        }
        .cta-row .bot-username { margin: 0; }
        .cta-row .btn { margin: 0; white-space: nowrap; }

        .bot-username {
            display: inline-block;
            background-color: var(--feature-bg);
            color: var(--primary);
            padding: 0.75rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background-color: var(--primary);
            color: white;
            padding: 0.75rem 1.2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            margin: 0.5rem 0;
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .features {
            text-align: left;
        }

        .feature {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
            padding: 1rem;
            border-radius: 8px;
            background-color: var(--feature-bg);
            transition: all 0.3s ease;
        }

        .feature-icon {
            color: var(--primary);
            font-size: 1.25rem;
            margin-top: 0.2rem;
        }

        .feature-text {
            flex: 1;
        }

        .feature-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .footer {
            margin-top: 3rem;
            text-align: center;
            font-size: 0.9rem;
            color: var(--footer-text);
        }

        /* Check Type Switcher */
        .check-type-switch {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            background: var(--bg);
            padding: 0.5rem;
            border-radius: 12px;
            display: inline-flex;
        }

        .type-option {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s;
            opacity: 0.5;
            filter: grayscale(1);
        }

        .type-option.active {
            background-color: var(--card-bg);
            color: var(--primary);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            opacity: 1;
            filter: none;
        }

        .type-option.disabled {
            cursor: not-allowed;
            position: relative;
        }
        
        .type-option.disabled i.fa-lock {
            font-size: 0.7rem;
            margin-left: 0.2rem;
        }

        /* Check Form Styles */
        .check-form {
            margin: 1rem 0 2rem 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .input-group {
            display: flex;
            gap: 0.5rem;
        }

        .input-field {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 2px solid rgba(42, 171, 238, 0.3);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s;
            background-color: var(--card-bg);
            color: var(--text);
        }

        .input-field:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.2);
        }

        .check-btn {
            padding: 0.75rem 1.1rem;
            margin: 1px;
            flex: 0 0 auto;
        }

        .form-note {
            font-size: 0.85rem;
            opacity: 0.7;
            text-align: center;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

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

        .modal {
            background-color: var(--card-bg);
            border-radius: 16px;
            width: 90%;
            max-width: 400px;
            padding: 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            transition: all 0.3s ease;
            position: relative;
        }

        .modal-overlay.active .modal {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text);
            opacity: 0.6;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-close:hover {
            opacity: 1;
        }

        .modal-icon {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: center;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-align: center;
        }
        
        .modal-subtitle {
            font-size: 0.9rem;
            text-align: center;
            opacity: 0.6;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .modal-text {
            margin-bottom: 1.5rem;
            text-align: center;
            font-size: 1.05rem;
        }
        
        .modal-meta {
            background: var(--bg);
            padding: 0.75rem;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            display: flex;
            justify-content: space-between;
        }

        .modal-btn {
            width: 100%;
            display: block;
            text-align: center;
        }

        /* Dynamic Status Classes */
        .status-color-success { color: var(--st-success); }
        .status-color-error { color: var(--st-error); }
        .status-color-warning { color: var(--st-warning); }
        .status-color-info { color: var(--st-info); }
        .status-color-purple { color: var(--st-purple); }
        .status-color-gray { color: var(--st-gray); }

        @media (max-width: 480px) {
            .container { padding: 1.5rem; }
            .card { padding: 1.5rem; }
            h1 { font-size: 1.5rem; }
            .header-controls { gap: 0.5rem; }
            /* инпут + лупа остаются в одном ряду; лупа — компактная кнопка справа */
            .input-group { flex-direction: row; }
            .check-btn { width: auto; flex: 0 0 auto; }
            /* CTA (@бот + кнопка) в одну строку даже на узких экранах */
            .cta-row .bot-username, .cta-row .btn { padding: 0.6rem 0.8rem; font-size: 0.92rem; }
        }


/* FAQ */
.faq-section{max-width:640px;margin:2.5rem auto 0;padding:0 1.5rem}
.faq-title{font-size:1.45rem;font-weight:700;margin:0 0 1.1rem;text-align:center;color:var(--text)}
.faq-item{background:var(--card-bg);border-radius:14px;margin-bottom:.65rem;box-shadow:0 2px 10px rgba(0,0,0,.07);overflow:hidden}
.faq-item>summary{padding:1rem 1.25rem;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--text)}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item>summary::after{content:'+';color:var(--primary);font-size:1.4rem;font-weight:700;line-height:1;flex:0 0 auto}
.faq-item[open]>summary::after{content:'\2212'}
.faq-a{padding:0 1.25rem 1.15rem;opacity:.82;line-height:1.6;color:var(--text)}
