/* ==========================================================================
   Dashdock Style System - Screenshot Replication
   ========================================================================== */

@font-face {
    font-family: 'Geist';
    src: url('./font/Geist-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Modern CSS Reset & Variable Definitions */
:root {
    color-scheme: light;
    
    /* Backgrounds */
    --bg-base: oklch(0.99 0.003 240);
    --bg-surface: oklch(0.96 0.005 240);
    --bg-surface-hover: oklch(0.93 0.008 240);
    
    /* Typography */
    --text-primary: oklch(0.12 0.01 240);
    --text-secondary: oklch(0.4 0.01 240);
    --text-muted: oklch(0.55 0.01 240);
    
    /* Borders & Accents */
    --border: oklch(0.91 0.005 240);
    --border-glow: oklch(0.82 0.01 240);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* Utility */
    --grid-color: oklch(0.12 0.01 240 / 0.03);
}

:root {
    /* Fonts */
    --font-heading: 'Geist', -apple-system, sans-serif;
    --font-body: 'Geist', -apple-system, sans-serif;

    /* Semantic Accents */
    --accent: oklch(0.15 0.01 240); /* Default dark grey/black accent */
    --accent-invert: oklch(0.96 0.003 240);
    --accent-glow: oklch(0.15 0.01 240 / 0.15);
    --accent-gradient: linear-gradient(135deg, oklch(0.2 0.01 240), oklch(0.05 0.01 240));
    
    /* Spacing & Sizing (Requested max-width of 1400px) */
    --container-max-width: 1400px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Elevation */
    --shadow-sm: 0 2px 8px oklch(0 0 0 / 0.04);
    --shadow-md: 0 8px 24px oklch(0 0 0 / 0.05);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.1);
}

/* Document & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography styles matching screenshot */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Background Grid Pattern */
.bg-grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1600px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #fff;
    border-radius: 999px;
    z-index: 100;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header:hover {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%;
    padding: 0 10px 0 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.header-logo-img {
    height: 18px;
    width: auto;
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: rgba(34, 34, 34, 0.8); /* 80% opacity of #222 */
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: rgba(0, 0, 0, 1); /* 100% opacity of #000 */
}

/* Language Toggle */
.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

.lang-toggle-btn:hover {
    color: var(--text-primary);
}

.lang-toggle-btn.active {
    color: var(--text-primary);
    font-weight: 800;
}

.lang-toggle-divider {
    color: var(--border-color);
}

.hidden-feature {
    display: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #222;
    border: 1px solid #222;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    line-height: normal;
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-header-outline:hover {
    /* No fill on hover anymore */
}

.btn-header-outline svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.btn-header-outline:hover svg {
    transform: translateX(3px);
}

.btn-header-cta {
    background-color: #222;
    color: white;
    border: 1px solid #6f6f6f;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    line-height: normal;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.btn-header-cta:hover {
    background-color: #333;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--border-glow);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

:root[data-theme="light"] .sun-icon { display: none; }
:root[data-theme="dark"] .moon-icon { display: none; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.hamburger-bar {
    width: 16px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 85px; /* 20px (header top) + 55px (header height) + 10px (gap) */
    right: 20px;
    width: auto;
    min-width: 220px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #fff;
    border-radius: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.mobile-menu-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 15px 0;
    width: 80px;
}

.mobile-login-link {
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-menu-cta {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 20px;
    line-height: normal;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: #222;
    color: white;
    border: 1px solid #6f6f6f;
    gap: 8px;
}

.btn-primary:hover {
    /* No color change on hover */
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(6px);
}

/* HERO SECTION */
.hero-section {
    padding: 60px 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 750px;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 1400px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 70px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
    color: #222;
    width: 750px;
    max-width: 100%;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    color: #222;
    margin-bottom: 30px;
    width: 750px;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: #222;
    margin-bottom: 50px;
    width: 750px;
    max-width: 100%;
}

.hero-visual {
    position: absolute;
    /* Move it so it aligns with the right edge of the screen, and then push it 100px further out */
    right: calc(50% - 50vw - 100px);
    top: 50%;
    transform: translateY(-50%);
    width: 620px;
    height: 620px;
    pointer-events: none;
    z-index: -1;
}

.spheres-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 3D spheres rendering */
.sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    box-shadow: inset -10px -10px 30px rgba(0, 0, 0, 0.4), 
                inset 10px 10px 30px rgba(255, 255, 255, 0.6),
                10px 20px 40px rgba(0, 0, 0, 0.15);
}

.sphere-orange {
    width: 160px;
    height: 160px;
    top: 20%;
    left: 10%;
    background: radial-gradient(circle at 35% 35%, #ffd269 10%, #ff8b3d 50%, #d84b00 100%);
    animation: float-sphere 8s ease-in-out infinite alternate;
}

.sphere-blue {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle at 35% 35%, #aae3ff 10%, #3ca0ff 50%, #004fb0 100%);
    animation: float-sphere 10s ease-in-out infinite alternate-reverse;
}

.sphere-purple {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 40%;
    background: radial-gradient(circle at 35% 35%, #ffaae7 10%, #be4beb 50%, #570085 100%);
    animation: float-sphere 9s ease-in-out infinite alternate 1s;
}

@keyframes float-sphere {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15px) scale(1.02); }
}

/* Hero Bottom Logo Cloud */
.hero-brands {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.brands-label {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #222;
    margin: 0 50px 50px 50px;
    text-align: center;
}

/* Helper class for section headers */
.section-title {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #222;
}

.section-title.text-left {
    text-align: left;
}

.section-title.text-center {
    text-align: center;
}

.section-actions {
    margin-top: 40px;
}

.section-actions.center {
    display: flex;
    justify-content: center;
}

/* Brands Section & Static Grid */
.brands-section {
    padding: 50px 0;
    border: none;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

.brands-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px 20px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.brands-marquee-mobile {
    display: none;
    flex-direction: column;
    gap: 25px;
    overflow: hidden;
    width: 100%;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2), black 15%, black 85%, rgba(0, 0, 0, 0.2));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2), black 15%, black 85%, rgba(0, 0, 0, 0.2));
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 40px;
}

.marquee-track .brand-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.marquee-row-left .marquee-track {
    animation: marquee-left 75s linear infinite;
}

.marquee-row-right .marquee-track {
    animation: marquee-right 75s linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partners-marquee-mobile {
    display: none;
    flex-direction: column;
    gap: 25px;
    overflow: hidden;
    width: 100%;
}

.partners-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.brand-logo-img:hover {
    opacity: 1;
}

.partner-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Painpoints Section */
.painpoints-section {
    padding: 100px 0;
    background-color: #f4f4f4;
}

.painpoints-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.painpoint-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 10px;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 800;
    line-height: 70px;
    color: #bcbcbc;
    letter-spacing: -2.8px;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #222;
}

.card-text {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    line-height: 1.6;
}

/* KI Section */
.ki-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.ki-section .container {
    max-width: 1400px;
    padding: 0 100px;
}

.ki-section .section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.ki-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(min(380px, 100%), 580px));
    gap: 40px;
    margin-top: 70px;
    margin-bottom: 70px;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px;
    padding: 40px;
    transition: box-shadow 0.6s ease-out;
}

.glass-card:hover {
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.15);
}

.ki-card {
    min-width: min(380px, 100%);
    max-width: 580px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.ki-card:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

.ki-icon-wrapper {
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ki-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ki-card-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #222;
}

.ki-card-text {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    padding: 50px 100px;
    background-color: #fff;
    border: none;
    overflow: hidden;
    position: relative;
}

.partners-label {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #222;
    margin-bottom: 50px;
    text-align: center;
}

/* Performance Section (Always Dark Background) */
.performance-section {
    background-color: #16161a;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.performance-section .container {
    padding: 0 50px 0 100px;
}

.performance-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.performance-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.4px;
    margin-bottom: 50px;
    color: #fff;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    align-self: end;
}

.performance-header-content {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: center;
}

.kpi-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.kpi-item {
    display: grid;
    grid-template-columns: 4px 1fr;
    gap: 0 24px;
    align-items: stretch;
}

.kpi-item::before {
    content: '';
    grid-row: 1 / 3;
    width: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.kpi-num {
    grid-column: 2;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -1.6px;
}

.kpi-desc {
    grid-column: 2;
    font-size: 18px;
    font-weight: 500;
    color: #bcbcbc;
}

.performance-chart-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 450px;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.chart-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 250px;
    align-items: flex-start;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.chart-row {
    display: flex;
    flex: 1 0 0;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 1px;
}

.axis-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    width: 31px;
    flex-shrink: 0;
}

.axis-y p {
    font-family: var(--font-body);
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    margin: 0;
    line-height: normal;
}

.graphs {
    display: flex;
    flex: 1 0 0;
    gap: 35px;
    height: 100%;
    align-items: center;
    min-width: 1px;
}

.graph-col {
    display: flex;
    flex: 1 0 0;
    gap: 10px;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
    min-width: 1px;
}

.bar {
    flex: 1 0 0;
    min-width: 1px;
    border-radius: 5px;
}

.bar.legacy {
    background-color: #fff;
    height: 100%;
}

.bar.dashdock.orange {
    background-color: #FF9964;
    box-shadow: 0 0 20px rgba(255, 153, 100, 0.3);
}

.bar.dashdock.blue {
    background-color: #8AC8E1;
    box-shadow: 0 0 20px rgba(138, 200, 225, 0.3);
}

.bar.dashdock.purple {
    background-color: #C874F7;
    box-shadow: 0 0 20px rgba(200, 116, 247, 0.3);
}

.labels-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.spacer {
    width: 31px;
    flex-shrink: 0;
}

.labels {
    display: flex;
    flex: 1 0 0;
    gap: 35px;
    align-items: center;
    min-width: 1px;
}

.labels p {
    flex: 1 0 0;
    min-width: 1px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: normal;
}

.chart-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-shrink: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.legend-item p {
    font-family: var(--font-body);
    font-size: 12px;
    color: #fff;
    font-weight: 800; /* ExtraBold */
    margin: 0;
    line-height: normal;
    white-space: nowrap;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    flex-shrink: 0;
}

.legend-dot.legacy {
    background-color: #fff;
}

.legend-dot.dashdock-img {
    position: relative;
}

.legend-dot.dashdock-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Testimonials Section (Always Dark) */
.testimonials-wrapper {
    background-color: #16161a;
    overflow: hidden;
    padding: 100px 0 130px 0;
}

/* Testimonial Quote */
.testimonial-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.testimonial-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-decor {
    position: absolute;
    top: 50%;
    left: 0;
    width: clamp(250px, 50vw, 600px);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    z-index: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.6s ease;
}



.testimonial-card {
    background: rgba(48, 48, 48, 0.5);
    border: 1px solid #6f6f6f;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: clamp(30px, 5vw, 50px);
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote {
    font-size: 25px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    color: #fff;
    font-family: var(--font-body);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.author-name {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.author-title {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.author-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    position: relative;
    width: 100%;
}

.brand-logo-white {
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

/* Go Live Section */
.go-live-section {
    padding: 100px 0;
    background-color: var(--bg-base);
}

.go-live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 70px;
    margin-bottom: 70px;
}

.go-live-card {
    background: var(--bg-surface);
    border: none;
    border-radius: 40px;
    padding: 45px 30px 45px 45px;
    position: relative;
    overflow: visible;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.go-live-card:hover {
    background: #fff;
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
}

.card-main-info {
    max-width: 72%;
}

.go-live-card .card-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.go-live-card .card-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.go-live-card-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 170px;
    height: 170px;
    object-fit: contain;
    pointer-events: none;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.go-live-card:hover .go-live-card-icon {
    transform: scale(1.1) rotate(6deg);
}

/* Tech Stack & Security Section */
.tech-facts-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tech-facts-section .section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.tech-facts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 810px; /* 3 * 250px + 60px gap */
    margin: 70px auto 0;
}

.tech-card {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 40px;
    width: 250px;
    height: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
    transition: background-color var(--transition-smooth);
}

:root[data-theme="dark"] .tech-card {
    background: rgba(255, 255, 255, 0.7);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

:root[data-theme="dark"] .tech-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.tech-card-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    box-shadow: none;
}

.tech-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tech-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    line-height: 1.3;
}

/* Bottom Teaser Section */
.bottom-teaser-section {
    position: relative;
    padding: 180px 0;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
}

.bottom-teaser-container {
    position: relative;
    z-index: 1;
}

.bottom-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 500px));
    width: 1920px;
    height: auto;
    max-width: none;
    z-index: 0;
    pointer-events: none;
}

.bottom-teaser-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 44px;
    color: var(--text-primary);
}

/* Footer (Always Dark) */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 50px 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 18px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
    text-decoration: none;
}

.social-icon-btn:hover {
    opacity: 1;
}

.social-icon-img {
    width: 25px;
    height: 25px;
    display: block;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 50px;
    text-align: right;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-nav-link:hover {
    color: #fff;
}

.footer-locations {
    display: flex;
    align-items: center;
    gap: 16px;
}

.location-icon-img {
    width: 20px;
    height: auto;
}

.location-text {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}

.location-text p {
    margin-bottom: 4px;
}

/* Savings Modal Check & Dialog styling */
.savings-modal::backdrop {
    background: rgba(80, 90, 120, 0.8); /* #505A78 with 80% opacity */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.savings-modal {
    border: 1px solid #ffffff;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    height: fit-content;
    padding: 50px 60px 60px 60px;
    margin: 0;
    outline: none;
    color: var(--text-primary);
    overflow: visible;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.savings-modal[open] {
    animation: modal-show 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modal-show {
    0% {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
}

.modal-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
}

.modal-close-btn .close-svg path {
    fill: #909090;
    transition: fill 0.2s ease;
}

.modal-close-btn:hover .close-svg path {
    fill: #222222;
}

.modal-header {
    margin-bottom: 60px;
    text-align: left;
}

.modal-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

/* Custom Styled Range Sliders */
.sliders-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 350px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    line-height: 1;
}

.slider-label {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

.slider-value-display {
    font-size: 18px;
    font-weight: 800;
    color: #222222;
    font-family: var(--font-heading);
}

.slider-wrapper {
    position: relative;
    width: 350px;
    margin-bottom: 5px;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: transparent;
    outline: none;
    margin: 0;
    position: relative;
    cursor: pointer;
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    background-image: 
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC);
    background-size: 
        100% 4px,
        2px 8px,
        2px 8px,
        2px 8px,
        2px 8px,
        2px 8px;
    background-position: 
        top 0 left 0,
        top 4px left 0%,
        top 4px left 25%,
        top 4px left 50%,
        top 4px left 75%,
        top 4px left 100%;
    background-repeat: no-repeat;
    border-radius: 4px 4px 0 0;
}

.custom-range::-moz-range-track {
    width: 100%;
    height: 12px;
    background-image: 
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC),
        linear-gradient(#BCBCBC, #BCBCBC);
    background-size: 
        100% 4px,
        2px 8px,
        2px 8px,
        2px 8px,
        2px 8px,
        2px 8px;
    background-position: 
        top 0 left 0,
        top 4px left 0%,
        top 4px left 25%,
        top 4px left 50%,
        top 4px left 75%,
        top 4px left 100%;
    background-repeat: no-repeat;
    border-radius: 4px 4px 0 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5.5px;
}

.custom-range::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Specific Colors for Sliders */
.slider-orange::-webkit-slider-thumb { background-color: #FF9964; }
.slider-blue::-webkit-slider-thumb { background-color: #8AC8E1; }
.slider-purple::-webkit-slider-thumb { background-color: #C874F7; }

.slider-orange::-moz-range-thumb { background-color: #FF9964; }
.slider-blue::-moz-range-thumb { background-color: #8AC8E1; }
.slider-purple::-moz-range-thumb { background-color: #C874F7; }

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #BCBCBC;
    font-weight: 800;
    line-height: 1;
}

.results-card {
    background: #16161a;
    color: #fff;
    border-radius: 32px;
    padding: 40px; /* 40px on all sides */
    display: flex;
    flex-direction: column;
    gap: 40px; /* 40px between 95% group, time group, and button */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    width: fit-content; /* Hug behavior */
    min-width: 360px;
    height: fit-content; /* Hug behavior */
    box-sizing: border-box;
}

.result-metric-group {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 15px between Fehlerreduktion and 95% */
}

.result-metric-group:nth-child(2) {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
}

.metric-label {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
    letter-spacing: normal;
}

.metric-value {
    font-size: 50px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.metric-saved-hours {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.metric-saved-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.report-request-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 40px;
    background-color: #fff;
    color: #16161a;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.report-request-btn:hover {
    background-color: #f4f4f4;
}

.modal-success-msg {
    display: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #40c057;
    text-align: center;
    margin-top: -10px;
    animation: fade-in 0.3s ease forwards;
}

/* RESPONSIVE DESIGN - BREAKPOINTS */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title, .hero-tagline, .hero-subtitle {
        width: 100%;
    }
    
    .hero-title {
        letter-spacing: -0.04em !important;
    }
    
    .hero-section {
        padding: 60px 20px 0;
    }
    
    .hero-visual {
        width: 400px;
        height: 400px;
        top: auto;
        bottom: -250px;
        right: calc(50% - 50vw - 50px);
        transform: none;
    }

    .painpoints-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ki-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center;
    }

    .performance-section .container {
        padding: 0 20px;
    }

    .performance-header-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .performance-header-content {
        max-width: 100%;
        margin: 0;
        padding-left: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .performance-title {
        font-size: clamp(2rem, 8vw, 60px);
        word-wrap: break-word;
        line-height: 1.1;
        margin-bottom: 0px;
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .performance-chart-box {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 25px;
    }

    .chart-container {
        padding: 0;
    }
    
    .chart-legend {
        flex-wrap: wrap;
        gap: 15px;
    }

    .go-live-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tech-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .savings-modal {
        padding: 40px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-close-btn {
        top: -15px;
        right: -15px;
    }
}

@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    #btn-login-header {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .performance-section .container {
        padding: 0 20px;
    }

    .kpi-num {
        font-size: 35px;
        letter-spacing: -1.2px;
    }

    .ki-section .container {
        padding: 0 20px;
    }

    .tech-facts-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        align-items: flex-start;
        text-align: left;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }

    .testimonial-card {
        padding: 40px 30px;
    }

    .testimonial-quote {
        font-size: 1.25rem;
    }

    .testimonial-decor {
        width: 450px;
        top: 65%;
    }
}

/* Accessibility: Reduced Motion Query */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
    
    .btn:hover, .btn-header-cta:hover, .glass-card:hover, .go-live-card:hover, .tech-card:hover, .report-request-btn:hover {
        transform: none !important;
    }
    
    .sphere, .go-live-card-icon {
        animation: none !important;
        transform: none !important;
    }

    .marquee-track, .partners-track {
        animation: none !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   Legal and Privacy Policy Pages Styling
   ========================================================================== */
.legal-section {
    padding: 140px 0 100px 0;
    min-height: calc(100vh - 300px);
    background-color: var(--bg-base);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.legal-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -2px;
    line-height: 1.2;
    color: #222;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #222;
}

.legal-content p, .legal-content ul {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 900px) {
    .brands-static-grid, .partners-static-grid {
        display: none;
    }

    .brands-marquee-mobile, .partners-marquee-mobile {
        display: flex;
    }
    
    .partners-section {
        padding: 50px 0;
    }
    
    .partners-label {
        margin: 0 50px 50px 50px;
    }
}


.testimonial-quote, .author-name, .author-title, .brand-logo-white {
    transition: opacity 0.3s ease;
}
