/********** Main Page Styles ************************/

/* Main page container */
.ai-content-wizard-main-page {
    background: linear-gradient(135deg, #6ddb90 0%, #35a79c 100%);
    color: #000; /* Черный вместо белого */
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin-top: 16px;
    margin-right: 16px;
    font-family: 'Arial', sans-serif;
}

/* Header section with logo and main title */
.ai-content-wizard-header {
    text-align: center;
}

.ai-content-wizard-logo {
    max-width: 40%;
    margin: 0 auto 16px;
}

/* Headings */
.ai-content-wizard-main-page h1,
.ai-content-wizard-main-page h2 {
    color: #000; /* Черный вместо белого */
    font-size: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Уменьшена тень для черного текста */
}

/* Блок Pro версии */
.ai-content-wizard-upgrade {
    background-color: rgb(255 128 17 / 97%);
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    margin: 16px 0;
}

.ai-content-wizard-upgrade h2 {
    margin-bottom: 10px;
}

.ai-content-wizard-upgrade-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6ddb90 0%, #35a79c 100%);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ai-content-wizard-upgrade-button:hover {
    background-color: #e08e0b; /* Темный оранжевый при наведении */
    transform: scale(1.05);
	color: #000000;
}

/* Секция функций Pro версии */
.ai-content-wizard-pro-features {
    background-color: rgb(250 130 21);
    padding: 12px;
    border-radius: 4px;
    margin: 16px 0;
}

.ai-content-wizard-pro-features h2 {
    text-align: center;
    margin-bottom: 15px;
}

.ai-content-wizard-pro-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 иконки в ряд */
    gap: 16px;
}

.ai-content-wizard-pro-feature-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #000; /* Черный текст */
    transition: background-color 0.3s ease;
	font-size: 15px;
}

.ai-content-wizard-pro-feature-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.ai-content-wizard-pro-feature-item i {
    font-size: 25px;
    color: #111211;
    margin-right: 10px;
}

.ai-content-wizard-pro-more {
    text-align: center;
    font-style: italic;
    color: #000;
    margin-top: 15px;
}

/* Product Hunt */
.ai-content-wizard-product-hunt {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    flex-direction: column;
}

/* Text and lists */
.ai-content-wizard-main-page p,
.ai-content-wizard-main-page ul {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 4px;
    color: #000;
    font-size: 16px;
    line-height: 22px;
}

/* Columns for Features and Benefits */
.ai-content-wizard-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ai-content-wizard-features-container .ai-content-wizard-columns {
    grid-template-columns: repeat(3, 1fr);
}

.ai-content-wizard-benefits-container .ai-content-wizard-columns {
    grid-template-columns: repeat(2, 1fr);
}

/* List styles */
.ai-content-wizard-main-page ul {
    list-style: none;
    padding-left: 16px;
}

.ai-content-wizard-main-page li {
    position: relative;
    padding-left: 16px;
}

.ai-content-wizard-main-page li::before {
    content: '▶';
    color: #f39c12; /* Оранжевый для маркеров */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.7em;
}

/* Promotional block */
.ai-content-wizard-promo {
    background-color: #f39c12; /* Оранжевый вместо желтого */
    color: #000;
    padding: 12px;
    border-radius: 4px;
    margin-top: 16px;
enin: 16px;
    text-align: center;
}

.ai-content-wizard-promo-link {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
    font-size: 16px;
}

.ai-content-wizard-promo-link:hover {
    color: #333;
}

/* Contact and Documentation */
.ai-content-wizard-contact-documentation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px; /* Уменьшен отступ сверху */
    margin-bottom: 8px; /* Уменьшен отступ снизу */
}

.ai-content-wizard-contact,
.ai-content-wizard-documentation {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 4px;
    width: 48%;
}

.ai-content-wizard-contact-row {
    display: flex;
    justify-content: center;
    gap: 1px 10px;
    flex-wrap: wrap;
}

.ai-content-wizard-contact a,
.ai-content-wizard-documentation a {
    color: #f39c12; /* Оранжевый для ссылок */
    text-decoration: underline;
}

.ai-content-wizard-contact a:hover,
.ai-content-wizard-documentation a:hover {
    color: #e08e0b; /* Темный оранжевый при наведении */
}

/* Latest Blog Posts */
.ai-content-wizard-latest-blog-posts {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 4px;
    margin-top: 16px;
}

.ai-content-wizard-blog-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.ai-content-wizard-blog-post {
    flex-basis: calc(33% - 32px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
}

.ai-content-wizard-blog-post-content {
    display: flex;
    flex-direction: column;
}

.ai-content-wizard-blog-post-link {
    color: #f39c12; /* Оранжевый для ссылок */
    text-decoration: none;
}

.ai-content-wizard-blog-post-link:hover {
    color: #e08e0b;
}

.ai-content-wizard-blog-post-title {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #000; /* Черный для заголовков постов */
}

.ai-content-wizard-blog-post-date {
    font-size: 12px;
    color: #666; /* Серый для даты */
}

/* Get Started */
.ai-content-wizard-get-started {
    text-align: center;
    margin: 16px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-content-wizard-contact-row,
    .ai-content-wizard-contact-documentation,
    .ai-content-wizard-features-container .ai-content-wizard-columns,
    .ai-content-wizard-benefits-container .ai-content-wizard-columns {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .ai-content-wizard-pro-features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд на маленьких экранах */
    }

    .ai-content-wizard-contact,
    .ai-content-wizard-documentation {
        width: 100%;
    }

    .ai-content-wizard-blog-post {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .ai-content-wizard-pro-features-grid {
        grid-template-columns: 1fr; /* 1 в ряд на очень маленьких экранах */
    }
}