:root {
    --primary-color: #2D1B69;
    --accent-color: #FF6B6B;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #666666;
    --background-light: #FAFAFA;
    --background-white: #FFFFFF;
    --border-light: #E5E5E5;
    --border-medium: #CCCCCC;
    --spacing-unit: 8px;
    --border-radius: 8px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-medium);
}

ul {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

/* Header */
.header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    padding: calc(var(--spacing-unit) * 3) 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.brand-name h1 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
}

.brand-name h1 a {
    color: var(--text-dark);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
}

.nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3D2F7F 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 8) 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Blocks */
.content-block {
    padding: calc(var(--spacing-unit) * 10) 0;
    flex: 1;
}

.content-block.alt {
    background-color: var(--background-light);
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

.content-text {
    max-width: 500px;
}

.content-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Images */
.content-image {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, var(--border-light) 0%, #F0F0F0 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    aspect-ratio: 16/10;
    min-height: 200px;
    width: 100%;
}

.placeholder-image span {
    font-size: 1.125rem;
}

/* Approach Highlights */
.approach-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 4);
}

.highlight {
    background: var(--background-white);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight h4 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit));
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
    text-align: center;
}

.stat {
    background: var(--background-white);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit));
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: var(--font-weight-medium);
}

/* Policy Content */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: calc(var(--spacing-unit) * 6);
    padding-bottom: calc(var(--spacing-unit) * 4);
    border-bottom: 1px solid var(--border-light);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.policy-section p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.7;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 2);
}

.footer-brand h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

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

.footer-column ul li {
    margin-bottom: calc(var(--spacing-unit));
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: calc(var(--spacing-unit) * 3);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: calc(var(--spacing-unit) * 3);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
}

.cookie-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    flex-shrink: 0;
    flex-wrap: wrap;
}

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

.btn-cookie-accept,
.btn-cookie-customize,
.btn-cookie-reject {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.btn-cookie-accept {
    background-color: var(--accent-color);
    color: white;
}

.btn-cookie-accept:hover {
    background-color: #FF5555;
}

.btn-cookie-customize {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-customize:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-cookie-reject {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
}

.btn-cookie-reject:hover {
    color: white;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    background-color: var(--background-white);
    margin: 10% auto;
    padding: calc(var(--spacing-unit) * 5);
    border-radius: calc(var(--border-radius) * 2);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 4);
    text-align: center;
}

.cookie-modal-intro {
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--text-medium);
}

.cookie-category {
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 3);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 24px;
    background-color: var(--border-medium);
    border-radius: 12px;
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: var(--accent-color);
    opacity: 0.7;
}

.cookie-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.cookie-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.cookie-modal-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    justify-content: space-between;
    margin-top: calc(var(--spacing-unit) * 4);
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }

    .header .container {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }

    .nav {
        gap: calc(var(--spacing-unit) * 2);
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }

    .content-split.reverse {
        direction: ltr;
    }

    .approach-highlights,
    .team-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}