/* Root Variables */
:root {
    --color-primary-bg: #0F0F11;
    --color-secondary-bg: #1A1A1D;
    --color-accent: #7B4DFF;
    --color-accent-light: #A17EFF;
    --color-text-primary: #E0E0E0;
    --color-text-secondary: #9E9E9E;
    --color-warning-bg: #1C1A1F;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-primary-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary-bg);
    border-top: 1px solid var(--color-accent);
    padding: 1rem;
    z-index: 1000;
    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: 1rem;
    flex-wrap: wrap;
}

.cookie-text {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    flex: 1;
    min-width: 250px;
}

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cookie-accept:hover {
    opacity: 0.9;
}

/* Header */
.header-bg {
    background-color: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 77, 255, 0.1);
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(15deg);
}

.logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background-color: rgba(123, 77, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--color-secondary-bg);
    border-top: 1px solid rgba(123, 77, 255, 0.2);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.75rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--color-primary-bg);
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
}

.geometric-overlay {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(123, 77, 255, 0.3);
}

.geometric-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.geometric-overlay:hover .geometric-lines {
    opacity: 1;
}

.geometric-lines circle,
.geometric-lines line {
    transition: stroke 0.3s ease, opacity 0.3s ease;
}

.geometric-overlay:hover .pulse-ring {
    animation: pulse 2s infinite;
}

.geometric-overlay:hover .pulse-ring-2 {
    animation: pulse 2s infinite 0.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        stroke-width: 1;
    }
    50% {
        opacity: 1;
        stroke-width: 2;
    }
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.bg-primary {
    background-color: var(--color-primary-bg);
    color: var(--color-text-primary);
}

.bg-secondary {
    background-color: var(--color-secondary-bg);
}

.bg-warning {
    background-color: var(--color-warning-bg);
}

.text-primary {
    color: var(--color-text-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.body-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.divider-line {
    border-left: 2px solid var(--color-accent);
    padding-left: 2rem;
}

/* Analysis Cards */
.analysis-card {
    background-color: var(--color-secondary-bg);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid rgba(123, 77, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.analysis-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 30px rgba(123, 77, 255, 0.3);
    transform: translateY(-5px);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.analysis-card:hover .card-icon {
    color: var(--color-accent);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.card-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Limitations Section */
.limitation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.limitation-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.limitation-text {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Slider */
.slider-container {
    position: relative;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 0.5rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    padding: 1rem;
    background-color: var(--color-secondary-bg);
    text-align: center;
}

.slider-image {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.slider-caption {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-style: italic;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.slider-btn {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--color-accent);
    color: white;
}

/* Team Section */
.team-card {
    text-align: center;
}

.team-photo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    overflow: hidden;
    padding: 4px;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.team-role {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.team-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Glossary Section */
.glossary-visual {
    position: relative;
}

.glossary-graph {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.glossary-graph svg {
    width: 100%;
    height: auto;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-text-secondary);
    color: var(--color-text-primary);
    padding: 0.75rem 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

.form-input::placeholder {
    color: var(--color-text-secondary);
}

select.form-input {
    cursor: pointer;
}

.contact-visual svg {
    width: 100%;
    height: auto;
}

/* Map Section */
.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    height: 400px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer-bg {
    background-color: var(--color-secondary-bg);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(123, 77, 255, 0.1);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .divider-line {
        border-left: none;
        border-top: 2px solid var(--color-accent);
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .slider-item {
        padding: 0.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}
