/* 
   Pomelli Guide - Modern Dark/Purple Theme 
   Based on Google Labs / DeepMind aesthetics
*/

:root {
    --primary: #8AB4F8;
    /* Google Blueish */
    --primary-glow: #2b7de9;
    --accent: #c084fc;
    /* Light Purple */
    --accent-dark: #7e22ce;
    /* Dark Purple */
    --bg-dark: #0F0518;
    /* Deep Purple Black */
    --bg-card: #1E122B;
    /* Slightly lighter purple/black */
    --bg-card-hover: #2D1B3E;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --gradient-hero: linear-gradient(135deg, #4c1d95 0%, #0F0518 100%);
    --gradient-text: linear-gradient(90deg, #e879f9, #818cf8);
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}

.btn-primary {
    background: linear-gradient(90deg, #9333ea, #d946ef);
    color: white;
    border: none;
}

.btn-white {
    background: white;
    color: var(--accent-dark);
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.badge {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.5);
    color: #e879f9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.badge-centered {
    display: table;
    margin: 0 auto 20px auto;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 5, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav a,
.dropbtn {
    text-decoration: none;
    color: var(--text-muted);
    /* Changed from --text-secondary to --text-muted */
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav a:hover,
.dropbtn:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.03);
}

.nav a.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    /* Indigo-50-ish */
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #9534eb;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 8px 0;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content a {
    color: var(--text-muted);
    /* Changed from --text-secondary to --text-muted */
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    border-radius: 0;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.03);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Section --- */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, rgba(15, 5, 24, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #bdaecf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.discord-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.discord-link:hover {
    color: var(--primary);
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* --- Topics Grid --- */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.topic-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.topic-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.topic-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Feature Cards (Why) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon-bg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-dark), #4c1d95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- Steps (How) --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    counter-reset: steps;
}

.step-card {
    background: #150a22;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--border-color);
}

.step-card::before {
    content: "";
    /* Glow effect possibility */
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(138, 180, 248, 0.5);
}

.step-card h3 {
    margin-top: 20px;
    /* Make room for number */
    margin-bottom: 10px;
}

/* --- CTA Section --- */
.cta-preview-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark), #2e1065 50%, var(--bg-dark));
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-content {
    flex: 1;
}

.cta-visual {
    flex: 1;
}

.email-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.email-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 300px;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f57;
}

.yellow {
    background: #febc2e;
}

.green {
    background: #28c840;
}

.skeleton-text {
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80%;
}

.skeleton-image {
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    font-family: monospace;
    color: var(--accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* --- Resources Grid --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: minmax(180px, auto);
}

.resource-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.span-2 {
    grid-column: span 2;
}

.highlight-card {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 1px solid #4338ca;
}

.highlight-card-blue {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    border: 1px solid #3b82f6;
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: white;
    padding: 20px 0;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    background: #05010a;
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: white;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.socials a {
    font-size: 1.2rem;
}

.mini-form {
    display: flex;
}

.mini-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px;
    color: white;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.mini-form button {
    background: var(--primary);
    border: none;
    color: black;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #ffffff0d;
    font-size: 0.85rem;
    color: #555;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .nav {
        display: none;
    }

    /* Mobile Menu would go here */
    .hero-title {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .article-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Article & Guide Styles --- */
.article-hero {
    padding: 140px 0 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #1e0b36 0%, var(--bg-dark) 100%);
}

.article-title {
    font-size: 3rem;
    max-width: 900px;
    margin: 10px auto 20px auto;
    background: linear-gradient(to right, #fff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-container {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.toc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.toc-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.toc-box ul {
    list-style: none;
}

.toc-box li {
    margin-bottom: 10px;
}

.toc-box a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.toc-box a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.banner-ad {
    background: linear-gradient(135deg, #4c1d95, #7e22ce);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.banner-ad h4 {
    margin-bottom: 5px;
}

.banner-ad p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Article Content */
.article-content {
    flex: 1;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.article-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px 0;
    color: white;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #e879f9;
}

.article-content p,
.article-content ul {
    margin-bottom: 20px;
}

.article-content ul {
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* Verdict Box */
.verdict-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.verdict-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.score {
    background: var(--accent);
    color: white;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.verdict-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.verdict-tags span {
    background: rgba(192, 132, 252, 0.2);
    color: #e879f9;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pc-box {
    padding: 25px;
    border-radius: 12px;
}

.pros {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pros h3 {
    color: #4ade80;
    margin-top: 0;
}

.pros ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li::before {
    content: "✓";
    color: #4ade80;
    margin-right: 8px;
    font-weight: bold;
}

.cons {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cons h3 {
    color: #f87171;
    margin-top: 0;
}

.cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cons li::before {
    content: "✕";
    color: #f87171;
    margin-right: 8px;
    font-weight: bold;
}

/* Prompt Box */
.prompt-box {
    background: #2e1065;
    border-left: 4px solid var(--accent);
    padding: 20px;
    font-style: italic;
    font-size: 1.1rem;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.cta-banner-large {
    background: var(--gradient-hero);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    border: 1px solid var(--border-color);
}

.cta-banner-large h2 {
    margin-bottom: 10px;
}

.cta-banner-large p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

/* --- Green Theme Variations (Case Study) --- */
.hero-green {
    background: linear-gradient(180deg, #064e3b 0%, var(--bg-dark) 100%);
}

.badge-green {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.info-box-green {
    background: rgba(6, 78, 59, 0.3);
    border-left: 4px solid #10b981;
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
}

.info-box-green h3 {
    color: #34d399;
    margin-top: 0;
}

.prompt-green {
    background: #064e3b;
    border-left-color: #34d399;
}

.ad-green {
    background: linear-gradient(135deg, #065f46, #059669);
}

.banner-green {
    background: linear-gradient(135deg, #064e3b, #047857);
    border-color: #10b981;
}

.pro-tip-box {
    background: linear-gradient(to right, rgba(234, 179, 8, 0.1), transparent);
    border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}

.pro-tip-box h3 {
    color: #facc15;
    margin-top: 0;
    font-size: 1.2rem;
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin: 30px 0;
}

/* --- Orange Theme Variations (Troubleshoot) --- */
.hero-orange {
    background: linear-gradient(180deg, #7c2d12 0%, var(--bg-dark) 100%);
}

.badge-orange {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: #fb923c;
}

.verified-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.verified-box h3 {
    color: #b45309;
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.verified-box ul {
    list-style: none;
    padding: 0;
}

.verified-box li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-weight: 500;
}

.verified-box li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.step-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.step-box ol {
    padding-left: 20px;
    color: var(--text-muted);
}

.step-box li {
    margin-bottom: 10px;
}

.alert-orange {
    background: rgba(234, 88, 12, 0.2);
    border: 1px solid #ea580c;
    color: #fdba74;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.ad-orange {
    background: linear-gradient(135deg, #c2410c, #ea580c);
}

.banner-orange {
    background: linear-gradient(135deg, #9a3412, #ea580c);
    border-color: #f97316;
}

/* --- Blog / Light Theme Variations --- */
body.theme-light {
    background-color: #f8fafc;
    /* Light Gray/White */
    color: #1e293b;
}

.header-pink {
    background: linear-gradient(90deg, #db2777 0%, #ec4899 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-pink {
    color: #db2777 !important;
}

.blog-hero {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
    color: white;
    padding: 140px 20px 120px 20px;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.pill-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.blog-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.blog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-container {
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-tags {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.tag-purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.tag-pink {
    background: #fce7f3;
    color: #be185d;
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-indigo {
    background: #e0e7ff;
    color: #4338ca;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #1e293b;
}

.blog-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #475569;
}

.avatar {
    width: 24px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #64748b;
}

.read-link {
    color: #db2777;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Newsletter Overlay Card */
.newsletter-card {
    background: #111827;
    /* Dark background as contrast or light as in image? Image has white card */
    /* Actually let's make it a featured card style provided in image - it looks like a white card with maybe an image or just content */
    /* Ref image: "Stay Sharp with Pomelli" card is white with some graphics. */
    background: white;
    border: 2px solid #fce7f3;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    grid-row: span 2;
    /* Make it tall if using grid-auto-flow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-header {
    font-family: 'Times New Roman', serif;
    /* Trying to match that serif font in image */
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-style: italic;
    color: #111827;
}

.newsletter-card h3 {
    margin-bottom: 10px;
}

.newsletter-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.small-text {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 10px;
}

.bottom-cta-pink {
    background: #db2777;
    color: white;
    padding: 80px 20px;
}

.bottom-cta-pink h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-dark {
    background: #1f2937;
    color: white;
}

/* --- Video / Tutorials Theme --- */
.header-video {
    background: linear-gradient(90deg, #be123c 0%, #e11d48 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-video {
    color: #be123c !important;
}

.video-hero {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    color: white;
    padding: 80px 0 100px 0;
    /* Wave shape bottom if desired, or simpler */
    border-radius: 0 0 40px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.badge-video {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ad-video {
    background: linear-gradient(135deg, #9f1239, #be123c);
}

.banner-video {
    background: linear-gradient(135deg, #881337, #be123c);
    border-color: #fb7185;
}

/* Video Player Styles */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2937, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be123c;
    font-size: 24px;
    padding-left: 4px;
    /* Optical center */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.2s;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

/* Video Card List */
.video-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.video-card-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.video-card-item:hover {
    transform: translateX(5px);
    border-color: #fda4af;
}

.video-thumb {
    width: 120px;
    height: 80px;
    background: #374151;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 4px;
}

.play-icon-small {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
}

.video-info h3 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #1f2937;
}

.video-info p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* --- Tools Directory Theme --- */
.header-tools {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-indigo {
    color: #4f46e5 !important;
}

.tools-hero {
    background: linear-gradient(135deg, #4338ca 0%, #581c87 100%);
    color: white;
    padding: 140px 0 120px 0;
    clip-path: ellipse(150% 100% at 50% 0%);
    margin-bottom: 30px;
}

.tools-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.tools-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Sticky Filter Bar */
.sticky-filter {
    position: sticky;
    top: 20px;
    z-index: 100;
    display: flex;
    justify-content: center;
    margin-top: -60px;
    margin-bottom: 50px;
}

.filter-bar {
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

.filter-btn.active {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Tools Grid */
.tools-container {
    max-width: 1000px;
}

.section-label {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: inline-block;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.tool-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #c7d2fe;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tool-info {
    flex-grow: 1;
}

.tool-info h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #1e293b;
}

.tool-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tool-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.mini-tag {
    font-size: 0.7rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #64748b;
}

.btn-tool {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.8rem;
    color: #4f46e5;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
}

.tool-card:hover .btn-tool {
    opacity: 1;
}

/* Newsletter Strip */
.newsletter-strip {
    background: linear-gradient(90deg, #1e1b4b, #312e81);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-content .emoji {
    font-size: 2rem;
}

.newsletter-content h3 {
    margin: 0;
    font-size: 1.2rem;
}

.newsletter-content p {
    margin: 0;
    color: #a5b4fc;
    font-size: 0.9rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    max-width: 400px;
}

.newsletter-form-inline input {
    flex-grow: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
}

.tools-submit-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.text-dark-mode {
    color: #1e293b;
    border-color: #cbd5e1;
}

.text-dark-mode:hover {
    background: #1e293b;
    color: white;
}

/* --- Video Tutorials Theme --- */
.header-video {
    background: linear-gradient(90deg, #be123c 0%, #fb7185 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-video {
    color: #be123c !important;
}

.video-hero {
    background: linear-gradient(135deg, #be123c 0%, #db2777 100%);
    color: white;
    padding: 140px 0 100px 0;
    /* Increased top padding from 80px to 140px */
    margin-bottom: 40px;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.theme-light {
    background-color: #f8fafc;
    /* Light background */
    color: #1e293b;
    /* Dark text */
}

.theme-light .article-content p {
    color: #334155;
}

.theme-light .intro-text {
    color: #1e293b;
    font-size: 1.2rem;
    line-height: 1.6;
}

.theme-light h2 {
    color: #000000 !important;
}

.badge-video {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

/* Video Components */
.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    background: linear-gradient(135deg, #1e293b, #334155);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be123c;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.video-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.video-card-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.video-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-thumb {
    height: 160px;
    background: #cbd5e1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be123c;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #1e293b;
}

.video-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.banner-video {
    background: linear-gradient(135deg, #be123c 0%, #db2777 100%);
    color: white;
}

.ad-video {
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.text-video-dark {
    color: #881337;
}

/* --- Comparison Theme --- */
.header-compare {
    background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-compare {
    color: #2563eb !important;
}

.compare-hero {
    background: linear-gradient(135deg, #1e40af 0%, #312e81 100%);
    color: white;
    padding: 140px 0 100px 0;
    margin-bottom: 40px;
    text-align: center;
}

.compare-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.compare-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Scorecards */
.scorecards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.score-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.score-card:hover {
    transform: translateY(-5px);
}

.score-card.winner {
    border: 2px solid #2563eb;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.score-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.score-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1e293b;
}

.score-num {
    font-weight: 800;
    font-size: 1.2rem;
    color: #2563eb;
}

.score-desc {
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 15px;
}

.score-features {
    list-style: none;
    padding: 0;
}

.score-features li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #334155;
}

/* Comparison Table */
.table-container {
    margin-bottom: 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
    color: #1e293b;
    font-size: 2rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.compare-table .feature-col {
    width: 25%;
    color: #1e293b;
    font-weight: 700;
}

.compare-table .pomelli-col {
    background: #eff6ff;
    border-left: 2px solid #2563eb;
    border-right: 2px solid #2563eb;
}

.compare-table th.pomelli-col {
    color: #2563eb;
    background: #dbeafe;
}

.highlight-cell {
    font-weight: 600;
    color: #1e40af;
}

/* Compare Details */
.compare-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.detail-block {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #94a3b8;
}

.detail-block h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #1e293b;
}

.detail-block p {
    color: #475569;
    line-height: 1.6;
}

.bottom-cta-compare {
    background: #1e293b;
    color: white;
    padding: 80px 20px;
}

.bottom-cta-compare h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- Pricing Theme --- */
.header-pricing {
    background: linear-gradient(90deg, #eab308 0%, #ca8a04 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gold {
    color: #ca8a04 !important;
}

.pricing-hero {
    background: linear-gradient(135deg, #eab308 0%, #854d0e 100%);
    color: white;
    padding: 140px 0 100px 0;
    margin-bottom: 40px;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.pricing-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pricing-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.badge-pricing {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 80px auto;
}

.pricing-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.featured-pricing {
    border: 2px solid #eab308;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.featured-pricing:hover {
    transform: scale(1.05) translateY(-5px);
}

.ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #eab308;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(234, 179, 8, 0.3);
}

.card-header-price h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 12px;
    color: #334155;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list li strong {
    font-weight: 600;
    color: #0f172a;
}

.bottom-cta-gold {
    background: #eab308;
    color: white;
    padding: 80px 20px;
}

.bottom-cta-gold h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white !important;
}

.text-dark {
    color: #1e293b !important;
}

.border-dark {
    border-color: #1e293b !important;
}

.border-dark:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header-roadmap {
    background: linear-gradient(90deg, #9333ea 0%, #db2777 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-roadmap {
    color: #9333ea !important;
}

.roadmap-hero {
    background: linear-gradient(135deg, #7e22ce 0%, #be185d 100%);
    color: white;
    padding: 140px 0 80px 0;
    margin-bottom: 50px;
}

.badge-roadmap-hero {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.roadmap-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.roadmap-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
}

/* Layout */
.roadmap-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .roadmap-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar-widget p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.input-sidebar {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.full-width {
    width: 100%;
}

.changelog-list {
    list-style: none;
    padding: 0;
}

.changelog-list li {
    margin-bottom: 10px;
}

.changelog-list a {
    color: #9333ea;
    text-decoration: none;
    font-weight: 500;
}

.changelog-list a:hover {
    text-decoration: underline;
}

/* Roadmap Content */
.roadmap-section {
    margin-bottom: 50px;
}

.status-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.live {
    background: #16a34a;
    box-shadow: 0 0 0 4px #dcfce7;
}

.status-dot.progress {
    background: #f59e0b;
    box-shadow: 0 0 0 4px #fef3c7;
}

.status-dot.planned {
    background: #64748b;
    box-shadow: 0 0 0 4px #f1f5f9;
}

/* Cards */
.roadmap-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.roadmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.live-card {
    border-left: 4px solid #16a34a;
}

.progress-card {
    border-left: 4px solid #f59e0b;
}

.planned-card {
    border-left: 4px solid #94a3b8;
    opacity: 0.8;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.roadmap-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tag-live {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-progress {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
}

.feature-list li {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #334155;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Progress Bar */
.progress-bar-container {
    margin-top: 15px;
}

.progress-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 5px;
    text-align: right;
}

.progress-track {
    background: #f1f5f9;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: #f59e0b;
    height: 100%;
}

/* FAQ on Pricing Page */
.header-pricing~.article-container .faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.header-pricing~.article-container .faq-question {
    color: #1e293b !important;
}

.header-pricing~.article-container .faq-answer p {
    color: #334155 !important;
}

/* --- Article / Legal Pages Styling --- */
/* --- Layout Helpers --- */
.article-container {
    margin: 120px auto 60px auto;
    padding: 0 20px;
    width: 100%;
}

.article-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.article-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    max-width: 1200px;
    /* Ensure wide enough for side-by-side */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        /* Or move to bottom/top if preferred, usually hide TOC on mobile */
    }
}

/* --- Sidebar Styling --- */
.sidebar {
    position: sticky;
    top: 100px;
    /* Height of header + padding */
    height: fit-content;
}

.toc-box {
    background: #170d24;
    /* Darker purple/black background */
    border: 1px solid rgba(139, 92, 246, 0.3);
    /* Purple border */
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toc-box h3 {
    font-size: 1.1rem;
    color: #c084fc;
    /* Accent purple */
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.toc-box ul {
    list-style: none;
    padding: 0;
}

.toc-box li {
    margin-bottom: 12px;
}

.toc-box a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block;
}

.toc-box a:hover {
    color: white;
    transform: translateX(5px);
}

.banner-ad {
    background: linear-gradient(135deg, #7e22ce, #9333ea);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 20px rgba(126, 34, 206, 0.3);
}

.banner-ad h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.banner-ad p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* --- Legal Content Styles --- */
.article-narrow h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-container .lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.article-container h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: white;
}

.article-container h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

.article-container p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-container ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-container li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.article-container li::marker {
    color: var(--accent);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 40px 0;
    border: none;
}