:root {
    /* Color Palette - Snapchat Inspired */
    --color-primary: #FFFC00;      /* Snapchat Yellow */
    --color-primary-dark: #E2E000; /* Darker Yellow */
    --color-primary-text: #000000; /* Text on Primary Yellow */
    --color-secondary: #00AEFF;    /* Snapchat Blue */
    --color-secondary-dark: #008BCC;
    --color-accent: #FF5A5F;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F3F4F6;
    --color-text: #0F172A;
    --color-text-muted: #64748B;
    --color-border: #E2E8F0;
    --color-error: #EF4444;
    --color-dark-bg: #000000;      /* Contrast dark */

    /* Shadows - softer and rounder */
    --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.04), 0 1px 4px rgba(15, 23, 42, 0.01);
    --shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
    --shadow-input: 0 2px 4px rgba(15, 23, 42, 0.03);

    /* Layout & Borders - Snapchat rounded bubbly theme */
    --radius-card: 20px;
    --radius-input: 12px;
    --radius-badge: 999px;
    --max-width: 1200px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 800; }
h2 { font-size: 1.875rem; font-weight: 700; border-bottom: 2px solid var(--color-bg-alt); padding-bottom: 8px; margin-top: 1.5rem; }
h3 { font-size: 1.375rem; font-weight: 600; }
small { font-size: 0.875rem; color: var(--color-text-muted); }

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--color-secondary-dark);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
}

/* Typography styles inside single posts */
.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.post-content p {
    margin-bottom: 1.25rem;
}
.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.post-content li {
    margin-bottom: 0.5rem;
}

/* Main Layout Wrapper */
.site-main-content {
    min-height: calc(100vh - 250px);
    padding: 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
}
.logo-icon {
    background-color: var(--color-primary);
    color: #000000;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(255, 252, 0, 0.4);
}
.logo-highlight {
    color: var(--color-secondary);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}
.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}
.site-navigation a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-navigation a:hover {
    color: var(--color-primary);
}
.site-navigation li {
    position: relative;
}
.site-navigation li.menu-item-has-children > a i {
    font-size: 0.75rem;
}
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}
.site-navigation li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu li {
    width: 100%;
}
.sub-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    width: 100%;
}
.sub-menu a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

/* Breadcrumbs */
.breadcrumb-wrapper {
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 20px;
}
.breadcrumb-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.breadcrumbs {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumbs a {
    color: var(--color-text-muted);
}
.breadcrumbs a:hover {
    color: var(--color-primary);
}
.breadcrumbs .sep {
    font-size: 0.75rem;
    color: var(--color-border);
}
.breadcrumbs .current {
    color: var(--color-text);
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at top, rgba(255, 252, 0, 0.12), transparent 70%);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-text) 50%, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Quick Tools Grid */
.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.quick-tool-pill {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.quick-tool-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}
.quick-tool-pill i {
    font-size: 1.5rem;
    color: var(--color-primary);
}
.quick-tool-pill span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Why Choose Us */
.section-title {
    text-align: center;
    margin: 80px 0 40px 0;
}
.section-title h2 {
    border-bottom: none;
    font-size: 2.25rem;
    margin-bottom: 8px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.feature-card {
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-hover);
}
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.75rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-card);
}
.feature-card h3 {
    margin-bottom: 12px;
}

/* Tool Grid (Main) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.tool-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}
.tool-card-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.tool-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 0.95rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-card);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-text);
    border: 2px solid #000000;
    box-shadow: 0 4px 0 #000000;
    transform: translateY(0);
    transition: all 0.15s ease-out;
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-primary-text);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000000;
}
.btn-secondary {
    background-color: var(--color-secondary);
    color: #FFFFFF;
    border: 2px solid #000000;
    box-shadow: 0 4px 0 #000000;
    transform: translateY(0);
    transition: all 0.15s ease-out;
}
.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    color: #FFFFFF;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000000;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.btn-outline:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-muted);
}
.btn-block {
    display: flex;
    width: 100%;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.step-card {
    text-align: center;
    position: relative;
    padding: 20px;
}
.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.15);
    line-height: 1;
    margin-bottom: 10px;
}
.step-card h3 {
    margin-bottom: 8px;
}

/* FAQ Accordion styling */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto 80px auto;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    margin-bottom: 16px;
    background-color: var(--color-bg);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.faq-question:hover {
    background-color: var(--color-bg-alt);
}
.faq-question i {
    transition: var(--transition);
    color: var(--color-primary);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--color-text-muted);
    border-top: 0 solid var(--color-border);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
    border-top-width: 1px;
}

/* Latest Blog Cards */
.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.post-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.post-card-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-alt);
}
.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.post-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 4px 12px;
    border-radius: var(--radius-badge);
    font-size: 0.75rem;
    font-weight: 600;
}
.post-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.post-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.post-card-title a {
    color: var(--color-text);
}
.post-card-title a:hover {
    color: var(--color-primary);
}
.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}
.post-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}
.post-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.post-card-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Footer CTA */
.footer-cta {
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-align: center;
    padding: 60px 20px;
    border-radius: var(--radius-card);
    margin-bottom: 80px;
}
.footer-cta h2 {
    color: var(--color-bg);
    border-bottom: none;
    font-size: 2.25rem;
    margin-bottom: 12px;
}
.footer-cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.footer-cta .btn {
    background-color: var(--color-bg);
    color: var(--color-primary);
}
.footer-cta .btn:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* Footer Section */
.site-footer {
    background-color: var(--color-dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.brand-col {
    grid-column: span 2;
}
@media (max-width: 768px) {
    .brand-col {
        grid-column: span 1;
    }
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-bg);
    margin-bottom: 16px;
}
.footer-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 440px;
}
.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-badge);
    font-size: 0.875rem;
    font-weight: 600;
}
.footer-col h3 {
    color: var(--color-bg);
    font-size: 1.15rem;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col a:hover {
    color: var(--color-bg);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 0.875rem;
}

/* Page Layouts with Sidebar */
.page-layout-sidebar {
    display: flex;
    gap: 40px;
}
.main-column-720 {
    width: 720px;
    flex-shrink: 0;
}
.sidebar-320 {
    width: 320px;
    flex-shrink: 0;
}
.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (max-width: 1100px) {
    .page-layout-sidebar {
        flex-direction: column;
    }
    .main-column-720, .sidebar-320 {
        width: 100%;
        flex-shrink: 1;
    }
    .sticky-sidebar {
        position: static;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.sidebar-widget h3 {
    font-size: 1.15rem;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.popular-tools-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.popular-tools-widget a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--color-text);
}
.popular-tools-widget a:hover {
    color: var(--color-primary);
}
.popular-tools-widget i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.recent-posts-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.recent-posts-widget li {
    font-size: 0.9375rem;
}
.recent-posts-widget a {
    color: var(--color-text);
    font-weight: 500;
    display: block;
    line-height: 1.4;
}
.recent-posts-widget a:hover {
    color: var(--color-primary);
}
.recent-posts-widget span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.categories-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--color-text);
    font-size: 0.9375rem;
}
.categories-widget a:hover {
    color: var(--color-primary);
}

/* Newsletter Widget */
.newsletter-widget form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Table of Contents Widget */
.toc-widget {
    background-color: var(--color-bg-alt);
}
.toc-list {
    list-style: none;
}
.toc-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.toc-list a {
    color: var(--color-text-muted);
    font-weight: 450;
}
.toc-list a:hover, .toc-list .active a {
    color: var(--color-primary);
    font-weight: 500;
}
.toc-list li.toc-depth-3 {
    padding-left: 12px;
}

/* Author Box and Bio Widget */
.author-box {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    gap: 20px;
    margin: 40px 0;
}
.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author-box-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.author-box-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
}
.author-box-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.author-box-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
}
.author-social-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}
.author-social-links a {
    color: var(--color-text-muted);
    font-size: 1.15rem;
}
.author-social-links a:hover {
    color: var(--color-primary);
}
.author-archive-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 4px;
}

/* Sidebar Author Bio Widget */
.author-bio-widget {
    text-align: center;
}
.author-bio-widget-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px auto;
}
.author-bio-widget-name {
    font-size: 1rem;
    font-weight: 600;
}
.author-bio-widget-title {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}
.author-bio-widget-desc {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 12px;
}
.author-bio-widget .author-social-links {
    justify-content: center;
}

/* Contextual Tool CTA Widget */
.contextual-tool-widget {
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-align: center;
    border: none;
}
.contextual-tool-widget h3 {
    color: var(--color-bg);
    border-bottom: none;
}
.contextual-tool-widget p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 18px;
}
.contextual-tool-widget .btn {
    background-color: var(--color-bg);
    color: var(--color-primary);
    border: none;
}
.contextual-tool-widget .btn:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* Single Post Page Meta Row */
.post-header {
    margin-bottom: 30px;
}
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.post-meta-row-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.post-meta-row-author {
    font-weight: 600;
    color: var(--color-text);
}
.post-featured-image {
    margin-bottom: 30px;
}
.post-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Single Post Comments Section */
.comments-area {
    margin-top: 50px;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}
.comments-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}
.comment-list {
    list-style: none;
    margin-bottom: 40px;
}
.comment-list .comment {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}
.comment-body {
    display: flex;
    gap: 16px;
}
.comment-meta {
    display: flex;
    flex-direction: column;
}
.comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.comment-author cite {
    font-style: normal;
    font-weight: 600;
}
.comment-metadata {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.comment-content {
    font-size: 0.95rem;
}
.comment-respond {
    background-color: var(--color-bg-alt);
    padding: 24px;
    border-radius: var(--radius-card);
}
.comment-reply-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-family: inherit;
    font-size: 0.95rem;
    min-height: 120px;
}
.comment-form-author, .comment-form-email {
    flex: 1;
}
.comment-fields-row {
    display: flex;
    gap: 16px;
}
@media (max-width: 600px) {
    .comment-fields-row {
        flex-direction: column;
    }
}

/* Related Posts block */
.related-posts-section {
    margin-top: 40px;
}
.related-posts-section h3 {
    margin-bottom: 20px;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    margin-top: 40px;
}
.pagination .page-numbers {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 500;
}
.pagination .page-numbers:hover, .pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

/* Mobile Nav responsiveness */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .site-navigation {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg);
        border-top: 1px solid var(--color-border);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
        overflow-y: auto;
    }
    .site-navigation.nav-active {
        transform: translateX(0);
    }
    .site-navigation ul {
        flex-direction: column;
        padding: 40px 20px;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }
    .site-navigation li {
        width: 100%;
    }
    .site-navigation a {
        font-size: 1.15rem;
        padding: 8px 0;
        width: 100%;
        justify-content: space-between;
    }
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--color-bg-alt);
        padding-left: 20px;
        margin-top: 8px;
    }
    .sub-menu.sub-menu-active {
        display: flex;
    }
}

/* General Static Page Styles */
.page-title {
    text-align: center;
    margin-bottom: 30px;
}
.static-page-content {
    max-width: 800px;
    margin: 0 auto;
}
.static-page-content p {
    margin-bottom: 16px;
}
.static-page-content h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}

/* Browser Tools Main UI styles */
.tool-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    padding: 32px;
}
.tool-title-section {
    text-align: center;
    margin-bottom: 32px;
}
.tool-title-section h1 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}
.tool-title-section p {
    color: var(--color-text-muted);
}

/* Drag Drop Area */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-card);
    padding: 48px 24px;
    text-align: center;
    background-color: var(--color-bg-alt);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--color-primary);
    background-color: rgba(37, 99, 235, 0.02);
}
.upload-icon {
    font-size: 3rem;
    color: var(--color-primary);
}
.upload-zone h3 {
    margin: 0;
}
.upload-zone p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.file-input {
    display: none;
}

/* Tool Board (Workspace) */
.tool-workspace {
    display: none; /* Shown dynamically via JS */
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-top: 32px;
}
@media (max-width: 850px) {
    .tool-workspace {
        grid-template-columns: 1fr;
    }
}
.workspace-preview {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 16px;
}
.workspace-sidebar {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}
.sidebar-section h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

/* Settings Controls */
.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.control-group label {
    font-size: 0.9rem;
    font-weight: 600;
}
.range-slider {
    width: 100%;
}
.preset-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.preset-btn {
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    padding: 10px;
    border-radius: var(--radius-input);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.preset-btn:hover, .preset-btn.active {
    border-color: var(--color-primary);
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--color-primary);
}

/* Color select options */
.color-options {
    display: flex;
    gap: 10px;
}
.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.color-btn.active {
    border-color: var(--color-primary);
    transform: scale(1.1);
}
.color-btn.active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--color-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.color-btn-white { background-color: #FFFFFF; }
.color-btn-blue { background-color: #3B82F6; }
.color-btn-grey { background-color: #E2E8F0; }
.color-btn-trans { background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0px; background-color: white; }

/* Before / After Slider Component */
.image-comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    border-radius: 8px;
    user-select: none;
}
.image-comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.comparison-after.checkered {
    background-image: linear-gradient(45deg, #cbd5e1 25%, transparent 25%), linear-gradient(-45deg, #cbd5e1 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #cbd5e1 75%), linear-gradient(-45deg, transparent 75%, #cbd5e1 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #ffffff;
}
.comparison-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--color-primary);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}
.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-size: 0.8rem;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    border-radius: var(--radius-card);
}
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Batch converter and compressor layout */
.batch-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.batch-item {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: justify;
    gap: 16px;
}
.batch-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}
.batch-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}
.batch-item-details {
    display: flex;
    flex-direction: column;
}
.batch-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.batch-item-sizes {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.batch-item-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-badge);
}
.status-pending { background-color: var(--color-bg-alt); color: var(--color-text-muted); }
.status-done { background-color: rgba(16, 185, 129, 0.1); color: var(--color-secondary); }
.status-processing { background-color: rgba(37, 99, 235, 0.1); color: var(--color-primary); }

.saving-badge {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-secondary-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-left: 6px;
}
.batch-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

/* Tool Intro Content (For SEO/AEO/GEO) */
.tool-intro-content {
    max-width: 800px;
    margin: 60px auto 0 auto;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}
.tool-intro-content h2 {
    font-size: 1.6rem;
    margin-top: 30px;
}
.tool-intro-content p {
    color: var(--color-text);
    margin-bottom: 16px;
}
.tool-intro-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.tool-intro-content th, .tool-intro-content td {
    border: 1px solid var(--color-border);
    padding: 12px;
    text-align: left;
}
.tool-intro-content th {
    background-color: var(--color-bg-alt);
    font-weight: 600;
}
