:root {
    --primary-color: #ff6b35;
    --secondary-color: #4a5568;
    --accent-color: #2d3748;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e55a2b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-secondary);
    color: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-buttons button:hover {
    background: white;
    color: var(--accent-color);
}

.btn-accept {
    background: white;
    color: var(--accent-color);
}

.btn-accept:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cookie-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-settings h3 {
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-option p {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-save {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
}

.main-header {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    background: var(--gradient-primary);
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.95;
}

.header-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.header-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.main-nav {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
    background: rgba(45, 55, 72, 0.1);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo:hover {
    color: rgba(255, 255, 255, 0.9);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
    width: 100%;
}

.header-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.main-title {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
}

.intro-section {
    padding: 6rem 0;
    background: white;
}

.intro-article {
    max-width: 800px;
    margin: 0 auto;
}

.intro-article .lead-text {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.intro-article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.update-date {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

.articles-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:nth-child(1) {
    transform: rotate(-1deg);
}

.article-card:nth-child(2) {
    transform: rotate(1deg);
}

.article-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.article-card:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gradient-accent);
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-image img[src=""],
.card-image img:not([src]) {
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img[src=""]::after,
.card-image img:not([src])::after {
    content: 'Image placeholder';
    color: white;
    font-size: 0.9rem;
}

.article-image img[src=""],
.article-image img:not([src]) {
    background: var(--gradient-accent);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    flex: 1;
}

.article-meta {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.article-meta li {
    padding: 0.25rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-read-more {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.resources-section {
    padding: 6rem 0;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateX(10px);
}

.resource-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.resource-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.article-detail {
    background: white;
}

.article-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.article-header h1 {
    color: white;
    margin-top: 1rem;
}

.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li:last-child::after {
    display: none;
}

.article-meta-info {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-content {
    padding: 4rem 0;
}

.article-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body section {
    margin-bottom: 3rem;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-back,
.btn-next {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover,
.btn-next:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.about-page,
.contact-page {
    background: white;
}

.about-header,
.contact-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.about-header h1,
.contact-header h1 {
    color: white;
    margin-top: 1rem;
}

.contact-intro {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.about-content,
.contact-content {
    padding: 4rem 0;
}

.about-intro,
.about-story,
.about-methodology,
.about-transparency,
.about-contact-cta {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--bg-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-note {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-note h3 {
    margin-bottom: 1rem;
}

.contact-note ul {
    list-style: none;
    padding: 0;
}

.contact-note li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.contact-note li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.main-footer {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .header-content {
        padding: 2rem 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-card:nth-child(1),
    .article-card:nth-child(2),
    .article-card:nth-child(3) {
        transform: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .article-navigation {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .main-header {
        min-height: 60vh;
    }

    .intro-section,
    .articles-section,
    .resources-section {
        padding: 3rem 0;
    }

    .article-content,
    .about-content,
    .contact-content {
        padding: 2rem 0;
    }
}

