/* ========================================
   FlowMedical Systems - Design System
   ======================================== */

/* CSS Variables */
:root {
    --primary-cyan: #06b6d4;
    --primary-cyan-light: #22d3ee;
    --primary-cyan-dark: #0891b2;
    --background-dark: #0a0a0f;
    --background-navy: #0f1419;
    --background-elevated: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-magenta: #ff00aa;
    --heart-red: #ef4444;
    --font-primary: 'Exo 2', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-mono: 'Courier New', monospace;
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.5);
    --glow-cyan-strong: 0 0 30px rgba(6, 182, 212, 0.7);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   Video Intro Section
   ======================================== */
.video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.video-intro.fade-out {
    opacity: 0;
    visibility: hidden;
}

.video-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.8));
    transform: scale(1.05);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #fff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff;
}

.nav-logo:hover .logo-main {
    background: linear-gradient(90deg, #06b6d4, #a855f7, #22c55e, #ef4444, #06b6d4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowFlow 2s linear infinite;
}

.nav-logo:hover .logo-slogan span {
    color: #ffffff !important;
    text-shadow: none !important;
    animation: none !important;
}

@keyframes rainbowFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.logo-slogan {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    gap: 0.3rem;
}

.logo-slogan .s1 {
    color: #06b6d4;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    animation: colorPulse1 3s ease-in-out infinite;
}

.logo-slogan .s2 {
    color: #a855f7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
    animation: colorPulse2 3s ease-in-out infinite 0.5s;
}

.logo-slogan .s3 {
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: colorPulse3 3s ease-in-out infinite 1s;
}

.logo-slogan .s4 {
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: colorPulse4 3s ease-in-out infinite 1.5s;
}

@keyframes colorPulse1 {
    0%, 100% { color: #06b6d4; text-shadow: 0 0 8px rgba(6, 182, 212, 0.6); }
    50% { color: #22d3ee; text-shadow: 0 0 15px rgba(6, 182, 212, 0.9); }
}

@keyframes colorPulse2 {
    0%, 100% { color: #a855f7; text-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }
    50% { color: #c084fc; text-shadow: 0 0 15px rgba(168, 85, 247, 0.9); }
}

@keyframes colorPulse3 {
    0%, 100% { color: #22c55e; text-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
    50% { color: #4ade80; text-shadow: 0 0 15px rgba(34, 197, 94, 0.9); }
}

@keyframes colorPulse4 {
    0%, 100% { color: #ef4444; text-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
    50% { color: #f87171; text-shadow: 0 0 15px rgba(239, 68, 68, 0.9); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-cyan);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Language Switch */
.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-switch:hover {
    background: rgba(6, 182, 212, 0.1);
}

.lang-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.lang-text.active {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.dna-icon {
    width: 24px;
    height: 24px;
    animation: dna-rotate 3s linear infinite;
}

@keyframes dna-rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section / Main Content
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

/* Typewriter Effect */
.typewriter-container {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.typewriter-text {
    white-space: pre-wrap;
}

.typewriter-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: var(--primary-cyan);
    margin-left: 2px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typewriter-highlight {
    color: var(--primary-cyan);
    font-weight: 600;
}

.typewriter-emphasis {
    color: var(--text-primary);
    font-weight: 600;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--background-dark);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
    opacity: 0;
    transform: translateY(20px);
}

.cta-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan-strong);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* ========================================
   Page Sections
   ======================================== */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Centered 3-column grid for partnership page */
.feature-grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.feature-grid-3 .feature-card {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: 350px;
}

@media (max-width: 1000px) {
    .feature-grid-3 .feature-card {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 700px) {
    .feature-grid-3 .feature-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-cyan);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--background-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--background-navy);
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-info {
    text-align: center;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.footer-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   Page Specific Styles
   ======================================== */

/* About Page - Wer ich bin */
.about-wrapper {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text-section {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.quote-block {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-left: 3px solid var(--primary-cyan);
    background: rgba(6, 182, 212, 0.08);
    margin-bottom: 2rem;
}

.content-text {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.content-text strong {
    color: var(--primary-cyan);
    font-weight: 500;
}

/* AI Note Box */
.ai-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(26, 31, 46, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
}

.ai-note-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.ai-note-header svg {
    width: 20px;
    height: 20px;
}

.ai-note-text {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.ai-response {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.ai-touche {
    margin-top: 1rem;
    color: var(--primary-cyan);
}

/* Signature */
.signature {
    margin-top: 2rem;
    font-family: var(--font-primary);
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.signature-title {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* Founder Image Section */
.about-image-section {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.founder-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.founder-image {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.founder-image-wrapper:hover .founder-image {
    filter: grayscale(50%);
}

.founder-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.2) 0%,
        transparent 50%,
        rgba(6, 182, 212, 0.15) 100%
    );
    pointer-events: none;
}

.founder-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
}

.founder-label-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.founder-label-role {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-cyan);
}

/* Medical Valley - Partner Section */
.partner-section {
    text-align: center;
    padding: 3rem;
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.partner-logo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.partner-logo-circle:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.partner-logo-circle svg {
    width: 50px;
    height: 50px;
    color: var(--primary-cyan);
}

.partner-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.partner-label {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.partner-description {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Sections with Border */
.content-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.3);
    border-left: 3px solid var(--primary-cyan);
    border-radius: 0 8px 8px 0;
}

.content-section.alt {
    border-left-color: #8b5cf6;
}

.section-header-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.section-header-small svg {
    width: 18px;
    height: 18px;
}

.content-section.alt .section-header-small {
    color: #8b5cf6;
}

.section-title-small {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-text {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Compliance Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.compliance-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-cyan) 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-cyan);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: var(--glow-cyan);
}

.timeline-year {
    font-size: 0.85rem;
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Academy Modules */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1000px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }
}

.academy-card {
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.academy-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.academy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.academy-card ul {
    list-style: none;
    text-align: left;
}

.academy-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.academy-card li::before {
    content: '✓';
    color: var(--primary-cyan);
    font-weight: bold;
}

/* ========================================
   Career Page - Karriere
   ======================================== */
.career-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.career-intro {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.career-highlight {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    color: #6366f1;
    margin-bottom: 2rem;
}

.philosophy-block {
    padding: 2rem;
    background: rgba(6, 182, 212, 0.08);
    border-left: 3px solid var(--primary-cyan);
    margin: 2rem 0;
}

.philosophy-text {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

.philosophy-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.application-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(26, 31, 46, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
}

.application-section .section-header-small {
    margin-bottom: 1.5rem;
}

.application-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.application-text {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.application-text strong {
    color: var(--primary-cyan);
    font-weight: 500;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    margin-top: 1rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.closing-text {
    margin-top: 2rem;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   AivoCare Page
   ======================================== */

/* EKG Background Canvas */
#ekgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

.aivo-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.aivo-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.aivo-hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px) saturate(0.7);
}

.aivo-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.4) 50%, rgba(10, 10, 15, 0.8) 100%),
        radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.aivo-logo-container {
    margin-bottom: 2rem;
}

.aivo-logo {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.5));
}

@media (min-width: 768px) {
    .aivo-logo {
        width: 200px;
        height: 200px;
    }
}

.aivo-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-top: 3rem;
}

.aivo-title span {
    font-weight: 600;
    color: var(--primary-cyan);
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
}

.aivo-tagline {
    font-family: var(--font-secondary);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1rem;
}

.aivo-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    justify-content: center;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
}

.cta-primary svg {
    width: 18px;
    height: 18px;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(6, 182, 212, 0.5);
}

.cta-secondary:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--primary-cyan);
    color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    transform: translateY(-3px);
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.scroll-text {
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
    opacity: 0.7;
}

.scroll-indicator:hover .scroll-text {
    color: var(--primary-cyan);
    opacity: 1;
}

.scroll-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
    background: rgba(6, 182, 212, 0.05);
}

.scroll-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-cyan);
    opacity: 0.7;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.video-section {
    padding: 4rem 2rem;
    background: rgba(6, 182, 212, 0.05);
    text-align: center;
}

.video-placeholder {
    max-width: 800px;
    margin: 2rem auto 0;
    aspect-ratio: 16/9;
    background: rgba(26, 31, 46, 0.6);
    border: 1px dashed rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.video-placeholder svg {
    width: 32px;
    height: 32px;
}

/* Pulse Ring Animation */
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pulse-ring {
    animation: pulseRing 2s ease-out infinite;
}

/* EKG Line Animation */
@keyframes ekgDraw {
    0% {
        stroke-dashoffset: 400;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.01% {
        stroke-dashoffset: 400;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes ekgGlow {
    0%, 100% {
        filter: url(#glow) drop-shadow(0 0 3px rgba(6, 182, 212, 0.6));
    }
    25% {
        filter: url(#glow) drop-shadow(0 0 8px rgba(6, 182, 212, 1));
    }
    50% {
        filter: url(#glow) drop-shadow(0 0 3px rgba(6, 182, 212, 0.6));
    }
    75% {
        filter: url(#glow) drop-shadow(0 0 8px rgba(6, 182, 212, 1));
    }
}

.ekg-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: ekgDraw 3s ease-in-out infinite, ekgGlow 3s ease-in-out infinite;
}

/* ========================================
   Impressum Page
   ======================================== */
.impressum-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.impressum-block {
    margin-bottom: 2.5rem;
}

.company-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.company-status {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-label {
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.info-value {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-value a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--primary-cyan-light);
}

.impressum-section-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.legal-text {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-text h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--primary-cyan-light);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-section {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .typewriter-container {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Animations & Effects
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Background (optional) */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Scan Lines (subtle) */
.scan-lines::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ========================================
   AivoCare Transition Overlay
   ======================================== */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transition-overlay.active {
    display: flex;
    opacity: 1;
}

.transition-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   Technologie-Ökosystem Section
   ======================================== */
.ecosystem-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-navy) 100%);
    position: relative;
    z-index: 1;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ecosystem-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.3em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ecosystem-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.partner-category {
    margin-bottom: 3rem;
}

.partner-category-title {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.partner-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.partner-item {
    position: relative;
    padding: 1.25rem 2rem;
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

/* Partner Hover Colors */
.partner-item[data-partner="bbraun"]:hover { border-color: #00843d; }
.partner-item[data-partner="bbraun"]:hover .partner-name { color: #00843d; }
.partner-item[data-partner="sap"]:hover { border-color: #0070f2; }
.partner-item[data-partner="sap"]:hover .partner-name { color: #0070f2; }
.partner-item[data-partner="roche"]:hover { border-color: #0066cc; }
.partner-item[data-partner="roche"]:hover .partner-name { color: #0066cc; }
.partner-item[data-partner="draeger"]:hover { border-color: #003399; }
.partner-item[data-partner="draeger"]:hover .partner-name { color: #003399; }
.partner-item[data-partner="nvidia"]:hover { border-color: #76b900; }
.partner-item[data-partner="nvidia"]:hover .partner-name { color: #76b900; }
.partner-item[data-partner="google"]:hover { border-color: #4285f4; }
.partner-item[data-partner="google"]:hover .partner-name {
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: googleRainbow 2s linear infinite;
}

@keyframes googleRainbow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.partner-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-navy);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1rem;
    width: 300px;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.partner-item:hover .partner-tooltip {
    display: block;
}

.partner-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--background-navy);
}

.tooltip-title {
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tooltip-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tooltip-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-warning {
    font-size: 0.7rem;
    color: #f59e0b;
    margin-top: 0.5rem;
}

.partner-disclaimer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.partner-disclaimer p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .partner-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .partner-item {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .partner-tooltip {
        width: 260px;
    }
}


/* ========================================
   AivoCare Product Description Section
   ======================================== */
.product-intro {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--background-navy) 0%, var(--background-dark) 100%);
    position: relative;
    z-index: 1;
}

.product-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.product-headline {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-headline strong {
    color: var(--primary-cyan);
    font-weight: 500;
}

.product-headline .highlight {
    color: var(--primary-cyan);
    font-weight: 500;
    position: relative;
}

.product-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), transparent);
}

.workflow-section {
    margin: 4rem 0;
}

.workflow-title {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--background-elevated);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
    max-width: 160px;
    flex: 1;
    justify-content: flex-start;
}

.workflow-step:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    padding: 10px;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-cyan);
}

.step-label {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.step-desc {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-arrow {
    color: var(--primary-cyan);
    font-size: 1.5rem;
    opacity: 0.5;
    align-self: center;
    margin-top: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-left: 3px solid var(--primary-cyan);
    text-align: left;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.benefit-text strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.benefit-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .workflow-steps {
        gap: 1rem;
    }

    .workflow-arrow {
        display: none;
    }

    .workflow-step {
        min-width: 100px;
        max-width: 120px;
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 600px) {
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }

    .workflow-step {
        width: 100%;
        max-width: 280px;
        flex-direction: row;
        text-align: left;
    }

    .step-desc {
        text-align: left;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
﻿

/* ========================================
   Interactive Text Slideshow
   ======================================== */
.text-slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    padding: 2rem;
}

.slide-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.slide-subline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-cyan);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.slide-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.slide-text-large {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.slide-text-highlight {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--primary-cyan);
    font-weight: 600;
    margin: 1rem 0;
    text-shadow: var(--glow-cyan);
}

.slide-text-emphasis {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-primary);
    margin-top: 2rem;
}

/* Highlight Styles */
.highlight {
    color: var(--primary-cyan);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--primary-cyan);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    color: var(--primary-cyan);
    font-weight: 600;
}

.highlight-pulse {
    color: var(--primary-cyan);
    font-weight: 700;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }
    50% { text-shadow: 0 0 30px rgba(6, 182, 212, 0.9), 0 0 60px rgba(6, 182, 212, 0.5); }
}

.strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
    position: relative;
}

/* Icons Row */
.slide-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.icon-item svg {
    width: 48px;
    height: 48px;
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
}

.icon-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.icon-separator {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Year Badge */
.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-cyan-dark));
    color: var(--background-dark);
    font-weight: 700;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 1.1em;
}

/* Nerve Text Animation */
.nerve-text {
    color: var(--primary-cyan);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* AivoCare Logo in Slideshow */
.aivocare-logo {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin: 1.5rem 0;
    letter-spacing: 0.1em;
}

.aivocare-logo .aivo {
    color: var(--text-primary);
}

.aivocare-logo .care {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

/* Feature Stack - Enhanced Contrast */
.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
    border-left: 4px solid var(--primary-cyan);
    border-radius: 0 12px 12px 0;
    opacity: 0;
    transform: translateX(-30px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
    transition: all 0.3s ease;
}

.feature-row:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.1));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.2);
    transform: translateX(5px);
}

.slide.active .feature-row {
    animation: slideInFeature 0.6s ease forwards;
}

.slide.active .feature-row[data-delay='0'] { animation-delay: 0.1s; }
.slide.active .feature-row[data-delay='1'] { animation-delay: 0.3s; }
.slide.active .feature-row[data-delay='2'] { animation-delay: 0.5s; }

@keyframes slideInFeature {
    to { opacity: 1; transform: translateX(0); }
}

.feature-icon {
    font-size: 2rem;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.feature-label {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 1.3rem;
    min-width: 120px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.feature-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Final Slide */
.slide-final {
    text-align: center;
}

.final-line {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0;
}

.slide.active .final-line.line-1 {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.slide.active .final-line.line-2 {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

.final-cta {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-top: 2rem;
    opacity: 0;
}

.slide.active .final-cta {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slide Animations */
.slide[data-animation='zoom'] .slide-content {
    transform: scale(0.8);
    opacity: 0;
}

.slide[data-animation='zoom'].active .slide-content {
    animation: zoomIn 0.7s ease forwards;
}

@keyframes zoomIn {
    to { transform: scale(1); opacity: 1; }
}

.slide[data-animation='left'] .slide-content {
    transform: translateX(-100px);
    opacity: 0;
}

.slide[data-animation='left'].active .slide-content {
    animation: slideFromLeft 0.7s ease forwards;
}

@keyframes slideFromLeft {
    to { transform: translateX(0); opacity: 1; }
}

.slide[data-animation='right'] .slide-content {
    transform: translateX(100px);
    opacity: 0;
}

.slide[data-animation='right'].active .slide-content {
    animation: slideFromRight 0.7s ease forwards;
}

@keyframes slideFromRight {
    to { transform: translateX(0); opacity: 1; }
}

.slide[data-animation='top'] .slide-content {
    transform: translateY(-50px);
    opacity: 0;
}

.slide[data-animation='top'].active .slide-content {
    animation: slideFromTop 0.7s ease forwards;
}

@keyframes slideFromTop {
    to { transform: translateY(0); opacity: 1; }
}

.slide[data-animation='bottom'] .slide-content {
    transform: translateY(50px);
    opacity: 0;
}

.slide[data-animation='bottom'].active .slide-content {
    animation: slideFromBottom 0.7s ease forwards;
}

@keyframes slideFromBottom {
    to { transform: translateY(0); opacity: 1; }
}

.slide[data-animation='stagger'] .slide-content {
    opacity: 1;
}

/* Progress Indicator */
.slide-progress {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(6, 182, 212, 0.6);
}

.dot.active {
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.progress-line {
    width: 200px;
    height: 2px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-cyan-light));
    width: 11.11%;
    transition: width 0.5s ease;
}

/* Next Button */
.slide-next-btn {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid var(--primary-cyan);
    border-radius: 50px;
    color: var(--primary-cyan);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.slide-next-btn:hover {
    background: var(--primary-cyan);
    color: var(--background-dark);
    box-shadow: var(--glow-cyan-strong);
}

.slide-next-btn:hover .btn-icon svg {
    transform: translateX(5px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary-cyan);
    border-radius: 50px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: btnPulse 2s ease-out infinite;
}

@keyframes btnPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Hide CTA button initially */
.hero-content .cta-button {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.hero-content .cta-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Glitch Effect */
.slide-headline.glitch {
    position: relative;
    animation: glitchText 3s infinite;
}

@keyframes glitchText {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, 2px); }
    98% { transform: translate(1px, -2px); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-slideshow {
        min-height: 400px;
    }
    
    .slide-progress {
        bottom: -50px;
    }
    
    .slide-next-btn {
        bottom: -100px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-row {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-label {
        min-width: auto;
    }
    
    .slide-icons {
        gap: 1rem;
    }
    
    .icon-item svg {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   16:9 Widescreen Fullscreen Hero Layout
   ======================================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 80px 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.text-slideshow {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 120px;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-progress {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.slide-next-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
}

/* Hide CTA initially, show after last slide */
.hero .cta-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    z-index: 100;
}

.hero .cta-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   MOBILE FIX - Button Visibility
   ======================================== */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding-bottom: 2rem;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        height: auto;
        min-height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
    }

    .text-slideshow {
        position: relative;
        min-height: auto;
        height: auto;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        min-height: 350px;
        display: none;
    }

    .slide.active {
        display: flex;
    }

    .slide-progress {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .slide-next-btn {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        margin-bottom: 2rem;
        padding: 1rem 2rem;
        font-size: 1rem;
        background: rgba(10, 10, 15, 0.95);
        box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    }

    .hero .cta-button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .hero .cta-button.visible {
        transform: none;
    }
}
