/* Начало */
html {
    scroll-behavior: smooth;
    /* Если шапка сайта фиксированная (fixed/sticky), укажите её высоту для отступа: */
    scroll-padding-top: 80px; 
}

:root {
    --bg: #05050a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(139, 92, 246, 0.4);
    --accent-orange: #ff5e36;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    color:#fff;
}

/* ===== BACKGROUND ===== */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.15), transparent 40%),
                radial-gradient(circle at 85% 35%, rgba(255, 94, 54, 0.12), transparent 45%),
                radial-gradient(circle at 50% 75%, rgba(6, 182, 212, 0.1), transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    margin-top: 20px;
    background: rgba(18, 18, 28, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo svg {
    width: 240px;
    height: auto;
    max-width: 100%;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 94, 54, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.desktop-cta {
    display: inline-flex;
}

/* Базовый стиль гамбургера */
.hamburger {
    display: none; /* Скрыт на ПК */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main, #fff);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Отрисовка крестика при открытии (когда JS добавляет класс .active) */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Отображение на мобильных устройствах */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-visual {
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
}

.hero-visual-inner {
    position: relative;
    background: #090912;
    border-radius: 23px;
    overflow: hidden;
    min-height: 380px;
}

.hud-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== BENTO GRID ===== */
.bento-section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -1px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.bento-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
}

.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr; /* На мобильных перестраиваем в одну колонку */
        gap: 24px;
    }
}

.stat-huge {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.2rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   Динамические плашки-ссылки (Tech Pills)
   ========================================================================== */

/* Базовый стиль для ссылок-плашек */
.tech-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    overflow: hidden; /* Обязательно для срезки блика */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Ховер-эффект для всех плашек */
.tech-pill:hover {
    color: #ffffff;
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

/* --------------------------------------------------------------------------
   Эффект 1: Бегущий неоновый блик по очереди
   -------------------------------------------------------------------------- */
.tech-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.18), 
        transparent
    );
    transform: skewX(-20deg);
    animation: pillShimmer 20s infinite;
    pointer-events: none;
}

/* Задержка блика, чтобы кнопки подсвечивались поочередно */
a.tech-pill:nth-child(1)::after { animation-delay: 0s; }
a.tech-pill:nth-child(2)::after { animation-delay: 5s; }
a.tech-pill:nth-child(3)::after { animation-delay: 10s; }

@keyframes pillShimmer {
    0% { left: -150%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

/* --------------------------------------------------------------------------
   Эффект 2: Выделение ключевой ссылки (/roi.php)
   -------------------------------------------------------------------------- */
.tech-pill-highlight {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.35);
}

.tech-pill-highlight:hover {
    background: rgba(6, 182, 212, 0.22);
    border-color: var(--accent-cyan, #06B6D4);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

/* Анимация стрелки при наведении на ROI */
.pill-arrow {
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.tech-pill-highlight:hover .pill-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ===== ТАБЫ ОТРАСЛЕЙ ===== */
.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover, .tab-btn.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-purple);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* ===== LIVE DEMO CHAT ===== */
.chat-msg {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.chat-msg.ai {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    align-self: flex-start;
}

.chat-msg.user {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    align-self: flex-end;
}

/* ===== CONTACT & FOOTER ===== */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 94, 54, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    margin-bottom: 16px;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* ===== ADAPTIVE & MOBILE MENU STYLES ===== */
@media (max-width: 992px) {
    .hero { 
        grid-template-columns: 1fr; 
        padding: 40px 0 30px;
    }

    .desktop-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Мобильное выпадающее меню */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 12px;
        background: rgba(12, 12, 22, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--card-border);
        border-radius: 24px;
        padding: 24px;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    .mobile-cta-item {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid var(--card-border);
    }

    .mobile-cta-item .btn-glow {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 10px 16px;
        margin-top: 10px;
        border-radius: 20px;
    }

    .logo svg {
        width: 170px;
    }

    .btn-glow {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .bento-section {
        padding: 40px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .col-8, .col-4, .col-6, .col-12 {
        grid-column: span 1 !important;
    }

    .bento-card {
        padding: 20px;
        border-radius: 18px;
    }

    .sec-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 20px;
        gap: 24px;
    }
}

/* Сетка для блоков с объяснением ROI */
.roi-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.roi-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.roi-step-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-purple);
    opacity: 0.6;
    margin-bottom: 8px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .roi-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Страница Экспресс-Аудита (express-audit.php)
   ========================================================================== */

.audit-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted, #94a3b8);
    max-width: 720px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Сетка преимуществ */
.audit-features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan, #06B6D4);
    margin-bottom: 16px;
}

/* Этапы */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    border-radius: 12px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan, #06B6D4);
    opacity: 0.6;
    line-height: 1;
}

/* Форма */
.audit-form-section {
    padding: 80px 0;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent-cyan, #06B6D4);
}

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

/* ==========================================================================
   Страница Дорожной карты (roadmap.php)
   ========================================================================== */

.roadmap-hero {
    padding: 100px 0 60px;
    text-align: center;
}

/* Таймлайн */
.roadmap-timeline-section {
    padding: 60px 0;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.timeline-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.timeline-card:hover {
    border-color: var(--accent-cyan, #06B6D4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.timeline-badge {
    align-self: flex-start;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan, #06B6D4);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.timeline-content ul li i {
    color: var(--accent-cyan, #06B6D4);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Артефакты / Что входит */
.roadmap-deliverables {
    padding: 60px 0;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.deliv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
}

.deliv-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan, #06B6D4);
    margin-bottom: 14px;
}

.deliv-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.deliv-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ==========================================================================
   Модальное окно заявки (Modal Window)
   ========================================================================== */

/* Оверлей (затемнение фона) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(8px); /* Размытие заднего плана */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Активное состояние оверлея */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Контейнер модального окна */
.modal-window {
    position: relative;
    width: 100%;
    max-width: 540px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-cyan, #06B6D4);
}

.modal-form-wrapper {
    margin: 0;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.25);
}

/* ==========================================================================
   Полупрозрачный неоновый стиль кнопок (Neon Glassmorphism)
   ========================================================================== */

/* Общий базис для кнопок любого типа (button, a, div) */
.btn-primary, 
.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    
    /* Эффект матового стекла */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   1. Основная полупрозрачная кнопка (Neon Cyan Glass)
   -------------------------------------------------------------------------- */
.btn-primary {
    color: #ffffff;
    /* Полупрозрачный градиентный фон */
    background: linear-gradient(
        135deg, 
        rgba(6, 182, 212, 0.25) 0%, 
        rgba(2, 132, 199, 0.15) 100%
    );
    border: 1px solid rgba(6, 182, 212, 0.5);
    /* Мягкая неновая свечение-тень по умолчанию */
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), 
                inset 0 0 15px rgba(6, 182, 212, 0.1);
}

/* Ховер-эффект для основной кнопки */
.btn-primary:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg, 
        rgba(6, 182, 212, 0.45) 0%, 
        rgba(2, 132, 199, 0.35) 100%
    );
    border-color: rgba(6, 182, 212, 0.9);
    /* Яркое неоновое свечение */
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5), 
                inset 0 0 20px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. Вторичная полупрозрачная кнопка (Neon Purple/Violet Glass)
   -------------------------------------------------------------------------- */
.btn-secondary {
    color: #e2e8f0;
    background: linear-gradient(
        135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
}

/* Ховер-эффект для вторичной кнопки */
.btn-secondary:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(6, 182, 212, 0.15) 100%
    );
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Нажатие и блоки во всю ширину
   -------------------------------------------------------------------------- */
.btn-primary:active, 
.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* Для форм (кнопка во всю ширину) */
.btn-block {
    width: 100%;
}