/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'PTSans', Arial, sans-serif;
    background: #f7fafc;
    color: #2d3748;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 40px;
}
.nav-logo-text {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
}
.nav-link:hover {
    color: #f6ad55;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}
.nav-dropdown-link {
    display: block;
    padding: 8px 15px;
    color: #4a5568;
    text-decoration: none;
}
.nav-dropdown-link:hover {
    background: #f7fafc;
}
.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #4a5568;
    cursor: pointer;
}
.nav-mobile-menu {
    display: none;
    background: #fff;
    padding: 15px;
}
.nav-mobile-menu.active {
    display: block;
}
.nav-mobile-link {
    display: block;
    padding: 10px 0;
    color: #4a5568;
    text-decoration: none;
    font-size: 16px;
}
.nav-mobile-link:hover {
    color: #f6ad55;
}
.nav-mobile-dropdown {
    margin: 10px 0;
}
.nav-mobile-submenu {
    display: none;
    padding-left: 20px;
}
.nav-mobile-submenu.active {
    display: block;
}
.nav-mobile-sublink {
    display: block;
    padding: 8px 0;
    color: #718096;
    text-decoration: none;
}
.nav-mobile-sublink:hover {
    color: #f6ad55;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffcd00 0%, #ff5e00 100%);
    color: #fff;
    padding: 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-text {
    font-size: 20px;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #fff;
    color: #f6ad55;
    font-weight: bold;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-btn i {
    margin-right: 8px;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.hero-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Content Section */
.content {
    padding: 40px 0;
}
.content-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.content-title .highlight {
    color: #f6ad55;
}
.content-text {
    font-size: 16px;
    margin: 20px 0;
}
.content-text a {
    color: #f6ad55;
    text-decoration: none;
}
.content-text a:hover {
    text-decoration: underline;
}
.content-image {
    text-align: center;
    margin: 20px 0;
}
.screenshot {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.screenshot:hover {
    transform: scale(1.02);
}
.ads {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
.ad-block {
    width: 100%;
    max-width: 350px;
}
.ad-block.ad-336x280 {
    max-width: 336px;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: #fff;
}
.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 40px;
    color: #f6ad55;
    margin-bottom: 15px;
}
.feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.feature-text {
    font-size: 16px;
    color: #718096;
}

/* Screenshots Section */
.screenshots {
    padding: 60px 0;
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: #fff;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.testimonial-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: #f6ad55;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}
.testimonial-name {
    font-size: 18px;
    font-weight: bold;
    margin-left: 15px;
}
.testimonial-rating {
    color: #f6ad55;
    margin-left: 15px;
}
.testimonial-text {
    font-size: 16px;
    color: #718096;
}

/* Download Section */
.download {
    padding: 60px 0;
}
.download-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.download-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f6ad55;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.download-btn i {
    font-size: 24px;
    margin-right: 10px;
}
.download-btn:hover {
    background: #ed8936;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #f6ad55;
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 18px;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: #fff;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7fafc;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.faq-question:hover {
    background: #edf2f7;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 15px 20px;
    font-size: 16px;
    color: #718096;
}
.faq-answer.active {
    display: block;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
}
.newsletter-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}
.newsletter-btn {
    padding: 12px 24px;
    background: #f6ad55;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.newsletter-btn:hover {
    background: #ed8936;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #fff;
    padding: 60px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.footer-logo-img {
    height: 32px;
}
.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}
.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.footer-text {
    font-size: 16px;
    color: #a0aec0;
}
.footer-links {
    list-style: none;
}
.footer-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}
.footer-link:hover {
    color: #f6ad55;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-social-link {
    color: #a0aec0;
    font-size: 24px;
}
.footer-social-link:hover {
    color: #f6ad55;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-mobile-btn {
        display: block;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-text {
        font-size: 18px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .content-title {
        font-size: 28px;
    }
    .section-title {
        font-size: 28px;
    }
    .download-title {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-text {
        font-size: 16px;
    }
    .content-title {
        font-size: 24px;
    }
    .section-title {
        font-size: 24px;
    }
    .ad-block {
        max-width: 100%;
    }
}
/* Widget Styles */
.widget {
    margin-top: 40px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2d3748;
}
.widget-title-link a {
    color: #f6ad55;
    text-decoration: none;
}
.widget-title-link a:hover {
    text-decoration: underline;
}
.widget-image {
    margin-bottom: 15px;
    text-align: center;
}
/* Существующие стили остаются, добавим или обновим только необходимые */
.content-image {
    margin: 30px 0; /* Отступы сверху и снизу от изображения */
    text-align: center;
}
.content-title {
    margin-bottom: 40px; /* Увеличенный отступ после заголовка */
}
.content-text {
    padding: 0 10px; /* Лёгкие внутренние отступы для текста */
}
.formatted-text p {
    margin-bottom: 25px; /* Отступ между параграфами внутри контента */
    line-height: 1.8; /* Улучшенная читаемость текста */
}
.widget {
    margin-top: 50px; /* Отступ перед родительским постом */
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.widget-image {
    margin-bottom: 20px; /* Отступ под изображением родительского поста */
    text-align: center;
}
.widget-title-link {
    margin-bottom: 15px; /* Отступ после заголовка ссылки */
}

/* Адаптивные корректировки */
@media (max-width: 768px) {
    .content-image img {
        max-width: 100%; /* Изображения занимают всю ширину на мобильных */
    }
    .content-title {
        margin-bottom: 30px; /* Уменьшаем отступ на мобильных */
    }
    .formatted-text p {
        margin-bottom: 20px; /* Слегка уменьшаем отступ между параграфами */
    }
    .widget {
        margin-top: 40px; /* Уменьшаем отступ перед виджетом */
    }
}
/* Существующие стили остаются, добавим или обновим только необходимые */
.form-group {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}
.form-group label {
    display: block;
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 10px;
    font-family: 'PTSans', Arial, sans-serif;
}
.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    max-width: 350px;
    height: 42px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd7d7;
    font-family: 'PTSans', Arial, sans-serif;
    font-size: 15px;
    color: #565656;
    border-radius: 4px;
    margin-bottom: 20px;
}
.form-textarea {
    height: 120px;
    resize: vertical;
}
.form-select option {
    background-color: #f9f9f9;
    color: #565656;
}
.btn.world-btn {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    height: 42px;
    background-color: #433336;
    color: #fff;
    border: 1px solid #ddd7d7;
    font-family: 'PTSans', Arial, sans-serif;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn.world-btn:hover {
    background-color: #5c454a;
}
.form-actions {
    margin-top: 20px;
    text-align: center;
}

/* Адаптивные корректировки */
@media (max-width: 768px) {
    .form-input,
    .form-select,
    .form-textarea,
    .btn.world-btn {
        max-width: 100%;
    }
    .form-group {
        padding: 10px 0;
    }
}