/* CSS Custom Properties for Color Theme */
:root {
    --primary-green: #4CAF50;
    --light-green: #81C784;
    --pale-green: #E8F5E9;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --off-brown: #F4F2F0;
    /* Very subtle brownish gray */
    --text-dark: #212121;
    --text-light: #757575;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 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-dark);
    background-color: var(--white);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.nav-brand img {
    width: 40px;
    height: 40px;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.hero-icon img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(76, 175, 80, 0.3));
}

/* 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: 12px 30px;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

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

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* 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(--off-brown);
}

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

.section-title,
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--pale-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Download Section */
.download-content {
    text-align: center;
}

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

.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;
}

/* 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: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

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

.footer-section h4,
.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--light-green);
}

.footer-section a,
.footer-column a {
    color: var(--white) !important;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-section a:hover,
.footer-column a:hover,
.footer-section a:focus,
.footer-column a:focus {
    opacity: 1;
    color: var(--light-green) !important;
    text-decoration: underline;
}

/* Ensure visited links also have proper color */
.footer-section a:visited,
.footer-column a:visited {
    color: var(--white) !important;
    opacity: 0.8;
}

.footer-section a:visited:hover,
.footer-column a:visited:hover {
    color: var(--light-green) !important;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    opacity: 0.8;
}

/* Mobile menu toggle - hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
}

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

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-green);
        margin: 2px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
}

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

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

    .hero-icon img {
        width: 200px;
        height: 200px;
    }

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

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

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

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

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

/* 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;
    }
}