/* =========================================
   ПЕРЕМЕННЫЕ И БАЗА
   ========================================= */
:root {
    --bg-color: #050510;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --accent-cyan: #00f0ff;
    --accent-purple: #7000ff;
    --accent-magenta: #ff00c8;
    --success: #00ff88;
    --danger: #ff3366;
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.15), transparent 40%), radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.1), transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Скрываем курсор на ПК */
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-cyan), var(--accent-purple));
    border-radius: 10px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-section {
    min-height: 80vh;
    padding-bottom: 100px;
}

/* Стекло */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s ease;
}

    .glass:hover {
        background: var(--glass-hover);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

/* Градиентный текст */
.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

    .section-title.center {
        text-align: center;
    }

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

    .subtitle.center {
        text-align: center;
    }

.w-100 {
    width: 100%;
}

/* 3D Канвас */
#space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Кастомный курсор */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, background 0.3s;
}

    .cursor-follower.active {
        width: 70px;
        height: 70px;
        background: rgba(0, 240, 255, 0.1);
        border-color: var(--accent-cyan);
    }

/* Прелоадер */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

    #preloader.hidden {
        opacity: 0;
        pointer-events: none;
    }

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.loader-bar {
    width: 250px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.1s linear;
}

/* =========================================
   ШАПКА
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

    header.scrolled {
        padding: 15px 50px;
        background: rgba(5, 5, 16, 0.85);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
    }

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

    .logo span {
        color: var(--accent-cyan);
    }

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .desktop-nav a {
        font-weight: 600;
        font-size: 0.9rem;
        position: relative;
        color: #ccc;
    }

        .desktop-nav a:hover, .desktop-nav a.active {
            color: #fff;
        }

        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0%;
            height: 2px;
            background: var(--accent-cyan);
            transition: width 0.3s;
        }

        .desktop-nav a:hover::after, .desktop-nav a.active::after {
            width: 100%;
        }

.btn-nav {
    border: 1px solid var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--accent-cyan);
}

    .btn-nav:hover {
        background: var(--accent-cyan);
        color: var(--bg-color);
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    }

.btn-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

    .btn-login:hover {
        border-color: var(--accent-cyan);
        background: rgba(0, 240, 255, 0.1);
    }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   МОДАЛЬНОЕ ОКНО (АВТОРИЗАЦИЯ)
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .modal-overlay:not(.hidden) {
        opacity: 1;
        pointer-events: all;
    }

.modal-content {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

    .close-modal:hover {
        color: var(--danger);
    }

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-content p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .auth-switch a {
        color: var(--accent-cyan);
        font-weight: 600;
        margin-left: 5px;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }

.auth-error {
    color: var(--danger);
    text-align: center;
    font-size: 0.9rem;
    margin-top: 15px;
    font-weight: 600;
}

/* =========================================
   ГЕРОЙ-СЕКЦИЯ (Главная)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 1200px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 50px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   КНОПКИ
   ========================================= */
.btn-main, .btn-outline {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-block;
    font-family: inherit;
}

.btn-main {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

    .btn-main:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 30px rgba(112, 0, 255, 0.5);
    }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
}

    .btn-outline:hover {
        border-color: var(--accent-cyan);
        background: rgba(0, 240, 255, 0.05);
    }

/* =========================================
   СТАТИСТИКА
   ========================================= */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   УСЛУГИ (Кратко на главной и Полная страница)
   ========================================= */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* =========================================
   ПРОЕКТЫ (Карточки)
   ========================================= */
.works {
    padding: 100px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.card-img {
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.btn-view {
    padding: 12px 25px;
    background: #fff;
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    transform: translateY(20px);
    transition: all 0.4s;
}

.card:hover .btn-view {
    transform: translateY(0);
}

.btn-view:hover {
    background: var(--accent-cyan);
}

.card-info {
    padding: 25px 10px 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .card-header h3 {
        font-size: 1.8rem;
    }

.year {
    color: var(--accent-cyan);
    font-size: 1rem;
}

.card-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .tags span {
        padding: 5px 14px;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--accent-cyan);
    }

/* =========================================
   О НАС (Навыки, Подход)
   ========================================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    padding: 30px;
    text-align: center;
}

.skill-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 10px;
}

.skill-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.approach-card {
    padding: 40px 30px;
    text-align: center;
}

    .approach-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .approach-card p {
        color: var(--text-muted);
        font-size: 0.95rem;
    }

/* =========================================
   ТАРИФЫ (Услуги)
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .price-card.popular {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
        transform: scale(1.02);
    }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

    .price-header h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

.price-tag {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
}

.price-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

    .price-features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
    }

    .price-features i.fa-check {
        color: var(--success);
    }

    .price-features i.fa-xmark {
        color: var(--danger);
        opacity: 0.5;
    }

/* =========================================
   ОТЗЫВЫ НА ГЛАВНОЙ (Кратко)
   ========================================= */
.guestbook {
    padding: 100px 0;
}

.quick-review-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.rating-stars {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: #555;
    cursor: pointer;
    justify-content: center;
}

    .rating-stars i {
        transition: color 0.2s;
    }

        .rating-stars i.active {
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

.review-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

/* =========================================
   СТРАНИЦА ОБСУЖДЕНИЙ (discussion.html)
   ========================================= */
.discussion-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.discussion-sidebar {
    position: sticky;
    top: 100px;
}

    .discussion-sidebar h3 {
        text-align: center;
        margin-bottom: 20px;
    }

.file-upload {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .file-upload:hover {
        border-color: var(--accent-cyan);
        background: rgba(0, 240, 255, 0.05);
    }

    .file-upload input[type="file"] {
        display: none;
    }

.file-label {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-cyan);
}

#fileName {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.filter-select {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    outline: none;
    margin-top: 10px;
}

    .filter-select option {
        background: var(--bg-color);
    }

.reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s;
}

    .review-item:hover {
        border-color: rgba(255,255,255,0.15);
        background: var(--glass-hover);
    }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.verified-badge {
    color: var(--accent-cyan);
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 15px;
}

.review-image {
    max-width: 300px;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid var(--glass-border);
}

.loading-reviews {
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* =========================================
   FAQ (Часто задаваемые вопросы)
   ========================================= */
.faq {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

    .faq-question i {
        transition: transform 0.3s;
        color: var(--accent-cyan);
    }

.faq-item.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

/* =========================================
   КОНТАКТЫ
   ========================================= */
.contact {
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

.contact-box {
    max-width: 700px;
    width: 100%;
    padding: 50px;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    text-align: left;
}

    .input-group input, .input-group textarea {
        width: 100%;
        padding: 18px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        color: #fff;
        font-family: inherit;
        font-size: 1rem;
        outline: none;
        transition: all 0.3s;
    }

    .input-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .input-group label {
        position: absolute;
        left: 18px;
        top: 18px;
        color: var(--text-muted);
        transition: all 0.3s;
        pointer-events: none;
    }

    .input-group input:focus, .input-group textarea:focus, .input-group input:not(:placeholder-shown), .input-group textarea:not(:placeholder-shown) {
        border-color: var(--accent-cyan);
        background: rgba(0, 240, 255, 0.02);
    }

        .input-group input:focus ~ label, .input-group textarea:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
            top: -10px;
            left: 12px;
            font-size: 0.8rem;
            color: var(--accent-cyan);
            background: var(--bg-color);
            padding: 0 5px;
            border-radius: 4px;
        }

.form-status {
    margin-top: 15px;
    font-weight: 600;
}

    .form-status.success {
        color: var(--success);
    }

    .form-status.error {
        color: var(--danger);
    }

/* =========================================
   ПОДВАЛ
   ========================================= */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    background: rgba(0,0,0,0.5);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.footer-right a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    font-weight: 600;
}

    .footer-right a:hover {
        transform: translateY(-5px);
    }

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

    .mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 700;
    }

        .mobile-menu a:hover {
            color: var(--accent-cyan);
        }

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

/* =========================================
   АДАПТИВ (МОБИЛКИ И ПЛАНШЕТЫ)
   ========================================= */
@media (max-width: 1024px) {
    .about-grid, .grid, .pricing-grid, .skills-grid, .approach-grid, .discussion-layout {
        grid-template-columns: 1fr;
    }

    .discussion-sidebar {
        position: static;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-follower {
        display: none;
    }

    header {
        padding: 15px 20px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-box, .modal-content, .quick-review-box {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .card-img {
        height: 250px;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px !important;
    }

        .about-hero i {
            font-size: 6rem !important;
            margin-top: 20px;
        }

    .price-card.popular {
        transform: scale(1);
    }
}
/* =========================================
   ВЫБОР СПОСОБА СВЯЗИ В ФОРМЕ (КРУЖОЧКИ)
   ========================================= */
.contact-method-selector {
    margin: 10px 0 25px;
    text-align: center; /* Центрируем всё */
}

.method-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.method-options {
    display: flex;
    justify-content: center; /* Кружочки по центру */
    gap: 25px; /* Расстояние между ними */
}

.method-option {
    cursor: pointer;
}

    .method-option input[type="radio"] {
        display: none; /* Скрываем радио-кнопку */
    }

/* Стиль самого кружочка */
.method-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%; /* Делаем круг */
    color: var(--text-muted);
    font-size: 1.8rem; /* Размер иконки */
    transition: all 0.3s ease;
}

    .method-card:hover {
        border-color: rgba(255, 255, 255, 0.3);
        color: var(--text-main);
    }

/* Активное состояние (когда выбрано) */
.method-option input:checked + .method-card {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: scale(1.05);
}
/* =========================================
   КНОПКА «ЗАБЫЛИ ПАРОЛЬ?» И АВТОЗАПОЛНЕНИЕ
   ========================================= */
.forgot-pass-row {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 10px;
}

    .forgot-pass-row.hidden {
        display: none !important;
    }

.forgot-pass-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

    .forgot-pass-link:hover {
        color: var(--accent-cyan);
        text-decoration: underline;
    }

/* Чтобы автозаполнение браузера не красило поля в белый цвет */
.modal-content input:-webkit-autofill,
.modal-content input:-webkit-autofill:hover,
.modal-content input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0d0d22 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}
@media (max-width: 768px) {
    .guestbook,
    .contact {
        padding: 50px 20px !important;
    }

    .quick-review-box,
    .contact-box {
        padding: 25px 18px;
    }
}

