/* Base styles */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #3a5a80;
    --secondary-color: #6b8cae;
    --accent-color: #e67e22;
    --light-color: #f5f7fa;
    --dark-color: #2c3e50;
    --gray-light: #ecf0f1;
    --gray-medium: #bdc3c7;
    --gray-dark: #7f8c8d;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --code-bg: #f8f9fa;
    --code-color: #e83e8c;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--dark-color);
}

/* Header styles */
.site-header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
}

.main-nav .nav-links li {
    margin-left: 30px;
}

.main-nav .nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--primary-color);
}

.main-nav .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero section */
.hero {
    padding: 80px 0;
    background-color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-dark);
}

/* Guide overview section */
.guide-overview {
    padding: 80px 0;
    background-color: white;
}

.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-section {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.guide-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.section-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(74, 111, 165, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.guide-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.guide-section p {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--light-color);
}

/* Footer styles */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Guide page styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.guide-content {
    padding: 60px 0;
}

.guide-container {
    display: flex;
    gap: 40px;
}

.guide-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.guide-nav {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.guide-nav h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.guide-nav ul {
    list-style: none;
}

.guide-nav li {
    margin-bottom: 10px;
}

.guide-nav a {
    display: block;
    color: var(--dark-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.guide-nav a:hover,
.guide-nav a.active {
    background-color: var(--primary-color-light, #e7f0fa);
    color: var(--primary-dark);
    font-weight: 600;
}

.guide-main {
    flex: 1;
    min-width: 0;
}

.guide-section-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.guide-section-content:last-child {
    margin-bottom: 0;
}

.guide-section-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.guide-section-content h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-top: 35px;
    margin-bottom: 20px;
}

.guide-section-content h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.guide-section-content h5 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-top: 15px;
    margin-bottom: 10px;
}

.guide-section-content p {
    margin-bottom: 15px;
}

.guide-section-content ul,
.guide-section-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
    padding-left: 15px;
}

.guide-section-content li {
    margin-bottom: 8px;
}

.guide-section-content li p {
    margin-bottom: 5px;
}

.guide-section-content li ul,
.guide-section-content li ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

.guide-section-content pre {
    background-color: var(--code-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
    border: 1px solid var(--gray-light);
}

.guide-section-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    background-color: var(--code-bg);
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    border-radius: 3px;
    color: var(--code-color);
}

.guide-section-content pre code {
    background: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    border-radius: 0;
    color: inherit;
    white-space: pre;
}

/* Language-specific styling for Prism might be needed here */
.language-html, .language-css, .language-javascript {
    /* Add specific styles if needed */
}

.guide-section-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.guide-section-content table th,
.guide-section-content table td {
    border: 1px solid var(--gray-light);
    padding: 12px 15px;
    text-align: left;
}

.guide-section-content table th {
    background-color: var(--primary-color-light, #e7f0fa);
    color: var(--primary-dark);
    font-weight: 600;
}

.guide-section-content table tr:nth-child(even) {
    background-color: var(--light-color);
}

.guide-section-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: var(--gray-light);
    border-left: 5px solid var(--gray-medium);
    color: var(--gray-dark);
}

.guide-section-content blockquote p:last-child {
    margin-bottom: 0;
}

.guide-section-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px 0;
    box-shadow: var(--box-shadow);
}

/* Note, Warning, Tip Boxes */
.note, .warning, .tip {
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--border-radius);
    border-left-width: 5px;
    border-left-style: solid;
    position: relative;
}

.note {
    background-color: rgba(52, 152, 219, 0.1);
    border-left-color: #3498db;
}

.warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left-color: var(--warning-color);
}

.tip {
    background-color: rgba(46, 204, 113, 0.1);
    border-left-color: var(--success-color);
}

.note::before, .warning::before, .tip::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.1em;
}

.note::before {
    content: "\f05a";
    color: #3498db;
}

.warning::before {
    content: "\f071";
    color: var(--warning-color);
}

.tip::before {
    content: "\f0eb";
    color: var(--success-color);
}

.note h4, .warning h4, .tip h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.note h4 { color: #3498db; }
.warning h4 { color: var(--warning-color); }
.tip h4 { color: var(--success-color); }

/* App Demo Section */
.app-demo {
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    margin: 30px 0;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Code Tabs */
.code-tabs {
    margin: 25px 0;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-right: 5px;
    margin-bottom: -1px;
    font-weight: 500;
    color: var(--gray-dark);
    transition: var(--transition);
}

.tab-button:hover {
    background-color: var(--gray-medium);
    color: var(--dark-color);
}

.tab-button.active {
    background-color: white;
    border-color: var(--gray-medium);
    color: var(--primary-color);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 0;
    border: 1px solid var(--gray-medium);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.tab-content pre {
    margin: 0;
    border: none;
    border-radius: 0;
}

.tab-content.active {
    display: block;
}

/* Resources Page */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.resource-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.resource-links {
    list-style: none;
    padding-left: 0;
    margin-top: auto;
}

.resource-links li {
    margin-bottom: 8px;
}

.resource-links a {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resource-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.resource-links i {
    width: 16px;
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* Workflow Page Specific Styles */
.workflow-key-concept {
    background-color: rgba(230, 126, 34, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--border-radius);
}
.workflow-key-concept p {
    margin-top: 0;
    margin-bottom: 0;
}

.workflow-steps-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px 0;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.workflow-step-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.workflow-step-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}
.workflow-step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.workflow-feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px 0;
}

.workflow-feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* General comparison table styles already exist, adding workflow specific if needed */
.workflow-comparison-table {
   /* Add specific styles if default table isn't sufficient */
}

/* General tip styles already exist, adding workflow specific if needed */
.workflow-tip {
    /* This assumes the base .tip styles cover the inline ones */
}
.workflow-tip h4 {
    margin-top: 0;
}

.workflow-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.workflow-mini-card {
    border-radius: var(--border-radius);
    padding: 20px;
}
.workflow-mini-card h5 {
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}
.workflow-mini-card h5 i {
    width: 1.2em;
    text-align: center;
}
.workflow-mini-card ul {
    margin-left: 10px;
    padding-left: 10px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}
.workflow-mini-card li {
    margin-bottom: 5px;
}

.workflow-mini-card-ui { background-color: rgba(52, 152, 219, 0.1); }
.workflow-mini-card-ui h5 { color: #3498db; }
.workflow-mini-card-data { background-color: rgba(46, 204, 113, 0.1); }
.workflow-mini-card-data h5 { color: #2ecc71; }
.workflow-mini-card-core { background-color: rgba(155, 89, 182, 0.1); }
.workflow-mini-card-core h5 { color: #9b59b6; }
.workflow-mini-card-extra { background-color: rgba(230, 126, 34, 0.1); }
.workflow-mini-card-extra h5 { color: #e67e22; }
/* Add styles for calendar, categories, statistics if needed */
.workflow-mini-card-calendar { background-color: rgba(52, 152, 219, 0.1); }
.workflow-mini-card-calendar h5 { color: #3498db; }
.workflow-mini-card-categories { background-color: rgba(46, 204, 113, 0.1); }
.workflow-mini-card-categories h5 { color: #2ecc71; }
.workflow-mini-card-statistics { background-color: rgba(155, 89, 182, 0.1); }
.workflow-mini-card-statistics h5 { color: #9b59b6; }

/* Debugging Page Specific Styles */
.debugging-key-concept {
    background-color: rgba(230, 126, 34, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--border-radius);
}
.debugging-key-concept p {
    margin-top: 0;
    margin-bottom: 0;
}

.debugging-warning {
    /* Inherits base .warning styles */
    /* background-color: rgba(231, 76, 60, 0.1); */ /* Example if needed */
    /* border-left: 4px solid #e74c3c; */
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--border-radius);
}
.debugging-warning p {
    margin-top: 0;
}

.debugging-workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 15px;
    margin-top: 15px; /* Add space after the intro p */
}

.debugging-workflow-step p {
    margin: 0;
}
.debugging-workflow-step ul {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.code-example {
    /* Base class for styling code examples, can be shared */
    background-color: #f8f9fa; /* Similar to pre bg */
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 15px 0;
    border: 1px solid var(--gray-light);
}
.debugging-code-example {
    /* Specific debugging page code example styles if needed */
}
.debugging-code-example pre {
    margin: 0; /* Reset pre margin inside code-example */
    padding: 0;
    background: none;
    border: none;
    font-size: 0.9rem;
}

.debugging-cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

/* Print styles */
@media print {
    .site-header, .site-footer, .guide-sidebar, .back-to-top, .menu-toggle {
        display: none !important;
    }
    .guide-container {
        display: block;
    }
    .guide-main {
        width: 100%;
        margin: 0;
        padding: 0;
        flex: none;
    }
    .guide-section-content {
        box-shadow: none;
        border: 1px solid #ccc;
        padding: 20px;
    }
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
    a[href^=http]::after {
        content: " (" attr(href) ")";
        font-size: 90%;
        color: #555;
    }
    pre, code {
        white-space: pre-wrap !important;
        word-wrap: break-word;
        background-color: #f8f8f8 !important;
        border: 1px solid #eee !important;
    }
    /* Ensure specific workflow elements print reasonably */
    .workflow-steps, .workflow-feature-grid {
        display: block;
    }
    .workflow-step, .workflow-mini-card {
        page-break-inside: avoid;
        margin-bottom: 15px;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .guide-container {
        flex-direction: column;
        gap: 30px;
    }
    .guide-sidebar {
        flex: 0 0 auto;
        position: static;
        height: auto;
        overflow-y: visible;
        width: 100%;
    }
    .guide-main {
        width: 100%;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .cta-buttons {
        justify-content: center;
    }
    .guide-section-content pre {
        padding: 12px;
    }
    .workflow-feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        background-color: var(--dark-color);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--gray-light);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.3s ease-in-out;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .main-nav .nav-links li {
        margin-left: 0;
        text-align: center;
    }
    .main-nav .nav-links a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid var(--gray-light);
    }
    .main-nav .nav-links li:last-child a {
        border-bottom: none;
    }
    .main-nav .nav-links a.active::after {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .guide-main {
        width: 100%;
    }
    .guide-section-content {
        padding: 25px;
    }
    .guide-section-content h2 {
        font-size: 1.8rem;
    }
    .guide-section-content h3 {
        font-size: 1.4rem;
    }
    .guide-section-content h4 {
        font-size: 1.2rem;
    }
    .workflow-step {
        align-items: center;
    }
    .workflow-comparison-table table,
    .workflow-comparison-table thead,
    .workflow-comparison-table tbody,
    .workflow-comparison-table th,
    .workflow-comparison-table td,
    .workflow-comparison-table tr {
        display: block;
    }
    .workflow-comparison-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .workflow-comparison-table tr {
        border: 1px solid var(--gray-medium);
        margin-bottom: 10px;
    }
    .workflow-comparison-table td {
        border: none;
        border-bottom: 1px solid var(--gray-light);
        position: relative;
        padding-left: 50%;
        text-align: left;
    }
    .workflow-comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: var(--primary-dark);
    }
}

@media (max-width: 576px) {
    .container {
      padding: 0 15px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .guide-main {
       /* Adjustments if needed */
    }
     .guide-section-content {
        padding: 20px;
    }
    .guide-section-content pre {
       font-size: 0.85rem;
       padding: 10px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    .workflow-step {
       /* Further adjustments if needed */
    }
    .workflow-feature-grid {
        grid-template-columns: 1fr;
    }
     .workflow-mini-card {
        padding: 15px;
     }
}

/* Dark mode styles removed as they were commented out and potentially causing issues */
