/* CSS Variables */
:root {
    /* Monochromatic Color Scheme - Greys & Blacks */
    --primary-color: #2c2c2c;
    --primary-light: #4a4a4a;
    --primary-dark: #1a1a1a;
    --secondary-color: #666666;
    --secondary-light: #888888;
    --secondary-dark: #444444;
    
    /* Accent Colors */
    --accent-color: #ffffff;
    --accent-light: #f8f8f8;
    --accent-dark: #e0e0e0;
    
    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --text-light: #888888;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-dark: #2c2c2c;
    --bg-light: #fafafa;
    
    /* Neumorphism Colors */
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --surface-color: #f0f0f0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Neumorphism Mixins */
.neuro-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

.neuro-card:hover {
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
    transform: translateY(-2px);
}

.neuro-inset {
    background: var(--surface-color);
    border-radius: var(--radius-sm);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

/* Button Styles */
.btn, 
button, 
input[type="submit"], 
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--surface-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    min-width: 120px;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.button:hover {
    box-shadow: 
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
    transform: scale(0.98);
    color: var(--text-primary);
    text-decoration: none;
}

.btn.is-primary,
.button.is-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 
        6px 6px 12px rgba(44, 44, 44, 0.3),
        -6px -6px 12px rgba(44, 44, 44, 0.1);
}

.btn.is-primary:hover,
.button.is-primary:hover {
    background: var(--primary-light);
    color: var(--text-white);
    box-shadow: 
        inset 6px 6px 12px rgba(44, 44, 44, 0.3),
        inset -6px -6px 12px rgba(44, 44, 44, 0.1);
}

.btn.is-outlined,
.button.is-outlined {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn.is-outlined:hover,
.button.is-outlined:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar-brand .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-item {
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.navbar-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-title {
    color: var(--text-white) !important;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    color: var(--text-white) !important;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    color: var(--text-white) !important;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s both;
}

.buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

/* Mission Section */
.mission-card {
    @extend .neuro-card;
    max-width: 100%;
    margin: 0 auto;
}

.mission-card .card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Features Section */
.feature-card {
    @extend .neuro-card;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.feature-card .image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.feature-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.feature-card:hover .image-container img {
    transform: scale(1.05);
}

/* Card Styles */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.card-image img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    display: block;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

/* Methodology Section */
.accordion-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: rgba(255, 255, 255, 0.5);
}

.accordion-content p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Statistics Section */
.stat-card {
    @extend .neuro-card;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

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

.progress-section {
    @extend .neuro-card;
}

.progress-item {
    margin-bottom: var(--spacing-md);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.progress {
    height: 12px;
    border-radius: var(--radius-sm);
    background: var(--neuro-inset);
    overflow: hidden;
}

.progress::-webkit-progress-bar {
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
}

.progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-sm);
}

/* Pricing Section */
.pricing-card {
    @extend .neuro-card;
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-sm) 0;
    font-family: var(--font-heading);
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonial-card {
    @extend .neuro-card;
    text-align: center;
}

.testimonial-card .card-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-sm);
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

/* History Section */
.timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-lg);
}

.timeline-marker {
    position: absolute;
    left: -var(--spacing-lg);
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--surface-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.timeline-content {
    @extend .neuro-card;
    padding: var(--spacing-md);
}

/* Partners Section */
.partner-card {
    @extend .neuro-card;
    text-align: center;
    padding: var(--spacing-md);
}

.partner-card img {
    width: 100%;
    max-width: 200px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

/* Media Section */
.media-card {
    @extend .neuro-card;
}

.media-card .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

/* External Resources Section */
.resource-card {
    @extend .neuro-card;
    height: 100%;
}

.resource-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.resource-card h3 a:hover {
    color: var(--primary-light);
}

/* Contact Section */
.contact-card {
    @extend .neuro-card;
    max-width: 100%;
}

.contact-form .field {
    margin-bottom: var(--spacing-md);
}

.contact-form .label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-color);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
    transition: all var(--transition-normal);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
    outline: none;
    box-shadow: 
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer h3,
.footer h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--spacing-xs);
}

.footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--text-white);
}

.footer hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: var(--spacing-md) 0;
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding-top: 100px;
}

.success-content {
    @extend .neuro-card;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Privacy & Terms Pages */
.content-page {
    padding-top: 100px;
    min-height: 100vh;
}

.content-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.content-page .content {
    @extend .neuro-card;
}

/* Cookie Consent */
.cookie-consent {
    background: rgba(44, 44, 44, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent button {
    background: var(--primary-color) !important;
    color: var(--text-white) !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer !important;
    transition: all var(--transition-normal) !important;
}

.cookie-consent button:hover {
    background: var(--primary-light) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .navbar-burger {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(240, 240, 240, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-item {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .timeline {
        padding-left: var(--spacing-md);
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -var(--spacing-sm);
        width: 16px;
        height: 16px;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn,
    .button {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .navbar,
    .cookie-consent {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description {
        color: black !important;
        text-shadow: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-dark: rgba(0, 0, 0, 0.5);
        --shadow-light: rgba(255, 255, 255, 1);
    }
    
    .card,
    .neuro-card {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        background-attachment: scroll;
    }
}