/* --- ОБЩИЕ СТИЛИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body.app-dev-page {
    background: #1a1a1a;
    color: white;
    text-align: center;
    overflow-x: hidden;
    position: relative;
}

/* --- ФОНОВЫЕ АНИМАЦИИ (ШАРИКИ) --- */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
}

/* --- НАВИГАЦИОННАЯ ПАНЕЛЬ --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(26, 26, 26, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Логотип */
.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Контейнер для ссылок */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Навигационные ссылки */
.navbar nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

/* Эффект при наведении */
.navbar nav a:hover {
    color: #ff9800;
}

/* --- ВЫПАДАЮЩЕЕ МЕНЮ --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 200px;
    padding: 10px 0;
    text-align: center;
    backdrop-filter: blur(8px);
}

/* Показываем меню при наведении */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Стили ссылок в меню */
.dropdown-menu a {
    display: block;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Подсветка при наведении */
.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 136, 0, 0.3), rgba(255, 102, 0, 0.6));
    color: #ff9800;
    border-radius: 6px;
}

/* --- ГЛАВНЫЙ БЛОК (Изображение) --- */
.hero-app {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 80px; /* Сдвигаем вниз, чтобы не перекрывалось navbar'ом */
}

.hero-app .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

/* --- НЕОНОВАЯ ЛИНИЯ --- */
@keyframes neonGlow {
    0% { box-shadow: 0 0 5px rgba(255, 122, 0, 0.8), 0 0 10px rgba(255, 60, 0, 0.9); }
    50% { box-shadow: 0 0 15px rgba(255, 122, 0, 1), 0 0 30px rgba(255, 60, 0, 1); }
    100% { box-shadow: 0 0 5px rgba(255, 122, 0, 0.8), 0 0 10px rgba(255, 60, 0, 0.9); }
}

.neon-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 60, 0, 1) 100%);
    border-radius: 5px;
    position: relative;
    margin-top: -5px; /* Поднимаем чуть выше */
    animation: neonGlow 1.5s infinite alternate;
}


/* --- ОСНОВНОЙ КОНТЕНТ --- */
.app-info {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
/* Контейнер для текста (выравниваем по стилю Web Dev) */
.app-info {
    max-width: 1200px; /* Центрирование и ограничение ширины */
    margin: 100px auto; /* Отступ сверху и снизу */
    padding: 0 40px; /* Отступ слева и справа */
    text-align: left; /* Выровнять весь текст влево */
}

/* Заголовки (как в Web Development) */
.app-info h2,
.app-info h3 {
    font-size: 2.8rem; /* Чуть больше для заголовков */
    margin-bottom: 25px;
    font-weight: bold;
    background: linear-gradient(to right, orange, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Обычный текст */
.app-info p {
    font-size: 1.3rem; /* Чуть больше текста */
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 25px;
}

/* Список (выравниваем по стилю Web Dev) */
.app-info ul {
    margin-top: 20px;
    padding-left: 40px;
}

.app-info ul li {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ff9800;
    list-style: disc;
}

/* --- ФОРМА "CONTACT US" --- */
.contact-form-section {
    max-width: 600px;
    margin: 150px auto; /* Добавляем больше отступа */
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}


/* Заголовок формы */
.contact-form-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ff7a18, #ffb700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- ФОРМА --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

textarea {
    resize: none;
    height: 120px;
}

/* --- КНОПКА --- */
.submit-btn {
    background: linear-gradient(90deg, #ff7a18, #ffb700);
    color: white;
    font-size: 1.2rem;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #ffb700, #ff7a18);
}

/* --- ФУТЕР --- */
footer {
    padding: 20px;
    background: #111;
    text-align: center;
    margin-top: 50px;
}

/* --- АНИМАЦИЯ ПОЯВЛЕНИЯ --- */
.app-info,
.contact-form-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.app-info.show,
.contact-form-section.show {
    opacity: 1;
    transform: translateY(0) !important;
}

/* --- MEDIA QUERIES (МОБИЛЬНАЯ ВЕРСИЯ) --- */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .app-info {
        padding: 30px;
        margin: 80px auto;
    }

    .contact-form-section {
        margin-top: 100px !important;
    }
}

