/* Общие стили */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background: #0a0a0a; color: #fff; overflow-x: hidden; line-height: 1.6; } /* Кастомный курсор */ .cursor { width: 12px; height: 12px; background: radial-gradient(circle, #ff6b6b, #e74c3c); border-radius: 50%; position: fixed; z-index: 9999; pointer-events: none; transition: all 0.05s ease; box-shadow: 0 0 15px rgba(231, 76, 60, 0.7); } .cursor-follower { width: 50px; height: 50px; border: 2px solid #ff6b6b; border-radius: 50%; position: fixed; z-index: 9998; pointer-events: none; transition: all 0.2s ease; background: rgba(231, 76, 60, 0.1); } /* Скрытие курсора на мобильных */ @media (max-width: 768px) { .cursor, .cursor-follower { display: none; } } /* Контейнер */ .container { max-width: 1400px; margin: 0 auto; padding: 0 30px; overflow: hidden; /* Предотвращает выход текста за границы на ПК */ } /* Шапка */ header { background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(20px); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5); } .logo { font-size: 42px; font-weight: 900; background: linear-gradient(135deg, #ff6b6b, #f1c40f); -webkit-background-clip: text; color: transparent; text-shadow: 0 0 15px rgba(255, 107, 107, 0.5); } nav { float: right; } .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 5px; } .nav-list { list-style: none; margin: 0; } .nav-list li { display: inline; margin-left: 40px; } .nav-list li a { text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; transition: all 0.3s ease; position: relative; } .nav-list li a::after { content: ''; position: absolute; width: 0; height: 2px; background: #ff6b6b; bottom: -5px; left: 0; transition: width 0.3s ease; } .nav-list li a:hover::after { width: 100%; } .nav-list li a:hover { color: #ff6b6b; } /* Герой */ .hero { height: 100vh; position: relative; display: flex; align-items: center; text-align: center; background: radial-gradient(circle at center, rgba(40, 40, 40, 0.3), #0a0a0a); padding-top: 80px; /* Увеличил отступ, чтобы текст не обрезался на мобильных */ } #webgl-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.8; } .hero .container { z-index: 2; } .hero h2 { font-size: 80px; font-weight: 900; letter-spacing: 5px; background: linear-gradient(135deg, #ff6b6b, #f1c40f); -webkit-background-clip: text; color: transparent; animation: fadeInUp 1.5s ease-out; text-shadow: 0 0 20px rgba(255, 107, 107, 0.6); text-wrap: balance; /* Предотвращает выход текста за границы на ПК */ } .hero p { font-size: 32px; margin: 25px 0 50px; color: #eee; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); text-wrap: balance; } .cta-button { padding: 25px 60px; font-size: 24px; background: linear-gradient(135deg, #ff6b6b, #e74c3c); color: #fff; border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 15px 40px rgba(255, 107, 107, 0.7); transition: all 0.4s ease; position: relative; overflow: hidden; } .cta-button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transition: all 0.6s ease; transform: translate(-50%, -50%); } .cta-button:hover::before { width: 300px; height: 300px; } .cta-button:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 50px rgba(255, 107, 107, 0.9); } /* Услуги */ .services { padding: 150px 0; background: linear-gradient(to bottom, #0a0a0a, #141414); } .services h3 { font-size: 54px; text-align: center; margin-bottom: 80px; background: linear-gradient(135deg, #fff, #ff6b6b); -webkit-background-clip: text; color: transparent; text-shadow: 0 0 15px rgba(255, 107, 107, 0.4); } .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; } .service-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); padding: 40px; text-align: center; border-radius: 25px; border: 1px solid rgba(255, 107, 107, 0.2); transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; /* Предотвращает выход текста за границы */ } .service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3); } .service-card h4 { font-size: 32px; margin-bottom: 20px; color: #ff6b6b; text-wrap: balance; } .service-card p { color: #ddd; font-size: 20px; text-wrap: balance; } /* О нас */ .about { padding: 150px 0; background: linear-gradient(135deg, #1f2a44, #0a0a0a); text-align: center; } .about h3 { font-size: 54px; margin-bottom: 40px; color: #fff; text-wrap: balance; } .about p { font-size: 24px; max-width: 1000px; margin: 0 auto 50px; color: #eee; text-wrap: balance; } #tracking-demo { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; } #track-input { padding: 18px; font-size: 18px; border: none; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #fff; box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); flex: 1; min-width: 200px; } #tracking-demo button { padding: 18px 40px; background: linear-gradient(135deg, #ff6b6b, #e74c3c); border: none; color: #fff; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } #tracking-demo button:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(255, 107, 107, 0.5); } /* Контакты */ .contact { padding: 150px 0; background: #0a0a0a; text-align: center; } .contact h3 { font-size: 54px; margin-bottom: 60px; background: linear-gradient(135deg, #fff, #ff6b6b); -webkit-background-clip: text; color: transparent; text-wrap: balance; } form { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; gap: 30px; } input { padding: 25px; font-size: 20px; border: none; border-radius: 20px; background: rgba(255, 255, 255, 0.05); color: #fff; backdrop-filter: blur(15px); box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; } input:focus { outline: none; box-shadow: 0 0 15px rgba(255, 107, 107, 0.5); } input::placeholder { color: #ccc; } .submit-button { padding: 25px; font-size: 22px; background: linear-gradient(135deg, #ff6b6b, #f1c40f); color: #fff; border: none; border-radius: 50px; cursor: pointer; transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6); } .submit-button:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255, 107, 107, 0.8); } /* Футер */ footer { padding: 50px 0; background: #050505; text-align: center; color: #777; font-size: 16px; } /* Анимации */ @keyframes fadeInUp { from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Адаптивность */ @media (max-width: 768px) { header { padding: 10px 0; } .logo { font-size: 28px; } .menu-toggle { display: block; } .nav-list { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(20px); padding: 20px 0; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .nav-list.active { display: block; } .nav-list li { display: block; margin: 15px 0; text-align: center; } .nav-list li a { font-size: 16px; } .hero { height: auto; padding: 90px 0 40px; /* Увеличил верхний отступ для мобильных */ } .hero h2 { font-size: 48px; letter-spacing: 2px; margin-top: 10px; /* Добавил отступ сверху для текста */ } .hero p { font-size: 20px; margin: 15px 0 30px; } .cta-button { padding: 15px 40px; font-size: 18px; } .cta-button::before { width: 200px; height: 200px; } .services, .about, .contact { padding: 80px 0; } .services h3, .about h3, .contact h3 { font-size: 36px; } .service-grid { grid-template-columns: 1fr; gap: 30px; } .service-card { padding: 30px; border-radius: 20px; /* Уменьшил радиус для мобильных */ } .service-card h4 { font-size: 24px; } .service-card p { font-size: 16px; } .about p { font-size: 18px; max-width: 600px; } #track-input { padding: 12px; font-size: 16px; min-width: 180px; } #tracking-demo button { padding: 12px 30px; } form { max-width: 500px; gap: 20px; } input { padding: 15px; font-size: 16px; border-radius: 15px; } .submit-button { padding: 15px; font-size: 18px; border-radius: 40px; } footer { padding: 30px 0; font-size: 14px; } }