/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Container */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    background: var(--background);
    border-radius: 24px;
    padding: 3rem;
    max-width: 1000px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo-image {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
}

/* Lottie Animation */
.lottie-animation {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 0 auto 2rem auto;
}

.coming-soon h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--background-alt);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Notify Section */
.notify-section {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.notify-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.notify-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.notify-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.notify-form button {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.notify-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.notify-form button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-row {
    width: 100%;
}

.footer-copyright {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-funding {
    display: flex;
    justify-content: center;
}

.eu-funding {
    width: 100%;
    text-align: center;
}

.funding-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eu-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    width: 100%;
    overflow: hidden;
}

.eu-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 2rem 1.5rem;
    }

    .lottie-animation {
        max-width: 300px;
        height: 250px;
    }

    .logo-image {
        height: 100px;
    }

    .coming-soon h2 {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-form button {
        width: 100%;
    }

    .eu-logo-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .content {
        padding: 1.5rem 1rem;
    }

    .lottie-animation {
        max-width: 250px;
        height: 200px;
    }

    .logo-image {
        height: 80px;
    }

    .tagline {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }
}

/* Accessibility - High Contrast Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1e40af;
        --border-color: #000000;
    }

    .service-card {
        border: 2px solid var(--border-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Accessibility - Readable Font */
body.readable-font,
body.readable-font * {
    font-family: Arial, sans-serif !important;
}

body.readable-font {
    font-size: 125% !important;
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
