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

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --accent-color: #00D9FF;
    --secondary-color: #00C853;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

/* Блокировка скролла на iOS и всех устройствах */
html.loading {
    overflow: hidden;
    height: 100%;
}

html.loading body {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Блокировка скролла во время загрузки */
body.loading {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 200, 83, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loading-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2.5rem;
    animation: float-loading 3s ease-in-out infinite;
}

@keyframes float-loading {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.loading-logo svg {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 30px rgba(0, 102, 255, 0.8));
}

.loading-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid transparent;
    border-top-color: #0066FF;
    border-right-color: #00D9FF;
    border-radius: 50%;
    animation: rotate-ring 2s linear infinite;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.loading-ring-2 {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid transparent;
    border-bottom-color: #00D9FF;
    border-left-color: #0066FF;
    border-radius: 50%;
    animation: rotate-ring 3s linear infinite reverse;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

/* Tech Elements - Gears */
.tech-gear {
    position: absolute;
    font-size: 2rem;
    animation: spin-gear 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
    z-index: 4;
}

.tech-gear-1 {
    top: -40px;
    left: -40px;
    animation-duration: 3s;
}

.tech-gear-2 {
    top: -40px;
    right: -40px;
    animation-duration: 4s;
    animation-direction: reverse;
}

.tech-gear-3 {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation-duration: 3.5s;
}

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

/* Tech Icons - Computer Parts */
.tech-icon {
    position: absolute;
    animation: orbit 8s linear infinite;
    opacity: 0;
    animation-fill-mode: forwards;
}

.tech-cpu {
    animation-delay: 0s;
    animation-name: orbit-cpu;
}

.tech-ram {
    animation-delay: 2s;
    animation-name: orbit-ram;
}

.tech-hdd {
    animation-delay: 4s;
    animation-name: orbit-hdd;
}

.tech-laptop {
    animation-delay: 6s;
    animation-name: orbit-laptop;
}

@keyframes orbit-cpu {
    0% { 
        top: -80px; 
        left: 50%; 
        transform: translateX(-50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% { 
        top: 50%; 
        left: 180px; 
        transform: translate(-50%, -50%) scale(1) rotate(90deg);
        opacity: 1;
    }
    50% { 
        top: 180px; 
        left: 50%; 
        transform: translateX(-50%) scale(1) rotate(180deg);
        opacity: 1;
    }
    75% { 
        top: 50%; 
        left: -80px; 
        transform: translate(-50%, -50%) scale(1) rotate(270deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: -80px; 
        left: 50%; 
        transform: translateX(-50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes orbit-ram {
    0% { 
        top: 50%; 
        left: 180px; 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% { 
        top: 180px; 
        left: 50%; 
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% { 
        top: 50%; 
        left: -80px; 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    75% { 
        top: -80px; 
        left: 50%; 
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 50%; 
        left: 180px; 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes orbit-hdd {
    0% { 
        top: 180px; 
        left: 50%; 
        transform: translateX(-50%) scale(0) rotateY(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% { 
        top: 50%; 
        left: -80px; 
        transform: translate(-50%, -50%) scale(1) rotateY(90deg);
        opacity: 1;
    }
    50% { 
        top: -80px; 
        left: 50%; 
        transform: translateX(-50%) scale(1) rotateY(180deg);
        opacity: 1;
    }
    75% { 
        top: 50%; 
        left: 180px; 
        transform: translate(-50%, -50%) scale(1) rotateY(270deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 180px; 
        left: 50%; 
        transform: translateX(-50%) scale(0) rotateY(360deg);
        opacity: 0;
    }
}

@keyframes orbit-laptop {
    0% { 
        top: 50%; 
        left: -80px; 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% { 
        top: -80px; 
        left: 50%; 
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% { 
        top: 50%; 
        left: 180px; 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    75% { 
        top: 180px; 
        left: 50%; 
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 50%; 
        left: -80px; 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Binary Rain Effect */
.binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.binary-rain span {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    color: rgba(0, 217, 255, 0.3);
    font-weight: bold;
    animation: binary-fall 4s linear infinite;
    white-space: nowrap;
}

.binary-rain span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.binary-rain span:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
}

.binary-rain span:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
}

.binary-rain span:nth-child(4) {
    left: 70%;
    animation-delay: 0.5s;
}

.binary-rain span:nth-child(5) {
    left: 90%;
    animation-delay: 1.5s;
}

@keyframes binary-fall {
    0% {
        top: -10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

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

.loading-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.loading-title span {
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1rem;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

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

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #0066FF 0%, #00D9FF 100%);
    border-radius: 10px;
    animation: loading-progress 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

@keyframes loading-progress {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

.loading-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #0066FF, #00D9FF);
    border-radius: 50%;
    animation: dot-pulse 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(0, 217, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

.particle:nth-child(1) { top: 10%; left: 15%; animation: particle-float 3s ease-in-out infinite; }
.particle:nth-child(2) { top: 30%; left: 85%; animation: particle-float 4s ease-in-out infinite 0.5s; }
.particle:nth-child(3) { top: 50%; left: 5%; animation: particle-float 3.5s ease-in-out infinite 1s; }
.particle:nth-child(4) { top: 70%; left: 75%; animation: particle-float 4.5s ease-in-out infinite 1.5s; }
.particle:nth-child(5) { top: 20%; left: 45%; animation: particle-float 3s ease-in-out infinite 0.8s; }
.particle:nth-child(6) { top: 60%; left: 35%; animation: particle-float 4s ease-in-out infinite 1.2s; }
.particle:nth-child(7) { top: 5%; left: 65%; animation: particle-float 3.5s ease-in-out infinite 0.3s; }
.particle:nth-child(8) { top: 45%; left: 92%; animation: particle-float 4.5s ease-in-out infinite 1.8s; }
.particle:nth-child(9) { top: 80%; left: 20%; animation: particle-float 3.2s ease-in-out infinite 0.6s; }
.particle:nth-child(10) { top: 25%; left: 55%; animation: particle-float 4.2s ease-in-out infinite 1.4s; }
.particle:nth-child(11) { top: 65%; left: 10%; animation: particle-float 3.8s ease-in-out infinite 0.9s; }
.particle:nth-child(12) { top: 90%; left: 88%; animation: particle-float 4.8s ease-in-out infinite 2s; }

@keyframes particle-float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    padding: 0.25rem 0; /* Добавлен padding сверху и снизу */
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0; /* Увеличен padding при скролле */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

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

.logo-icon {
    position: relative;
    animation: float-logo 3s ease-in-out infinite;
}

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

.logo-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.2));
    transition: var(--transition);
}

.logo:hover .logo-icon svg {
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.4));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    font-weight: 900;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 217, 255, 0.1) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.125rem;
    transition: var(--transition-fast);
    display: inline-block;
}

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

/* Call Button */
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-call::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-call:hover::before {
    width: 300px;
    height: 300px;
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-call:active {
    transform: translateY(-1px);
}

.btn-call svg {
    transition: var(--transition-fast);
}

.btn-call:hover svg {
    animation: ring 0.6s ease;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding: 180px 0 120px;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: hero-float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -1.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero .highlight {
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.feature-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Computer Monitor */
.computer-monitor {
    position: relative;
    z-index: 5; /* Уменьшен z-index чтобы floating элементы были выше */
    animation: float-monitor 4s ease-in-out infinite;
}

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

.monitor-screen {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border-radius: 12px;
    border: 8px solid #2d3548;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.screen-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.code-lines {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-line {
    height: 8px;
    background: linear-gradient(90deg, #00D9FF 0%, #0066FF 100%);
    border-radius: 4px;
    opacity: 0.7;
    animation: code-typing 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.code-line:nth-child(2) {
    animation-delay: 0.3s;
}

.code-line:nth-child(3) {
    animation-delay: 0.6s;
}

.code-line:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes code-typing {
    0%, 100% { width: 0%; opacity: 0; }
    50% { opacity: 0.7; }
}

.success-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: success-pop 3s ease-in-out infinite;
}

@keyframes success-pop {
    0%, 40%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50%, 90% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.success-icon svg {
    filter: drop-shadow(0 0 20px rgba(0, 200, 83, 0.6));
}

.monitor-stand {
    width: 80px;
    height: 60px;
    background: linear-gradient(180deg, #3d4558 0%, #2d3548 100%);
    margin: 0 auto;
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.monitor-base {
    width: 180px;
    height: 16px;
    background: linear-gradient(180deg, #2d3548 0%, #1a1f3a 100%);
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #0066FF;
    animation: float-element 4s ease-in-out infinite;
    z-index: 10; /* Добавлен z-index чтобы иконки были над монитором */
}

.floating-element svg {
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.4));
    transition: all 0.3s ease;
}

.floating-element:hover svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 6px 20px rgba(0, 102, 255, 0.8));
}

.element-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0066FF;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cpu-element {
    top: 10%;
    left: 10%;
    color: #0066FF;
    animation-delay: 0s;
}

.ram-element {
    top: 15%;
    right: 5%;
    color: #00D9FF;
    animation-delay: 0.5s;
}

.ssd-element {
    bottom: 20%;
    left: 5%;
    color: #00C853;
    animation-delay: 1s;
}

.gpu-element {
    bottom: 15%;
    right: 10%;
    color: #FF6B00;
    animation-delay: 1.5s;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-25px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(5deg); }
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 217, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

.hero-particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation: hero-particle-float 3s ease-in-out infinite;
}

.hero-particle:nth-child(2) {
    top: 40%;
    right: 20%;
    animation: hero-particle-float 4s ease-in-out infinite 0.5s;
}

.hero-particle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation: hero-particle-float 3.5s ease-in-out infinite 1s;
}

.hero-particle:nth-child(4) {
    top: 60%;
    right: 30%;
    animation: hero-particle-float 4.5s ease-in-out infinite 1.5s;
}

.hero-particle:nth-child(5) {
    top: 80%;
    left: 40%;
    animation: hero-particle-float 3.8s ease-in-out infinite 0.8s;
}

.hero-particle:nth-child(6) {
    bottom: 50%;
    right: 45%;
    animation: hero-particle-float 4.2s ease-in-out infinite 1.2s;
}

@keyframes hero-particle-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, -80px);
        opacity: 0;
    }
}

/* Progress Rings */
.progress-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: rotate-ring 20s linear infinite;
}

.ring-1 {
    width: 450px;
    height: 450px;
    border-top-color: rgba(0, 102, 255, 0.2);
    border-right-color: rgba(0, 217, 255, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-2 {
    width: 520px;
    height: 520px;
    border-bottom-color: rgba(0, 217, 255, 0.15);
    border-left-color: rgba(0, 102, 255, 0.15);
    animation-direction: reverse;
    animation-duration: 25s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate-ring {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* Glassmorphism Card Base */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 102, 255, 0.3);
}

/* Card shine effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.glass-card:hover .card-shine {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Services Section */
.services {
    background: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02) rotateX(2deg);
}

.service-icon-wrapper {
    position: relative;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.service-card:hover .icon-glow {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.service-icon svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.2));
}

.service-card:hover .service-icon svg {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.9375rem;
    position: relative;
    z-index: 2;
}

/* Why Us Section */
.why-us {
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.advantage-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.advantage-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    margin-bottom: 1rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-number {
    opacity: 0.25;
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.advantage-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Prices Section */
.prices {
    background: transparent;
    position: relative;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.price-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 102, 255, 0.3);
}

.price-card.featured {
    border: 2px solid var(--primary-color);
    background: rgba(230, 240, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: translateY(-12px) scale(1.07);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #00A843 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.price {
    font-size: 2.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.price-features {
    list-style: none;
    margin-bottom: 1rem;
}

.price-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-gray);
    position: relative;
    padding-left: 1.75rem;
    transition: all 0.3s ease;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.125rem;
}

.price-features li:hover {
    padding-left: 2rem;
    color: var(--primary-color);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.additional-prices {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.additional-prices h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.price-item:hover {
    transform: translateX(8px);
    background: rgba(230, 240, 255, 0.6);
    border-color: rgba(0, 102, 255, 0.3);
}

.price-value {
    font-weight: 700;
    font-size: 1.125rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 240, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon.whatsapp {
    background: rgba(231, 247, 239, 0.8);
    color: #25D366;
}

.contact-icon.telegram {
    background: rgba(227, 242, 253, 0.8);
    color: #0088CC;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-gray);
}

.working-hours {
    padding: 1.5rem;
    background: rgba(230, 240, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.working-hours h4 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.working-hours p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.working-hours .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

.contact-form-wrapper > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(230, 240, 255, 0.5);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

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

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Buttons */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background: #00A843;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 200, 83, 0);
    }
}

.messenger-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.messenger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.messenger-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #20BA5A;
}

.telegram-btn {
    background: #0088CC;
}

.telegram-btn:hover {
    background: #0077B5;
}

/* Home Button */
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-home:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-home svg {
    transition: var(--transition);
}

.btn-home:hover svg {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-illustration {
        height: 300px;
        transform: scale(0.7);
    }
    
    .computer-monitor {
        transform: scale(0.8);
    }
    
    .monitor-screen {
        width: 260px;
        height: 160px;
    }
    
    .progress-ring {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .btn-call .btn-text {
        display: none;
    }
    
    .btn-call {
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 100px 0 60px;
        overflow-x: hidden;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Floating elements - делаем видимыми и меньше */
    .floating-element {
        display: flex !important;
        z-index: 15; /* Увеличен z-index для видимости */
    }
    
    .floating-element svg {
        width: 45px;
        height: 45px;
    }
    
    .element-label {
        font-size: 0.75rem;
        padding: 3px 8px;
        background: rgba(255, 255, 255, 0.95);
        font-weight: 700;
    }
    
    .cpu-element {
        top: 8%;
        left: 8%;
    }
    
    .ram-element {
        top: 8%;
        right: 8%;
    }
    
    .ssd-element {
        bottom: 28%;
        left: 8%;
    }
    
    .gpu-element {
        bottom: 28%;
        right: 8%;
    }
    
    /* Уменьшаем анимацию на мобильных */
    @keyframes float-element {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(0deg); }
    }
    
    .services-grid,
    .advantages-grid,
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .advantage-card,
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    /* Fix floating buttons positioning - убираем наложение */
    .floating-call-btn {
        bottom: 20px;
        right: 16px;
        width: 56px;
        height: 56px;
        z-index: 999;
    }
    
    .messenger-buttons {
        bottom: 90px;
        right: 16px;
        gap: 10px;
        z-index: 998;
    }
    
    .messenger-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-call-btn svg,
    .messenger-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav {
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    /* Фиксируем хедер на мобильном */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .loading-title {
        font-size: 1.75rem;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    /* Fix container overflow */
    .container {
        padding: 0 16px;
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Fix form on mobile */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.35;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding: 0 5px;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding: 0 5px;
        line-height: 1.5;
    }
    
    /* Floating elements - еще меньше для маленьких экранов */
    .floating-element {
        z-index: 20; /* Еще больше z-index */
    }
    
    .floating-element svg {
        width: 36px;
        height: 36px;
    }
    
    .element-label {
        font-size: 0.65rem;
        padding: 2px 6px;
        background: rgba(255, 255, 255, 0.98);
        font-weight: 700;
    }
    
    .cpu-element {
        top: 5%;
        left: 5%;
    }
    
    .ram-element {
        top: 5%;
        right: 5%;
    }
    
    .ssd-element {
        bottom: 25%;
        left: 5%;
    }
    
    .gpu-element {
        bottom: 25%;
        right: 5%;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        white-space: normal;
        min-height: 48px;
        word-wrap: break-word;
    }
    
    .section-title {
        font-size: 1.5rem;
        word-wrap: break-word;
        line-height: 1.3;
        padding: 0 5px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .service-card h3,
    .advantage-card h3 {
        font-size: 1.125rem;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .price-card {
        padding: 1.5rem 1.25rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    
    /* Исправляем контейнер */
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    /* Убираем горизонтальный скролл */
    * {
        max-width: 100%;
    }
    
    /* Фиксируем плавающие кнопки - убираем наложение друг на друга */
    .floating-call-btn {
        bottom: 20px;
        right: 12px;
        width: 52px;
        height: 52px;
    }
    
    .messenger-buttons {
        bottom: 85px;
        right: 12px;
        flex-direction: column;
        gap: 8px;
    }
    
    .messenger-btn {
        width: 48px;
        height: 48px;
    }
    
    /* Фиксируем хедер */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav {
        padding: 0.65rem 0;
    }
    
    /* Фиксируем контакты внизу */
    .footer-contact {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-contact a {
        word-break: break-all;
    }
}
        width: 36px;
        height: 36px;
    }
    
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .loading-logo {
        width: 60px;
        height: 60px;
    }
    
    .loading-logo svg {
        width: 60px;
        height: 60px;
    }
    
    .loading-title {
        font-size: 1.75rem;
    }
    
    .loading-bar {
        width: 200px;
    }
    
    /* Fix floating buttons on small screens */
    .floating-call-btn {
        bottom: 75px;
        right: 12px;
        width: 52px;
        height: 52px;
    }
    
    .messenger-buttons {
        bottom: 140px;
        right: 12px;
    }
    
    .messenger-btn {
        width: 46px;
        height: 46px;
    }
    
    /* Ensure text doesn't overflow */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    /* Fix contact form */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.875rem;
    }
    
    /* Fix service cards */
    .service-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .service-card p,
    .advantage-card p {
        font-size: 0.9375rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}
