/* IAAP - Content Hub - Clean & Professional */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Header */
.header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
}

.nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 150px;
    display: none;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
}

.language-dropdown a:hover {
    background: var(--bg-alt);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

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

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

.btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 2rem;
    color: var(--text);
    text-decoration: none;
}

.mobile-language {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Hero */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-alt);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

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

.sections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.section-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.section-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.section-links {
    list-style: none;
    margin-bottom: 1.5rem;
}

.section-links li {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.section-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.section-more {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Featured Content */
.featured {
    padding: 4rem 0;
    background: var(--bg-alt);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.featured-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.featured-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.featured-title a {
    color: var(--text);
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--primary);
}

.featured-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.featured-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Assessment CTA */
.assessment-cta {
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-languages {
    display: flex;
    gap: 1rem;
}

.footer-languages a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-languages a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-search {
        flex-direction: column;
    }
    
    .sections-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
