/* Categories Manager Frontend Styles */

.cm-category {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--cm-text-color, #000);
}

.cm-category * {
    box-sizing: border-box;
}

/* Hero Section */
.cm-section-hero {
    background: linear-gradient(135deg, var(--cm-primary-color, #0066cc) 0%, var(--cm-secondary-color, #f0f4f8) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--cm-text-color, #000);
}

.cm-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cm-hero-content h1 {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.cm-hero-content p {
    font-size: 20px;
    margin: 0;
    opacity: 0.9;
}

.cm-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--cm-accent-color, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

/* Content Blocks */
.cm-blocks-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cm-block {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.cm-block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.cm-block-icon {
    width: 50px;
    height: 50px;
    background: var(--cm-secondary-color, #f0f4f8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-primary-color, #0066cc);
    font-size: 24px;
    flex-shrink: 0;
}

.cm-block-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--cm-text-color, #000);
}

.cm-block-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cm-text-color, #000);
}

.cm-block-content p {
    margin: 15px 0;
}

.cm-block-content ul,
.cm-block-content ol {
    margin: 15px 0 15px 20px;
    padding: 0;
}

.cm-block-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Features Grid */
.cm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cm-feature-item {
    background: var(--cm-secondary-color, #f0f4f8);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--cm-primary-color, #0066cc);
    transition: all 0.3s ease;
}

.cm-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cm-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--cm-primary-color, #0066cc);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.cm-feature-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--cm-text-color, #000);
}

.cm-feature-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Use Cases Grid */
.cm-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    background: var(--cm-secondary-color, #f0f4f8);
    padding: 30px;
    border-radius: 8px;
}

.cm-use-case-item {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.cm-use-case-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--cm-text-color, #000);
}

.cm-use-case-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* FAQ Section */
.cm-faq-list {
    max-width: 900px;
    margin: 30px auto;
}

.cm-faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.cm-faq-item:last-child {
    border-bottom: none;
}

.cm-faq-question {
    font-weight: 600;
    font-size: 16px;
    color: var(--cm-text-color, #000);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cm-faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cm-faq-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Pricing Table */
.cm-pricing-table {
    overflow-x: auto;
    margin-top: 30px;
}

.cm-pricing-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.cm-pricing-table thead {
    background: var(--cm-primary-color, #0066cc);
    color: white;
}

.cm-pricing-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.cm-pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.cm-pricing-table tbody tr:hover {
    background: var(--cm-secondary-color, #f0f4f8);
}

/* Testimonial */
.cm-testimonial {
    background: var(--cm-secondary-color, #f0f4f8);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--cm-primary-color, #0066cc);
    font-style: italic;
    margin: 30px 0;
}

.cm-testimonial-text {
    font-size: 16px;
    margin: 0 0 20px 0;
    color: var(--cm-text-color, #000);
    line-height: 1.6;
}

.cm-testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--cm-primary-color, #0066cc);
}

/* Call to Action */
.cm-cta {
    background: linear-gradient(135deg, var(--cm-primary-color, #0066cc) 0%, var(--cm-accent-color, #0066cc) 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.cm-cta h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.cm-cta p {
    margin: 0 0 25px 0;
    font-size: 16px;
    opacity: 0.95;
}

.cm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--cm-primary-color, #0066cc);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.cm-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.cm-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.cm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    background: #e0e0e0;
}

.cm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cm-gallery-item:hover img {
    transform: scale(1.05);
}

/* Top Picks Section */
.cm-top-picks {
    padding: 40px 0;
}

.cm-pick-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--cm-primary-color, #0066cc);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.cm-pick-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cm-pick-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--cm-text-color, #000);
}

.cm-pick-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--cm-primary-color, #0066cc);
    margin: 0 0 15px 0;
}

.cm-pick-description {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cm-pick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cm-pick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cm-pick-btn-primary {
    background: var(--cm-primary-color, #0066cc);
    color: white;
}

.cm-pick-btn-primary:hover {
    opacity: 0.9;
}

.cm-pick-btn-secondary {
    background: white;
    color: var(--cm-text-color, #000);
    border: 2px solid #ddd;
}

.cm-pick-btn-secondary:hover {
    border-color: var(--cm-primary-color, #0066cc);
    color: var(--cm-primary-color, #0066cc);
}

/* What to Look For Section */
.cm-checklist {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.cm-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--cm-secondary-color, #f0f4f8);
    border-radius: 6px;
    border: 1px solid #ddd;
}

.cm-checklist-icon {
    width: 24px;
    height: 24px;
    background: var(--cm-primary-color, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.cm-checklist-text {
    color: var(--cm-text-color, #000);
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .cm-hero-content h1 {
        font-size: 32px;
    }

    .cm-hero-content p {
        font-size: 16px;
    }

    .cm-block {
        padding: 20px;
    }

    .cm-features-grid {
        grid-template-columns: 1fr;
    }

    .cm-use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cm-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-cta {
        padding: 30px 20px;
    }

    .cm-cta h2 {
        font-size: 20px;
    }

    .cm-pick-actions {
        flex-direction: column;
    }

    .cm-pick-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cm-hero-content h1 {
        font-size: 24px;
    }

    .cm-gallery {
        grid-template-columns: 1fr;
    }
}
