* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #e8edf2;
    background: url('bg.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Фоновый контейнер - absolute, отступы 10% */
body::before {
    content: '';
    position: absolute;
    top: 100px;
    bottom: 6%;
    left: 10%;
    right: 10%;
    background: rgba(30, 35, 55, 0.9);
    border: 3px solid rgba(80, 85, 115);
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 1);
    z-index: -1;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(25, 30, 45);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, rgba(120, 145, 170, 0.8), rgb(37, 69, 110), rgba(120, 145, 170, 0.8));
    border-image-slice: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #e8edf2;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-link {
    color: #b8c4d0;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #b8c4d0;
    transition: 0.3s;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main {
    padding: 0 12%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 0 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.hero-left {
    flex: 1.2;
}

.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
}

.hero-subtitle {
    font-size: 26px;
    color: #cbd8e5;
    font-weight: 400;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-indent: 30px;
    color: #e0e8f0;
}

.hero-right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.info-card-bottom {
    background: rgba(35, 42, 52, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(100, 125, 150, 0.3);
}

.info-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-card img {
    max-width: 100%;
    border-radius: 16px;
}

.achievements {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(25, 30, 38, 0.6);
    border-radius: 12px;
}

.achievement-item {
    margin: 4px 0;
    font-size: 16px;
    color: #e0e8f0;
}

.achievement-item b {
    color: #d4af5a;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    transition: 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(110, 168, 254, 0.8));
}

/* ===== СЕКЦИИ ===== */
.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.section-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.section-text {
    flex: 0 0 58%;
}

.section-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #e0e8f0;
}

.section-image {
    flex: 0 0 38%;
}

.section-image img {
    width: 100%;
    border-radius: 12px;
    transition: 0.3s;
}

.section-image img:hover {
    transform: scale(1.02);
}

.section-left .section-text { order: 1; }
.section-left .section-image { order: 2; }
.section-right .section-text { order: 2; }
.section-right .section-image { order: 1; }

/* ===== РАЗДЕЛИТЕЛЬ ===== */
.separator {
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(100, 125, 150, 0.5) 0px, rgba(100, 125, 150, 0.5) 10px, transparent 10px, transparent 20px);
    margin: 40px auto;
}

/* ===== ССЫЛКИ ===== */
a {
    color: #6ea8fe;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

a:hover {
    color: #9ac4ff;
    text-decoration: underline;
}

/* ===== ФУТЕР ===== */
.footer {
    background: rgba(20, 25, 33, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 0 60px;
    margin-top: 60px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(100, 125, 150, 0.5) 15%, rgba(120, 145, 170, 0.8) 50%, rgba(100, 125, 150, 0.5) 85%, transparent);
    border-image-slice: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright,
.footer-tagline {
    color: #e0e8f0;
    font-size: 18px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .hero-container { gap: 40px; }
    .hero-title { font-size: 46px; }
    .hero-subtitle { font-size: 24px; }
    .hero-text p, .section-text p { font-size: 17px; }
    .section-container { gap: 30px; }
}

@media (max-width: 768px) {
    main { padding: 0 15px; }
    .nav-container { padding: 0 15px; }
    .footer-container { padding: 0 15px; }
    
    body::before {
        left: 5px;
        right: 5px;
        top: 90px;
        bottom: 5px;
        border-radius: 16px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(25, 30, 38, 0.98);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: 0.3s;
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }
    
    .nav-menu li { width: 100%; text-align: center; }
    .nav-link { display: block; padding: 12px 20px; font-size: 18px; }
    
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }
    
    .hero-container {
        flex-direction: column;
        padding: 100px 0 20px 0;
        gap: 40px;
    }
    
    .hero-left, .hero-right { width: 100%; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 20px; }
    .hero-text p, .section-text p { font-size: 16px; }
    
    .section-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-text, .section-image { flex: 0 0 100%; width: 100%; }
    .section-left .section-text, .section-right .section-text { order: 1; }
    .section-left .section-image, .section-right .section-image { order: 2; }
    
    .separator { width: 90%; margin: 25px auto; }
    .footer { padding: 40px 0 30px; margin-top: 30px; }
    .footer-container { flex-direction: column; text-align: center; gap: 15px; }
    .footer-copyright, .footer-tagline { font-size: 14px; }
}

@media (max-width: 480px) {
    .logo img { width: 32px; height: 32px; }
    .logo-text { font-size: 24px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }
    .hero-text p, .section-text p { font-size: 14px; text-indent: 20px; }
    .social-icon { width: 40px; height: 40px; }
    .separator { width: 95%; margin: 20px auto; }
    .footer { padding: 30px 0 20px; }
    .footer-copyright, .footer-tagline { font-size: 12px; }
    
    body::before {
        top: 80px;
        border-radius: 12px;
    }
}