/* Оптимизация переменных и стилей */
:root {
    --primary: #FF6A00;
    --primary-dark: #E55D00;
    --secondary: #0A0A0A;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #1A1A1A;
    --transition-time: 0.3s;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: rgba(19, 19, 19, 1);
    color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    color: #ff6a00;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #b27346 !important;
    text-decoration: dotted !important;
    transition: 0.3s;
}

.bg-orange {
    background-color: var(--primary);
}

/* Улучшение стилей для кнопок */
.btn-orange {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    font-weight: 600;
    transition: var(--transition-time);
    position: relative;
    overflow: hidden;
}

.btn-orange:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-orange:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light)!important;
    transform: translateY(-3px);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
}

.btn-orange:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.5s;
}

.btn-orange:hover:after {
    left: 120%;
}

.text-orange {
    color: var(--primary);
}

.hero-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(30, 30, 30, 0.85) 100%),
    url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 106, 0, 0.1) 0%, transparent 10%),
    radial-gradient(circle at 90% 80%, rgba(255, 106, 0, 0.1) 0%, transparent 10%),
    radial-gradient(circle at 50% 30%, rgba(255, 106, 0, 0.1) 0%, transparent 15%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-glowing-text {
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.7), 0 0 20px rgba(255, 106, 0, 0.5);
}

.chipc-logo {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
}

.chipc-logo span:first-child {
    color: var(--primary);
}

.chipc-logo span:last-child {
    color: var(--light);
    position: relative;
}

.chipc-logo span:last-child:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) translateY(-5px);
}

.pc-card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    position: relative;
    height: 100%;
}

/*.pc-card:before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: -2px;*/
/*    left: -2px;*/
/*    right: -2px;*/
/*    bottom: -2px;*/
/*    background: linear-gradient(45deg, #ff6a00, #ff8c00, #ff6a00);*/
/*    z-index: -1;*/
/*    border-radius: 17px;*/
/*    opacity: 0.7;*/
/*}*/

.pc-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.25);
}

.pc-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pc-card:hover .card-img-top {
    transform: scale(1.05);
}

.price-tag {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 25px;
}

.specs-list li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.specs-list li:last-child {
    border-bottom: none;
}

.testimonial-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 30px;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.25);
    border: 1px solid rgba(255, 106, 0, 0.4);
}

.contact-section {
    background: linear-gradient(to right, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 106, 0, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 10% 90%, rgba(255, 106, 0, 0.08) 0%, transparent 20%);
    pointer-events: none;
}

.form-control {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
    color: var(--light);
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(40, 40, 40, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
    color: var(--light);
}

.form-control::placeholder {
    color: #aaa;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:before {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.footer {
    color: var(--light);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 106, 0, 0.1);
}

.social-icon {
    font-size: 1.5rem;
    color: var(--light);
    margin-right: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.navbar {
    background: rgba(19, 19, 19, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 10px;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:focus, .nav-link:hover {
    color: var(--light)!important;
}

.steps-section {
    counter-reset: step-counter;
}

.step-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
    min-height: 80px;
}

.step-item:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

/* Добавлены стили для анимации */
.animated-element {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 106, 0, 0.3);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 40%;
    left: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    top: 80%;
    left: 25%;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    top: 30%;
    left: 75%;
    animation-delay: 4s;
}

.floating-icon:nth-child(6) {
    top: 10%;
    left: 45%;
    animation-delay: 2s;
}

.floating-icon:nth-child(7) {
    top: 90%;
    left: 90%;
    animation-delay: 1s;
}

.floating-icon:nth-child(8) {
    top: 10%;
    left: 85%;
    animation-delay: 1s;
}

.floating-icon:nth-child(9) {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.tech-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.tech-glow-1 {
    top: 10%;
    left: 10%;
}

.tech-glow-2 {
    bottom: 10%;
    right: 10%;
}

.counter-box {
    text-align: center;
    padding: 20px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 106, 0, 0.4);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.15);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
}

.gradient-border {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary), var(--primary-dark)) 1;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 106, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.modal-header {
    background-color: var(--primary);
    color: var(--light);
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
}

.accordion-button {
    background-color: var(--light);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(39%) sepia(91%) saturate(1458%) hue-rotate(358deg) brightness(99%) contrast(107%);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 106, 0, 0.25);
}

.alert-primary {
    background-color: rgba(255, 106, 0, 0.15);
    border-color: rgba(255, 106, 0, 0.3);
    color: var(--secondary);
}

.pc-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-highlight {
    color: var(--primary);
    font-weight: 700;
}

.modal-footer {
    background-color: var(--gray);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.important-note {
    border-left: 3px solid var(--primary);
    background-color: rgba(255, 106, 0, 0.08);
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
}

.featured-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 106, 0, 0.3);
    transition: all 0.3s ease;
}

.featured-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.form-card, .form-card-body {
    position: relative;
    height: 100%;
}

.form-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(40, 40, 40, 0.2);
    z-index: 1000;
}

.form-spinner {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
}

.form-loader i {
    color: var(--primary);
    font-size: 100px;
}

.builds-class .slick-slide {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-toggle::after {
    border: none;
}

.dropdown-menu {
    background: rgba(19, 19, 19, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.dropdown-menu a {
    padding: 3px;
    width: 100%;
    display: block;
    text-align: center;
}