/* Auxiliary Pages Styles */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --accent-color: #F8BBD9;
    --background-color: #FEFBF8;
    --text-color: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    --shadow-lg: 0 8px 40px rgba(79, 70, 229, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(248, 187, 217, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Header */
.header {
    background: rgba(254, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-brand:hover {
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
}

.nav a:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

/* Main Content */
.main {
    flex: 1;
    padding: 60px 0;
}

.main .container {
    max-width: 800px;
}

.content-block {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

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

/* About Page Specific Styles */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img,
.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-section,
.team-section,
.innovation-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.methodology-illustration,
.innovation-illustration {
    max-width: 100%;
    height: auto;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-brand .logo-brand .brand-name {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-300);
    margin-top: 16px;
}

.footer-navigation {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    margin: 0;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

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

.cookie-policy-link:hover {
    color: #3730A3;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

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

.cookie-btn-primary:hover {
    background: #3730A3;
}

.cookie-btn-secondary {
    background: var(--gray-100);
    color: var(--text-color);
    border: 1px solid var(--gray-300);
}

.cookie-btn-secondary:hover {
    background: var(--gray-200);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: var(--text-color);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
}

.cookie-required {
    background: var(--gray-100);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    border-radius: 24px;
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        justify-content: center;
    }
    
    .main {
        padding: 40px 0;
    }
    
    .content-block {
        padding: 30px 20px;
    }
    
    .about-hero,
    .methodology-section,
    .team-section,
    .innovation-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img,
    .team-image img {
        height: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
}