/* GOTRS Website Styles */

/* Local Hack Nerd Font for ASCII art and box-drawing characters */
@font-face {
    font-family: "Hack Nerd Font";
    src: url("../fonts/HackNerdFont-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --background-color: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --header-height: 70px;
    --hero-bg-start: #f8fafc;
    --hero-bg-end: #e2e8f0;
    --tech-bg: #f8fafc;
    --feature-bg: #ffffff;
    --code-bg: #f1f5f9;
    --table-header-bg: #e2e8f0;
    --table-row-hover: #f1f5f9;
    --pre-bg: #1e293b;
    --pre-color: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --link-color: #2563eb;
    --link-hover-color: #1d4ed8;
    --link-visited-color: #4338ca;
}

[data-theme="dark"] {
    --primary-color: #3b82f6;
    --secondary-color: #94a3b8;
    --accent-color: #0ea5e9;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --background-color: #0f172a;
    --border-color: #334155;
    --success-color: #22c55e;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --hero-bg-start: #1e293b;
    --hero-bg-end: #334155;
    --tech-bg: #1e293b;
    --feature-bg: #1e293b;
    --code-bg: #334155;
    --table-header-bg: #1e293b;
    --table-row-hover: #334155;
    --pre-bg: #0f172a;
    --pre-color: #f1f5f9;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --link-color: #93c5fd;
    --link-hover-color: #bfdbfe;
    --link-visited-color: #a5b4fc;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

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

/* Header */
.site-header {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.logo-img {
    height: 32px;
    margin-right: 0.5rem;
}

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

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

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

.main-nav a.active {
    color: var(--primary-color);
    position: relative;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.theme-toggle:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Demo button should be green for visibility */
.btn-demo {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
    font-weight: 700;
}

.btn-demo:hover {
    background: #059669;
    color: white;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.github-icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--hero-bg-start) 0%,
        var(--hero-bg-end) 100%
    );
    transition: background 0.3s ease;
}

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

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-purple {
    background: #f3e8ff;
    color: #6b21a8;
}

[data-theme="dark"] .badge-green {
    background: #166534;
    color: #dcfce7;
}

[data-theme="dark"] .badge-blue {
    background: #1e40af;
    color: #dbeafe;
}

[data-theme="dark"] .badge-purple {
    background: #6b21a8;
    color: #f3e8ff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-visual {
    margin-top: 3rem;
}

.dashboard-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature-card {
    padding: 2rem;
    background: var(--feature-bg);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition:
        transform 0.2s,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 4rem 0;
    background: var(--tech-bg);
    transition: background-color 0.3s ease;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--feature-bg);
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.tech-logo {
    width: 48px;
    height: 48px;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* CTA Section Button Overrides */
.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1rem;
    flex: 1;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section ul a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

.sponsor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: #ea4aaa;
    color: white !important;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sponsor-link:hover {
    opacity: 1;
    background: #f472b6;
    transform: translateY(-1px);
}

.sponsor-link svg {
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Powered by GoatKit badge */
.powered-by-badge a {
    display: block;
    transition: opacity 0.2s ease;
}

.powered-by-badge a:hover {
    opacity: 0.8;
}

.powered-by-badge img {
    height: 56px;
    width: 290px;  /* Fixed width to prevent jiggle between light/dark variants */
    object-fit: contain;
    object-position: left center;
}

/* Default (dark theme): show dark badge, hide light */
.powered-by-badge .badge-light {
    display: none;
}

.powered-by-badge .badge-dark {
    display: block;
}

/* Light theme: show light badge, hide dark */
[data-theme="light"] .powered-by-badge .badge-light {
    display: block;
}

[data-theme="light"] .powered-by-badge .badge-dark {
    display: none;
}

.footer-legal {
    opacity: 0.8;
}

.footer-legal a {
    color: #93c5fd;
    text-decoration: underline;
}

.footer-legal a:hover {
    color: #bfdbfe;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Single Page Styles */
.single-page {
    padding: 2rem 0;
}

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

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-content a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.page-content a:hover {
    color: var(--link-hover-color);
}

.page-content a:visited {
    color: var(--link-visited-color);
}

.list-page {
    padding-bottom: 4rem;
}

.page-content ul,
.page-content ol {
    margin: 1rem 0 1rem 1.75rem;
    padding-left: 1.25rem;
    list-style-position: outside;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content ul ul,
.page-content ol ul,
.page-content ul ol,
.page-content ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.page-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.page-content hr {
    margin: 2.5rem 0;
    border: none;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.2));
}

.page-content code {
    background: var(--code-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-content pre {
    background: var(--pre-bg);
    color: var(--pre-color);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.page-content pre code {
    background: transparent;
    padding: 0;
}

/* Blog images */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0 0.5rem 0;
}

/* Image captions (italicized text immediately after images) */
.page-content img + em,
.page-content p > img + br + em,
.page-content p:has(> img) + p > em:only-child {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.page-list {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--feature-bg);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.page-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.page-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-list li {
    margin-bottom: 1.5rem;
}

.page-list li:last-child {
    margin-bottom: 0;
}

.page-list a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-list p {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Show hamburger on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile navigation */
    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background-color);
        padding: 2rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    /* Hide buttons on mobile when menu is closed, show in menu */
    .header-actions .btn {
        display: none;
    }

    .main-nav.active ~ .header-actions .btn,
    .header-content:has(.main-nav.active) .header-actions .btn {
        display: inline-flex;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* React Logo Theme Switching */
.react-logo-light,
.react-logo-dark {
    width: 48px;
    height: 48px;
    transition: opacity 0.3s ease;
}

/* Light theme: show light logo, hide dark logo */
[data-theme="light"] .react-logo-light,
:root .react-logo-light {
    display: block;
}

[data-theme="light"] .react-logo-dark,
:root .react-logo-dark {
    display: none;
}

/* Dark theme: show dark logo, hide light logo */
[data-theme="dark"] .react-logo-light {
    display: none;
}

[data-theme="dark"] .react-logo-dark {
    display: block;
}

/* GOTRS Logo Theme Switching */
.gotrs-logo-light,
.gotrs-logo-dark {
    height: 32px;
    margin-right: 0.5rem;
    transition: opacity 0.3s ease;
}

/* Light theme: show light logo, hide dark logo */
[data-theme="light"] .gotrs-logo-light,
:root .gotrs-logo-light {
    display: block;
}

[data-theme="light"] .gotrs-logo-dark,
:root .gotrs-logo-dark {
    display: none;
}

/* Dark theme: show dark logo, hide light logo */
[data-theme="dark"] .gotrs-logo-light {
    display: none;
}

[data-theme="dark"] .gotrs-logo-dark {
    display: block;
}

/* Comments Section */
.comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comments h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Tables */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

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

.page-content table th {
    font-weight: 600;
    background: var(--table-header-bg);
}

.page-content table tr:hover {
    background: var(--table-row-hover);
}

/* Fix for ASCII art and box-drawing characters */
.page-content pre code {
    font-family:
        "Hack Nerd Font", "JetBrains Mono", "Fira Code", "Source Code Pro",
        "Menlo", "Monaco", "Courier New", monospace;
    font-variant-ligatures: none;
    font-feature-settings:
        "liga" 0,
        "dlig" 0;
    letter-spacing: 0;
    word-spacing: 0;
    line-height: 100%;
}

/* ===========================================
   NEW MARKETING LANDING PAGE STYLES
   =========================================== */

/* Explainer Section - "What is a helpdesk?" */
.explainer-section {
    padding: 4rem 0;
    background: var(--background-color);
}

.section-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-image {
    margin-bottom: 1rem;
}

.workflow-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 0.5rem;
}

.placeholder-image {
    background: var(--tech-bg);
    border: 2px dashed var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.workflow-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.workflow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    align-self: center;
    margin-top: 2rem;
}

/* Audience Section - "Who is GOTRS for?" */
.audience-section {
    padding: 4rem 0;
    background: var(--tech-bg);
}

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

.audience-card {
    background: var(--feature-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.audience-icon svg {
    width: 48px;
    height: 48px;
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.audience-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: var(--background-color);
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--feature-bg);
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
}

.benefit-icon {
    flex-shrink: 0;
    color: var(--success-color);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.benefit-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Demo CTA Section */
.demo-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    text-align: center;
}

.demo-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.demo-cta-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Technical Details Collapsible Section */
.tech-details-section {
    padding: 3rem 0;
    background: var(--tech-bg);
}

.tech-details-collapsible {
    background: var(--feature-bg);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.tech-details-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
}

.tech-details-toggle::-webkit-details-marker {
    display: none;
}

.tech-details-toggle h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.toggle-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

details[open] .toggle-icon {
    transform: rotate(180deg);
}

.tech-details-content {
    padding: 0 2rem 2rem;
}

.tech-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.tech-features {
    margin: 2rem 0;
}

.tech-features ul {
    list-style: none;
    padding: 0;
}

.tech-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.tech-features li:last-child {
    border-bottom: none;
}

.tech-features strong {
    color: var(--text-color);
}

.tech-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .workflow-step {
        max-width: 100%;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-cta {
        flex-direction: column;
    }
    
    .tech-details-toggle {
        padding: 1rem 1.5rem;
    }
    
    .tech-details-content {
        padding: 0 1.5rem 1.5rem;
    }
}

/* ================================
   FEATURES PAGE
   ================================ */

.features-page {
    padding-top: 0;
}

.features-hero {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.features-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.features-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Persona Sections */
.persona-section {
    padding: 4rem 2rem;
}

.persona-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.persona-alt {
    background-color: var(--secondary-bg);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.persona-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.persona-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.persona-header h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-color);
}

.persona-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
    max-width: 700px;
}

/* Screenshot placeholder */
.persona-screenshot {
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    overflow: hidden;
}

.persona-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.screenshot-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.screenshot-caption {
    font-size: 0.9rem;
    font-style: italic;
}

/* Feature Cards Grid */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-cards-3col {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-card-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-card-icon.coming-soon {
    opacity: 0.5;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tech Specs Grid */
.tech-specs-section {
    padding: 4rem 2rem;
    background: var(--secondary-bg);
}

.tech-specs-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-specs-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tech-specs-section > .container > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-spec-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .tech-spec-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tech-spec-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-spec-icon svg {
    width: 100%;
    height: 100%;
}

.tech-spec-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.tech-spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-spec-card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.tech-spec-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.tech-spec-card li strong {
    color: var(--text-color);
}

/* Roadmap Section */
.roadmap-section {
    padding: 4rem 2rem;
}

.roadmap-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.roadmap-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .roadmap-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.roadmap-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.roadmap-card-icon svg {
    width: 100%;
    height: 100%;
}

.roadmap-card h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.roadmap-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.roadmap-cta {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.roadmap-cta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.roadmap-cta p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.roadmap-cta p a:hover {
    text-decoration: underline;
}

[data-theme="dark"] .roadmap-cta p a {
    color: #60a5fa;
}

[data-theme="dark"] .roadmap-cta p a:hover {
    color: #93c5fd;
}

/* Features Page Responsive */
@media (max-width: 1024px) {
    .feature-cards-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2rem;
    }

    .persona-section {
        padding: 3rem 1.5rem;
    }

    .persona-header {
        flex-direction: column;
        text-align: center;
    }

    .persona-subtitle {
        text-align: center;
    }

    .feature-cards,
    .feature-cards-3col {
        grid-template-columns: 1fr;
    }

    .tech-specs-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .roadmap-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ================================
   PAGE HERO SECTIONS (Reusable)
   ================================ */

.page-hero {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    padding: 3rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

.page-hero-blue {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
}

.page-hero-blue h1,
.page-hero-blue .page-description {
    color: white;
}

.page-hero-blue .page-description {
    opacity: 0.9;
}

/* ================================
   BLOG PAGE STYLES
   ================================ */

.blog-page {
    padding-bottom: 4rem;
}

.blog-hero {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

.blog-section {
    padding: 3rem 2rem;
}

.blog-section:nth-child(odd) {
    background: var(--background-color);
}

.blog-section:nth-child(even) {
    background: var(--tech-bg);
}

.blog-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reading-time::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.25rem;
}

.blog-card-meta .reading-time::before {
    display: none;
}

.blog-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-badge .count {
    background: var(--primary-color);
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.category-badge:hover .count {
    background: white;
    color: var(--primary-color);
}

/* Blog Post Single */
.blog-post {
    padding-bottom: 4rem;
}

.blog-post-hero {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.blog-post-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.9;
}

.blog-post-content {
    padding: 3rem 2rem;
    background: var(--background-color);
}

.blog-post-content .container {
    max-width: 800px;
}

/* ================================
   DOCS PAGE STYLES
   ================================ */

.docs-page {
    padding-bottom: 4rem;
}

.docs-hero {
    background: linear-gradient(135deg, #059669, #10b981);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.docs-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.docs-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.docs-nav-section {
    padding: 3rem 2rem;
    background: var(--background-color);
}

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

.docs-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .docs-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.docs-card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.docs-card-icon svg {
    width: 100%;
    height: 100%;
}

.docs-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.docs-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.docs-card h3 a:hover {
    color: var(--primary-color);
}

.docs-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ================================
   GET GOTRS PAGE STYLES
   ================================ */

.get-gotrs-page {
    padding-bottom: 4rem;
}

.get-gotrs-hero {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.get-gotrs-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.get-gotrs-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: white;
}

.get-gotrs-hero .hero-actions {
    margin-bottom: 0;
}

.deployment-section {
    padding: 3rem 2rem;
}

.deployment-section:nth-child(odd) {
    background: var(--background-color);
}

.deployment-section:nth-child(even) {
    background: var(--tech-bg);
}

.deployment-section .container {
    max-width: 900px;
}

.deployment-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.deployment-section h2 svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

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

.deployment-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deployment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.deployment-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.deployment-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.deployment-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ================================
   DEMO PAGE STYLES
   ================================ */

.demo-page {
    padding-bottom: 4rem;
}

.demo-hero {
    background: linear-gradient(135deg, var(--success-color), #059669);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.demo-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.demo-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.demo-section {
    padding: 3rem 2rem;
}

.demo-section:nth-child(odd) {
    background: var(--background-color);
}

.demo-section:nth-child(even) {
    background: var(--tech-bg);
}

.demo-section .container {
    max-width: 900px;
}

.demo-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-section h2 svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.demo-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.credential-card {
    background: var(--feature-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.credential-card.agent {
    border-color: var(--primary-color);
}

.credential-card.customer {
    border-color: var(--success-color);
}

.credential-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.credential-card-header svg {
    width: 32px;
    height: 32px;
}

.credential-card.agent .credential-card-header svg {
    color: var(--primary-color);
}

.credential-card.customer .credential-card-header svg {
    color: var(--success-color);
}

.credential-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.credential-details {
    text-align: left;
    margin-bottom: 1rem;
}

.credential-details p {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
}

.credential-details strong {
    color: var(--text-muted);
}

.credential-details code {
    background: var(--code-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}

.credential-card .btn {
    width: 100%;
    justify-content: center;
}

.demo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.demo-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--feature-bg);
    border-radius: 8px;
}

.demo-feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.demo-feature-item span {
    color: var(--text-color);
    font-size: 0.95rem;
}

.demo-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.demo-status-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.demo-status-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-status-column li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.demo-status-column li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.demo-status-column li svg.check {
    color: var(--success-color);
}

.demo-status-column li svg.progress {
    color: var(--warning-color);
}

/* ================================
   COMMUNITY PAGE STYLES
   ================================ */

.community-page {
    padding-bottom: 4rem;
}

.community-hero {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.community-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.community-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.community-section {
    padding: 3rem 2rem;
}

.community-section:nth-child(odd) {
    background: var(--background-color);
}

.community-section:nth-child(even) {
    background: var(--tech-bg);
}

.community-section .container {
    max-width: 900px;
}

.community-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.community-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.channel-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.channel-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.channel-card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.channel-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.channel-card p {
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.channel-card .btn {
    align-self: flex-start;
}

/* ================================
   SUPPORT PAGE STYLES
   ================================ */

.support-page {
    padding-bottom: 4rem;
}

.support-hero {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.support-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.support-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.support-section {
    padding: 3rem 2rem;
}

.support-section:nth-child(odd) {
    background: var(--background-color);
}

.support-section:nth-child(even) {
    background: var(--tech-bg);
}

.support-section .container {
    max-width: 900px;
}

.support-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.support-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.support-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.support-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ================================
   CONTRIBUTING PAGE STYLES
   ================================ */

.contributing-page {
    padding-bottom: 4rem;
}

.contributing-hero {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.contributing-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.contributing-hero .page-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.contributing-section {
    padding: 3rem 2rem;
}

.contributing-section:nth-child(odd) {
    background: var(--background-color);
}

.contributing-section:nth-child(even) {
    background: var(--tech-bg);
}

.contributing-section .container {
    max-width: 900px;
}

.contributing-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contribution-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contribution-card {
    background: var(--feature-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.contribution-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contribution-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contribution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contribution-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: var(--text-muted);
}

.contribution-card li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

/* ================================
   LEGAL PAGES (Privacy, Terms, Security)
   ================================ */

.legal-page {
    padding-bottom: 4rem;
}

.legal-hero {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    padding: 3rem 2rem;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

.legal-content {
    padding: 3rem 2rem;
    background: var(--background-color);
}

.legal-content .container {
    max-width: 800px;
}

/* ================================
   RESPONSIVE ADJUSTMENTS
   ================================ */

@media (max-width: 768px) {
    .page-hero h1,
    .blog-hero h1,
    .docs-hero h1,
    .get-gotrs-hero h1,
    .demo-hero h1,
    .community-hero h1,
    .support-hero h1,
    .contributing-hero h1,
    .legal-hero h1,
    .blog-post-hero h1 {
        font-size: 2rem;
    }

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

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

    .deployment-options {
        grid-template-columns: 1fr;
    }

    .demo-credentials {
        grid-template-columns: 1fr;
    }

    .demo-status-grid {
        grid-template-columns: 1fr;
    }

    .community-channels {
        grid-template-columns: 1fr;
    }

    .support-options {
        grid-template-columns: 1fr;
    }

    .contribution-types {
        grid-template-columns: 1fr;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Reduce section padding on mobile */
    .blog-section,
    .demo-section,
    .community-section,
    .support-section,
    .contributing-section,
    .deployment-section,
    .docs-nav-section {
        padding: 2rem 1rem;
    }

    /* Smaller hero padding on mobile */
    .page-hero,
    .blog-hero,
    .docs-hero,
    .get-gotrs-hero,
    .demo-hero,
    .community-hero,
    .support-hero,
    .contributing-hero,
    .legal-hero,
    .blog-post-hero {
        padding: 2rem 1rem;
    }

    /* Hero description sizing */
    .page-hero .page-description,
    .blog-hero .page-description,
    .docs-hero .page-description,
    .get-gotrs-hero .page-description,
    .demo-hero .page-description,
    .community-hero .page-description,
    .support-hero .page-description,
    .contributing-hero .page-description {
        font-size: 1rem;
    }

    /* Larger touch targets for buttons */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
    }

    /* Full-width buttons on mobile */
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer improvements */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ================================
   MOBILE-SPECIFIC ENHANCEMENTS
   ================================ */

/* Scrollable tables on mobile */
.page-content .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.page-content table {
    min-width: 500px;
}

@media (max-width: 600px) {
    .page-content table {
        font-size: 0.85rem;
    }

    .page-content table th,
    .page-content table td {
        padding: 0.5rem 0.75rem;
    }
}

/* Scrollable code blocks */
.page-content pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
    .page-content pre {
        font-size: 0.8rem;
        padding: 0.75rem;
    }

    .page-content code {
        font-size: 0.85em;
    }
}

/* ================================
   ACCESSIBILITY IMPROVEMENTS
   ================================ */

/* Smooth scrolling (respects user preferences) */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Better focus states */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.skip-to-content:focus {
    left: 0;
}

/* ================================
   EXTRA SMALL SCREENS (< 400px)
   ================================ */

@media (max-width: 400px) {
    .container {
        padding: 0 0.75rem;
    }

    .page-hero h1,
    .blog-hero h1,
    .docs-hero h1,
    .get-gotrs-hero h1,
    .demo-hero h1,
    .community-hero h1,
    .support-hero h1,
    .contributing-hero h1,
    .legal-hero h1,
    .blog-post-hero h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .blog-card,
    .docs-card,
    .feature-card,
    .channel-card,
    .support-card,
    .credential-card {
        padding: 1rem;
    }

    .blog-card h3,
    .docs-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
    }

    /* Stack category badges */
    .blog-categories-grid {
        flex-direction: column;
    }

    .category-badge {
        justify-content: space-between;
    }
}

/* ================================
   404 ERROR PAGE
   ================================ */

.error-page {
    min-height: calc(100vh - var(--header-height) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-suggestions {
    background: var(--feature-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.error-suggestions h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.error-suggestions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

@media (max-width: 600px) {
    .error-code {
        font-size: 5rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
}

/* ================================
   CODE COPY BUTTON
   ================================ */

.code-block-wrapper {
    position: relative;
}

.code-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.code-block-wrapper:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.code-copy-btn.copied {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.code-copy-btn svg {
    width: 14px;
    height: 14px;
}

/* ================================
   BREADCRUMBS
   ================================ */

.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--border-color);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumbs li:last-child span {
    color: var(--text-color);
    font-weight: 500;
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    /* Hide non-essential elements */
    .site-header,
    .site-footer,
    .back-to-top,
    .code-copy-btn,
    .theme-toggle,
    .hero-actions,
    .cta-section,
    .blog-post-nav,
    .error-actions,
    .breadcrumbs,
    .skip-to-content {
        display: none !important;
    }

    /* Reset backgrounds */
    body {
        background: white !important;
        color: black !important;
    }

    .page-hero,
    .blog-hero,
    .docs-hero,
    .blog-post-hero,
    .demo-hero,
    .community-hero,
    .support-hero,
    .contributing-hero {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
    }

    .page-hero h1,
    .blog-hero h1,
    .docs-hero h1,
    .blog-post-hero h1 {
        color: black !important;
    }

    .page-hero .page-description,
    .docs-hero .page-description {
        color: #333 !important;
    }

    /* Improve content readability */
    .page-content {
        max-width: 100% !important;
    }

    .page-content a {
        color: black !important;
        text-decoration: underline !important;
    }

    /* Show URLs after links */
    .page-content a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Code blocks */
    .page-content pre {
        background: #f5f5f5 !important;
        color: black !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }

    .page-content code {
        background: #f5f5f5 !important;
        color: black !important;
    }

    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }

    img, pre, blockquote {
        page-break-inside: avoid;
    }
}
