﻿:root {
    --black: #000000;
    --gold: linear-gradient(135deg, #FFD700, #FFAA00);
    --silver: linear-gradient(135deg, #C0C0C0, #E0E0E0);
    --platinum: #E5E4E2;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font-primary: 'Montserrat', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--black);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: white;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.gradient-text {
    background: var(--gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.silver-text {
    background: var(--silver);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-gold {
    background: var(--gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-silver {
    background: var(--silver);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #FFD700;
}

.btn-discuss {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #ccc;
}

.hero-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(192, 192, 192, 0.05) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
}

#web-icon::before,
#mobile-icon::before,
#it-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid gold;
    border-radius: 50%;
}

.tech-slider {
    padding: 80px 0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    white-space: nowrap;
    animation: slide 20s linear infinite;
}

.slide {
    padding: 1rem 2rem;
    margin: 0 1rem;
    background: var(--glass-bg);
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.blog {
    padding: 100px 0;
}

.blog-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.blog-item {
    min-width: 300px;
    padding: 2rem;
}

.contacts {
    padding: 100px 0;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

@media (max-width:768px) {
    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-nav.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ФИКС ДЛЯ БЛОГА НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .blog-slider {
        grid-template-columns: 1fr !important;
    }
}

/* ===== КРИТИЧЕСКИЕ ИСПРАВЛЕНИЯ AI-СЕКЦИИ ===== */
section#ai-integration.ai-integration {
    padding-top: 100px !important;
    padding-bottom: 120px !important;
    margin-top: 80px !important;
}

section#ai-integration.ai-integration .ai-grid {
    margin-top: 60px !important;
    margin-bottom: 80px !important;
}

section#ai-integration.ai-integration .contact-simple {
    margin-top: 60px !important;
    padding-top: 50px !important;
}

section#ai-integration.ai-integration a.contact-btn-simple.hero-btn.glass-btn {
    padding: 18px 50px !important;
    font-size: 1.05rem !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
    border-image: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    color: gold !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 300 !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease !important;
}

section#ai-integration.ai-integration a.contact-btn-simple.hero-btn.glass-btn:hover {
    border-color: gold !important;
    background: rgba(255, 215, 0, 0.1) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2) !important;
}

section#ai-integration.ai-integration .contact-location {
    margin-top: 30px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.glass-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: gold;
    transform: scale(1.05);
}

/* Ювелирное стекло для заголовков */
.glass-text {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Basic Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Pulse */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Infinite Slider */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== РЎРўРР›Р Р”Р›РЇ РЎРўР РђРќРР¦ РЎРўРђРўР•Р™ ===== */

/* РћСЃРЅРѕРІРЅРѕР№ РєРѕРЅС‚РµР№РЅРµСЂ СЃС‚Р°С‚СЊРё */
.article-full {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #000;
    min-height: 100vh;
}

.article-full .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Р—Р°РіРѕР»РѕРІРѕРє СЃС‚Р°С‚СЊРё */
.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-category {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.article-category.ai {
    background: rgba(255, 20, 147, 0.15);
    color: deeppink;
}

.article-category.web {
    background: rgba(255, 215, 0, 0.15);
    color: gold;
}

.article-category.mobile {
    background: rgba(0, 191, 255, 0.15);
    color: deepskyblue;
}

.article-category.tech {
    background: rgba(138, 43, 226, 0.15);
    color: blueviolet;
}

.article-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 1.3;
    color: white;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.article-meta {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span::before {
    content: "\2022";
    margin-right: 8px;
    color: gold;
}

.article-meta span:first-child::before {
    display: none;
}

/* РљРѕРЅС‚РµРЅС‚ СЃС‚Р°С‚СЊРё */
.article-content {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.article-lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid gold;
    border-radius: 10px;
}

.article-content h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1.9rem;
    color: white;
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.article-content h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 35px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 25px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content strong {
    font-weight: 400;
    color: white;
}

.article-content code {
    background: rgba(255, 215, 0, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: gold;
}

/* CTA Р±Р»РѕРє РІРЅСѓС‚СЂРё СЃС‚Р°С‚СЊРё */
.article-cta {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    text-align: center;
}

.article-cta h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 15px;
    margin-top: 0;
}

.article-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.article-cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    color: gold;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-cta-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: gold;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

/* РќР°РІРёРіР°С†РёСЏ РјРµР¶РґСѓ СЃС‚Р°С‚СЊСЏРјРё */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-back,
.article-next {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-back:hover,
.article-next:hover {
    color: gold;
}

/* РђРґР°РїС‚РёРІРЅРѕСЃС‚СЊ */
@media (max-width: 768px) {
    .article-full {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        font-size: 0.85rem;
        gap: 10px;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-lead {
        font-size: 1.15rem;
        padding: 20px;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 35px;
    }

    .article-content h3 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .article-cta {
        padding: 30px 20px;
    }

    .article-cta h3 {
        font-size: 1.3rem;
    }

    .article-navigation {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-cta-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* ===== CSS ТОЛЬКО ДЛЯ ХЕДЕРА ===== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.glass-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    display: inline-block;
}

.logo-gold {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-silver {
    color: rgba(255, 255, 255, 0.9);
}

/* Десктопная навигация */
.desktop-nav {
    display: flex;
    gap: 35px;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: gold;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: gold;
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Бургер-меню (скрыто на десктопе) */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

/* Мобильная навигация */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    padding: 8px 0;
}

.mobile-nav a:hover {
    color: gold;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-nav.active {
        display: flex;
    }
}

/* ===== КРАСИВЫЙ ФУТЕР В СТИЛЕ GLASSMORPHISM ===== */
footer.glass-footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Эффект свечения сверху */
footer.glass-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, gold, transparent);
}

/* Контейнер */
footer.glass-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Внутренняя структура */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Левая часть (лого и копирайт) */
.footer-left {
    flex: 1;
}

/* Логотип в футере */
.footer-logo {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo .logo-gold {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo .logo-silver {
    color: rgba(255, 255, 255, 0.9);
}

/* Копирайт */
.footer-copyright {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

/* Правая часть (ссылки) */
.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Навигация в футере */
.footer-links {
    display: flex;
    gap: 35px;
}

/* Ссылки в футере */
.footer-link {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-link:hover {
    color: gold;
}

/* Подчеркивание при наведении */
.footer-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: gold;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ФУТЕРА ===== */
@media (max-width: 768px) {
    footer.glass-footer {
        padding: 50px 0;
        margin-top: 80px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-left {
        order: 2;
    }

    .footer-right {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .footer-logo {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    footer.glass-footer {
        padding: 40px 0;
        margin-top: 60px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

/* Эффект при наведении на весь футер */
footer.glass-footer:hover {
    border-top-color: rgba(255, 215, 0, 0.3);
}