/* Paperboat Website - Simple Professional Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background-color: #000000;
    border-bottom: 1px solid #000000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-logo h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    display: inline-block;
}

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

.nav-link.active {
    text-decoration: underline;
}

.extensions-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.extensions-search-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.extensions-search-bar {
    display: flex;
    align-items: stretch;
    height: 28px;
}

.extensions-search-input {
    border: 1px solid #cccccc;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    width: 200px;
    border-radius: 4px 0 0 4px;
}

.extensions-search-btn {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
    border: 1px solid #666666;
    cursor: pointer;
    background: none;
}

.extensions-search-icon {
    background-color: #666666;
    color: #ffffff;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extensions-search-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* No Results */
.no-results {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.no-results img {
    width: 120px;
    max-width: 100%;
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.continue-search {
    color: #000000;
    text-decoration: underline;
    font-size: 0.9rem;
}

.continue-search:hover {
    color: #0066cc;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-text {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.empty-link {
    color: #000000;
    text-decoration: underline;
    font-size: 0.85rem;
}

.empty-link:hover {
    color: #0066cc;
}

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

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

/* Page Content */
.page-header {
    padding: 2rem 0 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.page-header p {
    color: #333333;
    font-size: 0.95rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.hero-quote {
    font-size: 1.2rem;
    color: #333333;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.hero-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border: 1px solid #000000;
}

.hero-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.content {
    padding: 1.5rem 0;
}

.content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

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

.content p {
    margin-bottom: 0.75rem;
    color: #000000;
}

.content ul {
    margin: 0.75rem 0 0.75rem 1.5rem;
}

.content li {
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid #e0e0e0;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer p {
    font-size: 0.85rem;
    color: #333333;
}

/* Extensions Page */
.extension-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.extension-main {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.extension-image img {
    width: 64px;
    height: 64px;
    display: block;
    border: 1px solid #e0e0e0;
}

.extension-info {
    flex: 1;
}

.extension-title-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.extension-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.extension-tags {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.tag-btn {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #666666;
    height: 22px;
}

.tag-hash {
    background-color: #666666;
    color: #ffffff;
    padding: 0 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.875rem;
    font-weight: bold;
}

.tag-text {
    background-color: #888888;
    color: #ffffff;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
}

.extension-desc {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0;
}

.version-dropdown {
    position: relative;
    display: inline-block;
}

.version-btn {
    background-color: #ffc107;
    color: #000000;
    border: 1px solid #b8860b;
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.version-btn:hover {
    background-color: #ffca28;
}

.dropdown-arrow {
    font-size: 0.625rem;
}

.version-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    min-width: 140px;
    z-index: 10;
    top: 100%;
    left: 0;
    margin-top: 2px;
}

.version-option {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
}

.version-option:hover {
    background-color: #f5f5f5;
}

.extension-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.add-btn {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #1e7e34;
    height: 28px;
}

.add-icon {
    background-color: #1e7e34;
    color: #ffffff;
    padding: 0 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.add-text {
    background-color: #28a745;
    color: #ffffff;
    padding: 0 0.75rem 0 0.5rem;
    display: flex;
    align-items: center;
}

.add-btn:hover .add-icon {
    background-color: #155724;
}

.add-btn:hover .add-text {
    background-color: #218838;
}

.verified-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ff6b00;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: underline;
}

.verified-link:hover {
    color: #e55a00;
}

.verified-icon {
    width: 14px;
    height: 14px;
    color: #ff6b00;
}

.extension-separator {
    border: none;
    border-top: 1px solid #000000;
    margin: 0;
}

/* Docs Page */
.install-steps {
    margin: 1rem 0 1.5rem 1.5rem;
}

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

.download-section {
    margin: 1.5rem 0;
}

.download-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border: 1px solid #000000;
    pointer-events: none;
    opacity: 0.5;
}

.download-btn.unlocked {
    pointer-events: auto;
    opacity: 1;
}

.download-btn.unlocked:hover {
    background-color: #ffffff;
    color: #000000;
}

.legal-container {
    max-height: 200px;
    overflow-y: scroll;
    border: 1px solid #cccccc;
    padding: 1rem;
    background-color: #f9f9f9;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.legal-container p {
    margin-bottom: 0.75rem;
}

.consent-section {
    margin: 1rem 0 2rem 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.consent-checkbox input {
    margin-top: 0.25rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    color: #ffffff;
    padding: 0.75rem 1rem;
    z-index: 1000;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.875rem;
    margin: 0;
}

.cookie-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 0.375rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.cookie-btn:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-quote {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .extensions-search {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .extensions-search-input {
        width: 150px;
    }
    
    .extension-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .extension-action {
        align-self: flex-start;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
