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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.main-content {
    min-height: calc(100vh - 160px);
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #3498db;
    background-color: rgba(255,255,255,0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Stats section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* News section */
.news-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card h3 {
    margin-bottom: 1rem;
}

.news-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.25rem;
}

.news-card h3 a:hover {
    color: #3498db;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-excerpt {
    color: #5d6d7e;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

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

/* Features section */
.features-preview {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.features-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #5d6d7e;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: #2980b9;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    color: #bdc3c7;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional page styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content listing */
.content-listing {
    padding: 4rem 0;
}

.content-listing h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

/* Content detail */
.content-detail {
    padding: 4rem 0;
}

.content-detail h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Features page */
.features-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}

.features-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

.features-detailed {
    padding: 0 0 4rem 0;
}

.feature-detail {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-detail h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.feature-detail p {
    color: #5d6d7e;
    line-height: 1.6;
}

/* Download page */
.download-section {
    background: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.download-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
}

.version-info {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.app-download {
    padding: 2rem;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.app-download:hover {
    border-color: #3498db;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
}

.app-download h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-download p {
    color: #5d6d7e;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.platform-downloads {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
    text-align: center;
}

.download-btn.linux {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.download-btn.linux:hover {
    background: linear-gradient(135deg, #e55a2b, #e0851a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.download-btn.windows {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.download-btn.windows:hover {
    background: linear-gradient(135deg, #005a9e, #0e5a99);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.download-btn.mac {
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
}

.download-btn.mac:hover {
    background: linear-gradient(135deg, #0056cc, #4640a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.platform-name {
    font-weight: 600;
    font-size: 1rem;
}

.archive-section {
    background: white;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.archive-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.archive-section p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.archive-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.archive-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

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

.requirements-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

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

.req-column {
    padding: 1.5rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    background: #fafbfc;
}

.req-column h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.req-column ul {
    list-style: none;
    padding-left: 0;
}

.req-column li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
    color: #5d6d7e;
    position: relative;
    padding-left: 1.5rem;
}

.req-column li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.req-column li:last-child {
    border-bottom: none;
}

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

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Archive page styles */
.archive-versions {
    margin-top: 2rem;
}

.version-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.version-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-section h2:before {
    content: "📅";
    font-size: 1.5rem;
}

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

.app-download-archive {
    padding: 1.5rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.app-download-archive:hover {
    border-color: #e67e22;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.1);
}

.app-download-archive h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Responsive archive styles */
@media (max-width: 768px) {
    .version-downloads {
        grid-template-columns: 1fr;
    }
    
    .app-download-archive {
        margin-bottom: 1rem;
    }
    
    .platform-downloads {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-btn {
        min-width: 100%;
    }
}

/* Community Content Browser Styles */
.content-filters {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #ecf0f1;
    color: #5d6d7e;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.tab-icon {
    font-size: 1.2rem;
}

.content-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

.content-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #ecf0f1;
}

.content-type-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.type-icon {
    font-size: 1rem;
}

.content-stats-mini {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.content-card-body {
    padding: 1.5rem;
}

.content-thumbnail {
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.content-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-title a:hover {
    color: #3498db;
}

.content-description {
    color: #5d6d7e;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.author-info,
.publish-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #ecf0f1;
    color: #5d6d7e;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.content-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ecf0f1;
    color: #5d6d7e;
}

.btn-outline:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1rem;
}

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

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    text-decoration: none;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    color: #5d6d7e;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #3498db;
    color: #3498db;
}

.pagination .current {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Responsive community styles */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .content-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Documentation page */
.docs-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}

.docs-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.docs-content {
    padding: 0 0 4rem 0;
}

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

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

.doc-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.doc-section ul {
    list-style: none;
    padding-left: 0;
}

.doc-section li {
    margin-bottom: 0.75rem;
}

.doc-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid #ecf0f1;
}

.doc-section a:hover {
    color: #2980b9;
    background-color: #f8f9fa;
    padding-left: 0.5rem;
}

/* Authentication Styles */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user {
    color: #ecf0f1;
    font-weight: 500;
}

.auth-container {
    max-width: 500px;
    margin: 4rem auto;
    padding: 0 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 3rem;
    text-align: center;
}

.auth-card h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.auth-form {
    text-align: left;
}

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

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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
}

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

.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Profile Styles */
.profile-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

.profile-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-content {
    display: grid;
    gap: 2rem;
}

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

.profile-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.profile-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-item label {
    font-weight: 600;
    color: #555;
}

.info-item span {
    color: #333;
}

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

.content-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.content-item h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.content-item p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Authentication Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    border-top: 4px solid #3498db;
}

.auth-card h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

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

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

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.auth-form .btn {
    width: 100%;
    padding: 0.875rem;
    margin-top: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.form-footer p {
    color: #666;
    font-size: 0.9rem;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

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

.message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Navigation Auth Section */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user {
    color: #ecf0f1;
    font-weight: 500;
}

.nav-auth .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Profile Styles */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.profile-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.profile-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.info-item label {
    font-weight: 600;
    color: #555;
    min-width: 150px;
}

.info-item span {
    color: #333;
}

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

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .profile-container {
        padding: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-auth {
        order: -1;
    }
}
