/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --primary-light: rgba(139, 92, 246, 0.1);
    --primary-medium: rgba(139, 92, 246, 0.15);
    --accent: #33b7bc;
    --accent-light: rgba(51, 183, 188, 0.1);
    --accent-medium: rgba(51, 183, 188, 0.15);
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    --border-light: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.nav-brand .logo-link {
    display: inline-block;
    text-decoration: none;
}

.nav-brand .logo-img {
    height: 60px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    background: var(--bg-subtle);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.lang-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.lang-btn i {
    font-size: 0.8rem;
}

.cta-button {
    background: var(--primary);
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero, .hero-section {
    background: linear-gradient(135deg, #8b5cf6 0%, #8b5cf6 50%, #33b7bc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    min-height: 4.2rem;
    position: relative;
}

.hero-text h2:empty::before {
    content: "\00A0";
    visibility: hidden;
}

/* Typewriter Effect */
#typewriter-text::after {
    content: '|';
    color: var(--accent);
    font-weight: 400;
    animation: blink 1s infinite;
    margin-left: 2px;
}

#typewriter-text.typing-complete::after {
    display: none;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.primary-btn, .secondary-btn, .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hero-section .primary-btn, .hero-section .btn-primary {
    background: #37b8bd;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

.hero-section .primary-btn:hover, .hero-section .btn-primary:hover {
    background: #2fa3a8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 184, 189, 0.4);
}

.hero-section .secondary-btn, .hero-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-section .secondary-btn:hover, .hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Default button styles for other sections */
.primary-btn, .btn-primary {
    background: var(--primary);
    color: white;
}

.primary-btn:hover, .btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.secondary-btn, .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-btn:hover, .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* New Hero Styles */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.hero-bullets li {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 0;
}

.hero-title .highlight {
    color: var(--accent);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

/* Compliance Dashboard */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compliance-dashboard, .dashboard-mockup {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* AI Brain Visualization */
.ai-brain-visualization {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: relative;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.ai-brain i {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.ai-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    z-index: 4;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.input-icons,
.output-icons {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
}

.input-icons {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.output-icons {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.input-icon,
.output-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.input-icon {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.output-icon {
    border-color: rgba(51, 183, 188, 0.5);
    box-shadow: 0 0 20px rgba(51, 183, 188, 0.3);
}

.input-icon:hover,
.output-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Connection lines/arrows removed pseudo-elements that were empty */

/* Arrow animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.input-icon,
.output-icon {
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.input-icon:nth-child(1) {
    animation-delay: 0s;
}

.input-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.input-icon:nth-child(3) {
    animation-delay: 0.6s;
}

.output-icon:nth-child(1) {
    animation-delay: 1.2s;
}

.output-icon:nth-child(2) {
    animation-delay: 1.5s;
}

.output-icon:nth-child(3) {
    animation-delay: 1.8s;
}

/* Connection lines/arrows */
.arrow-to-brain,
.arrow-from-brain {
    position: absolute;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    animation: arrowPulse 2s ease-in-out infinite;
}

.arrow-left {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-left::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid rgba(255, 255, 255, 0.7);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.arrow-right {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-right::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid rgba(255, 255, 255, 0.7);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.arrow-to-brain:nth-of-type(1),
.arrow-from-brain:nth-of-type(1) {
    animation-delay: 0s;
}

.arrow-to-brain:nth-of-type(2),
.arrow-from-brain:nth-of-type(2) {
    animation-delay: 0.3s;
}

.arrow-to-brain:nth-of-type(3),
.arrow-from-brain:nth-of-type(3) {
    animation-delay: 0.6s;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scaleX(1.1);
    }
}

/* New Dashboard Mockup Styles */
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.mockup-header h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.compliance-widget h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.widget-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.widget-stat {
    text-align: center;
}

.widget-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.widget-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-subtle);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 2s ease-out;
}

.status-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.status-badge.success {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-medium);
}

.status-badge.info {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-medium);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid;
    border: 1px solid var(--border-light);
    border-left: 4px solid;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-card.primary {
    border-left-color: var(--primary);
}

.kpi-card.success {
    border-left-color: var(--accent);
}

.kpi-card.info {
    border-left-color: var(--primary);
}

.kpi-card.warning {
    border-left-color: #f59e0b;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.kpi-card.primary .kpi-icon {
    background: var(--primary);
}

.kpi-card.success .kpi-icon {
    background: var(--accent);
}

.kpi-card.info .kpi-icon {
    background: var(--primary);
}

.kpi-card.warning .kpi-icon {
    background: #f59e0b;
}

.kpi-content {
    flex: 1;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.kpi-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 0.2rem;
}

.kpi-sublabel {
    font-size: 0.8rem;
    color: var(--text-light);
}

.compliance-metrics {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.metric-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.2;
}

/* Compliance Flow Section */
.compliance-flow-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.compliance-flow-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.flow-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compliance-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.input-step {
    max-width: 250px;
}

.mapping-step {
    max-width: 300px;
    position: relative;
}

.output-step {
    max-width: 350px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: translateY(-3px);
}

.ai-icon {
    background: var(--accent);
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.flow-arrow {
    color: var(--primary);
    font-size: 2rem;
    margin: 0 2rem;
}

.standards-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.rotating-standard {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70px;
}

.standard-pill {
    background: white;
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
    height: 56px;
    white-space: nowrap;
    min-width: 160px;
    transform: scale(1);
    opacity: 1;
}

.standard-pill.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.standard-pill.fade-in {
    opacity: 1;
    transform: scale(1);
}

.standard-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Harmonische Pill Colors */
.standard-pill.primary,
.standard-pill.info,
.standard-pill.purple {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary-medium);
}

.standard-pill.primary:hover,
.standard-pill.info:hover,
.standard-pill.purple:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.25);
}

.standard-pill.success,
.standard-pill.teal {
    color: var(--accent);
    background: var(--accent-light);
    border-color: var(--accent-medium);
}

.standard-pill.success:hover,
.standard-pill.teal:hover {
    background: rgba(51, 183, 188, 0.15);
    border-color: rgba(51, 183, 188, 0.25);
}

.standard-pill.warning,
.standard-pill.accent {
    color: #d97706;
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
}

.standard-pill.warning:hover,
.standard-pill.accent:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

.standard-pill.secondary {
    color: var(--text-medium);
    background: var(--bg-subtle);
    border-color: var(--border-light);
}

.standard-pill.secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-light);
}

.standard-pill.more-standards {
    color: var(--primary);
    background: var(--primary-light);
    border: 1px dashed var(--primary-medium);
}

.standard-pill.more-standards:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
}

.pill-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.expand-icon {
    font-size: 0.8rem;
    color: currentColor;
    font-weight: 600;
}

.compliance-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.standard-badge.active .compliance-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    background: var(--accent);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Typewriter Section */
.typewriter-section {
    padding: 5rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.typewriter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.typewriter-stage {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-text {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-align: center;
    min-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.intro-text {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.typewriter-text.maiqo-highlight {
    color: var(--primary);
    position: relative;
}

.typewriter-text.maiqo-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0;
    animation: underlineAppear 0.5s ease-out 0.2s forwards;
}

@keyframes underlineAppear {
    from {
        opacity: 0;
        width: 0%;
    }
    to {
        opacity: 1;
        width: 80%;
    }
}

#typed-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    color: var(--accent);
    font-weight: 400;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.cursor.hidden {
    opacity: 0;
}

.explanation-text {
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.explanation-text.show {
    opacity: 1;
    transform: translateY(0);
}

.explanation-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.explanation-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* AI Features Section */
.ai-features {
    padding: 5rem 0;
    background: var(--bg-subtle);
}

.ai-features-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
}

.ai-features-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ai-features-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.ai-features-slider {
    position: relative;
}

.ai-features-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2rem) / 2);
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 3rem 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.ai-features-track::-webkit-scrollbar {
    height: 8px;
}

.ai-features-track::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.12);
    border-radius: 999px;
}

.ai-feature-card {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.ai-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ai-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.ai-feature-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.ai-feature-lead {
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
}

.ai-feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
    z-index: 2;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-nav.prev {
    left: -10px;
}

.slider-nav.next {
    right: -10px;
}

.slider-nav[disabled] {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

/* Privacy & Data Sovereignty Section */
.data-sovereignty {
    padding: 5rem 0;
    background: var(--bg-white);
}

.sovereignty-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.sovereignty-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sovereignty-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.sovereignty-list {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.sovereignty-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.9rem;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.sovereignty-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.sovereignty-brand {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.sovereignty-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.5rem;
}

.mistral-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.mistral-caption {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact > p,
.contact .container > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: white;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.legal-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.legal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.legal-text p {
    margin-bottom: 1.5rem;
}

.legal-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.legal-text h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

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

/* Contact Info Box */
.contact-info {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-top: 0 !important;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--text-dark);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Legal Highlight Box */
.legal-highlight {
    background: var(--accent-light);
    border: 1px solid var(--accent-medium);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.footer-section h5 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Tablet Layout */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Compliance Flow Responsive */
@media (max-width: 1024px) {
    .compliance-flow {
        flex-direction: column;
        gap: 3rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .rotating-standard {
        min-height: 60px;
    }
    
    .standard-pill {
        padding: 0.8rem 1.5rem;
        height: 48px;
    }
    
    .pill-text {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .compliance-flow-section {
        padding: 3rem 0;
    }
    
    .compliance-flow-section h3 {
        font-size: 2rem;
    }
    
    .flow-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .rotating-standard {
        min-height: 50px;
    }
    
    .standard-pill {
        padding: 0.6rem 1.2rem;
        height: 40px;
    }
    
    .pill-text {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }
    
    .nav-links.mobile-active {
        display: flex;
    }

    .ai-features-track {
        grid-auto-columns: minmax(260px, 1fr);
        padding-right: 0.5rem;
    }

    .slider-nav {
        display: none;
    }

    .sovereignty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .sovereignty-list {
        text-align: left;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .language-switcher {
        order: -1;
        margin-bottom: 1rem;
    }
    
    /* Hero Section Mobile Fixes */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 2rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Hero Title Mobile Responsive */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-bullets {
        margin-bottom: 2rem;
    }
    
    .hero-bullets li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }
    
    .ai-brain-visualization {
        height: 350px;
        max-width: 100%;
    }
    
    .ai-brain {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .ai-label {
        font-size: 1.2rem;
    }
    
    .input-icon,
    .output-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .input-icons,
    .output-icons {
        gap: 1.5rem;
        position: relative;
        transform: translateY(-50%);
    }
    
    .input-icons {
        left: 0;
    }
    
    .output-icons {
        right: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 0;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Compliance Dashboard Mobile Responsive */
    .compliance-dashboard {
        padding: 1.2rem;
        margin: 0 0.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dashboard-header h4 {
        font-size: 1.2rem;
    }
    
    .dashboard-header p {
        font-size: 0.8rem;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .kpi-card {
        padding: 1rem;
        flex-direction: row;
        align-items: center;
    }
    
    .kpi-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .kpi-value {
        font-size: 1.5rem;
    }
    
    .kpi-label {
        font-size: 0.8rem;
    }
    
    .kpi-sublabel {
        font-size: 0.7rem;
    }
    
    .compliance-metrics {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        padding-top: 1rem;
    }
    
    .metric-item {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    
    .metric-value {
        font-size: 1rem;
    }
    
    .metric-label {
        font-size: 0.65rem;
        text-align: left;
    }
    
    /* Reduce particles on mobile for performance */
    .particle-canvas {
        opacity: 0.3;
    }
    
    .typewriter-section {
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .typewriter-container {
        min-height: 350px;
    }
    
    .typewriter-stage {
        height: 150px;
        margin-bottom: 3rem;
    }
    
    .typewriter-text {
        font-size: 2.5rem;
    }
    
    .intro-text {
        margin-bottom: 2rem;
    }
    
    .intro-text h3 {
        font-size: 1.8rem;
    }
    
    .explanation-text {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .explanation-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Navigation adjustments for small screens */
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand .logo-img {
        height: 45px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Hero Section for very small screens */
    .hero-section {
        padding-top: 90px;
        padding-bottom: 1.5rem;
    }
    
    .hero-content {
        gap: 1.5rem;
        padding: 0 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-bullets li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .ai-brain-visualization {
        height: 300px;
    }
    
    .ai-brain {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .ai-label {
        font-size: 1rem;
    }
    
    .input-icon,
    .output-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .input-icons,
    .output-icons {
        gap: 1rem;
        position: relative;
        transform: translateY(-50%);
    }
    
    .input-icons {
        left: -5%;
    }
    
    .output-icons {
        right: -5%;
    }
    
    .hero-cta {
        gap: 0.6rem;
        margin-top: 0;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Compliance Dashboard for iPhone */
    .compliance-dashboard {
        padding: 1rem;
        margin: 0 0.3rem;
        border-radius: 12px;
    }
    
    .dashboard-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .dashboard-header p {
        font-size: 0.75rem;
        margin-bottom: 1.2rem;
    }
    
    .kpi-card {
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .kpi-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .kpi-value {
        font-size: 1.3rem;
    }
    
    .kpi-label {
        font-size: 0.75rem;
    }
    
    .kpi-sublabel {
        font-size: 0.65rem;
    }
    
    .compliance-metrics {
        gap: 0.6rem;
        padding-top: 0.8rem;
    }
    
    .metric-item {
        gap: 0.6rem;
    }
    
    .metric-item i {
        font-size: 1rem;
    }
    
    .metric-value {
        font-size: 0.9rem;
    }
    
    .metric-label {
        font-size: 0.6rem;
    }
    
    /* Typewriter Mobile Optimization */
    .typewriter-section {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .typewriter-container {
        min-height: 300px;
    }
    
    .typewriter-stage {
        height: 120px;
        margin-bottom: 2rem;
    }
    
    .typewriter-text {
        font-size: 1.8rem;
    }
    
    .intro-text {
        margin-bottom: 1.5rem;
    }
    
    .intro-text h3 {
        font-size: 1.4rem;
    }
    
    .explanation-text p {
        font-size: 0.95rem;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .compliance-dashboard {
        margin: 0 0.2rem;
        padding: 0.8rem;
    }
    
    .kpi-grid {
        gap: 0.6rem;
    }
    
    .kpi-card {
        padding: 0.6rem;
    }
    
    .kpi-value {
        font-size: 1.2rem;
    }
    
    .dashboard-header h4 {
        font-size: 1rem;
    }
    
    .dashboard-header p {
        font-size: 0.7rem;
    }
}

/* Prevent horizontal overflow on all mobile devices */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hero-section,
    .compliance-dashboard,
    .hero-content,
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* AI Highlight Styling */
.ai-highlight {
    color: var(--primary);
    font-weight: 800;
    position: relative;
}

.ai-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
