/* CSS Variables - Neutral Color Scheme with Retro Elements */
:root {
    /* Primary Colors */
    --primary-color: #6b73ff;
    --primary-dark: #5a61cc;
    --primary-light: #8b92ff;
    
    /* Secondary Colors */
    --secondary-color: #ff6b6b;
    --secondary-dark: #cc5555;
    --secondary-light: #ff8b8b;
    
    /* Neutral Colors */
    --neutral-dark: #2c3e50;
    --neutral-medium: #34495e;
    --neutral-light: #ecf0f1;
    --neutral-lighter: #f8f9fa;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ffffff;
    --text-muted: #95a5a6;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2c3e50;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Retro Colors */
    --retro-orange: #ff8c42;
    --retro-pink: #ff6b9d;
    --retro-purple: #9b59b6;
    --retro-teal: #1abc9c;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
}

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

body {
    font-family: var(--font-body);
    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: var(--font-weight-medium);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

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

.subtitle {
    color: var(--text-secondary) !important;
}

/* Particles Animation Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    padding: var(--spacing-xs) 0;
}

.navbar-brand .navbar-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color) !important;
}

.navbar-item {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

/* Burger Menu */
.navbar-burger {
    color: var(--text-primary) !important;
}

.navbar-burger:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

/* Button Styles - Global */
.btn, 
.button,
input[type="submit"],
button {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition-medium);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.retro-button {
    background: var(--bg-gradient);
    color: var(--text-light);
    border: 2px solid transparent;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
}

.retro-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.retro-button:hover::before {
    left: 100%;
}

.retro-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--text-light);
}

.button.is-outlined {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.button.is-outlined:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: fixed;
}

.hero-body {
    padding: var(--spacing-xl) 0;
}

.hero .title,
.hero .subtitle {
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero .title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

/* Statistics Section */
.stat-widget {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-primary);
    flex-shrink: 0;
    margin-right: var(--spacing-md);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.timeline-marker.is-info {
    background: var(--retro-teal);
}

.timeline-marker.is-success {
    background: var(--retro-orange);
}

.timeline-marker.is-warning {
    background: var(--retro-pink);
}

.timeline-content {
    flex: 1;
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

/* Card Styles */
.card, 
.retro-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-medium);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card:hover,
.retro-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: var(--spacing-md);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Partner Cards */
.partner-card {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.partner-card img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: var(--transition-medium);
}

.partner-card:hover img {
    filter: grayscale(0%);
}

/* Press Items */
.press-item {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    margin-bottom: var(--spacing-md);
}

.press-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateX(5px);
}

/* Form Styles */
.contact-form-container {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.retro-input,
.input,
.textarea,
.select select {
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.retro-input:focus,
.input:focus,
.textarea:focus,
.select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
    outline: none;
}

.label {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
}

/* Tags */
.tag {
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
}

.tag.is-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.tag.is-success {
    background: var(--retro-teal);
    color: var(--text-light);
}

.tag.is-info {
    background: var(--retro-orange);
    color: var(--text-light);
}

.tag.is-warning {
    background: var(--retro-pink);
    color: var(--text-light);
}

/* Section Spacing */
.section {
    padding: var(--spacing-xl) 0;
}

.section.has-background-light {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark) !important;
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer .title {
    color: var(--text-light) !important;
}

.footer p,
.footer li {
    color: var(--text-muted) !important;
}

.footer a {
    color: var(--text-muted) !important;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-light) !important;
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.social-links a {
    padding: var(--spacing-xs) 0;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: var(--spacing-xs);
}

/* Cookie Consent */
.cookie-consent {
    background: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--primary-color);
}

.cookie-consent p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.cookie-consent a {
    color: var(--primary-light);
}

.cookie-consent button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-consent button:hover {
    background: var(--primary-dark);
}

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

.success-content {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

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

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

.content-page h1,
.content-page h2,
.content-page h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.content-page p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-marker {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
}

@media screen and (max-width: 480px) {
    .hero .title {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .buttons .button {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .card-content {
        padding: var(--spacing-sm);
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
    transition: var(--transition-medium);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Animations */
.loading-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Background Textures */
.texture-paper {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="paper" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><rect fill="%23ffffff" width="10" height="10"/><circle fill="%23f8f9fa" cx="5" cy="5" r="0.5"/></pattern></defs><rect fill="url(%23paper)" width="100" height="100"/></svg>');
}

.texture-noise {
    position: relative;
}

.texture-noise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
}