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

:root {
    --color-background: oklch(0.985 0.002 106.764);
    --color-foreground: oklch(0.238 0.019 286.623);
    --color-primary: oklch(0.287 0.067 286.846);
    --color-primary-foreground: oklch(0.985 0.002 106.764);
    --color-secondary: oklch(0.438 0.111 286.704);
    --color-secondary-foreground: oklch(0.985 0.002 106.764);
    --color-muted: oklch(0.954 0.004 286.623);
    --color-muted-foreground: oklch(0.556 0.022 286.623);
    --color-accent: oklch(0.438 0.111 286.704);
    --color-border: oklch(0.908 0.008 286.623);
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(251, 251, 251, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-foreground);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: var(--radius);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius);
}

.logo-text {
    white-space: nowrap;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(60, 37, 77, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-foreground);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-foreground);
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .desktop-only {
        display: inline-flex;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-muted);
}

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

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.hero {
    position: relative;
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    background-color: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
}

.hero-badge svg {
    color: var(--color-accent);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.page-hero {
    padding: 4rem 0 2rem;
    background-color: rgba(243, 243, 243, 0.3);
    border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.page-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
    text-wrap: pretty;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.features {
    padding: 4rem 0;
    background-color: rgba(243, 243, 243, 0.3);
}

.mission {
    padding: 4rem 0;
}

.mission-content {
    max-width: 42rem;
    margin: 0 auto;
}

.mission-text {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .mission {
        padding: 6rem 0;
    }
    
    .mission-text {
        font-size: 1.125rem;
    }
}

.section-header {
    max-width: 42rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    text-wrap: pretty;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.feature-card {
    padding: 1.5rem;
    background-color: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: rgba(111, 70, 133, 0.5);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    background-color: rgba(73, 46, 88, 0.1);
    border-radius: var(--radius);
}

.feature-icon svg {
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .features {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

.stats {
    padding: 3rem 0;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-description {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: rgba(73, 46, 88, 0.1);
    border-radius: var(--radius);
    color: var(--color-primary);
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.contact-form-container {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--color-foreground);
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    resize: vertical;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.stats-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
}

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

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

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.courses {
    padding: 4rem 0;
    background-color: rgba(243, 243, 243, 0.3);
}

.courses-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.course-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-muted);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-header {
    padding: 1.5rem;
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
    border-radius: calc(var(--radius) - 2px);
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.course-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.course-footer {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

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

@media (min-width: 768px) {
    .courses {
        padding: 6rem 0;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news {
    padding: 4rem 0;
}

.news-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.news-card {
    padding: 1.5rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-muted);
    border-radius: calc(var(--radius) - 2px);
    margin-bottom: 1rem;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card:hover {
    border-color: rgba(111, 70, 133, 0.5);
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.badge-outline {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) - 2px);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .news {
        padding: 6rem 0;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta {
    padding: 5rem 0;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.cta-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.footer {
    padding: 3rem 0;
    background-color: rgba(243, 243, 243, 0.3);
    border-top: 1px solid var(--color-border);
}

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

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

.footer-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-links li {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-muted-foreground);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-foreground);
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.policy-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.policy-subheading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-foreground);
}

.policy-text {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-list li {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.policy-link:hover {
    text-decoration: none;
}

.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.cookie-table th {
    background-color: var(--color-muted);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid var(--color-border);
}

.cookie-table td {
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    color: var(--color-muted-foreground);
}

@media (min-width: 768px) {
    .policy-content {
        padding: 6rem 0;
    }
    
    .policy-heading {
        font-size: 1.75rem;
    }
}

.team {
    padding: 4rem 0;
    background-color: white;
}

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

.team-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 325px;
    height: 525px;
    justify-self: center;
}

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

.team-image {
    width: 325px;
    height: 360px;
    overflow: hidden;
    background-color: var(--color-muted);
    flex-shrink: 0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-foreground);
}

.team-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .team {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
