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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 22px;  /* Increased base font size */
}

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

/* Main content */
main {
    padding: 1rem 0;
    min-height: calc(100vh - 100px);
}

/* Tab navigation */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
    background-color: #f8f9fa;
}

.tab-button.active {
    color: #6f42c1;
    border-bottom-color: #6f42c1;
}

/* Tab content */
.tab-content {
    display: none;
}

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

/* Feature viewer */
.feature-controls {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.control-group {
    margin-bottom: 1rem;
}

.control-group label {
    display: inline-block;
    width: 120px;
    font-weight: 600;
}

.control-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
}

/* Feature title dropdown styling */
.feature-title-select {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-bottom: 0.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

.feature-title-select:hover {
    color: #6f42c1;
}

.feature-title-select:focus {
    color: #333;
    outline: none;
    box-shadow: none;
}

/* Add dropdown arrow */
.feature-title-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
    padding-right: 2rem;
}

.feature-title-select[disabled] {
    background-image: none;
    cursor: default;
    color: #333;
}

.feature-title-select[disabled]:hover {
    color: #333;
}

/* Feature display */
.feature-display {
    text-align: center;
}

.feature-overlay {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.instance-card {
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.instance-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.instance-card p {
    font-weight: 600;
    color: #666;
}

/* About page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #6f42c1;
    padding-bottom: 0.5rem;
}

.about-content h3 {
    color: #141414;
    margin: 2rem 0 1rem 0;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    text-align: center;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
    }
    
    .instances-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .control-group label {
        display: block;
        width: auto;
        margin-bottom: 0.5rem;
    }
}

/* Section styling */
.section-header {
    font-size: 2.4rem;
    color: #333;
    margin: 4rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #6f42c1;
    position: relative;
    letter-spacing: -0.03em;
    font-weight: 700;
}

/* Subsection headers */
.section-content h4,
.section-content-header {
    font-size: 1.5rem;
    color: #555;
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Override any default h4 colors */
h4 {
    color: #555 !important;
}

/* Regular text in sections */
.section-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

/* Lists in sections */
.section-content ul {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-left: 1.5rem;
}

.section-content li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Overview section specific */
.overview h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Table styles update */
.section-content table {
    font-size: 1.2rem;
    margin: 2rem 0;
}

.section-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #444;
}

.section-content th,
.section-content td {
    padding: 14px 18px;
}

/* Navigation links */
.section-nav {
    font-size: 1rem;
    margin: 1rem 0 2rem;
}

.section-nav a {
    color: #6f42c1;
    text-decoration: none;
    margin: 0 0.5rem;
}

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