/* ===== ENVISION LABS - MODERN MINIMALIST DESIGN ===== */
/* Innovative, genius, sophisticated design with glassmorphism and bento grids */

/* ===== CSS RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors */
    --color-bg: #000000;
    --color-bg-elevated: #0a0a0a;
    --color-bg-card: #111111;
    
    --color-text: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #71717a;
    
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-gradient-1: #3b82f6;
    --color-gradient-2: #8b5cf6;
    --color-gradient-3: #ec4899;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-main: 'Space Grotesk', -apple-system, sans-serif;
    
    /* Effects */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-bright: rgba(255, 255, 255, 0.2);
    
    /* Container */
    --container-max: 1280px;
    --container-padding: var(--space-md);
}

@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-xl);
    }
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--color-accent);
    color: white;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: var(--color-accent);
}

/* ===== CONTAINER ===== */
    .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9990;
    padding: 1rem 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .nav {
        padding: 0.75rem 0;
    }
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.nav-menu {
    display: none;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover .nav-link-indicator {
    width: 100%;
}

.nav-link.active {
    color: var(--color-text);
}

.nav-link.active .nav-link-indicator {
    width: 100%;
}

    .nav-cta {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-cta:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.nav-cta:hover .nav-cta-shine {
    transform: translateX(100%);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
}

.nav-toggle:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    border-radius: 2px;
}

.nav-toggle span:nth-child(1) {
    width: 16px;
}

.nav-toggle span:nth-child(3) {
    width: 16px;
}

/* Animated hamburger to X */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 20px;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.hero-video:nth-child(2) {
    opacity: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(59, 130, 246, 0.2) 100%
    );
    z-index: 2;
    }
    
    .hero-content {
        position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: var(--space-3xl) var(--container-padding);
}

.hero-centered {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centered .hero-title {
    text-align: center;
}

.hero-centered .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-actions {
    justify-content: center;
}


    .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9));
    backdrop-filter: blur(var(--blur-md));
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(139, 92, 246, 1));
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 10px 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(var(--blur-md));
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.btn-ghost:hover::before {
    opacity: 1;
}


/* ===== SECTION STYLES ===== */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

.section-dark {
    background: var(--color-bg-elevated);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.large-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* ===== SOLUTIONS SECTION - PREMIUM PRODUCT SHOWCASE ===== */
.section-solutions {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 50%, var(--color-bg) 100%);
    position: relative;
}

.section-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.3;
}

.solutions-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
}

.solutions-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.solutions-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--border-color);
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Hide toggle indicator on desktop only */
@media (min-width: 768px) {
    .solution-card::after,
    .glass-card::after {
        display: none;
    }
}

/* Desktop hover effects - only on larger screens */
@media (min-width: 768px) {
    .solution-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 60%);
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .solution-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            var(--color-gradient-1) 90deg,
            var(--color-gradient-2) 180deg,
            var(--color-gradient-3) 270deg,
            transparent 360deg
        );
        opacity: 0;
        transition: opacity 0.5s ease;
        animation: rotate 8s linear infinite;
        animation-play-state: paused;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .solution-card:hover {
        transform: translateY(-12px);
        border-color: transparent;
        box-shadow: 0 30px 60px rgba(59, 130, 246, 0.25);
    }

    .solution-card:hover::before {
        opacity: 1;
    }

    .solution-card:hover::after {
        opacity: 0.1;
        animation-play-state: running;
    }
}

.solution-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    transition: all 0.5s ease;
}

.solution-card:hover .solution-number {
    color: rgba(59, 130, 246, 0.08);
    transform: scale(1.1);
}

.solution-icon-wrapper {
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.solution-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: var(--color-accent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05) rotate(-5deg);
}

.solution-content {
    position: relative;
    z-index: 2;
}

.solution-content h3 {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.solution-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.solution-card:hover .feature-item {
    color: var(--color-text);
}

.solution-card:hover .feature-item svg {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== VALUE LIST - VERTICAL LAYOUT ===== */
.value-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.glass-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    align-items: start;
}

/* Desktop hover effects for glass cards - only on larger screens */
@media (min-width: 768px) {
    .glass-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 20px;
        pointer-events: none;
        z-index: 0;
    }

    .glass-card:hover {
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    }

    .glass-card:hover::before {
        opacity: 1;
    }
}

.glass-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    font-family: var(--font-main);
    line-height: 1;
    width: 80px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.glass-card > div:last-child {
    min-width: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.glass-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.glass-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: clamp(0.9375rem, 2vw, 1rem);
    width: 100%;
    max-width: 100%;
}

/* ===== TECH STACK ===== */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.tech-principles {
    display: flex;
        flex-direction: column;
    gap: var(--space-md);
}

.principle-item {
    display: flex;
        gap: var(--space-md);
    align-items: start;
}

.principle-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: 8px;
    font-weight: 700;
}

.principle-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.principle-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.tech-stack {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.tech-category {
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.tech-category:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tech-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tech-items span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ===== AI FRAMEWORK BOX ===== */
.ai-framework-box {
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.ai-framework-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
}

.ai-framework-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.ai-framework-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    color: var(--color-accent);
}

.ai-framework-box h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--color-text);
}

.ai-framework-box p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ===== CONTACT SECTION ===== */
.section-contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-3xl);
    }
}

    .contact-info {
        position: sticky;
        top: 120px;
}

.consultation-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.point-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
}

.point-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form-wrapper {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

    .contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-grid {
    display: grid;
        grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .form-grid {
    grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-field input,
.form-field textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    display: flex;
    gap: var(--space-sm);
    align-items: start;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-consent label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.full-width {
    width: 100%;
}

.form-success {
    display: none;
        text-align: center;
    padding: var(--space-xl);
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--color-text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-color);
    background: var(--color-bg);
}

.footer-content {
    display: grid;
        grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-brand p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    align-items: center;
    }
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--color-text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ===== GDPR COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9995;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(0, 0, 0, 1) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-title svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.cookie-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-description strong {
    color: var(--color-text);
    font-weight: 600;
}

.cookie-description a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-description a:hover {
    color: var(--color-text);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 767px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        gap: 1rem;
    }
    
    .cookie-title {
        font-size: 1rem;
    }
    
    .cookie-title svg {
        width: 20px;
        height: 20px;
    }
    
    .cookie-description {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-actions button {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

.btn-cookie-accept,
.btn-cookie-customize,
.btn-cookie-reject {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 767px) {
    .btn-cookie-accept,
    .btn-cookie-customize,
    .btn-cookie-reject {
        white-space: normal;
    }
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: white;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-gradient-2));
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.btn-cookie-customize {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border: 1px solid var(--border-color);
}

.btn-cookie-customize:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--border-color);
}

.btn-cookie-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

/* Cookie Settings Link in Footer */
.cookie-settings-link {
    background: none;
    border: none;
    color: var(--color-text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: var(--font-main);
    padding: 0;
}

.cookie-settings-link:hover {
    color: var(--color-text);
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.cookie-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal-content {
    background: var(--color-bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: var(--space-xl);
}

.cookie-modal-intro {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 0.9375rem;
    line-height: 1.7;
    padding: var(--space-md);
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--color-accent);
    border-radius: 8px;
}

.cookie-category {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    gap: var(--space-md);
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.cookie-category-title h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cookie-badge {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-badge-required {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cookie-badge-optional {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.cookie-category-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.cookie-details {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-text-tertiary);
}

.cookie-details strong {
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-color: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-toggle-disabled .cookie-toggle-slider {
    background: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
        border-radius: 16px;
        width: 100%;
    }
    
    .cookie-modal-header {
        padding: 1rem 1rem 0.75rem;
    }
    
    .cookie-modal-header h2 {
        font-size: 1.125rem;
    }
    
    .cookie-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .cookie-modal-body {
        padding: 1rem;
    }
    
    .cookie-modal-intro {
        font-size: 0.8125rem;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .cookie-category {
        padding: 0.875rem;
        margin-bottom: 0.75rem;
        border-radius: 10px;
    }
    
    .cookie-category-title {
        flex-wrap: wrap;
    }
    
    .cookie-category-title h3 {
        font-size: 0.875rem;
    }
    
    .cookie-badge {
        font-size: 0.625rem;
        padding: 0.15rem 0.4rem;
    }
    
    .cookie-category-description {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .cookie-details {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .cookie-toggle {
        width: 48px;
        height: 26px;
    }
    
    .cookie-toggle-slider:before {
        height: 18px;
        width: 18px;
    }
    
    .cookie-toggle input:checked + .cookie-toggle-slider:before {
        transform: translateX(22px);
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .cookie-modal-footer button {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

.btn-cookie-save,
.btn-cookie-cancel {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-cookie-save {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: white;
}

.btn-cookie-save:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.btn-cookie-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid var(--border-color);
}

.btn-cookie-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

[data-animate="fade-up"] {
    animation: fade-up 0.8s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== MOBILE RESPONSIVE NAVBAR ===== */
@media (max-width: 1023px) {
    /* Mobile menu overlay backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 68px;
        left: var(--space-md);
        right: var(--space-md);
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(var(--blur-lg));
        -webkit-backdrop-filter: blur(var(--blur-lg));
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 20px;
        padding: var(--space-md);
        gap: 0;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(59, 130, 246, 0.1);
        z-index: 999;
        overflow: hidden;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        padding: var(--space-md) var(--space-lg);
        font-size: 1.0625rem;
        border-radius: 12px;
        margin-bottom: var(--space-xs);
        transition: all 0.3s ease;
        background: transparent;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: rgba(59, 130, 246, 0.1);
        color: var(--color-text);
    }
    
    .nav-link.active {
        background: rgba(59, 130, 246, 0.15);
        color: var(--color-text);
    }
    
    .nav-link:last-of-type {
        margin-bottom: var(--space-sm);
    }
    
    .nav-link-indicator {
        display: none;
    }
    
    .nav-link span {
        position: relative;
    }
    
    .nav-link span::before {
        content: '';
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background: var(--color-accent);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-link:hover span::before {
        opacity: 1;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: var(--space-xs);
        padding: var(--space-md) var(--space-lg);
        border-radius: 12px;
        font-size: 1rem;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-cta:active {
        transform: scale(0.98);
    }
    
    /* Stagger animation for menu items */
    .nav-menu.active .nav-link:nth-child(1) {
        animation: slideInFromTop 0.4s ease-out 0.05s both;
    }
    
    .nav-menu.active .nav-link:nth-child(2) {
        animation: slideInFromTop 0.4s ease-out 0.1s both;
    }
    
    .nav-menu.active .nav-link:nth-child(3) {
        animation: slideInFromTop 0.4s ease-out 0.15s both;
    }
    
    .nav-menu.active .nav-cta {
        animation: slideInFromTop 0.4s ease-out 0.2s both;
    }
    
    @keyframes slideInFromTop {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
    /* ===== DISABLE ALL HOVER EFFECTS ON MOBILE ===== */
    .solution-card:hover,
    .solution-card:active,
    .solution-card:focus,
    .glass-card:hover,
    .glass-card:active,
    .glass-card:focus {
        transform: none !important;
        border-color: var(--border-color) !important;
        box-shadow: none !important;
    }
    
    .solution-card:hover::before,
    .solution-card:active::before,
    .glass-card:hover::before,
    .glass-card:active::before {
        opacity: 0 !important;
        animation-play-state: paused !important;
    }
    
    /* Keep ::after visible for toggle indicators */
    .solution-card:hover::after,
    .solution-card:active::after,
    .glass-card:hover::after,
    .glass-card:active::after {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .solution-card:hover .solution-number,
    .solution-card:hover .solution-icon,
    .solution-card:hover .feature-item,
    .solution-card:hover .feature-item svg {
        transform: none !important;
        color: inherit !important;
        opacity: inherit !important;
    }
    
    /* Disable desktop hover pseudo-elements on mobile */
    .solution-card::before {
        display: none !important;
        opacity: 0 !important;
    }
    
    /* Hero spacing adjustment */
    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: var(--space-md);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
    }
    
    /* Section spacing */
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: var(--space-md);
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    /* Solutions grid - single column */
    .solutions-grid {
        gap: var(--space-lg);
    }
    
    /* ===== MOBILE COLLAPSIBLE CARDS - SOLUTION CARDS ===== */
    .solution-card {
        padding: var(--space-lg);
        padding-bottom: 80px;
        /* Plynulá animace jen pro vizuální efekty, padding se mění okamžitě */
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    background 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        cursor: pointer;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        min-height: 140px;
        /* Enhanced visual feedback for clickability */
        border: 2px solid rgba(59, 130, 246, 0.3);
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
        /* Ensure stacking context for ::after */
        isolation: isolate;
        /* GPU acceleration pro butter-smooth animace */
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .solution-card:active {
        transform: scale(0.98);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
    }
    
    /* Expanded state styling */
    .solution-card.expanded {
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .solution-card .solution-icon-wrapper {
        margin-bottom: var(--space-md);
    }
    
    /* Solution number on mobile - původní tmavé velké čísla */
    .solution-card .solution-number {
        display: block;
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        font-size: 4rem;
        font-weight: 900;
        color: rgba(255, 255, 255, 0.04);
        line-height: 1;
        z-index: 1;
        transition: all 0.3s ease;
    }
    
    /* Rozsvítí se při expanded */
    .solution-card.expanded .solution-number {
        font-size: 4.5rem;
        color: rgba(59, 130, 246, 0.12);
        transform: scale(1.05);
    }
    
    /* Solution cards - DEFAULT collapsed state on mobile */
    .solution-card .solution-content h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        padding-right: 55px;
        /* Nadpis se nemění, jen margin */
        margin-bottom: 0;
        transition: margin-bottom 0s, font-size 0s, padding-right 0s;
    }
    
    .solution-card .solution-content p,
    .solution-card .solution-features {
        /* Text skrytý přes max-height + opacity */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        /* Rychlá změna výšky, rychlý fade-in s krátkým delayem */
        transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s;
        /* GPU acceleration */
        will-change: opacity;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Solution cards - expanded state (when JavaScript adds class) */
    .solution-card.expanded {
        /* Padding se změní okamžitě */
        padding: var(--space-xl);
        padding-bottom: 90px;
        transition: padding 0s !important;
    }
    
    .solution-card.expanded .solution-content h3 {
        margin-bottom: var(--space-md);
        padding-right: 60px;
        font-size: 1.375rem;
        /* Změny okamžitě */
        transition: margin-bottom 0s, font-size 0s, padding-right 0s;
    }
    
    .solution-card.expanded .solution-content p,
    .solution-card.expanded .solution-features {
        /* Max-height se změní rychle, text fade-in s krátkým delayem */
        max-height: 2000px;
        opacity: 1;
        /* Rychlá výška, pak rychlý fade-in s mini delayem */
        transition: max-height 0.01s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    }
    
    .solution-card.expanded .solution-content p {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
    }
    
    /* ===== MOBILE COLLAPSIBLE CARDS - GLASS CARDS (VYHODY) ===== */
    .glass-card {
        /* Mobile-optimized layout */
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        
        /* Spacing */
        padding: var(--space-lg);
        padding-bottom: 85px;
        min-height: 130px;
        
        /* Interaction */
        cursor: pointer;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        /* Plynulá animace jen pro vizuální efekty, padding se mění okamžitě */
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                    background 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        
        /* Visual - match solution cards impact */
        background: linear-gradient(135deg, 
                    rgba(59, 130, 246, 0.08) 0%, 
                    rgba(139, 92, 246, 0.05) 100%);
        backdrop-filter: blur(var(--blur-lg));
        border: 2px solid rgba(59, 130, 246, 0.3);
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
        /* Ensure stacking context for ::after */
        isolation: isolate;
        /* GPU acceleration pro butter-smooth animace */
        will-change: transform;
        transform: translateZ(0) !important;
        backface-visibility: hidden;
    }
    
    .glass-card:active {
        transform: scale(0.98) !important;
        background: linear-gradient(135deg, 
                    rgba(59, 130, 246, 0.12) 0%, 
                    rgba(139, 92, 246, 0.08) 100%);
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
    }
    
    /* Expanded state */
    .glass-card.expanded {
        border-color: rgba(59, 130, 246, 0.5);
        background: linear-gradient(135deg, 
                    rgba(59, 130, 246, 0.12) 0%, 
                    rgba(139, 92, 246, 0.08) 100%);
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    /* Number styling - collapsed - IMPACTFUL */
    .glass-card .glass-number {
        font-size: 3rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
        width: auto;
        min-width: auto;
        flex-shrink: 0;
        margin-bottom: var(--space-xs);
        text-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
        /* Okamžitá změna */
        transition: font-size 0s, margin-bottom 0s;
    }
    
    /* Content wrapper */
    .glass-card > div:last-child {
        flex: 1;
        min-width: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Heading - collapsed state - CLEAR & VISIBLE */
    .glass-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--color-text);
        margin-bottom: 0;
        padding-right: 50px;
        /* Bez transition - změní se okamžitě */
        transition: margin-bottom 0s, font-size 0s, padding-right 0s;
    }
    
    /* Description - hidden by default */
    .glass-card p {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        /* Rychlá změna výšky, rychlý fade-in s krátkým delayem */
        transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s;
        /* GPU acceleration */
        will-change: opacity;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* ===== EXPANDED STATE - BEAUTIFUL & IMPACTFUL ===== */
    .glass-card.expanded {
        padding: var(--space-xl);
        padding-bottom: 100px;
        min-height: auto;
        gap: var(--space-md);
        /* Padding se změní okamžitě */
        transition: padding 0s, gap 0s !important;
    }
    
    .glass-card.expanded .glass-number {
        font-size: 3.5rem;
        margin-bottom: var(--space-sm);
        /* Okamžitá změna */
        transition: font-size 0s, margin-bottom 0s;
    }
    
    .glass-card.expanded h3 {
        font-size: 1.375rem;
        margin-bottom: var(--space-md);
        line-height: 1.25;
        padding-right: 50px;
        /* Okamžitá změna */
        transition: font-size 0s, margin-bottom 0s, padding-right 0s;
    }
    
    .glass-card.expanded p {
        max-height: 2000px;
        opacity: 1;
        margin-top: 0;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.7;
        font-size: 1rem;
        padding-right: 10px;
        /* Rychlá výška, pak rychlý fade-in s mini delayem */
        transition: max-height 0.01s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    }
    
    /* ===== TOGGLE INDICATOR - Premium SVG Design ===== */
    .solution-card::after,
    .glass-card::after {
        content: '' !important;
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 100 !important;
        pointer-events: none !important;
        transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                    background 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 1.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        /* GPU acceleration pro ultra smooth animace */
        will-change: transform, opacity !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        -webkit-font-smoothing: subpixel-antialiased !important;
        
        /* Jemný glassmorphic background - mírnější barvy */
        background: linear-gradient(135deg, 
            rgba(59, 130, 246, 0.12) 0%, 
            rgba(139, 92, 246, 0.08) 100%) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        
        /* Modern rounded square */
        border-radius: 14px !important;
        
        /* Jemnější stíny */
        box-shadow: 
            0 4px 16px rgba(59, 130, 246, 0.12),
            0 2px 8px rgba(59, 130, 246, 0.1),
            0 0 0 1px rgba(59, 130, 246, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
        
        /* Plus icon - světlejší bílá */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"),
            linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
        background-size: 24px 24px, 100% 100% !important;
        background-position: center, center !important;
        background-repeat: no-repeat, no-repeat !important;
    }
    
    /* Hover/Active effect on card - subtle press feedback */
    .solution-card:active::after,
    .glass-card:active::after {
        transform: scale(0.92) !important;
        box-shadow: 
            0 2px 8px rgba(59, 130, 246, 0.15),
            0 1px 4px rgba(59, 130, 246, 0.1),
            0 0 0 1px rgba(59, 130, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Expanded state - Jemný mínus s mirnými barvami, bez rotace */
    .solution-card.expanded::after,
    .glass-card.expanded::after {
        /* Jemný fialový gradient - velmi mírnější */
        background: linear-gradient(135deg, 
            rgba(139, 92, 246, 0.15) 0%, 
            rgba(236, 72, 153, 0.1) 100%) !important;
        
        /* Jemnější stíny s fialovým akcentem */
        box-shadow: 
            0 6px 20px rgba(139, 92, 246, 0.15),
            0 3px 10px rgba(139, 92, 246, 0.12),
            0 0 0 1px rgba(139, 92, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
        
        /* Bílá mínus ikona - bez rotace */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"),
            linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%) !important;
        background-size: 24px 24px, 100% 100% !important;
        background-position: center, center !important;
        background-repeat: no-repeat, no-repeat !important;
        
        /* Jemný scale up - BEZ rotace, s 3D akcelerací */
        transform: scale(1.03) translateZ(0) !important;
    }
    
    
    /* Value list spacing */
    .value-list {
        gap: var(--space-lg);
        padding: 0;
    }
    
    /* Contact layout */
    .contact-layout {
        gap: var(--space-xl);
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

/* ===== PAGE HERO (for About, Legal pages) ===== */
.page-hero {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

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

/* ===== FOUNDER PROFILE IMAGE ===== */
.founder-intro-section {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    margin-bottom: var(--space-xl);
}

.founder-profile-image {
    width: 200px;
    height: 200px;
    position: relative;
    flex-shrink: 0;
}

.founder-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.founder-intro-text {
    flex: 1;
    min-width: 0;
}

.founder-intro-text h2 {
    margin-top: 0;
}

@media (max-width: 767px) {
    .founder-intro-section {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .founder-profile-image {
        width: 180px;
        height: 180px;
    }
    
    .founder-profile-image img {
        border-radius: 14px;
    }
    
    .founder-intro-text {
        text-align: left;
    }
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.legal-date {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-top: var(--space-md);
}

/* ===== CONTENT GRID (About page) ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-3xl);
    }
}

.content-main h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-md);
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.content-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.content-list li {
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-sm);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.content-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ===== SIDEBAR (About page) ===== */
.content-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-card {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: var(--space-lg);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.sidebar-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: var(--space-xs) 0;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tech-tags span {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.company-details p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.company-details p:last-child {
    margin-bottom: 0;
}

.company-details strong {
    color: var(--color-text);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info-box {
    margin-bottom: var(--space-lg);
}

.contact-info-box p {
    margin-bottom: var(--space-md);
}

.contact-info-box strong {
    color: var(--color-text);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.contact-link.deobfuscated {
    cursor: pointer;
}

/* ===== LEGAL CONTENT (Privacy, Terms pages) ===== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.legal-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--color-text);
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.legal-list li {
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-sm);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: var(--space-sm);
    color: var(--color-accent);
    font-weight: 700;
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

/* ===== UTILITIES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


