/* Linkup Studio OÜ - Modern Creative CSS */

/* CSS Variables for Design System */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* === НОВЫЙ СТИЛЬ ШАПКИ === */
.header {
    background: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #6366f1;
    text-decoration: none;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    left: 100%;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

.nav-menu a.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.language-switcher a {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.language-switcher a.active {
    background: #6366f1;
    color: white;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.language-switcher a:hover:not(.active) {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* === МОБИЛЬНОЕ МЕНЮ === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #6366f1;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
    line-height: 1.5;
    text-align: center;
    min-height: 48px;
    user-select: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    min-height: 56px;
    border-radius: var(--border-radius-lg);
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    min-height: 36px;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: wrap;
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-primary:hover .btn-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Enhanced button hover effects */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 2;
}

/* Pulse animation for primary buttons */
.btn-primary {
    animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), 0 0 0 8px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.btn-primary:hover {
    animation: none;
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Layout */
.main {
    margin-top: 80px;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-card img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Metrics Section */
.metrics {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    padding: var(--spacing-2xl) 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.metric-item {
    text-align: center;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.metric-number {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.metric-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-primary);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.stars {
    color: #fbbf24;
    margin-top: var(--spacing-xs);
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

/* Case Studies Preview */
.case-studies-preview {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.case-studies-preview h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.case-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-tech-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.case-tech-tags span {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.case-content {
    padding: var(--spacing-xl);
}

.case-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.case-metrics {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.case-metrics .metric {
    background: var(--bg-tertiary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Tech Stack Section */
.tech-stack {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.tech-stack h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.tech-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.tab-button {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
}

.tech-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.tech-item span {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* Process Timeline */
.process {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.process h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-xl);
    position: relative;
    z-index: 2;
    margin: 0 var(--spacing-lg);
}

.timeline-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1;
    max-width: 350px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Coverage Map */
.coverage-map {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.coverage-map h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.map-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.region-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.region-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.region-flag {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.region-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.region-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.region-details span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Calculator Section */
.calculator {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.calculator h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.calculator-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.input-group select {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: white;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.calculator-result {
    text-align: center;
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.result-display {
    margin-bottom: var(--spacing-lg);
}

.result-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.result-amount {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
}

.result-timeline {
    margin-bottom: var(--spacing-xl);
}

.timeline-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.timeline-amount {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

/* Enhanced CTA Section */
.cta {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

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

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1); }
    to { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.2); }
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta .btn {
    margin: 0 var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
}

/* === НОВЫЙ СТИЛЬ ФУТЕРА === */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 40px 0 20px 0;
    border-top: 3px solid #6366f1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    border-radius: 2px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    background: rgba(99, 102, 241, 0.2);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

[data-animate] {
    opacity: 0;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}

[data-animate="fadeInUp"] {
    animation-name: fadeInUp;
}

[data-animate="slideInLeft"] {
    animation-name: slideInLeft;
}

[data-animate="slideInRight"] {
    animation-name: slideInRight;
}

[data-animate="slideInUp"] {
    animation-name: slideInUp;
}

[data-delay="100"] {
    animation-delay: 0.1s;
}

[data-delay="200"] {
    animation-delay: 0.2s;
}

/* Small Sections */
.hero-small {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    text-align: center;
}

.hero-small h1 {
    color: white;
    margin-bottom: var(--spacing-md);
}

/* Case Studies Grid Page */
.case-studies-grid {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.case-studies-grid .case-card {
    display: flex;
    flex-direction: column;
}

.case-studies-grid .case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-tags {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-tech {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Responsive Design */
/* === МОБИЛЬНАЯ НАВИГАЦИЯ === */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 2px solid #6366f1;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-radius: 10px;
        background: #f8fafc;
        margin-bottom: 8px;
        font-size: 16px;
        border: 1px solid #e5e7eb;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, #6366f1, #06b6d4);
        color: white;
        border-color: #6366f1;
    }
    
    .language-switcher {
        margin-top: 20px;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-card {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        order: 2;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        margin: 0 var(--spacing-lg) 0 0;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --spacing-2xl: 2rem;
    }
    
    .nav-container {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .nav-menu {
        top: 70px;
        padding: var(--spacing-md);
    }
    
    .nav-menu a {
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .btn {
        min-width: 280px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-regions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid,
    .map-regions {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .case-metrics {
        grid-template-columns: 1fr;
    }
}

/* Smooth scroll for anchors */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus styles for accessibility */
button:focus,
.btn:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* === НОВОЕ COOKIE УВЕДОМЛЕНИЕ === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    border-top: 3px solid #6366f1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
}

.cookie-text p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cookie-links {
    margin-top: 5px;
}

.cookie-links a {
    color: #06b6d4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cookie-links a:hover {
    color: #67e8f9;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.cookie-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.cookie-buttons .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-shapes,
    .btn,
    .cookie-consent {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
}