/* ===== GLOBAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    margin: 0;
    background: #020617;
    color: #e5e7eb;
    font-family: 'Inter', sans-serif;
    padding-top: 120px; /* отступ под фиксированный Header */
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(16px);
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 120px;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 48px; /* увеличили логотип */
    font-weight: 800;
    line-height: 1;
    color: #ffffff !important;
}

.logo-main { color: #ffffff !important; }
.logo-accent { color: #3b82f6 !important; }

.nav a {
    margin-left: 32px;
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
}

.nav a:hover {
    color: #3b82f6 !important;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .site-header { height: auto; padding: 16px 16px; align-items: flex-start; }
    .header-inner { flex-direction: column; align-items: flex-start; padding: 0; }
    .nav a { display: block; margin: 8px 0; font-size: 16px; }
}

/* ===== CONTAINER ===== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top, #1e293b, #020617);
    color: #fff;
}

.hero > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 0 24px;
}

.hero h1 {
    font-size: 96px; /* огромный текст */
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
}

.hero h1 .logo-accent {
    background: linear-gradient(90deg,#38bdf8,#818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== SECTIONS ===== */
.section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* ===== GLASS CARDS ===== */
.glass {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(12px);
    margin: 16px;
}

/* ===== PRODUCTS ===== */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.product { width: 280px; text-align: center; }
.product h3 { font-size: 22px; margin: 16px 0 8px; }
.product p { font-size: 18px; }

/* ===== ANIMATION ===== */
.fade-up { opacity: 0; transform: translateY(40px); transition: .8s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* BUTTON CTA */
.btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 16px 36px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    margin-top: 24px;
    transition: background 0.3s;
}
.btn:hover { background: #2563eb; }

/* ===== BURGER MENU ===== */
.burger {
    display: flex; /* всегда виден */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Мобильное / ПК меню */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(2,6,23,0.95);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    z-index: 1000;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin: 8px 0;
    font-size: 16px;
    transition: color 0.3s;
}

.mobile-menu a:hover { color: #3b82f6; }

/* На мобилке меню и так работает, десктоп-меню тоже останется */
.nav { display: flex; }

/* ===== Contact Page Styles v2 ===== */
.hero-contact {
    background: radial-gradient(circle at top, #1e293b, #020617);
    text-align: center;
    padding: 120px 24px;
    color: #fff;
}

.hero-contact h1 {
    font-size: 72px; /* больше, чем раньше */
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #38bdf8, #818cf8); /* градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-contact p {
    font-size: 24px;
    margin-top: 16px;
    color: #e5e7eb;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Секции */
.contact-about, .contact-info, .contact-map, .contact-form {
    text-align: center;
    padding: 80px 24px;
}

.contact-about h2,
.contact-info h2,
.contact-map h2,
.contact-form h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #38bdf8, #818cf8); /* градиент как на главной */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-about p,
.contact-info p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 16px auto;
    color: #e5e7eb;
}

/* Карта */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Форма */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form h2 {
    margin-bottom: 32px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 16px;
    font-size: 18px;
    border-radius: 12px;
    border: none;
}

.contact-form button {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: linear-gradient(90deg, #2563eb, #6366f1);
}

/* Анимации */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}



/* ===== About Page Styles ===== */
.hero-about {
    background: radial-gradient(circle at top, #1e293b, #020617);
    text-align: center;
    padding: 120px 24px;
    color: #fff;
}

.hero-about h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-about p {
    font-size: 24px;
    margin-top: 16px;
    color: #e5e7eb;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-info, .about-team, .about-contact {
    text-align: center;
    padding: 80px 24px;
}

.about-info h2, .about-team h2, .about-contact h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-info p, .about-contact p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 16px auto;
    color: #e5e7eb;
}

/* Стили команды */
.team-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.team-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 24px;
    width: 220px;
    text-align: center;
}

.team-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 12px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card p {
    font-size: 16px;
    color: #cbd5e1;
}

/* Анимации */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}


/* ===== News Page Grid ===== */
.hero-news {
    background: radial-gradient(circle at top, #1e293b, #020617);
    text-align: center;
    padding: 120px 24px;
    color: #fff;
}

.hero-news h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-news p {
    font-size: 24px;
    max-width: 800px;
    margin: 16px auto 0 auto;
    color: #e5e7eb;
}

.news-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 60px;
}

.news-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-8px);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    text-align: left;
}

.news-content h2 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.news-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #e5e7eb;
}

.news-date {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 12px;
}

/* Адаптивность для мобилки */
@media (max-width: 768px) {
    .news-grid-container {
        flex-direction: column;
        align-items: center;
    }
}



/* ===== BURGER MENU ===== */
.burger {
    display: flex; /* всегда виден */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    position: relative; /* для правильного позиционирования */
}

.burger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Мобильное / ПК меню */
#mobileMenu {
    position: absolute;          
    top: 100%;                   
    left: 0;                    
    background: rgba(2,6,23,0.95);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 12px 16px;
    display: none;               /* по умолчанию скрыто */
    flex-direction: column;
    min-width: 160px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

#mobileMenu a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s;
}

#mobileMenu a:hover {
    color: #3b82f6 !important;
}

/* Показать меню при клике */
#mobileMenu.active {
    display: flex;
}

.quick-buy {
    padding: 80px 24px;
    text-align: center;
    background: #0a0f24; /* под стиль сайта */
    color: #e5e7eb;
}

.quick-buy-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.quick-buy-desc {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

.quick-buy-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    padding: 32px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.quick-buy-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quick-buy-form input,
.quick-buy-form textarea {
    flex: 1 1 200px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.quick-buy-form textarea {
    min-height: 100px;
    resize: vertical;
}

.quick-buy-form .btn {
    margin-top: 16px;
    width: fit-content;
    align-self: flex-start;
}

/* Footer */
.site-footer {
    background-color: #0F0221; /* тёмный фон */
    color: #fff; /* белый текст */
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #f39c12; /* оранжевый при наведении */
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.site-footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.site-footer .footer-contact p,
.site-footer .footer-links ul,
.site-footer .footer-social a {
    margin: 5px 0;
    font-size: 14px;
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
}

.site-footer .footer-links li {
    margin-bottom: 8px;
}

.site-footer .footer-social a {
    margin-right: 10px;
}

.site-footer .footer-copy {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    font-size: 13px;
    color: #aaa;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-links ul,
    .site-footer .footer-social a {
        margin: 0;
    }

    .site-footer .footer-social a {
        display: inline-block;
        margin: 5px 5px;
    }
}
