/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #8b5cf6;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --success: #28a745;
    --danger: #dc3545;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: var(--dark-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}


/* Главный экран */
.hero {
    background: url('i.jpg') center/cover no-repeat;
    padding: 150px 20px;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 87, 135, 0.1) 0%, rgba(26, 77, 122, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 
                 0 0 20px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 
                 0 0 15px rgba(0, 0, 0, 0.7),
                 0 0 25px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Кнопки - стиль roblox */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: var(--text-light);
    box-shadow: 0 5px 25px rgba(99, 102, 241, 0.4) !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 25px rgba(99, 102, 241, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

/* Секции */
section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Возможности */
.features {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Скриншоты */
.screenshots {
    background: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
    column-gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    aspect-ratio: 16/9;
    min-height: 200px;
}

.screenshot-item:hover {
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

/* Плюсы и минусы */
.pros-cons {
    background: var(--light-bg);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pros, .cons {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pros h3 {
    color: var(--success);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cons h3 {
    color: var(--danger);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.pros li:last-child, .cons li:last-child {
    border-bottom: none;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 25px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Скачивание */
.download {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.download-content {
    color: var(--text-dark);
}

.download-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.download-content h2::after {
    display: none;
}

.download-title-white {
    color: var(--text-dark);
}

.download-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.download-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid rgba(99, 102, 241, 0.4);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.download-info {
    text-align: left;
    flex: 1;
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.download-includes {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.download-includes li {
    padding: 5px 0;
    font-size: 15px;
    color: #666;
}

.download-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

/* Обратная связь */
.contact {
    background: var(--light-bg);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    display: inline-block;
    margin: 0 auto;
}

.contact-form {
    text-align: center;
}

/* Футер */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    color: var(--text-light);
}

.footer-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
    opacity: 0.7;
}

.footer-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Анимации */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .close {
        top: 20px;
        right: 30px;
        font-size: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 20px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .btn-download {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .download-content h2 {
        font-size: 2rem;
    }

    .download-content p {
        font-size: 1rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }

    .download-card {
        padding: 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 40px;
    }
}

