/* ============================================
   Nexx Capital Partners - Investment Website
   Modern Dark Theme with Parallax Scrolling
   Shadcn-inspired Design System
   ============================================ */

/* CSS Custom Properties - Design System */
:root {
    /* Colors - Dark Theme */
    --color-background: #0a0f1c;
    --color-foreground: #f8fafc;
    --color-card: #111827;
    --color-card-foreground: #f1f5f9;
    --color-popover: #1e293b;
    --color-popover-foreground: #f1f5f9;
    
    /* Primary - Muted Gold Accent */
    --color-primary: #d4af37;
    --color-primary-hover: #b8941f;
    --color-primary-foreground: #0a0f1c;
    
    /* Secondary - Teal Accent */
    --color-secondary: #2dd4bf;
    --color-secondary-hover: #14b8a6;
    
    /* Muted colors */
    --color-muted: #1e293b;
    --color-muted-foreground: #94a3b8;
    
    /* Accent */
    --color-accent: #1e293b;
    --color-accent-foreground: #f1f5f9;
    
    /* Borders */
    --color-border: #334155;
    --color-input: #334155;
    --color-ring: #d4af37;
    
    /* Destructive */
    --color-destructive: #ef4444;
    --color-destructive-foreground: #fef2f2;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Reset & Typography
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-card-foreground);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   Floating Edge Navigation
   ============================================ */

.floating-nav {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 1000;
    background: rgba(17, 24, 39, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xs);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.floating-nav:hover {
    background: rgba(17, 24, 39, 0.35);
    border-color: rgba(148, 163, 184, 0.3);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: var(--spacing-sm);
    color: var(--color-foreground);
}

.nav-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: all var(--transition-base);
}

.nav-toggle-icon::before {
    top: -8px;
}

.nav-toggle-icon::after {
    bottom: -8px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xs);
    list-style: none;
}

.nav-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.15);
}

/* ============================================
   Hero Section with Video Background
   ============================================ */

.hero-section {
    position: relative;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    padding: clamp(6rem, 15vh, 12rem) 0;
}

/* Video Container - Fixed to viewport, always behind all content */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Dark overlay for text contrast - subtle to show video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 28, 0.50) 0%,
        rgba(17, 24, 39, 0.35) 50%,
        rgba(10, 15, 28, 0.50) 100%
    );
    pointer-events: none;
}

/* ============================================
   Floating Accent Icons
   ============================================ */

/* Symbols row - static under button in a line */
.symbols-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(150px, 20vw, 210px); /* Gap = symbol size */
    margin-top: clamp(3rem, 6vh, 5rem);
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    width: fit-content; /* Only as wide as content */
    max-width: 100%;
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    min-height: clamp(150px, 20vw, 210px);
}

.floating-icon {
    position: absolute;
    width: clamp(80px, 15vw, 180px);
    height: clamp(80px, 15vw, 180px);
    color: var(--color-primary);
    opacity: 0.15;
    will-change: transform;
    transition: opacity var(--transition-slow);
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

/* Financial symbols - static in row initially - 3x larger */
.symbols-row .floating-icon {
    width: clamp(150px, 20vw, 210px); /* 3x bigger */
    height: clamp(150px, 20vw, 210px);
    min-width: clamp(150px, 20vw, 210px); /* Force size */
    min-height: clamp(150px, 20vw, 210px);
    color: var(--color-primary);
    opacity: 0.3;
    transition: opacity var(--transition-base), transform var(--transition-base);
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Ensure proper positioning */
}

.symbols-row .floating-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.symbols-row .floating-icon:hover {
    opacity: 0.5;
    transform: scale(1.05);
}

/* When physics is active */
.floating-icon.physics-active {
    position: fixed !important;
    transition: none !important;
    transform: none !important;
}


/* ============================================
   Hero Content
   ============================================ */

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(2rem, 5vh, 4rem);
    color: var(--color-foreground);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-foreground);
    max-width: 700px;
    margin: 0 auto clamp(3rem, 8vh, 6rem);
    line-height: 1.8;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-hero {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    padding: clamp(1rem, 2vw, 1.5rem) clamp(2.5rem, 5vw, 4rem);
    height: auto;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
    margin-bottom: 0;
}

.btn-hero:hover {
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ============================================
   Shadcn-Inspired Button Components
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    outline: none;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

/* Button Sizes */
.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-default {
    height: 2.25rem;
    padding: 0 1rem;
}

.btn-sm {
    height: 2rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
}

/* Button Variants */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-foreground);
    border-color: var(--color-border);
}

.btn-ghost:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   Sections
   ============================================ */

section {
    position: relative;
    padding: clamp(8rem, 20vh, 16rem) 0;
}

.about-section,
.approach-section,
.contact-section {
    background: transparent;
    border-top: none; /* Убрали линию */
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(4rem, 10vh, 8rem);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: clamp(2rem, 5vh, 4rem);
    color: var(--color-foreground);
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 0, 0, 0.7);
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-foreground);
    line-height: 1.7;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.7);
}

/* ============================================
   Shadcn-Inspired Card Components
   ============================================ */

.card {
    background: rgba(17, 24, 39, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-card-foreground);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    background: rgba(17, 24, 39, 0.35);
}

.card-elevated {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    background: rgba(17, 24, 39, 0.25);
}

.card-elevated:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    background: rgba(17, 24, 39, 0.35);
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.card-description,
.card-text {
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.card-header {
    margin-bottom: var(--spacing-md);
}

.card-title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.card-icon-header {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.card-icon-header svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   About Section - Trust Grid
   ============================================ */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: clamp(4rem, 10vh, 8rem);
    margin-bottom: clamp(4rem, 10vh, 8rem);
}

/* ============================================
   Investment Approach - Grid
   ============================================ */

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(4rem, 10vh, 8rem);
}

/* ============================================
   Innovation Focus Section - Floating Cards
   ============================================ */

.innovations-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.innovations-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(20vh, 30vh, 40vh);
    margin-top: clamp(10vh, 20vh, 30vh);
    margin-bottom: clamp(10vh, 20vh, 30vh);
}

.innovation-card {
    background: transparent; /* Убрали фон - парящий текст */
    backdrop-filter: none; /* Убрали blur */
    -webkit-backdrop-filter: none;
    border: none; /* Убрали рамку */
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 75%; /* Ширина 75% от страницы */
    margin: 0 auto;
}

.innovation-card:hover {
    transform: translateY(-4px);
    /* Убрали фоновые эффекты при hover */
}

/* Floating animation for innovation cards - DISABLED */
.floating-card {
    animation: none; /* Убрали эффект плавания - он мешает читать */
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 1.2s;
}

.floating-card:nth-child(3) {
    animation-delay: 2.4s;
}

.floating-card:nth-child(4) {
    animation-delay: 3.6s;
}

.floating-card:nth-child(5) {
    animation-delay: 4.8s;
}

@keyframes innovationFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

/* Financial symbols - physics controlled */
.floating-icon {
    transition: none !important;
    animation: none !important;
}

/* Контейнер для 2-3 иконок в ряд */
.innovation-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

/* PNG иконки - статичные, без анимации */
.innovation-icon-img {
    width: clamp(100px, 15vw, 180px);
    height: clamp(100px, 15vw, 180px);
    object-fit: contain;
    filter: drop-shadow(0 2px 15px rgba(0, 0, 0, 0.9));
    opacity: 0.8;
    
    /* Smooth rendering для PNG */
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
}

.innovation-card:hover .innovation-icon-img {
    transform: scale(1.05);
    opacity: 1;
}

.innovation-title {
    font-size: 1.875rem; /* Уменьшено на 25% (было 2.5rem) */
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 4px 30px rgba(0, 0, 0, 0.8);
}

.innovation-description {
    font-size: 1.3125rem; /* Уменьшено на 25% (было 1.75rem) */
    color: #ffffff; /* Белый цвет */
    line-height: 1.6;
    text-shadow: none; /* Убрали тени */
}

/* ============================================
   Contact Section - Compact
   ============================================ */

.contact-section {
    background: transparent;
    padding: clamp(4rem, 8vh, 6rem) 0;
}

.contact-compact {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-compact .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.contact-compact .section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: var(--spacing-xl);
}

.contact-form-compact {
    background: rgba(17, 24, 39, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr auto;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-input-compact {
    height: 2.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(30, 41, 59, 0.5);
    color: var(--color-foreground);
    padding: 0 1rem;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input-compact::placeholder {
    color: var(--color-muted-foreground);
}

.form-input-compact:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(30, 41, 59, 0.7);
}

.btn-compact {
    height: 2.75rem;
    padding: 0 2rem;
    white-space: nowrap;
}

.privacy-compact {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.contact-download {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.contact-download .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: transparent;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    padding: clamp(4rem, 10vh, 8rem) 0;
    margin-top: clamp(6rem, 15vh, 12rem);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.9);
}

.footer-separator {
    margin: 0 var(--spacing-xs);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.9);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .btn-compact {
        width: 100%;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Symbols row on mobile - proportionally scaled */
    .symbols-row {
        gap: clamp(80px, 15vw, 120px); /* Gap = symbol size on mobile */
        padding: 0 var(--spacing-sm);
        margin-top: clamp(2rem, 4vh, 3rem);
    }
    
    .symbols-row .floating-icon {
        width: clamp(80px, 15vw, 120px); /* Proportional to desktop */
        height: clamp(80px, 15vw, 120px);
    }
    
    /* Mobile Navigation */
    .floating-nav {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: var(--spacing-sm);
        flex-direction: column;
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(12px);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        padding: var(--spacing-sm);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-base);
    }
    
    .floating-nav.active .nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .floating-nav.active .nav-toggle-icon {
        background: transparent;
    }
    
    .floating-nav.active .nav-toggle-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .floating-nav.active .nav-toggle-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Reduce floating icons on mobile */
    .floating-icon {
        width: clamp(60px, 12vw, 100px);
        height: clamp(60px, 12vw, 100px);
        opacity: 0.08;
    }
    
    /* Adjust spacing - still generous on mobile */
    section {
        padding: clamp(5rem, 12vh, 8rem) 0;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: clamp(4rem, 10vh, 8rem) 0;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .innovations-grid {
        gap: clamp(15vh, 20vh, 25vh);
    }
    
    .innovation-card {
        min-height: 35vh;
        padding: clamp(1.5rem, 4vw, 2rem);
        max-width: 90%; /* На мобильных устройствах - 90% */
    }
    
    .innovation-title {
        font-size: clamp(1.125rem, 5vw, 1.875rem); /* Адаптивный для мобильных, -25% */
    }
    
    .innovation-description {
        font-size: clamp(0.875rem, 3.5vw, 1.3125rem); /* Адаптивный для мобильных, -25% */
    }
    
    .innovation-icons-row {
        gap: clamp(1rem, 3vw, 1.5rem);
        flex-wrap: wrap;
    }
    
    .innovation-icon-img {
        width: clamp(60px, 12vw, 100px); /* Адаптивные для мобильных */
        height: clamp(60px, 12vw, 100px);
    }
    
    /* Floating animation disabled on mobile */
    .floating-card {
        animation: none; /* Убрали эффект плавания */
    }
    
    @keyframes innovationFloatMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   Performance Optimizations
   ============================================ */

/* GPU Acceleration for video only */
.background-video {
    will-change: auto;
    transform: translateZ(0);
}

/* Smooth scrolling with reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .floating-card {
        animation: none !important;
    }
    
    .innovation-card:hover {
        transform: none;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-icon {
        animation: none;
    }
    
    [data-parallax-layer] {
        will-change: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: #64748b;
        --color-primary: #fbbf24;
    }
    
    .btn-primary {
        border: 2px solid var(--color-primary-foreground);
    }
}

/* Print styles */
@media print {
    .floating-nav,
    .floating-icons,
    .video-container,
    .hero-cta {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

