/* ===== Общие настройки ===== */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0f0f0f;
    color: #fff;
    scroll-behavior: smooth;
}

/* ===== Хедер ===== */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.8);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
}

/* ===== Кнопки ===== */
.landing-btn,
.contact-btn,
.nav-links a.landing-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.landing-btn:hover,
.contact-btn:hover,
.nav-links a.landing-btn:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
}

.contact-btn {
    margin-top: 10px;
    transition: transform 0.2s ease, background 0.3s ease;
}

/* ===== Главный баннер ===== */
.landing-hero {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 50px;
    position: relative;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../media/vpn-illustration.png') no-repeat center center;
    background-size: cover;
    color: white;
    flex-wrap: wrap;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left, rgba(255,255,255,0.08), transparent 60%);
}

.landing-hero-text {
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.landing-hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.landing-hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* ===== Преимущества и секции ===== */
.landing-features-section,
.landing-posts-section {
    text-align: center;
    padding: 60px 20px;
}

.landing-features-section h2,
.landing-posts-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.landing-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.landing-feature {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.landing-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.landing-feature h3 {
    color: #fff;
    margin-bottom: 15px;
}

.landing-feature p {
    font-size: 16px;
    color: #ddd;
}

/* ===== Посты ===== */
.landing-posts {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-post {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    width: 280px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,255,255,0.05);
}

.landing-post img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.landing-post-content {
    padding: 15px;
}

.landing-post h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.landing-post p {
    font-size: 14px;
    color: #ccc;
}

.landing-post:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* ===== Футер ===== */
.landing-footer {
    text-align: center;
    padding: 20px;
    background: #141414;
    margin-top: auto;
    color: #fff;
}

/* ===== Гамбургер и навигация ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-links.open {
    transform: translateX(0);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}