/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

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

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

/* Main Navigation Layer */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 1rem 0;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.logo p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.logo a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    font-size: 0.875rem;
    min-width: 80px;
    text-align: center;
}

.nav-item i {
    font-size: 1.1rem;
    margin-bottom: 0.125rem;
}

.nav-item:hover {
    color: var(--primary-color);
    background-color: var(--bg-tertiary);
    transform: translateY(-1px);
}

/* Secondary Badge Layer */
.header-secondary {
    padding: 0.75rem 0 1rem 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
}

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

.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.profile-info {
    text-align: left;
    max-width: 500px;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Controls */
.controls {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.filter-legend {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.filter-legend h4 {
    margin: 0 0 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.legend-table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legend-table td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    text-align: left;
}

.legend-table tr:first-child td {
    padding-top: 0.25rem;
}

.legend-table tr:last-child td {
    padding-bottom: 0.25rem;
}

.legend-icon {
    width: 30px;
    text-align: center;
}

.legend-icon i {
    font-size: 1rem;
    color: var(--primary-color);
}

.legend-title {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    padding-right: 1rem;
    min-width: 140px;
}

.legend-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

#search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.clear-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.clear-btn.visible {
    opacity: 1;
}

.clear-btn:hover {
    color: var(--danger-color);
    background-color: var(--bg-tertiary);
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-controls label {
    font-weight: 500;
    color: var(--text-secondary);
}

#sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    font-size: 0.875rem;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-filters h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 400px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
}

.filter-checkbox:hover {
    color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    position: relative;
    transition: all 0.2s ease;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox i {
    font-size: 0.875rem;
}

/* Results */
.results {
    margin-bottom: 3rem;
}

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

#results-count {
    font-weight: 500;
    color: var(--text-secondary);
}

.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-tertiary);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.view-btn.active {
    background: var(--bg-primary);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Prompts Grid */
.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.prompts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prompt-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.prompt-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.prompt-card.list-view {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.prompt-card.list-view .prompt-content {
    flex: 1;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.prompt-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.prompt-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge.agent {
    background: var(--primary-color);
    color: var(--text-light);
}

.badge.chatgpt {
    background: var(--success-color);
    color: var(--text-light);
}

.badge.structured {
    background: var(--accent-color);
    color: var(--text-light);
}

.badge.single-turn {
    background: var(--warning-color);
    color: var(--text-light);
}

.prompt-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prompt-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
}

.prompt-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.prompt-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

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

/* Loading and No Results */
.loading, .no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.prompt-content pre {
    padding: 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    max-height: 400px;
    overflow-y: auto;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

.property {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.property-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.property-icon.true {
    background: var(--success-color);
}

.property-icon.false {
    background: var(--text-muted);
}

.property-label {
    font-weight: 500;
    color: var(--text-primary);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.link-item:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

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

.metadata-item {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.metadata-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.metadata-value {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .logo {
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-item {
        min-width: 70px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
    
    .header-secondary {
        padding: 0.5rem 0 1rem 0;
    }
    
    .profile-badges {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .profile-section {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .profile-image {
        width: 70px;
        height: 70px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .filter-checkboxes {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
        max-width: none;
    }
    
    .prompts-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-card.list-view {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .metadata {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .profile-section {
        gap: 1rem;
    }
    
    .profile-image {
        width: 60px;
        height: 60px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats {
        gap: 0.5rem;
    }
    
    .controls {
        padding: 1rem;
    }
    
    .filter-legend {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .filter-legend h4 {
        font-size: 0.875rem;
    }
    
    .legend-table td {
        padding: 0.5rem 0.75rem;
    }
    
    .legend-title {
        padding-right: 1rem;
    }
    
    .legend-description {
        font-size: 0.8rem;
    }
    
    .filter-checkboxes {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
        max-width: none;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prompt-card {
    animation: fadeIn 0.3s ease-out;
}

/* About Page Styles */
.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--bg-tertiary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-about {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.profile-section {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.profile-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-info h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

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

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

.section-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

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

.card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.availability-section,
.usage-section,
.connect-section {
    margin-bottom: 4rem;
}

.availability-section h2,
.usage-section h2,
.connect-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.availability-section > p,
.connect-section > p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.platform-card,
.connect-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
}

.connect-card {
    text-decoration: none;
    color: inherit;
}

.platform-card:hover,
.connect-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.platform-icon,
.connect-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.platform-icon.chatgpt { background: var(--success-color); }
.platform-icon.openwebui { background: var(--accent-color); }
.platform-icon.github { background: var(--text-primary); }
.platform-icon.universal { background: var(--primary-color); }

.connect-icon {
    background: var(--primary-color);
}

.connect-card.main-site {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    border: 2px solid #3b82f6;
    position: relative;
    overflow: hidden;
}

.connect-card.main-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.connect-card.main-site .connect-icon {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.connect-card.main-site h4 {
    color: white;
    font-weight: 700;
}

.connect-card.main-site p {
    color: rgba(255,255,255,0.9);
}

.connect-card.main-site:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.3);
    border-color: #60a5fa;
}

.platform-card h4,
.connect-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.platform-card p,
.connect-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.platform-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.platform-card a:hover {
    text-decoration: underline;
}

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

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

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

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

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

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

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

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Profile badges styling is now handled in the header section above */

.badge-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.badge-link:hover {
    transform: translateY(-1px) scale(1.05);
}

.profile-badge {
    height: 20px;
    border-radius: 3px;
    transition: opacity 0.2s ease;
}

.profile-badge:hover {
    opacity: 0.9;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-about {
        padding: 2rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .section-grid,
    .platform-grid,
    .connect-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}
