﻿:root {
    --bg-color: #050505;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.14);
    --divider-color: rgba(255, 255, 255, 0.1);
    --accent: #ffcd2a;
    --accent-strong: #ffe65a;
    --accent-contrast: #050505;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
    --font-heading: "Oxanium", "Segoe UI", Arial, sans-serif;
    --max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100%;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 12%, rgba(255, 205, 42, 0.16), transparent 40%),
        radial-gradient(circle at 85% 0%, rgba(255, 230, 90, 0.12), transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.45)), url('background3.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--divider-color);
}

.hero::after {
    content: "";
    position: absolute;
    right: -15%;
    top: 5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 205, 42, 0.24), transparent 30%);
    filter: blur(8px);
    opacity: 0.9;
    z-index: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 74px;
    width: auto;
    display: block;
    transform: translateX(-32px);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: all 0.2s ease;
}

.nav-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.cta {
    border: 1px solid rgba(255, 205, 42, 0.7);
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(255, 205, 42, 0.1);
    color: var(--text-primary);
}

.cta:hover {
    background: var(--accent);
    color: var(--accent-contrast);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 0 5rem;
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--accent-contrast);
}

.btn.primary:hover {
    transform: translateY(-2px);
    background: var(--accent-strong);
}


.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    position: relative;
    padding: 1.6rem 1.6rem 1.4rem;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7));
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 205, 42, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(240px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 205, 42, 0.45), transparent);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.vision {
    background: linear-gradient(180deg, rgba(255, 205, 42, 0.04), transparent 60%);
}


.research-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.research-item {
    position: relative;
    padding: 1.6rem 1.6rem 1.6rem 2.4rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border-color);
}

.research-item::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    width: 3px;
    height: calc(100% - 2.2rem);
    background: linear-gradient(180deg, var(--accent), rgba(255, 205, 42, 0));
}

.research-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.research-item p {
    color: var(--text-muted);
}

.progress-card {
    padding: 2rem;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 205, 42, 0.18), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 205, 42, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.progress-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.contact {
    border-bottom: 1px solid var(--divider-color);
}

.contact .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.2rem;
}

.contact-link:hover {
    border-bottom-color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    background: var(--surface-alt);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer {
    padding: 2.5rem 0;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 20px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

.cookie-banner.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.cookie-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy > * {
    animation: fadeUp 0.8s ease both;
}

.hero-copy > *:nth-child(1) {
    animation-delay: 0.05s;
}

.hero-copy > *:nth-child(2) {
    animation-delay: 0.12s;
}

.hero-copy > *:nth-child(3) {
    animation-delay: 0.2s;
}


.hero-cards .card {
    animation: fadeUp 0.9s ease both;
}

.hero-cards .card:nth-child(1) {
    animation-delay: 0.25s;
}

.hero-cards .card:nth-child(2) {
    animation-delay: 0.35s;
}

.hero-cards .card:nth-child(3) {
    animation-delay: 0.45s;
}

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .research-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cta {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-panel {
        padding: 1.6rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        width: min(92vw, 360px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
