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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    font-size: 18px;
}

.screen {
    min-height: 100vh;
}

#login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

#academy-screen {
    padding: 4rem 0;
}

.hidden {
    display: none;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Login Screen */
.login-container {
    background: #fff;
    padding: 4rem 3rem;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.login-container h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #000;
    letter-spacing: -0.02em;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form input {
    padding: 1rem 1.25rem;
    border: 1px solid #eee;
    border-bottom: 2px solid #4D3FD7;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    color: #000;
    transition: all 0.2s;
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-bottom-color: #000;
}

.login-form input::placeholder {
    color: #999;
    font-weight: 300;
}

.login-form button {
    padding: 1rem 2rem;
    background: transparent;
    color: #4D3FD7;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid #4D3FD7;
    padding-bottom: 0.5rem;
    font-family: inherit;
}

.login-form button:hover {
    color: #000;
    border-bottom-color: #000;
}

.error-message {
    color: #d32f2f;
    font-size: 1rem;
    text-align: center;
    min-height: 1.25rem;
    display: none;
    font-weight: 300;
}

.error-message.show {
    display: block;
}

/* Academy Screen */
.header {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #4D3FD7;
}

.header-text {
    flex: 1;
    min-width: 0;
}

.header-text h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #000;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: #4D3FD7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logout-btn {
    padding: 0.5rem 0;
    background: transparent;
    color: #4D3FD7;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    font-family: inherit;
}

.logout-btn {
    margin-left: auto;
}

.logout-btn:hover {
    color: #000;
    border-bottom-color: #000;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.welcome-section {
    margin-bottom: 6rem;
    text-align: center;
}

.welcome-section h2 {
    font-size: 4rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: -0.03em;
}

.welcome-section p {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
}

.hero-text {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Filter Section */
.filter-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

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

.search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #eee;
    border-bottom: 2px solid #4D3FD7;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    color: #000;
    transition: all 0.2s;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-bottom-color: #000;
}

.search-input::placeholder {
    color: #999;
    font-weight: 300;
}

.filter-controls {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 0;
    background: transparent;
    color: #999;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    font-family: inherit;
}

.filter-btn:hover {
    color: #4D3FD7;
    border-bottom-color: #4D3FD7;
}

.filter-btn.active {
    color: #4D3FD7;
    border-bottom-color: #4D3FD7;
}

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

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #4D3FD7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-card {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
}

.content-card:hover {
    border-bottom-color: #4D3FD7;
}

.content-card.hidden {
    display: none;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.content-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #4D3FD7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex: 1;
}

.expand-icon {
    font-size: 2rem;
    font-weight: 300;
    color: #4D3FD7;
    line-height: 1;
    transition: transform 0.2s;
    margin-left: 1rem;
    flex-shrink: 0;
}

.content-body {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}

.content-body.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
}

.content-body.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.content-card p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.content-body {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.content-body p {
    margin-bottom: 1rem;
}

.content-body p:last-child {
    margin-bottom: 0;
}

.content-body h4,
.content-body h5,
.content-body h6 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #000;
}

.content-body ul,
.content-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer {
    padding-top: 3rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.footer a {
    color: #4D3FD7;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #000;
}

.footer span {
    color: #999;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: none;
}

/* Contact Section */
.contact-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.contact-form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #eee;
    border-bottom: 2px solid #4D3FD7;
    background: #fff;
    font-size: 1rem;
    font-weight: 300;
    color: #000;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: #4D3FD7;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid #4D3FD7;
    padding-bottom: 0.5rem;
    font-family: inherit;
}

.contact-submit-btn:hover {
    color: #000;
    border-bottom-color: #000;
}

.contact-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-message {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 300;
    text-align: center;
}

/* Legal Sections */
.legal-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.legal-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #000;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4D3FD7;
    margin-top: 1.5rem;
}

.legal-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-top: 1.25rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-weight: 300;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: #4D3FD7;
    text-decoration: none;
}

.legal-content a:hover {
    color: #000;
}

.legal-note {
    font-size: 0.85rem;
    color: #999;
}

.cky-banner-element {
    display: inline-block;
    padding: 0.5rem 1.75rem;
    background: #f8f9fa;
    color: #858a8f;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.cky-banner-element:hover {
    background: #e9ecef;
    color: #4D3FD7;
}

.cookie-audit-placeholder {
    padding: 1rem;
    background: #f8f8f8;
    border: 1px dashed #dcdcdc;
    font-size: 0.95rem;
    color: #666;
    font-weight: 300;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .login-container {
        padding: 2rem 1.5rem;
    }
    
    .login-container h1 {
        font-size: 2.5rem;
    }
    
    .header {
        margin-bottom: 3rem;
        gap: 1rem;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .header-text h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        text-align: left;
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }

    .main-content {
        padding: 0 1.5rem;
    }
    
    .welcome-section {
        margin-bottom: 4rem;
    }
    
    .welcome-section h2 {
        font-size: 2.2rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 60px;
        height: 60px;
    }
    
    .content-section {
        margin-bottom: 4rem;
    }
    
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .legal-content h2 {
        font-size: 1.6rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .contact-section {
        margin-bottom: 4rem;
    }
    
    .filter-controls {
        gap: 1rem;
    }
    
    .filter-btn {
        font-size: 0.85rem;
    }
    
    .search-input {
        font-size: 1rem;
    }
    
    .content-card-header h3 {
        font-size: 1.3rem;
    }
    
    .expand-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-container h1 {
        font-size: 2rem;
    }
    
    .header-text h1 {
        font-size: 1.8rem;
    }
    
    .welcome-section h2 {
        font-size: 1.8rem;
    }
    
    .welcome-section p {
        font-size: 0.95rem;
    }

    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }
    
    .content-card h3 {
        font-size: 1.3rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }
}

