/* Основные стили */
:root {
    --primary-color: #000000;
    --accent-color: #ff6b00;
    --text-light: #f8f9fa;
    --text-gray: #adb5bd;
    --dark-bg-lighter: #1a1a1a;
    --dark-card-bg: #121212;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #000000;
    position: relative;
    overflow-x: hidden;
}

/* Добавляем градиентные эффекты для фона body */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(146, 209, 79, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at center, rgba(146, 209, 79, 0.04), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(70px);
    pointer-events: none;
}

/* Дополнительный декоративный элемент в центре */
.body-decoration {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(ellipse at center, rgba(146, 209, 79, 0.02), transparent 70%);
    border-radius: 50%;
    z-index: -2;
    filter: blur(80px);
    pointer-events: none;
}

.text-accent {
    color: var(--accent-color);
}

.bg-dark {
    background-color: var(--primary-color) !important;
    color: var(--text-light);
}

.bg-dark p {
    color: var(--text-gray);
}

.bg-dark .section-title {
    color: var(--text-light);
}

.bg-dark .stat-label {
    color: var(--text-light);
    opacity: 0.8;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.btn-accent:hover {
    background-color: #e05d00;
    color: white;
    transform: translateY(-2px);
}

.btn-accent-sm {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 5px 15px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-accent-sm:hover {
    background-color: #e05d00;
    color: white;
}

.btn-outline-accent {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: white;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Секция со сферами */
.g9-spheres-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--primary-color);
    color: white;
    overflow: hidden;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.spheres-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    perspective: 1200px;
}

/* Плавающие частицы */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(90deg);
    }
    50% {
        transform: translate(0, 20px) rotate(180deg);
    }
    75% {
        transform: translate(-10px, 10px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Центральная сфера */
.central-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.main-sphere {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 30% 30%, #1a1a1a, var(--primary-color));
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.3), inset 0 0 30px rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sphere-logo {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
}

/* Орбита и сферы услуг */
.sphere-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    margin-top: -250px;
    margin-left: -250px;
    border-radius: 50%;
    animation: rotate 60s linear infinite;
    z-index: 5;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sphere {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1a1a1a, var(--primary-color));
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.sphere:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5), inset 0 0 20px rgba(255, 107, 0, 0.3);
    z-index: 20;
}

.sphere-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sphere-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.sphere-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sphere-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.sphere-5 {
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.sphere-content {
    text-align: center;
    animation: counter-rotate 60s linear infinite;
    width: 100%;
    padding: 10px;
}

@keyframes counter-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.sphere-content i {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.sphere-content h5 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.sphere-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
}

.sphere:hover .sphere-details {
    opacity: 1;
}

.sphere-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.sphere-details p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Секция О компании */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    transform: translate(20px, 20px);
}

.exp-number {
    font-size: 2.5rem;
    line-height: 1;
}

.exp-text {
    font-size: 1.2rem;
}

.stats-row {
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
}

/* Сервисные секции */
.service-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-section.bg-dark {
    background-color: var(--primary-color) !important;
}

.service-section.bg-dark .lead {
    color: var(--text-light);
}

.service-image img {
    border-radius: 10px;
}

.service-content {
    padding: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 10px;
}

.bg-dark .feature-item span {
    color: var(--text-light);
}

/* Секция с кейсами */
.cases-section {
    padding: 100px 0;
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.cases-section .lead {
    color: var(--text-light);
}

.case-card {
    background-color: var(--dark-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.2);
}

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

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.case-content {
    padding: 20px;
    background-color: var(--dark-card-bg);
    color: var(--text-light);
}

.case-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.case-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.case-description {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Улучшенные стили для контактной формы */
.contact-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: transparent !important;
    z-index: 1;
}

.contact-form-container {
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(146, 209, 79, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(146, 209, 79, 0.1);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(146, 209, 79, 0.08), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.contact-info {
    position: relative;
    padding-right: 30px;
}

.contact-info .section-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: #92d14f;
}

.contact-divider {
    width: 50px;
    height: 3px;
    background: rgba(146, 209, 79, 0.3);
    margin: 25px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    background-color: rgba(146, 209, 79, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(146, 209, 79, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(146, 209, 79, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #92d14f;
}

.contact-icon i {
    font-size: 1.2rem;
    color: #92d14f;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: #000;
}

.contact-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-text p {
    font-size: 0.95rem;
    color: #aaaaaa;
    margin-bottom: 0;
}

.contact-link {
    color: #aaaaaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #92d14f;
    text-decoration: none;
}

.form-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(146, 209, 79, 0.03), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(146, 209, 79, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(146, 209, 79, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Исправляем стили Bootstrap для плавающих меток */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1.25rem 0.75rem 0.25rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #aaaaaa;
    z-index: 2;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 0.8;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: #aaaaaa;
}

/* Убираем белый фон у меток */
.form-floating > .form-control ~ label::after,
.form-floating > .form-select ~ label::after,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: 100%;
    content: "";
    background-color: transparent !important;
    border-radius: 0;
}

.form-select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-accent {
    background: linear-gradient(45deg, #92d14f, #7ab33e);
    border: none;
    color: #000000;
    font-weight: 600;
    border-radius: 12px;
    padding: 15px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(146, 209, 79, 0.3);
    z-index: 1;
    
    letter-spacing: 0.5px;

    font-size: 0.95rem;
}

.btn-accent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-accent:hover::after {
    opacity: 1;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(146, 209, 79, 0.4);
    color: #000000;
}

.btn-accent i {
    transition: all 0.3s ease;
}

.btn-accent:hover i {
    transform: translateX(5px);
}

/* Стили для textarea */
.form-floating > textarea.form-control {
    height: 150px !important;
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem;
}

.form-floating > textarea.form-control ~ label {
    padding-top: 1rem !important;
    height: auto;
    transform-origin: 0 0;
}

.form-floating > textarea.form-control:focus ~ label,
.form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    opacity: 0.8;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: #aaaaaa;
    background-color: transparent !important;
}

.form-floating > textarea.form-control ~ label::after {
    background-color: transparent !important;
}

.form-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(146, 209, 79, 0.1), transparent 70%);
    z-index: 0;
}

.form-decoration-1 {
    top: -50px;
    right: -50px;
}

.form-decoration-2 {
    bottom: -30px;
    left: 30%;
}

/* Добавляем анимацию пульсации для элементов формы */
@keyframes pulse-light {
    0% {
        box-shadow: 0 0 0 0 rgba(146, 209, 79, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(146, 209, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(146, 209, 79, 0);
    }
}

.form-control:focus, .form-select:focus {
    animation: pulse-light 2s infinite;
}

@media (max-width: 991px) {
    .contact-form-container {
        padding: 30px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-info .section-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .contact-text h5 {
        font-size: 1rem;
    }
    
    .form-wrapper {
        padding: 25px;
    }
}

/* Остальные стили */
/* Навбар */
.navbar {
    transition: var(--transition);
    padding: 15px 0;
    background-color: transparent;
}

.navbar-scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin-left: 10px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Медиа-запросы */
@media (max-width: 991px) {
    .spheres-container {
        height: 500px;
    }
    
    .sphere-orbit {
        width: 400px;
        height: 400px;
        margin-top: -200px;
        margin-left: -200px;
    }
    
    .main-sphere {
        width: 150px;
        height: 150px;
    }
    
    .sphere {
        width: 100px;
        height: 100px;
    }
    
    .sphere-content i {
        font-size: 1.5rem;
    }
    
    .sphere-content h5 {
        font-size: 0.8rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .spheres-container {
        height: 400px;
    }
    
    .sphere-orbit {
        width: 300px;
        height: 300px;
        margin-top: -150px;
        margin-left: -150px;
    }
    
    .main-sphere {
        width: 120px;
        height: 120px;
    }
    
    .sphere-logo {
        font-size: 2.5rem;
    }
    
    .sphere-content i {
        font-size: 1.2rem;
    }
    
    .sphere-content h5 {
        font-size: 0.7rem;
    }
    
    .sphere-details h4 {
        font-size: 0.9rem;
    }
    
    .sphere-details p {
        font-size: 0.7rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .exp-text {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .g9-spheres-section {
        padding: 80px 0;
    }
    
    .spheres-container {
        height: 350px;
    }
    
    .sphere-orbit {
        width: 250px;
        height: 250px;
        margin-top: -125px;
        margin-left: -125px;
    }
    
    .main-sphere {
        width: 100px;
        height: 100px;
    }
    
    .sphere-logo {
        font-size: 2rem;
    }
    
    .sphere {
        width: 70px;
        height: 70px;
    }
    
    .sphere-content i {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .sphere-content h5 {
        font-size: 0.6rem;
    }
    
    .service-section,
    .about-section,
    .cases-section,
    .contact-section {
        padding: 60px 0;
    }
}

/* Стили для технологических сфер на главной странице */
.tech-spheres-container {
    position: relative;
    margin: 100px auto;
    max-width: 1000px;
    height: 700px;
}

/* Фоновые эффекты для разных секций */
.g9-spheres-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(146, 209, 79, 0.15) 0%, rgba(0, 0, 0, 0) 30%), 
                radial-gradient(circle at 70% 60%, rgba(146, 209, 79, 0.1) 0%, rgba(0, 0, 0, 0) 40%), 
                radial-gradient(circle at 40% 80%, rgba(146, 209, 79, 0.08) 0%, rgba(0, 0, 0, 0) 35%);
    z-index: -5;
    filter: blur(30px);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 30%, rgba(146, 209, 79, 0.12) 0%, rgba(0, 0, 0, 0) 40%), 
                radial-gradient(circle at 90% 70%, rgba(146, 209, 79, 0.08) 0%, rgba(0, 0, 0, 0) 35%);
    z-index: -1;
    filter: blur(40px);
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 25%, rgba(146, 209, 79, 0.12) 0%, rgba(0, 0, 0, 0) 35%), 
                radial-gradient(circle at 85% 75%, rgba(146, 209, 79, 0.1) 0%, rgba(0, 0, 0, 0) 45%),
                radial-gradient(circle at 50% 50%, rgba(146, 209, 79, 0.05) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    filter: blur(30px);
}

.hexagon-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Шестиугольники */
.hexagon {
    position: absolute;
    width: 180px;
    height: 200px;
    background-color: rgba(20, 20, 30, 0.7);
    border: 2px solid var(--accent-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 2;
}

/* Центральный шестиугольник */
.hexagon.main-hex {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 250px;
    background-color: rgba(20, 30, 20, 0.8);
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(146, 209, 79, 0.5);
    z-index: 3;
}

/* Позиции шестиугольников вокруг центрального */
.hexagon.hex-1 {
    top: 18%;
    left: 10%;
}

.hexagon.hex-2 {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

.hexagon.hex-3 {
    top: 18%;
    right: 10%;
}

.hexagon.hex-4 {
    bottom: 12%;
    right: 10%;
}

.hexagon.hex-5 {
    bottom: 12%;
    left: 10%;
}

/* Содержимое шестиугольников */
.hex-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hex-logo {
    font-size: 60px;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(146, 209, 79, 0.7);
}

.hex-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(146, 209, 79, 0.3) 0%, rgba(146, 209, 79, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

/* Внутренняя часть шестиугольников */
.hex-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.hexagon:hover .hex-inner {
    transform: rotateY(180deg);
}

.hex-front, .hex-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hex-front {
    color: white;
}

.hex-back {
    transform: rotateY(180deg);
    background-color: rgba(20, 30, 20, 0.95);
}

.hex-front i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.hex-front h5 {
    font-size: 16px;
    margin: 0;
    text-align: center;
}

.hex-back h4 {
    font-size: 20px;
    margin: 0 0 10px;
    color: var(--accent-color);
}

.hex-back p {
    font-size: 14px;
    margin: 0 0 15px;
    text-align: center;
    line-height: 1.4;
}

.tech-btn {
    font-size: 14px;
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: black;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tech-btn:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(146, 209, 79, 0.4);
    color: black;
}

/* Соединительные линии */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connect-line {
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-dasharray: 10, 5;
    opacity: 0.6;
    animation: dash 30s linear infinite;
}

/* Анимации */
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .tech-spheres-container {
        height: 800px;
        margin: 60px auto;
    }
    
    .hexagon {
        width: 150px;
        height: 170px;
    }
    
    .hexagon.main-hex {
        width: 180px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .tech-spheres-container {
        height: 900px;
        margin: 40px auto;
    }
    
    .hexagon {
        width: 130px;
        height: 150px;
    }
    
    .hexagon.main-hex {
        width: 150px;
        height: 170px;
    }
    
    .hexagon.hex-1 {
        top: 23%;
        left: 7%;
    }
    
    .hexagon.hex-2 {
        top: 8%;
        left: 50%;
    }
    
    .hexagon.hex-3 {
        top: 23%;
        right: 7%;
    }
    
    .hexagon.hex-4 {
        bottom: 21%;
        left: 62%;
    }
    
    .hexagon.hex-5 {
        bottom: 21%;
        right: 30%;
    }
    
    .hex-logo {
        font-size: 40px;
    }
    
    .hex-front i {
        font-size: 30px;
    }
    
    .hex-front h5 {
        font-size: 14px;
    }
    
    .hex-back h4 {
        font-size: 16px;
    }
    
    .hex-back p {
        font-size: 12px;
    }
}

/* Стили для страниц с техникой */
.equipment-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/equipment-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

/* Карточки преимуществ */
.advantage-card {
    background-color: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(146, 209, 79, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(146, 209, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Фильтр техники */
.equipment-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-filter {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 20px;
    transition: var(--transition);
}

.btn-filter:hover, .btn-filter.active {
    background-color: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

/* Карточки техники */
.equipment-card {
    background-color: var(--dark-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(146, 209, 79, 0.2);
}

.equipment-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.equipment-content {
    padding: 20px;
}

.equipment-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.equipment-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.equipment-specs li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.equipment-specs li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.equipment-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.equipment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.btn-accent:hover {
    background-color: #7fb43a;
    transform: translateY(-2px);
}

.btn-accent i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-accent:hover i {
    transform: translateX(3px);
}

/* Пагинация */
.equipment-pagination {
    display: flex;
    justify-content: center;
}

.pagination {
    gap: 5px;
}

.page-item .page-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.page-item .page-link:hover {
    background-color: rgba(146, 209, 79, 0.2);
    border-color: rgba(146, 209, 79, 0.2);
    color: var(--accent-color);
}

/* Детальная страница техники */
.equipment-detail-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.equipment-detail-image-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.equipment-detail-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.equipment-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.equipment-gallery {
    margin-top: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(146, 209, 79, 0.3);
}

.equipment-detail-card {
    background-color: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.equipment-detail-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.equipment-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
}

.spec-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(146, 209, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.equipment-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Форма аренды */
.rental-form-card {
    background-color: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.rental-form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.rental-price {
    background-color: rgba(146, 209, 79, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.price-value {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Похожая техника */
.similar-equipment-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

/* FAQ секция */
.accordion-item {
    background-color: var(--dark-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.accordion-button {
    background-color: var(--dark-card-bg);
    color: var(--text-light);
    font-weight: 600;
    box-shadow: none;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(146, 209, 79, 0.1);
    color: var(--accent-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(146, 209, 79, 0.5);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2392d14f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-gray);
    padding: 20px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .equipment-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-hero {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .advantage-card {
        padding: 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon i {
        font-size: 1.5rem;
    }
    
    .equipment-detail-title {
        font-size: 1.5rem;
    }
    
    .rental-form-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .btn-filter {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .equipment-image {
        height: 180px;
    }
    
    .equipment-content {
        padding: 15px;
    }
    
    .equipment-content h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1rem;
    }
}

.contact-form h3 {
    font-weight: 600;
    color: #ffffff;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #92d14f;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
} 