/* Moltbot Section Styles */

/* Hero Section */
.moltbot-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.moltbot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.moltbot-hero .hero-content {
    position: relative;
    z-index: 1;
}

.lobster-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #e94560;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.quick-install {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.install-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.install-code {
    font-family: 'Monaco', 'Menlo', monospace;
    color: #4ade80;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: block;
}

/* Stats Section */
.stats-section {
    background: var(--bg-secondary, #f8fafc);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #6366f1);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
    margin-top: 0.25rem;
}

/* Content Sections */
.content-section,
.blogs-section,
.categories-section,
.integrations-section,
.testimonials-section,
.creator-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--bg-secondary, #f8fafc);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary, #64748b);
    font-size: 1.1rem;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card, #fff);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border, #e2e8f0);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: #e94560;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary, #64748b);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Blogs Grid */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card, #fff);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border, #e2e8f0);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.blog-card-category {
    font-size: 0.8rem;
    color: #e94560;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-secondary, #64748b);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, #e2e8f0);
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-pill {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary, #1e293b);
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-pill:hover,
.category-pill.active {
    background: #e94560;
    color: #fff;
    border-color: #e94560;
}

.category-pill .count {
    background: rgba(0,0,0,0.1);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Integrations Grid */
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.integration-badge {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary, #1e293b);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card, #fff);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border, #e2e8f0);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #e94560;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Creator Section */
.creator-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: #fff;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.creator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.creator-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.creator-link {
    color: #4ade80;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* Blog Article Styles */
.blog-article {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
}

.breadcrumb a {
    color: var(--text-secondary, #64748b);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e94560;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-category {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary, #64748b);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

/* Article Body */
.article-body {
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary, #1e293b);
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.article-body code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

.article-body blockquote {
    border-left: 4px solid #e94560;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary, #64748b);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-body th,
.article-body td {
    border: 1px solid var(--border, #e2e8f0);
    padding: 0.75rem;
    text-align: left;
}

.article-body th {
    background: var(--bg-secondary, #f8fafc);
    font-weight: 600;
}

/* Article Footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
    margin: 2.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-secondary, #f8fafc);
    color: var(--text-secondary, #64748b);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-link {
    color: var(--text-secondary, #64748b);
    transition: color 0.2s;
}

.share-link:hover {
    color: #e94560;
}

/* Related Articles */
.related-articles {
    margin-bottom: 3rem;
}

.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.related-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.related-category {
    font-size: 0.75rem;
    color: #e94560;
    font-weight: 600;
    text-transform: uppercase;
}

.related-card h4 {
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.related-meta {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
}

.blog-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blogs List Page */
.blogs-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    color: #fff;
}

.blogs-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blogs-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.blogs-filters {
    background: var(--bg-secondary, #f8fafc);
    padding: 1.5rem 0;
    position: sticky;
    top: 70px;
    z-index: 10;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--text-secondary, #64748b);
}

.blogs-content {
    padding: 3rem 0;
}

.blogs-count {
    color: var(--text-secondary, #64748b);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background: #d63d56;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary, #1e293b);
    border: 2px solid var(--border, #e2e8f0);
}

.btn-outline:hover {
    border-color: #e94560;
    color: #e94560;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
}

[data-theme="dark"] .stats-section,
[data-theme="dark"] .content-section:nth-child(even) {
    background: var(--bg-secondary);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .related-card {
    background: var(--bg-card);
    border-color: var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .moltbot-hero {
        padding: 4rem 0 3rem;
    }
    
    .lobster-icon {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .blogs-hero h1 {
        font-size: 1.75rem;
    }
}
