* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background: #000; color: #fff; line-height: 1.6; }

/* Навигация */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(0,0,0,0.8); backdrop-filter: blur(15px); position: fixed; width: 100%; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo { font-size: 1.6rem; font-weight: 900; letter-spacing: -1px; text-transform: lowercase; }
.logo span { color: #00e5ff; font-weight: 300; }
.nav-links a { color: #fff; text-decoration: none; margin-right: 25px; font-size: 0.9rem; transition: 0.3s; opacity: 0.7; }
.nav-links a:hover { opacity: 1; color: #00e5ff; }

/* Кнопки */
.btn-login { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; padding: 10px 25px; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.btn-login:hover { background: #fff; color: #000; border-color: #fff; }

.btn-main { background: #00e5ff; color: #000; border: none; padding: 18px 45px; border-radius: 5px; cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: 0.4s; margin-top: 20px; }
.btn-main:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,229,255,0.2); }

/* Главный экран с картинкой */
.hero { 
    position: relative; 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    /* ФОНОВАЯ КАРТИНКА */
    background-image: url('https://images.unsplash.com/photo-1492691523567-61723c275df1?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Эффект параллакса (картинка зафиксирована) */
}

/* Затемнение картинки, чтобы текст читался */
.hero-overlay { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.9)); 
}

.hero-content { position: relative; z-index: 1; max-width: 850px; padding: 0 20px; }
.hero h1 { font-size: 4.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: #00e5ff; }
.hero p { font-size: 1.3rem; color: #ccc; margin-bottom: 35px; font-weight: 300; }

/* Модальное окно */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.modal-content { background: #111; border: 1px solid #333; margin: 10% auto; padding: 50px; width: 100%; max-width: 400px; border-radius: 15px; position: relative; }
.close { position: absolute; right: 20px; top: 15px; font-size: 25px; cursor: pointer; color: #555; }
.form-container input { width: 100%; padding: 15px; margin: 10px 0; background: #222; border: 1px solid #333; color: #fff; border-radius: 5px; }
.btn-submit { width: 100%; padding: 15px; background: #00e5ff; border: none; border-radius: 5px; font-weight: 700; cursor: pointer; margin-top: 10px; }
.toggle-text { margin-top: 20px; font-size: 0.85rem; color: #777; }
.toggle-text a { color: #00e5ff; text-decoration: none; }

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
}