/* CSS Custom Properties for Color Theme */
:root {
    --primary: #c74634;
    --primary-hover: #a93a2b;
    --primary-light: rgba(199, 70, 52, 0.15);
    --bg-dark: #2a2725;
    --bg-card: #353230;
    --bg-card-hover: #3d3a38;
    --white: #FFFFFF;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --border-color: #454240;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4);

    /* Legacy variables for compatibility */
    --primary-green: #c74634;
    --light-green: #a93a2b;
    --pale-green: rgba(199, 70, 52, 0.15);
    --off-white: #2a2725;
    --off-brown: #353230;
    --text-dark: #f0f0f0;
    --text-light: #a0a0a0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 6px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

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

/* Header Styles */
header {
    background-color: #1f1d1b;
    border-bottom: 1px solid #3a3735;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.nav-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-brand span {
    color: var(--text-primary);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-center a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.nav-center a:hover {
    color: var(--text-primary);
}

.nav-right {
    flex: 0 0 auto;
}

.nav-right .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Legacy nav styles for other pages */
nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    color: var(--white) !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

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

/* Hero Section */
.hero {
    background-color: #e8e6e3;
    padding: 100px 0 60px;
    margin-top: 56px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
    font-weight: 600;
}

.hero-text > p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.85rem;
    color: #6a6a6a;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.hero .btn-outline {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.hero .btn-outline:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--pale-green) 0%, var(--white) 100%);
    padding: 150px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    line-height: 1.2;
}

.page-hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

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

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

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

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.btn-large {
    padding: 12px 32px;
    font-size: 1rem;
}

/* Sections */
.app-description,
.download-section,
.contact-options,
.contact-form-section,
.support-hours,
.faq-section,
.mission-section,
.features-highlight,
.team-section,
.cta-section {
    padding: 80px 0;
}

.app-description {
    background-color: var(--bg-card);
}

.features-section {
    padding: 60px 0;
    background-color: #dbd9d6;
}

.features-section .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.features-section .section-header h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.features-section .section-header p {
    font-size: 1rem;
    color: #4a4a4a;
}

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

.section-title,
.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0;
    clear: both;
    width: 100%;
}

.feature-card {
    background-color: #f0eeeb;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #ccc9c6;
    transition: border-color 0.2s;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary);
}

.feature-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #e0dedб;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #c74634 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem 1.25rem 1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(201, 44, 44, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 44, 44, 0.35);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    padding: 1rem 1.25rem 0 1.25rem;
    color: #1a1a1a;
    font-weight: 500;
}

.feature-card p {
    color: #4a4a4a;
    line-height: 1.5;
    display: block;
    opacity: 1;
    visibility: visible;
    font-size: 0.9rem;
    margin: 0;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

/* Download Section */
.download-section {
    background-color: #e8e6e3;
    padding: 60px 0;
}

/* Dark Download Section */
.download-section.download-dark {
    background-color: #1f1d1b;
}

.download-section.download-dark .download-box {
    background-color: #2a2725;
    border-color: #3a3735;
}

.download-section.download-dark .download-box h2 {
    color: #f0f0f0;
}

.download-section.download-dark .download-box > p {
    color: #a0a0a0;
}

.download-section.download-dark .download-details .platform {
    color: #f0f0f0;
}

.download-section.download-dark .download-details .requirements {
    color: #a0a0a0;
}

.download-section.download-dark .download-note {
    color: #a0a0a0;
}

.download-section.download-dark .download-note a {
    color: var(--primary);
}

.download-content {
    text-align: center;
}

.download-content p {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.download-box {
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
    border-radius: 6px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.download-box h2 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-box > p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.download-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.download-details .platform {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.download-details .requirements {
    font-size: 0.85rem;
    color: #6a6a6a;
}

.download-note {
    font-size: 0.85rem;
    color: #6a6a6a;
    margin: 0;
}

.download-note a {
    color: var(--primary);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-card {
    background-color: var(--white);
    border: 2px solid var(--pale-green);
    padding: 2rem;
    border-radius: 12px;
    /* max-width: 300px; */
    transition: all 0.3s;
}

.download-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow);
}

.download-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.system-requirements {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 1rem 0;
    text-align: left;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.contact-detail {
    margin-top: 1rem;
}

.contact-detail strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-detail a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Support Hours */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hours-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.hours-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hours-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--pale-green);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 1rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item[aria-expanded="true"] .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Light FAQ Section (for homepage) */
.faq-section.faq-light {
    background-color: #e8e6e3;
}

.faq-section.faq-light .section-header h2 {
    color: #1a1a1a;
}

.faq-section.faq-light .section-header p {
    color: #4a4a4a;
}

.faq-section.faq-light .faq-item {
    background-color: #f5f3f0;
    border-color: #ccc9c6;
}

.faq-section.faq-light .faq-question {
    color: #1a1a1a;
}

.faq-section.faq-light .faq-question:hover {
    background-color: #ebe9e6;
}

.faq-section.faq-light .faq-answer p {
    color: #4a4a4a;
}

/* FAQ Dark Theme */
.faq-section.faq-dark {
    background-color: #1a1a1a;
}

.faq-section.faq-dark .section-header h2 {
    color: #f0f0f0;
}

.faq-section.faq-dark .section-header p {
    color: #a0a0a0;
}

.faq-section.faq-dark .faq-item {
    background-color: #2a2a2a;
    border-color: #3a3a3a;
}

.faq-section.faq-dark .faq-question {
    color: #f0f0f0;
}

.faq-section.faq-dark .faq-question:hover {
    background-color: #333;
}

.faq-section.faq-dark .faq-answer p {
    color: #b0b0b0;
}

/* About Page Styles */
.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.mission-text {
    line-height: 1.8;
    color: var(--text-light);
}

.mission-text p {
    margin-bottom: 1.5rem;
}

.mission-values h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.features-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-detail {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-detail:hover {
    transform: translateY(-5px);
}

.feature-detail h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.team-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.commitment-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.commitment-item h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--pale-green) 0%, var(--white) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #1f1d1b;
    color: var(--text-secondary);
    padding: 40px 0 20px;
    text-align: center;
}

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

.footer-section h4,
.footer-column h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-section ul,
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section a,
.footer-column a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.2rem 0;
    font-size: 0.9rem;
}

.footer-section a:hover,
.footer-column a:hover,
.footer-section a:focus,
.footer-column a:focus {
    color: var(--text-primary) !important;
}

.footer-section a:visited,
.footer-column a:visited {
    color: var(--text-secondary) !important;
}

.footer-section a:visited:hover,
.footer-column a:visited:hover {
    color: var(--text-primary) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.85rem;
}

/* Mobile menu toggle - hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: all 0.2s;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-center,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1,
    .page-hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-image img {
        width: 160px;
        height: 160px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-section .section-header {
        text-align: center;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

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

    .features-detailed,
    .contact-grid,
    .hours-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .section-header h2 {
        font-size: 1.25rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Help Center Styles */

/* Help Search */
.help-search {
    max-width: 600px;
    margin: 2rem auto 3rem;
    position: relative;
}

.help-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--pale-green);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.help-search input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.help-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.help-search button:hover {
    background: var(--light-green);
}

.help-search button svg {
    color: var(--white);
}

/* Help Stats */
.help-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Quick Links */
.quick-links {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
    min-height: 200px;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-link-items span {
    font-size: 0.85rem;
    background-color: var(--pale-green);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

/* Getting Started Guides */
.getting-started {
    padding: 4rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.guide-icon {
    font-size: 2rem;
}

.guide-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.guide-category {
    font-size: 0.85rem;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.guide-read-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.guide-card h3 {
    margin: 1rem 0;
    color: var(--text-dark);
}

.guide-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.guide-steps {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.guide-steps li {
    margin-bottom: 0.5rem;
}

.code-example {
    background-color: var(--off-brown);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.guide-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: var(--light-green);
}

/* Enhanced FAQ Section */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--pale-green);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.faq-category-btn:hover {
    border-color: var(--light-green);
}

.faq-category-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--pale-green);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-answer {
    max-height: 1000px;
}

.faq-answer {
    padding: 0 1.5rem;
    border-top: 1px solid var(--pale-green);
}

.faq-answer p {
    padding: 1rem 0;
    line-height: 1.8;
}

.faq-answer ol,
.faq-answer ul {
    padding: 0 1.5rem 1rem;
    line-height: 1.8;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Troubleshooting Section */
.troubleshooting {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trouble-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.trouble-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.trouble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.trouble-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty.easy {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.difficulty.medium {
    background-color: #fff3e0;
    color: #f57c00;
}

.difficulty.hard {
    background-color: #ffebee;
    color: #c62828;
}

.trouble-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.trouble-solution h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.trouble-solution ol {
    padding-left: 1.5rem;
    color: var(--text-light);
}

.trouble-solution li {
    margin-bottom: 0.5rem;
}

/* Help CTA */
.help-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--pale-green) 0%, var(--white) 100%);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

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

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

/* Related Articles */
.related-articles {
    padding: 4rem 0;
}

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

.related-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.related-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.related-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-card a:hover {
    color: var(--light-green);
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero,
    .app-description,
    .download-section,
    .contact-options,
    .contact-form-section,
    .support-hours,
    .faq-section,
    .mission-section,
    .features-highlight,
    .team-section,
    .cta-section {
        padding: 60px 0;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .feature-card,
    .contact-card,
    .download-card,
    .hours-item,
    .feature-detail {
        padding: 1.5rem;
    }
}

/* Documentation Page Styles */

/* Documentation Search */
.doc-search {
    padding: 2rem 0;
    background-color: var(--off-white);
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--pale-green);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.search-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    color: var(--white);
}

.search-btn:hover {
    background: var(--light-green);
}

/* Documentation Main Content */
.doc-main {
    padding: 3rem 0;
    background-color: var(--white);
}

/* Tab Navigation */
.doc-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    border-bottom: 2px solid var(--pale-green);
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-green);
    background-color: var(--pale-green);
}

.tab-btn.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    background-color: var(--pale-green);
}

.tab-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Tab Content */
.tab-content {
    min-height: 600px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

/* User Guides Styles */
.guides-grid {
    display: grid;
    gap: 3rem;
}

.guide-category {
    background: var(--off-brown);
    border-radius: 12px;
    padding: 2rem;
}

.guide-category h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.guide-item h4 {
    margin-bottom: 0.5rem;
}

.guide-item h4 a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.guide-item h4 a:hover {
    color: var(--light-green);
}

.guide-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty.beginner {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.difficulty.intermediate {
    background-color: #fff3e0;
    color: #f57c00;
}

.difficulty.advanced {
    background-color: #ffebee;
    color: #c62828;
}

.read-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* API Reference Styles */
.api-content {
    max-width: 1000px;
    margin: 0 auto;
}

.api-section {
    margin-bottom: 3rem;
}

.api-section h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--pale-green);
    padding-bottom: 0.5rem;
}

.api-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.api-method {
    background: var(--white);
    border: 1px solid var(--pale-green);
    border-radius: 8px;
    overflow: hidden;
}

.method-name {
    background: var(--off-brown);
    padding: 1rem 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--pale-green);
}

.method-type {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
}

.method-type.get {
    background-color: #61affe;
}

.method-type.post {
    background-color: #49cc90;
}

.method-type.put {
    background-color: #fca130;
}

.method-type.delete {
    background-color: #f93e3e;
}

.method-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.method-details {
    padding: 1.5rem;
}

.method-details h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.param-table th,
.param-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--pale-green);
}

.param-table th {
    background: var(--off-brown);
    font-weight: 600;
    color: var(--text-dark);
}

.param-table tr:last-child td {
    border-bottom: none;
}

.param-table code {
    background: var(--pale-green);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Code Blocks */
.example,
.responses {
    margin: 1.5rem 0;
}

.example pre,
.responses pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Tutorials Styles */
.tutorials-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-section {
    margin-bottom: 4rem;
}

.tutorial-section h3 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 2px solid var(--pale-green);
    padding-bottom: 0.5rem;
}

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

.tutorial-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.tutorial-header {
    background: linear-gradient(135deg, var(--pale-green) 0%, var(--white) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--pale-green);
}

.tutorial-header h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.tutorial-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.duration {
    color: var(--primary-green);
    font-weight: 500;
}

.level {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tutorial-content {
    padding: 1.5rem;
}

.tutorial-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tutorial-steps,
.tutorial-prerequisites {
    margin-bottom: 1.5rem;
}

.tutorial-steps h5,
.tutorial-prerequisites h5 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tutorial-steps ul,
.tutorial-prerequisites ul {
    padding-left: 1.5rem;
    color: var(--text-light);
}

.tutorial-steps li,
.tutorial-prerequisites li {
    margin-bottom: 0.3rem;
}

.tutorial-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tutorial-link:hover {
    color: var(--light-green);
}

/* Quick Reference Styles */
.quick-ref-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ref-section {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.ref-section h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--pale-green);
    padding-bottom: 0.5rem;
}

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

.syntax-card {
    background: var(--off-brown);
    border-radius: 8px;
    overflow: hidden;
}

.syntax-card h4 {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.syntax-card pre {
    margin: 0;
    padding: 1rem;
    background: #2d2d2d;
    color: #f8f8f2;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

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

.shortcut-category {
    background: var(--white);
    border: 1px solid var(--pale-green);
    border-radius: 8px;
    padding: 1.5rem;
}

.shortcut-category h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.shortcut-table {
    width: 100%;
    border-collapse: collapse;
}

.shortcut-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--pale-green);
}

.shortcut-table td:first-child {
    padding-right: 1rem;
    white-space: nowrap;
}

.shortcut-table tr:last-child td {
    border-bottom: none;
}

kbd {
    background: var(--off-brown);
    border: 1px solid var(--pale-green);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Data Types Reference */
.data-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.data-type-category {
    background: var(--white);
    border: 1px solid var(--pale-green);
    border-radius: 8px;
    overflow: hidden;
}

.data-type-category h4 {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.data-type-table {
    width: 100%;
    border-collapse: collapse;
}

.data-type-table th,
.data-type-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--pale-green);
}

.data-type-table th {
    background: var(--off-brown);
    font-weight: 600;
    color: var(--text-dark);
}

.data-type-table code {
    background: var(--pale-green);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Connection Strings */
.connection-strings {
    display: grid;
    gap: 1rem;
}

.connection-string {
    background: var(--off-brown);
    border-radius: 8px;
    overflow: hidden;
}

.connection-string h4 {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.connection-string pre {
    margin: 0;
    padding: 1rem;
    background: #2d2d2d;
    color: #f8f8f2;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Documentation Stats (used in hero) */
.doc-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Search Highlight Styles */
.search-highlight {
    background-color: rgba(76, 175, 80, 0.1) !important;
    border: 2px solid var(--primary-green) !important;
    border-radius: 8px !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
}

.search-highlight.api-method {
    animation: pulse 2s infinite;
}

.search-highlight.tutorial-card {
    animation: pulse 2s infinite;
}

.search-highlight.guide-item {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.2);
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print-friendly styles for documentation */
/* Policy Pages Styling */
.policy-section {
    padding: 60px 0;
    background-color: var(--white);
}

.policy-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.policy-content:hover {
    box-shadow: var(--shadow-hover);
}

.policy-content h2 {
    color: var(--primary-green);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-content ul,
.policy-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-light);
}

.policy-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.policy-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.policy-content a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-content a:hover {
    color: var(--light-green);
    text-decoration: underline;
}

@media print {

    .doc-search,
    .tab-navigation,
    .quick-links,
    .cta-section,
    footer {
        display: none !important;
    }

    .doc-main {
        padding: 0;
    }

    .tab-pane {
        display: block !important;
    }

    .syntax-card,
    .api-method,
    .tutorial-card,
    .ref-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    pre {
        white-space: pre-wrap;
        word-break: break-all;
    }

    .search-highlight {
        background: transparent !important;
        border: 1px solid #666 !important;
        box-shadow: none !important;
        animation: none !important;
    }
}

/* ========================================
   NEW SECTIONS WITH REAL IMAGES
   ======================================== */

/* Supported Databases Section */
.databases-section {
    padding: 60px 0;
    background-color: #1f1d1b;
}

.databases-section .section-header h2 {
    color: var(--text-primary);
}

.databases-section .section-header p {
    color: var(--text-secondary);
}

.databases-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.database-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background-color: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.database-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.database-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.database-card .db-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
}

.database-card:hover .db-icon {
    stroke: var(--text-primary);
}

.database-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Screenshot Gallery Section */
.screenshots-section {
    padding: 80px 0;
    background-color: #e8e6e3;
}

.screenshots-section .section-header h2 {
    color: #1a1a1a;
}

.screenshots-section .section-header p {
    color: #4a4a4a;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 2rem;
}

.screenshot-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.screenshot-card.main {
    grid-row: span 2;
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-card.main img {
    min-height: 400px;
}

.screenshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Use Cases Section */
.use-cases-section {
    padding: 80px 0;
    background-color: #dbd9d6;
}

.use-cases-section .section-header h2 {
    color: #1a1a1a;
}

.use-cases-section .section-header p {
    color: #4a4a4a;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case-card {
    background-color: #f5f3f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ccc9c6;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.use-case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-image img {
    transform: scale(1.05);
}

.use-case-content {
    padding: 1.5rem;
}

.use-case-content h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.use-case-content p {
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #1f1d1b;
}

.testimonials-section .section-header h2 {
    color: var(--text-primary);
}

.testimonials-section .section-header p {
    color: var(--text-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.testimonial-content p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: #e8e6e3;
}

.how-it-works-section .section-header h2 {
    color: #1a1a1a;
}

.how-it-works-section .section-header p {
    color: #4a4a4a;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background-color: #f5f3f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ccc9c6;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(199, 70, 52, 0.3);
}

.step-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

.step-card h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 1.25rem 1.25rem 0.5rem;
    font-weight: 600;
}

.step-card p {
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 1.25rem 1.25rem;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background-color: #dbd9d6;
}

.comparison-section .section-header h2 {
    color: #1a1a1a;
}

.comparison-section .section-header p {
    color: #4a4a4a;
}

.comparison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
}

.comparison-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-table {
    background-color: #f5f3f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ccc9c6;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #ccc9c6;
}

.comparison-table th {
    background-color: #e8e6e3;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    font-size: 0.9rem;
}

.comparison-table td:first-child {
    color: #1a1a1a;
    font-weight: 500;
}

.comparison-table td.yes {
    color: #2e7d32;
    font-weight: 500;
}

.comparison-table td.no {
    color: #6a6a6a;
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .screenshot-card.main {
        grid-row: auto;
        grid-column: span 2;
    }

    .use-cases-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-content {
        grid-template-columns: 1fr;
    }

    .comparison-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .databases-grid {
        gap: 1.5rem;
    }

    .database-card {
        padding: 1rem 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-card.main {
        grid-column: auto;
    }

    .screenshot-card.main img {
        min-height: 250px;
    }

    .use-cases-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .use-case-image {
        height: 180px;
    }

    .step-image {
        height: 160px;
    }
}

/* Download Page Hero - Full-Width Background Image */
.hero-fullwidth {
    position: relative;
    padding: 100px 0 70px;
    margin-top: 0;
    overflow: hidden;
    text-align: center;
}

.hero-fullwidth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?w=1400&q=80') center/cover no-repeat;
    filter: brightness(0.35);
    z-index: 0;
}

.hero-fullwidth .container {
    position: relative;
    z-index: 1;
}

.hero-fullwidth h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-fullwidth .hero-subtitle {
    font-size: 1.15rem;
    color: #d0d0d0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-fullwidth .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-fullwidth .hero-meta {
    font-size: 0.85rem;
    color: #888;
}

.hero-fullwidth .btn-outline {
    color: #f0f0f0;
    border-color: #888;
}

.hero-fullwidth .btn-outline:hover {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

/* Docs Page Hero Background */
.docs-hero-bg::before {
    background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1400&q=80') center/cover no-repeat;
    filter: brightness(0.3);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

.trust-icon {
    font-size: 1rem;
}

/* Download Page Content Sections */
.dl-section-light {
    padding: 60px 0;
    background-color: #e8e6e3;
}

.dl-section-light h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dl-section-light p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dl-section-light ul,
.dl-section-light ol {
    color: #4a4a4a;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.dl-section-light li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dl-section-light strong {
    color: #1a1a1a;
}

.dl-section-light code {
    background: #dbd9d6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #1a1a1a;
}

.dl-section-alt {
    padding: 60px 0;
    background-color: #dbd9d6;
}

.dl-section-alt h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dl-section-alt p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dl-section-alt ul,
.dl-section-alt ol {
    color: #4a4a4a;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.dl-section-alt li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dl-section-alt strong {
    color: #1a1a1a;
}

.dl-section-alt code {
    background: #ccc9c6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #1a1a1a;
}

.dl-section-dark {
    padding: 60px 0;
    background-color: #1f1d1b;
}

.dl-section-dark h2 {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dl-section-dark p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dl-section-dark ul,
.dl-section-dark ol {
    color: #a0a0a0;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.dl-section-dark li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dl-section-dark strong {
    color: #f0f0f0;
}

.dl-section-dark code {
    background: #353230;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #f0f0f0;
}

.dl-section-dark .section-header h2 {
    color: #f0f0f0;
}

.dl-section-dark .section-header p,
.dl-section-dark .section-subtitle {
    color: #a0a0a0;
}

.dl-section-dark .faq-item {
    background-color: #353230;
    border: 1px solid #454240;
    box-shadow: none;
}

.dl-section-dark .faq-question {
    color: #f0f0f0;
}

.dl-section-dark .faq-question:hover {
    background-color: #3d3a38;
}

.dl-section-dark .faq-answer p {
    color: #a0a0a0;
}

.dl-section-dark .faq-answer code {
    background: #2a2725;
    color: #f0f0f0;
}

.dl-content-inner {
    max-width: 800px;
}

/* Two-column layout: text + image side by side */
.dl-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.dl-split.reverse {
    direction: rtl;
}

.dl-split.reverse > * {
    direction: ltr;
}

.dl-split-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dl-split-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dl-split-text ul,
.dl-split-text ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.dl-split-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dl-split-img {
    border-radius: 12px;
    overflow: hidden;
}

.dl-split-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.dl-section-light .dl-split-text h2 { color: #1a1a1a; }
.dl-section-light .dl-split-text p { color: #4a4a4a; }
.dl-section-light .dl-split-text ul,
.dl-section-light .dl-split-text ol { color: #4a4a4a; }
.dl-section-light .dl-split-text strong { color: #1a1a1a; }
.dl-section-light .dl-split-text code {
    background: #dbd9d6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #1a1a1a;
}
.dl-section-light .dl-split-img {
    border: 1px solid #ccc9c6;
}

.dl-section-dark .dl-split-text h2 { color: #f0f0f0; }
.dl-section-dark .dl-split-text p { color: #a0a0a0; }
.dl-section-dark .dl-split-text ul,
.dl-section-dark .dl-split-text ol { color: #a0a0a0; }
.dl-section-dark .dl-split-text strong { color: #f0f0f0; }
.dl-section-dark .dl-split-text code {
    background: #353230;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #f0f0f0;
}
.dl-section-dark .dl-split-img {
    border: 1px solid #454240;
}

@media (max-width: 768px) {
    .dl-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dl-split.reverse {
        direction: ltr;
    }

    .dl-split-img img {
        height: 220px;
    }
}

/* Download Options Grid */
.download-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-option-card {
    background: #f5f3f0;
    border: 2px solid #ccc9c6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.download-option-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.download-option-card.recommended {
    border-color: var(--primary);
    background: #fff;
}

.option-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-option-card h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.option-size {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.download-option-card p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.download-option-card .btn {
    width: 100%;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-dark:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Video Container */
.video-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.video-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.video-placeholder:hover img {
    filter: brightness(0.5);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button span {
    color: #fff;
    font-size: 2rem;
    margin-left: 5px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(199, 70, 52, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .download-options-grid {
        grid-template-columns: 1fr;
    }

    .video-placeholder img {
        height: 250px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button span {
        font-size: 1.5rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #1f1d1b;
    padding: 10px 0;
    margin-top: 56px;
    border-bottom: 1px solid #3a3735;
}

/* Light breadcrumb for pages with light hero */
.breadcrumb-light {
    background: #e8e6e3;
    border-bottom: 1px solid #ccc9c6;
}

.breadcrumb-light .breadcrumb-list li {
    color: #4a4a4a;
}

.breadcrumb-light .breadcrumb-list li:not(:last-child)::after {
    color: #999;
}

.breadcrumb-light .breadcrumb-list a {
    color: #4a4a4a;
}

.breadcrumb-light .breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-light .breadcrumb-list li[aria-current="page"] {
    color: #1a1a1a;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: #a0a0a0;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #666;
}

.breadcrumb-list a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list li[aria-current="page"] {
    color: #f0f0f0;
}

/* Download Meta Info (Checksum & Direct Link) */
.download-meta-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0eeeb;
    border-radius: 8px;
    border: 1px solid #ddd9d6;
}

.checksum-info,
.direct-link-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.direct-link-info {
    margin-bottom: 0;
}

.checksum-info strong,
.direct-link-info strong {
    color: #1a1a1a;
    font-size: 0.85rem;
}

.checksum-value {
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.75rem;
    color: #333;
    border: 1px solid #ccc;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.copy-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--primary-hover);
}

.copy-feedback {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 9999;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 56px;
    }

    .download-meta-info {
        padding: 1rem;
    }

    .checksum-value {
        font-size: 0.65rem;
        min-width: 100%;
    }

    .checksum-info,
    .direct-link-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.comparison-table thead th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ccc9c6;
}

.comparison-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ccc9c6;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: #2e7d32;
    font-weight: 700;
}

.comparison-table .cross {
    color: #999;
}

.dl-section-light .comparison-table thead th {
    color: #1a1a1a;
    background-color: #dbd9d6;
}

.dl-section-light .comparison-table tbody td {
    color: #4a4a4a;
    border-color: #ccc9c6;
}

.dl-section-dark .comparison-table thead th {
    color: #f0f0f0;
    background-color: #2a2725;
    border-color: #454240;
}

.dl-section-dark .comparison-table tbody td {
    color: #a0a0a0;
    border-color: #353230;
}

.dl-section-dark .comparison-table .check {
    color: #66bb6a;
}

/* Screenshots Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.screenshot-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc9c6;
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.screenshot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.screenshot-card figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.dl-section-light .screenshot-card {
    background-color: #f5f3f0;
}

.dl-section-light .screenshot-card figcaption {
    color: #1a1a1a;
}

.dl-section-dark .screenshot-card {
    background-color: #353230;
    border-color: #454240;
}

.dl-section-dark .screenshot-card figcaption {
    color: #f0f0f0;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.use-case-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #454240;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.use-case-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.dl-section-dark .use-case-card {
    background-color: #2a2725;
}

.dl-section-dark .use-case-card h3 {
    color: #f0f0f0;
}

.dl-section-dark .use-case-card p {
    color: #a0a0a0;
}

.dl-section-light .use-case-card {
    background-color: #f5f3f0;
    border-color: #ccc9c6;
}

.dl-section-light .use-case-card h3 {
    color: #1a1a1a;
}

.dl-section-light .use-case-card p {
    color: #4a4a4a;
}

/* Whats New List */
.whats-new-list {
    margin-top: 1.5rem;
}

.whats-new-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.whats-new-tag {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whats-new-tag.new {
    background-color: var(--primary);
    color: #fff;
}

.whats-new-tag.improved {
    background-color: #2e7d32;
    color: #fff;
}

.whats-new-tag.fix {
    background-color: #555;
    color: #fff;
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

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

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem;
    }
}

/* Light FAQ overrides */
.dl-section-light .faq-item {
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
    box-shadow: none;
}

.dl-section-light .faq-question {
    color: #1a1a1a;
}

.dl-section-light .faq-question:hover {
    background-color: #e8e6e3;
}

.dl-section-light .faq-answer p {
    color: #4a4a4a;
}

.dl-section-light .section-header h2 {
    color: #1a1a1a;
}

.dl-section-light .section-header p,
.dl-section-light .section-subtitle {
    color: #4a4a4a;
}

/* Database cards on light backgrounds */
.dl-section-light .database-card {
    background-color: #f5f3f0;
    border-color: #ccc9c6;
}

.dl-section-light .database-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.dl-section-light .database-card span {
    color: #4a4a4a;
}

@media (max-width: 768px) {
    .dl-section-light,
    .dl-section-dark,
    .dl-section-alt {
        padding: 40px 0;
    }
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.req-card {
    background: #2a2725;
    border: 1px solid #454240;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.req-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.req-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.req-card h3 {
    font-size: 0.95rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.req-card p {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Versions Table */
.versions-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
}

.versions-table {
    width: 100%;
    border-collapse: collapse;
}

.versions-table thead th {
    background: #2a2725;
    color: #f0f0f0;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #454240;
}

.versions-table tbody td {
    padding: 1rem;
    color: #a0a0a0;
    border-bottom: 1px solid #353230;
}

.versions-table tbody tr:hover {
    background: #2a2725;
}

.version-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.download-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.download-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .versions-table thead th,
    .versions-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* =====================================================
   Documentation Page Overrides - Light/Dark Theme Fix
   ===================================================== */

/* Doc Search - Light theme */
.doc-search {
    background-color: #e8e6e3;
}

.doc-search .search-input {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #ccc9c6;
}

.doc-search .search-input::placeholder {
    color: #6a6a6a;
}

.doc-search .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 70, 52, 0.1);
}

/* Doc Main - White with dark text */
.doc-main {
    background-color: #ffffff;
}

.doc-main h3 {
    color: #1a1a1a;
}

.doc-main p {
    color: #4a4a4a;
}

.doc-main .tab-btn {
    color: #4a4a4a;
}

.doc-main .tab-btn:hover {
    color: var(--primary);
    background-color: rgba(199, 70, 52, 0.1);
}

.doc-main .tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: rgba(199, 70, 52, 0.1);
}

.doc-main .guide-item {
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.doc-main .guide-item h4 a {
    color: #1a1a1a;
}

.doc-main .guide-item h4 a:hover {
    color: var(--primary);
}

.doc-main .guide-item p {
    color: #4a4a4a;
}

.doc-main .api-method {
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.doc-main .method-name {
    color: #1a1a1a;
}

.doc-main .method-description {
    color: #4a4a4a;
}

.doc-main .param-table th {
    background-color: #e8e6e3;
    color: #1a1a1a;
}

.doc-main .param-table td {
    color: #4a4a4a;
    border-color: #ccc9c6;
}

.doc-main .tutorial-card {
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
}

.doc-main .tutorial-card h4 {
    color: #1a1a1a;
}

.doc-main .tutorial-card p {
    color: #4a4a4a;
}

.doc-main .syntax-card {
    background-color: #1f1d1b;
    border: 1px solid #353230;
    border-radius: 8px;
    padding: 1.25rem;
}

.doc-main .syntax-card h4 {
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.doc-main .shortcut-table td {
    color: #4a4a4a;
}

.doc-main .shortcut-table kbd {
    background-color: #e8e6e3;
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc9c6;
    font-size: 0.85rem;
}

.doc-main .data-type-table th {
    background-color: #e8e6e3;
    color: #1a1a1a;
}

.doc-main .data-type-table td {
    color: #4a4a4a;
    border-color: #ccc9c6;
}

.doc-main .connection-string {
    background-color: #1f1d1b;
    border: 1px solid #353230;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.doc-main .connection-string h4 {
    color: #f0f0f0;
    margin-bottom: 0.75rem;
}

.doc-main .connection-string pre {
    margin: 0;
}

.doc-main .connection-string code {
    color: #a0a0a0;
}

/* Quick Links - Dark theme */
.quick-links {
    background-color: #1f1d1b;
}

.quick-links h2 {
    color: #f0f0f0;
}

.quick-links .quick-link-card {
    background-color: #2a2725;
    border: 1px solid #353230;
    border-radius: 8px;
    transition: transform 0.2s, border-color 0.2s;
}

.quick-links .quick-link-card:hover {
    border-color: var(--primary);
}

.quick-links .quick-link-card h4 {
    color: #f0f0f0;
}

.quick-links .quick-link-card p {
    color: #a0a0a0;
}

/* Page Hero for Docs - Light theme override */
.page-hero {
    background: #e8e6e3;
}

.page-hero-content h1 {
    color: #1a1a1a;
}

.page-hero-description {
    color: #4a4a4a;
}

.doc-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: #4a4a4a;
    font-size: 0.9rem;
}

/* Doc Subpage Hero with Image */
.doc-hero {
    background: #e8e6e3;
    padding: 60px 0;
}

.doc-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.doc-hero-text h1 {
    font-size: 2.25rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.doc-hero-text .lead {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.doc-hero-text p {
    color: #4a4a4a;
    line-height: 1.6;
}

.doc-hero-text a {
    color: var(--primary);
}

.doc-hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.doc-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .doc-hero {
        padding: 60px 0 40px;
    }

    .doc-hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doc-hero-text h1 {
        font-size: 1.75rem;
    }

    .doc-hero-image img {
        height: 220px;
    }
}

/* Documentation Cards Grid */
.docs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    background-color: #f5f3f0;
    border: 1px solid #ccc9c6;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.doc-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.doc-card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(199, 70, 52, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.doc-card-image {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #e8e6e3;
}

.doc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-card-image img {
    transform: scale(1.05);
}

.doc-card h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.doc-card p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.doc-card-meta {
    font-size: 0.85rem;
    color: #6a6a6a;
    margin-bottom: 1rem;
}

.doc-card-link {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.doc-card:hover .doc-card-link {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .docs-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .docs-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   404 Page Styles
   ===================================================== */
.error-404-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404-content {
    text-align: center;
}

.error-404-code {
    font-size: 6rem;
    margin-bottom: 0;
    opacity: 0.3;
}

.error-404-title {
    margin-top: 0;
}

.error-404-message {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 20px auto;
}

.error-404-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-links {
    margin-top: 50px;
}

.error-404-links p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.error-404-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.error-404-nav a {
    color: #8ab4f8;
    text-decoration: none;
}

.error-404-nav a:hover {
    text-decoration: underline;
}

/* =====================================================
   Docs Hero "What You'll Learn" Styles
   ===================================================== */
.hero-learn-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-learn-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: center;
}

.hero-learn-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-learn-list {
    list-style: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.hero-learn-list li {
    padding: 6px 0;
}

.hero-learn-list a {
    color: #8ab4f8;
    text-decoration: none;
}

.hero-learn-list a:hover {
    text-decoration: underline;
}

.hero-last-updated {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 25px;
}

@media (max-width: 576px) {
    .error-404-code {
        font-size: 4rem;
    }

    .hero-learn-columns {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
}

/* Help Page Specific Styles */

/* Dark "How It Works" section variant */
.how-it-works-dark {
    background-color: #1f1d1b;
}

.how-it-works-dark .section-header h2 {
    color: #f0f0f0;
}

.how-it-works-dark .section-header p {
    color: #a0a0a0;
}

.how-it-works-dark .step-card {
    background-color: #2a2725;
    border-color: #3a3735;
}

.how-it-works-dark .step-card h3 {
    color: #f0f0f0;
}

.how-it-works-dark .step-card p {
    color: #a0a0a0;
}

.how-it-works-dark .step-card strong {
    color: #f0f0f0;
}

.how-it-works-dark .step-card code {
    background: #1f1d1b;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Step card as link */
a.step-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact cards in help */
.help-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 2rem auto 0;
}

.help-contact-card {
    background: #f5f3f0;
    border: 1px solid #ccc9c6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.help-contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.help-contact-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.help-contact-card p {
    color: #4a4a4a;
    margin: 0;
}

.help-contact-card .email-link {
    color: var(--primary);
}

@media (max-width: 576px) {
    .help-contact-grid {
        grid-template-columns: 1fr;
    }
}