/* PrintHand Website - Clean Modern Design */

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    background-color: rgb(117, 156, 202);
    background-image:
        linear-gradient(to right, rgba(137, 180, 219, 0.75) 0%, rgba(124, 163, 209, 0.75) 25%, rgba(107, 146, 192, 0.75) 50%, rgba(124, 163, 209, 0.75) 75%, rgba(137, 180, 219, 0.75) 100%),
        url('../images/header-bg.png');
    background-position: center, center;
    background-size: cover, 120%;
    background-repeat: no-repeat, repeat;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo-text sup {
    font-size: 14px;
    font-weight: 400;
}

nav {
    display: flex;
    align-items: center;
    gap: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 10px;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    padding-bottom: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

nav a:hover,
nav a.active {
    border-bottom-color: #fff;
}

/* Language Switcher */
/* Account and Language Dropdowns */
.account-dropdown,
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown {
    margin-left: 10px;
}

/* Account Dropdown */
nav .account-toggle,
.account-toggle {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 10px;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    padding-bottom: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: top;
}

nav .account-toggle:hover,
.account-toggle:hover {
    border-bottom-color: #fff !important;
}

.account-toggle .user-name {
    font-weight: 600;
}

.account-toggle .dropdown-arrow {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
    margin-left: 0.15rem;
}

.account-dropdown:hover .dropdown-arrow,
.dropdown-menu.show ~ .account-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

/* Language Switcher */
.language-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background 0.3s;
    color: #fff;
}

.language-toggle:hover {
    background: rgba(255,255,255,0.15);
}

.language-toggle svg {
    width: 18px;
    height: 18px;
}

.language-toggle .lang-code {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Dropdown Menu (shared by both account and language) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #2270bc;
}

/* Language menu specific */
.language-menu {
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.language-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
}

.language-menu a.active {
    background: #f8f9fa;
    color: #2270bc;
}

.language-menu .lang-name {
    flex: 1;
}

.language-menu .checkmark {
    margin-left: 0.75rem;
    color: #2270bc;
    font-size: 1rem;
    font-weight: bold;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
}

/* Slogan Section */
.slogan-section {
    text-align: center;
    padding: 20px 20px 20px;
}

.slogan-section h1 {
    font-size: 36px;
    color: #2270bc;
    font-weight: 600;
    margin: 0;
}

/* Hero Image */
.hero-section {
    text-align: center;
    padding: 20px 0;
}

.hero-section img {
    max-width: 680px;
    width: 100%;
    height: auto;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    width: 340px;
}

.android-btn {
    background: #2270bc;
    box-shadow: 0 3px 8px rgba(34, 112, 188, 0.3);
}

.android-btn:hover {
    background: #1c5a9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 112, 188, 0.4);
}

.ios-btn {
    background: #2270bc;
    box-shadow: 0 3px 8px rgba(34, 112, 188, 0.3);
}

.ios-btn:hover {
    background: #1c5a9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 112, 188, 0.4);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.content-section h1 {
    font-size: 32px;
    color: #428dcf;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Feature Pods */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.feature {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: #2270bc;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-icon {
    font-size: 32px;
    line-height: 1;
}

.feature p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

/* Feature Links */
.feature-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.feature-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
}

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

.feature-link img {
    width: 180px;
    height: 135px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.feature-link span {
    display: block;
    color: #428dcf;
    font-size: 17px;
    font-weight: 500;
}

/* Install Page */
.platform-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.platform-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-nav-link:hover {
    background: #e8f4f8;
    color: #2270bc;
}

.platform-nav-link.active {
    background: #2270bc;
    color: #fff;
}

.install-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    scroll-margin-top: 80px;
    border-bottom: 2px solid #e0e0e0;
}

.install-section:first-child {
    margin-top: 30px;
}

.install-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.install-section h2 {
    font-size: 32px;
    color: #2270bc;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: left;
    font-weight: 600;
}

.install-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.install-description h3,
.install-download h3 {
    font-size: 18px;
    color: #2270bc;
    margin: 20px 0 12px;
    font-weight: 600;
}

.install-description h3:first-child,
.install-download h3:first-child {
    margin-top: 0;
}

.install-description ul {
    margin: 0 0 15px 20px;
    line-height: 1.6;
}

.install-description li {
    margin-bottom: 0;
}

.install-description p {
    margin-bottom: 15px;
}

.download-option {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.download-option h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px;
    font-weight: 600;
}

.download-option p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.install-note {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #2270bc;
    font-size: 14px;
    line-height: 1.6;
}

.install-note + .install-note {
    margin-top: 12px;
}

.install-note a {
    color: #2270bc;
    text-decoration: none;
    font-weight: 600;
}

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

/* Standard Content Styling - Used for FAQ, Help, and other single-column text pages */
.standard-content,
.faq-content {
    text-align: left;
}

.standard-content h3,
.faq-content h3 {
    font-size: 18px;
    color: #2270bc;
    margin: 20px 0 12px;
    font-weight: 600;
}

.standard-content h3:first-child,
.faq-content h3:first-child {
    margin-top: 0;
}

.standard-content p,
.faq-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.standard-content ul,
.faq-content ul {
    margin: 0 0 15px 20px;
    line-height: 1.6;
}

.standard-content li,
.faq-content li {
    margin-bottom: 0;
}

.standard-content a,
.faq-content a {
    color: #2270bc;
    text-decoration: none;
    font-weight: 600;
}

.standard-content a:hover,
.faq-content a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    text-align: left;
}

.legal-content h1 {
    font-size: 36px;
    color: #2270bc;
    margin-bottom: 30px;
    margin-top: 30px;
}

.legal-content h2 {
    font-size: 24px;
    color: #2270bc;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 18px;
    color: #2270bc;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.legal-content .highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #2270bc;
    padding: 20px;
    margin: 15px 0;
    border-radius: 4px;
}

.legal-content .highlight-box p {
    margin-bottom: 10px;
}

.legal-content .highlight-box p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    margin: 0 0 15px 20px;
    line-height: 1.6;
}

.legal-content li {
    margin-bottom: 0;
}

.legal-content a {
    color: #2270bc;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content em {
    color: #666;
    font-size: 14px;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #2270bc;
    margin-bottom: 1rem;
    margin-top: 30px;
}

.contact-header p {
    font-size: 1.1rem;
    color: #666;
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Forms - Unified Styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2270bc;
    box-shadow: 0 0 0 3px rgba(34, 112, 188, 0.1);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-text-fill-color: #333;
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.required {
    color: #2270bc;
}

.submit-btn {
    background: #2270bc;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(34, 112, 188, 0.25);
}

.submit-btn:hover {
    background: #1c5a9a;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn.sending {
    background: #1c5a9a;
    cursor: wait;
    position: relative;
    padding-right: 3rem;
}

.submit-btn.sending::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.success-message {
    display: none;
    background: #f7faf5;
    border-left: 4px solid #2270bc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.success-message.show {
    display: block;
}

.success-message h2 {
    color: #2270bc;
    margin-bottom: 1rem;
}

.success-message p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.error-message {
    background: #fff3e0;
    border-left: 4px solid #2270bc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f7faf5;
    border-radius: 12px;
    text-align: center;
}

.contact-info h3 {
    color: #2270bc;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #444;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #2270bc;
    font-weight: 600;
    text-decoration: none;
}

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

/* Screenshots Page */
.screenshots-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

.screenshots-header h1 {
    font-size: 2.5rem;
    color: #2270bc;
    margin-bottom: 1.5rem;
    margin-top: 30px;
}

.screenshots-header p {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

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

.screenshots-section h2 {
    font-size: 1.8rem;
    color: #2270bc;
    margin-bottom: 1.5rem;
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
}

.screenshots-grid.tablet-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.screenshot-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

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

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet and Mobile - Install page responsive layout */
@media screen and (max-width: 1024px) {
    .install-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .install-description,
    .install-download {
        width: 100% !important;
    }
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .content-section {
        padding: 0 20px;
    }

    .dashboard-container {
        padding: 0 20px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

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

    .install-section h2 {
        font-size: 1.5rem;
    }

    .install-description h3,
    .install-download h3 {
        font-size: 1.1rem;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .download-option {
        padding: 15px;
    }

    .screenshots-header h1 {
        font-size: 2rem;
    }

    .screenshots-section h2 {
        font-size: 1.5rem;
    }
}

/* Supported Printers Page */
.printers-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

.printers-header h1 {
    font-size: 2.5rem;
    color: #2270bc;
    margin-bottom: 1rem;
    margin-top: 30px;
}

.printers-intro {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Search and Filters */
.printers-controls {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.controls-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.search-form input:focus {
    outline: none;
    border-color: #2270bc;
}

.search-btn {
    padding: 0.6rem 1rem;
    background: #2270bc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #1565c0;
}

.breadcrumb {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.breadcrumb a {
    color: #2270bc;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Platform Filters */
.platform-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
}

.filter-btn:hover {
    border-color: #2270bc;
    background: #f0f7ff;
}

.filter-btn.active {
    background: #2270bc;
    color: white;
    border-color: #2270bc;
}

.filter-btn .count {
    font-size: 0.85rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Sections */
.brands-section h2,
.models-section h2 {
    font-size: 1.5rem;
    color: #2270bc;
    margin-bottom: 1rem;
}

/* Results Info */
.results-info {
    padding: 0.75rem 1rem;
    background: #e8f4ff;
    border-left: 4px solid #2270bc;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: #333;
}

/* Tables */
.brands-table,
.models-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    background: #2270bc;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.table-header > div {
    color: white;
    font-weight: 600;
}

.brands-table .table-header {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.models-table .table-header {
    grid-template-columns: 1.5fr 3fr 1fr 1fr 1fr;
}

.table-row {
    display: grid;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.brands-table .table-row {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.models-table .table-row {
    grid-template-columns: 1.5fr 3fr 1fr 1fr 1fr;
}

.table-row:hover {
    background: #f9f9f9;
}

.table-row:last-child {
    border-bottom: none;
}

.brand-row {
    cursor: pointer;
}

.brand-row:hover {
    background: #f0f7ff;
}

/* Table columns */
.col-brand-name,
.col-brand {
    font-weight: 600;
    color: #2270bc;
}

.col-models,
.col-android,
.col-ios,
.col-scanners,
.col-scanning {
    text-align: center;
}

.col-model {
    color: #333;
}

/* Badges and indicators */
.count-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.type-badge.printer {
    background: #e8f5e9;
    color: #2e7d32;
}

.type-badge.scanner {
    background: #fff3e0;
    color: #e65100;
}

.check {
    color: #2e7d32;
    font-size: 1.3rem;
    font-weight: bold;
}

.no-check {
    color: #ccc;
    font-size: 1rem;
}

.platform-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.platform-badge.android {
    background: #3ddc84;
    color: white;
}

.platform-badge.ios {
    background: #007aff;
    color: white;
}

.platform-badge.scanner {
    background: #ff9500;
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.no-results p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-results p:first-child {
    font-weight: 600;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .printers-header h1 {
        font-size: 1.8rem;
    }

    .printers-intro {
        font-size: 1rem;
    }

    .controls-row {
        flex-direction: column;
        gap: 1rem;
    }

    .platform-filters {
        width: 100%;
        flex-direction: column;
    }

    .filter-btn {
        justify-content: space-between;
        width: 100%;
    }

    .search-form {
        width: 100%;
    }

    /* Mobile-optimized tables - no horizontal scrolling */
    .brands-table,
    .models-table {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
    }

    /* Brands table - compact mobile layout */
    .brands-table .table-header,
    .brands-table .table-row {
        grid-template-columns: 2.5fr 0.8fr 0.8fr 0.8fr 1fr;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .brands-table .table-header > div,
    .brands-table .table-row > div {
        padding: 0.4rem 0.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brands-table .col-brand-name {
        white-space: normal;
        word-break: break-word;
    }

    /* Models table - compact mobile layout */
    .models-table .table-header,
    .models-table .table-row {
        grid-template-columns: 1.2fr 2fr 0.8fr 0.8fr 1fr;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .models-table .table-header > div,
    .models-table .table-row > div {
        padding: 0.4rem 0.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .models-table .col-brand,
    .models-table .col-model {
        white-space: normal;
        word-break: break-word;
    }

    /* Smaller checkmarks and text */
    .check,
    .no-check {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #0066cc;
    text-decoration: none;
    font-size: 17px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: #666;
    font-size: 17px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #5d7fae;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 20px;
    }

    .language-dropdown {
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .language-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
    }

    .language-menu a {
        color: #fff;
    }

    .slogan-section h1 {
        font-size: 26px;
    }

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

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

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   User Portal & Authentication Styles
   ============================================ */

/* Authentication Pages */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.auth-card h1 {
    font-size: 1.75rem;
    color: #6e90bf;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #6e90bf;
}

.auth-form small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.required {
    color: #d84315;
}

.form-actions {
    margin-top: 2rem;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #6e90bf 0%, #5d7fae 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(110, 144, 191, 0.25);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5d7fae 0%, #4c6e9d 100%);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #b8c5d6;
    color: #7a8999;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: 0 2px 6px rgba(110, 144, 191, 0.1);
}

.btn-primary:disabled:hover {
    background: #b8c5d6;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #6e90bf;
    padding: 0.75rem 1.5rem;
    border: 2px solid #6e90bf;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #6e90bf;
    color: white;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.auth-links a {
    color: #6e90bf;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links .separator {
    margin: 0 0.75rem;
    color: #ccc;
}

.error-message {
    background: #fff3e0;
    border-left: 4px solid #ff7f00;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #d84315;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: #f7faf5;
    border-left: 4px solid #6e90bf;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.success-message h2 {
    color: #6e90bf;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.card-actions {
    margin-top: 1.5rem;
}

.auth-info {
    max-width: 500px;
    margin: 1.5rem auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6e90bf;
}

.auth-info h3 {
    color: #6e90bf;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.auth-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 40px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
}

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

.dashboard-header h1 {
    font-size: 2.25rem;
    color: #2270bc;
    margin-bottom: 0;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 17px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    text-decoration: none;
    display: inline-block;
}

.tab-button:hover {
    color: #2270bc;
    background: #f8faf9;
}

.tab-button.active {
    color: #2270bc;
    border-bottom-color: #2270bc;
}

.tab-content {
    display: none;
}

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

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.dashboard-card h2 {
    color: #2270bc;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: #666;
    font-size: 17px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.info-row .value {
    color: #333;
    font-size: 17px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.card-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.no-data {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
}

.required {
    color: #ff7f00;
}

/* Products List */
.products-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.product-item:last-child {
    border-bottom: none;
}

.product-item:hover {
    background: #f8faf9;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-name {
    color: #333;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-title {
    color: #333;
    font-weight: 600;
}

.license-label {
    color: #333;
    font-weight: normal;
}

.license-code {
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9em;
    color: #333;
    border: 1px solid #e0e0e0;
}

.product-source-name {
    font-weight: normal;
    color: #666;
}

.product-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    vertical-align: baseline;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.status-revoked {
    background: #e0e0e0;
    color: #424242;
}

.status-cancelled {
    background: #fff3cd;
    color: #856404;
}

.status-pending {
    background: #d1ecf1;
    color: #0c5460;
}

.status-new {
    background: #cfe2ff;
    color: #084298;
}

.product-meta {
    color: #666;
    font-size: 17px;
    line-height: 1.6;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-meta-footer {
    text-align: center;
}

.meta-separator {
    margin: 0 0.5rem;
    color: #ccc;
}

/* Devices List */
.devices-list {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8faf9;
    border-radius: 8px;
    border-left: 3px solid #2270bc;
}

.devices-header {
    font-size: 17px;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.device-item {
    padding: 0.4rem 0;
    color: #666;
    font-size: 17px;
    line-height: 1.6;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.device-item:first-child {
    padding-top: 0;
}

.device-item strong {
    color: #333;
}

.device-status-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    vertical-align: middle;
}

.device-status-badge.status-linked {
    background: #d4edda;
    color: #155724;
}

.device-status-badge.status-other {
    background: #e0e0e0;
    color: #424242;
}

/* Devices Table */
.devices-table-wrapper {
    margin-top: 1rem;
    overflow-x: auto;
    background: #f8faf9;
    border-radius: 8px;
    border-left: 3px solid #2270bc;
}

.devices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    table-layout: fixed;
}

.devices-table thead {
    background: #e8f2f7;
}

.devices-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #2270bc;
    border-bottom: 2px solid #2270bc;
    white-space: normal;
    word-wrap: break-word;
}

.devices-table td {
    padding: 0.75rem 1rem;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

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

.devices-table tbody tr {
    content-visibility: auto;
    contain-intrinsic-size: auto 50px;
}

.devices-table tbody tr:hover {
    background: rgba(34, 112, 188, 0.05);
}

.devices-table td strong {
    color: #333;
    font-weight: 600;
}

.devices-table td small {
    color: #999;
    font-size: 0.9em;
}

/* Column widths - applied only to th elements */
.devices-table th:nth-child(1) {
    width: 25%;
}

.devices-table th:nth-child(2) {
    width: 29%;
}

.devices-table th:nth-child(3) {
    width: 11%;
}

.devices-table th:nth-child(4) {
    width: 10%;
}

.devices-table th:nth-child(5) {
    width: 25%;
}

/* Typography for specific columns */
.devices-table .col-model strong {
    color: #666;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.devices-table .col-device-id {
    font-family: monospace;
    font-size: 0.95em;
}

.devices-table .col-app-version {
    font-family: monospace;
    font-size: 0.95em;
}

.devices-table .col-last-active {
    font-family: monospace;
    font-size: 0.95em;
}

/* Device Section */
.devices-section {
    margin-top: 1rem;
}

.devices-header {
    color: #666;
    font-size: 17px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.show-all-link {
    color: #2270bc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.show-all-link:hover {
    color: #1a5a95;
    text-decoration: underline;
}

.btn-download-csv-link {
    color: #2270bc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-download-csv-link:hover {
    color: #1a5a95;
    text-decoration: underline;
}

/* Settings Section */
.settings-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.settings-section h2 {
    color: #2270bc;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.settings-section h3 {
    color: #2270bc;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.settings-form {
    max-width: 500px;
}

/* Settings forms use .form-group styles (no custom overrides needed) */

.readonly-field {
    padding: 0.875rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 1rem;
}

.settings-form .form-actions {
    margin-top: 1.5rem;
}

.settings-divider {
    border: none;
    border-top: 2px solid #ddd;
    margin: 2.5rem 0;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    max-width: 400px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.toast-success {
    border-left: 4px solid #28a745;
    color: #155724;
}

.toast-notification.toast-error {
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

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

    .dashboard-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-meta {
        font-size: 1rem;
    }

    .meta-separator {
        margin: 0 0.4rem;
    }

    .settings-section {
        padding: 1.5rem;
    }

    .settings-form {
        max-width: 100%;
    }
}

/* ============================================
   Welcome Page
   ============================================ */

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

.hero h1 {
    font-size: 2.5rem;
    color: #2270bc;
    margin-bottom: 1.5rem;
}

.hero .tagline {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero .tagline strong {
    color: #2270bc;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #2270bc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.download-button:hover {
    background: #1a5a94;
    transform: translateY(-2px);
}

.download-button.desktop {
    background: #6c757d;
}

.download-button.desktop:hover {
    background: #545b62;
}

.download-button svg {
    width: 24px;
    height: 24px;
}

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

    .hero .tagline {
        font-size: 1rem;
    }

    .hero {
        padding: 0 1rem;
    }
}

/* ============================================
   Help Page Styles
   ============================================ */

.help-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.topic-selector {
    position: sticky;
    top: 76px; /* Below header */
    background: #fff;
    padding: 15px 0;
    margin-bottom: 40px;
    z-index: 100;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    height: 56px; /* Fixed height for consistent calculations */
}

.topic-link {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.topic-link:hover {
    background: #e8f4f8;
    color: #2270bc;
}

.topic-link.active {
    background: #2270bc;
    color: #fff;
    border-color: #2270bc;
}

.help-topic {
    margin-bottom: 60px;
    padding-top: 20px;
    scroll-margin-top: 150px; /* Account for header + topic nav */
}

.topic-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.topic-icon {
    flex-shrink: 0;
    color: #2270bc;
}

.topic-title-area h2 {
    font-size: 32px;
    color: #2270bc;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.topic-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.topic-content {
    text-align: left;
}

.topic-content h3 {
    font-size: 20px;
    color: #2270bc;
    margin: 25px 0 12px;
    font-weight: 600;
}

.topic-content h3:first-child {
    margin-top: 0;
}

.topic-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.topic-content ul,
.topic-content ol {
    margin: 0 0 15px 20px;
}

.topic-content li {
    margin-bottom: 0;
}

.topic-content ul + h3 {
    margin-top: 25px;
}

.topic-content p + ul {
    margin-top: 10px;
}

.help-note {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    line-height: 1.6;
}

.help-note.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.help-note strong {
    color: #e65100;
}

.help-note p {
    margin: 0;
}

.help-screenshot {
    text-align: left;
    margin: 25px 0;
}

.help-screenshot img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .topic-selector {
        top: 68px;
        height: auto; /* Allow wrapping to multiple lines */
    }

    .help-topic {
        scroll-margin-top: 180px; /* Increased for wrapped nav on mobile */
    }

    .topic-header {
        flex-direction: column;
        gap: 15px;
    }

    .topic-title-area h2 {
        font-size: 24px;
    }

    .topic-content h3 {
        font-size: 18px;
    }
}

/* ============================================
   For Business Page Styles
   ============================================ */

/* Solutions Grid */
.business-solutions {
    padding: 30px 0 10px;
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.solution-icon {
    margin-bottom: 20px;
    text-align: center;
}

.solution-icon img {
    max-width: 120px;
    height: auto;
}

.solution-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-content h2 {
    font-size: 24px;
    color: #2270bc;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.solution-content p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.solution-button {
    display: inline-block;
    background: #2270bc;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s;
    text-align: center;
}

.solution-button:hover {
    background: #1a5a94;
}

/* Detail Sections */
.business-details {
    padding: 10px 0 60px;
    background: white;
}

.detail-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 25px 40px 40px;
    background: #f8f9fa;
    border-radius: 12px;
    scroll-margin-top: 100px;
}

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

.detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2270bc;
    position: relative;
}

.detail-icon {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.detail-header h2 {
    font-size: 32px;
    color: #2270bc;
    margin: 0;
    font-weight: 600;
    flex-grow: 1;
}

.back-to-top {
    position: absolute;
    right: 0;
    top: 0;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #2270bc;
    text-decoration: underline;
}

.detail-content p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.detail-content h3 {
    font-size: 22px;
    color: #2270bc;
    margin: 30px 0 15px;
    font-weight: 600;
}

.detail-content h3:first-child {
    margin-top: 0;
}

.detail-content ul {
    line-height: 1.8;
    margin: 15px 0;
    padding-left: 25px;
}

.detail-content li {
    margin-bottom: 12px;
    color: #444;
}

.detail-content strong {
    color: #2270bc;
    font-weight: 600;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pricing-table thead tr {
    background: #e8f4f8;
    border-bottom: 2px solid #2270bc;
}

.pricing-table th {
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-weight: 600;
    color: #2270bc;
    white-space: nowrap;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.pricing-table td {
    padding: 0.75rem 0.5rem;
}

.pricing-table .total-price {
    font-weight: 600;
}

.pricing-table .buy-button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #2270bc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.3s;
}

.pricing-table .buy-button:hover {
    background: #1a5a94;
}

.pricing-table tfoot tr {
    border-top: 2px solid #e0e0e0;
}

.pricing-table .custom-quote {
    font-weight: 600;
}

.pricing-table .contact-link {
    color: #2270bc;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.pricing-table .contact-link:hover {
    text-decoration: underline;
}

/* Info Box */
.info-box {
    background: #fff8e6;
    border-left: 4px solid #2270bc;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.info-box p {
    margin: 0;
    line-height: 1.6;
}

.info-box strong {
    color: #2270bc;
}

/* CTA Box */
.cta-box {
    background: white;
    border: 2px solid #2270bc;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
    color: #2270bc;
}

.cta-box p {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #2270bc;
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #1a5a94;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        padding: 25px;
    }

    .detail-section {
        padding: 25px;
    }

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

    .detail-header h2 {
        font-size: 26px;
    }

    .detail-icon {
        width: 60px;
    }
}

/* ============================================
   For Developers Page Styles
   ============================================ */

/* Integration Solutions Grid */
.integration-solutions {
    padding: 30px 0 10px;
    background: #f8f9fa;
}

/* Introduction Section */
.integration-intro {
    padding: 20px 0;
    background: white;
}

.intro-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-box p {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.github-link {
    color: #2270bc;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #2270bc;
    transition: color 0.3s, border-color 0.3s;
}

.github-link:hover {
    color: #1a5a94;
    border-bottom-color: #1a5a94;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .solutions-grid {
        max-width: 900px;
    }
}

@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.solution-icon {
    text-align: center;
    margin-bottom: 10px;
}

.solution-icon img {
    max-width: 64px;
    height: auto;
}

.solution-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-content h2 {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #2270bc;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.solution-icon-inline {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    flex-shrink: 0;
}

.solution-card:nth-child(2) .solution-icon-inline {
    width: 38px;
    height: 38px;
}

.solution-content p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.solution-button {
    display: inline-block;
    background: #2270bc;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s;
    text-align: center;
}

.solution-button:hover {
    background: #1a5a94;
}

/* Detail Sections */
.integration-details {
    padding: 10px 0 60px;
    background: white;
}

.detail-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 25px 40px 40px;
    background: #f8f9fa;
    border-radius: 12px;
    scroll-margin-top: 100px;
}

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

.detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2270bc;
    position: relative;
}

.detail-icon {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.detail-header h2 {
    font-size: 32px;
    color: #2270bc;
    margin: 0;
    font-weight: 600;
    flex-grow: 1;
}

.back-to-top {
    position: absolute;
    right: 0;
    top: 0;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #2270bc;
    text-decoration: underline;
}

.detail-content p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.detail-content h3 {
    font-size: 22px;
    color: #2270bc;
    margin: 30px 0 15px;
    font-weight: 600;
}

.detail-content h3:first-child {
    margin-top: 0;
}

.detail-content ul {
    margin: 15px 0 20px;
    padding: 0 0 0 25px;
    line-height: 1.8;
}

.detail-content li {
    margin-bottom: 10px;
    color: #444;
}

.detail-content strong {
    color: #2270bc;
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: #fff8e6;
    border-left: 4px solid #2270bc;
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    border-radius: 4px;
    max-width: 900px;
}

.info-box p {
    margin: 0;
    line-height: 1.6;
}

.info-box strong {
    color: #2270bc;
}

/* Responsive */
@media (max-width: 768px) {
    .solutions-grid {
        gap: 20px;
        padding: 0 15px;
    }

    .solution-card {
        padding: 20px;
    }

    .detail-section {
        padding: 20px 25px 30px;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .detail-header h2 {
        font-size: 24px;
    }

    .detail-icon {
        width: 60px;
    }

    .back-to-top {
        position: static;
        margin-top: 10px;
    }
}
