:root {
    --primary-color: #4A90E2; /* Dunkleres, satteres Blau */
    --secondary-color: #2C3E50; /* Dunkles Blaugrau */
    --accent-color: #E8F3FF; /* Angepasstes helles Blau */
    --background-color: #FAFBFD;
    --text-color: #2C3E50;
    --light-gray: #F0F4F8; /* Hellblauer Hintergrund */
    --border-color: #C9E0F7; /* Dunklerer Border */
    --dark-bg: #1E293B; /* Dunkelblau für Footer */
    --card-bg: #FFFFFF;
    --section-bg: #F5F8FC;
    --spacing-unit: 1rem;
    --box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 70px; /* Match header height */
    max-width: 100vw;
    margin: 0;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 224, 247, 0.2);
    height: 70px; /* Fixed height for header */
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.2));
}

.logo svg path {
    fill: url(#logo-gradient);
}

.logo svg defs {
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
}

.logo svg linearGradient {
    id: logo-gradient;
    x1: 0%;
    y1: 0%;
    x2: 100%;
    y2: 100%;
}

.logo svg linearGradient stop:first-child {
    offset: 0%;
    stop-color: #7C3AED;
}

.logo svg linearGradient stop:last-child {
    offset: 100%;
    stop-color: #4A90E2;
}

.logo a:hover svg {
    transform: scale(1.1);
}

.logo span {
    font-weight: 300;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span small {
    font-size: 0.7em;
    color: var(--secondary-color);
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 6rem 2rem;
    background: var(--light-gray);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    padding-left: 8rem;
}

.hero-text {
    text-align: left;
    max-width: 600px;
    padding-right: 2rem;
    margin-top: -4rem;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
    white-space: pre-line;
    text-align: left;
    font-weight: 700;
}

.hero-text h1 strong {
    display: block;
    font-size: 5.5rem;
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -1px;
    position: relative;
    margin-top: -2rem;
}

.hero-text h1 strong::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #7C3AED, #4A90E2);
    border-radius: 2px;
}

.hero-text h1 span {
    display: block;
    font-size: 2.4rem;
    color: var(--secondary-color);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #7C3AED, transparent);
    opacity: 0.7;
}

.features-text {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding-left: 0.5rem;
}

.features-text span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.features-text span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -1.5rem;
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.7;
}

.features-text span:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    height: 500px;
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 200px;
    text-align: center;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2), 0 2px 4px -2px rgba(74, 144, 226, 0.2);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #6D28D9, #357ABD);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.cta-button.secondary:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.psychologist-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    object-fit: cover;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    position: relative;
    max-width: 80%;
    animation: fadeIn 0.5s ease-out;
}

.chat-bubble.assistant {
    align-self: flex-start;
    background: var(--light-gray);
    color: var(--text-color);
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
}

.chat-input-container {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 0 0 16px 16px;
}

.chat-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-gray);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.send-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.send-button:hover {
    transform: scale(1.05);
    background: var(--secondary-color);
}

.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    width: fit-content;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.typing-indicator.active {
    opacity: 1;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f3f3f3 25%, transparent 25%),
                linear-gradient(-45deg, #f3f3f3 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f3f3f3 75%),
                linear-gradient(-45deg, transparent 75%, #f3f3f3 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.5;
}

/* Section Headers */
.section-header {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #7C3AED, #4A90E2);
    opacity: 0.8;
    border-radius: 3px;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234990e3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.about-section > * {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Stats Section */
.about-stats {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
    text-align: center;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #7C3AED, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

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

/* How it Works Section */
.how-it-works-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234990e3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.how-it-works-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.neurolist-intro {
    max-width: 1000px;
    margin: 0 auto 1rem;
    text-align: center;
    padding: 3.5rem 2rem 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.neurolist-intro h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neurolist-intro p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chat-demo {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    border-bottom: none;
    margin-top: 2rem;
}

.process-connection {
    text-align: center;
    margin: 0;
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.connection-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #7C3AED, #4A90E2);
    opacity: 0.5;
    z-index: 0;
}

.connection-text {
    background: white;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    color: #7C3AED;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    border: 2px solid #7C3AED;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.connection-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 30px;
    z-index: -1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 0;
    padding-top: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.5;
}

.step {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.step::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    opacity: 0.5;
}

.step:first-child::before {
    right: -2rem;
}

.step:last-child::before {
    left: -2rem;
}

.step:nth-child(2)::before {
    display: none;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-image {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.step p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0.5rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 0;
        text-align: center;
        max-width: 100%;
        margin: 0;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .hero-text h1 strong {
        font-size: 3.5rem;
        margin-bottom: 1.2rem;
        margin-top: 0;
    }

    .hero-text h1 span {
        font-size: 1.8rem;
        margin-top: 0.5rem;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .features-text {
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .features-text span {
        font-size: 1rem;
    }

    .features-description {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
    }

    .hero-diagram {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .diagram-image {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 0.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        padding: 0 0.3rem;
    }

    .hero-text h1 strong {
        font-size: 2.8rem;
    }

    .hero-text h1 span {
        font-size: 1.5rem;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
        padding: 0 0.3rem;
    }

    .features-text {
        font-size: 0.9rem;
        gap: 1.2rem;
        padding: 0 0.3rem;
    }

    .features-text span {
        font-size: 0.9rem;
    }

    .features-description {
        font-size: 0.9rem;
        padding: 0 0.8rem;
    }

    .hero-buttons {
        padding: 0 0.3rem;
    }

    .cta-button {
        max-width: 260px;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-diagram {
        padding: 0 0.3rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background-color: var(--section-bg);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    opacity: 0.4;
    z-index: -1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

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

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2C3E50 100%);
    padding: 6rem 2rem 2rem;
    color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 100% 0%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--card-bg);
    opacity: 0.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.made-in-germany {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--card-bg);
    transition: var(--transition);
}

.made-in-germany:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.made-in-germany img {
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-text h1 {
        text-align: center;
    }

    .features-text {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-diagram {
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    nav {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 1rem;
        box-shadow: var(--shadow-xl);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-section {
        min-height: calc(100vh - 60px); /* Adjust for mobile header */
        padding: 2rem 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .features-text {
        font-size: 1.5rem;
    }

    .features-text span {
        margin: 0;
    }

    .features-text span:not(:last-child)::after {
        margin: 0 0.25rem;
    }

    .hero-image {
        height: 400px;
    }

    .hero-content,
    .about-content,
    .steps,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.language-btn:hover {
    border-color: var(--primary-color);
}

.language-btn svg {
    transition: var(--transition);
}

.language-selector:hover .language-btn svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    box-shadow: var(--box-shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background: var(--section-bg);
}

.language-dropdown a.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: var(--box-shadow);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .nav-links a:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

    .language-selector {
        width: 100%;
        text-align: center;
    }

    .language-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        background: var(--background-color);
        border: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }

    .language-dropdown {
        position: static;
        width: 100%;
        background: var(--background-color);
        box-shadow: none;
        display: none;
        border: none;
        margin-top: 0.5rem;
    }

    .language-selector:hover .language-dropdown {
        display: none;
    }

    .language-selector.active .language-dropdown {
        display: block;
    }

    .language-dropdown a {
        padding: 0.75rem;
        text-align: center;
        display: block;
        border-bottom: 1px solid var(--border-color);
    }

    .language-dropdown a:last-child {
        border-bottom: none;
    }

    .language-dropdown a:hover {
        background-color: var(--accent-color);
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .about h2, .how-it-works h2, .contact h2 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }
}

/* Landscape Mode */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .chat-widget {
        height: 100vh;
    }

    .chat-messages {
        height: calc(100vh - 100px);
    }
}

/* Legal Content Pages */
.legal-content {
    max-width: 800px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        margin-top: 100px;
        padding: 0 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }
}

/* Hero Diagram Styles */
.hero-diagram {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    will-change: transform;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: block;
    transition: transform 0.1s ease-out;
}

.diagram-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-style: preserve-3d;
    max-width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

.hero-diagram.moving {
    transition: none;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    transform-origin: center center;
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-text h1 {
        text-align: center;
    }

    .features-text {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-diagram {
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-diagram {
        max-width: 100%;
    }
}

.chat-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border-radius: 24px;
    color: var(--primary-color);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.chat-indicator:hover {
    transform: translateY(-2px);
}

.chat-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .neurolist-intro {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .neurolist-intro h3 {
        font-size: 1.3rem;
    }

    .neurolist-intro p {
        font-size: 1rem;
    }
}

.features-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    max-width: 500px;
    opacity: 0.9;
} 