/* ==========================================================================
   INDEX PAGE SPECIFIC STYLES (ГЛАВНАЯ СТРАНИЦА)
   ========================================================================== */

/* Hero Section для главной */
.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ==========================================================================
   HEADER FIXES
   ========================================================================== */

/* Гарантируем, что header всегда виден и фиксирован */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: translateY(0) !important;
    transition: transform 0.3s ease !important;
}

/* Убираем любые возможные скрытия */
.header.hidden {
    transform: translateY(0) !important;
}

/* Добавляем отступ для body, чтобы контент не заезжал под header */
body {
    padding-top: var(--header-height) !important;
}

/* Корректируем hero section, чтобы компенсировать фиксированный header */
.hero {
    padding-top: 40px !important;
    min-height: calc(100vh - var(--header-height)) !important;
}

/* Корректируем якорные ссылки с учетом фиксированного header */
section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.visual-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(45deg, var(--secondary-dark), #1a365d);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Tech Graphic для главной */
.tech-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    animation: pulse-glow 3s ease-in-out infinite;
}

.node-pulse {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.node-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 6;
}

.satellite-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--secondary-dark);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 4;
    transition: var(--transition);
}

.satellite-node:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.node-1 { top: 20%; left: 20%; }
.node-2 { top: 20%; right: 20%; }
.node-3 { bottom: 20%; left: 50%; transform: translateX(-50%); }

.node-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.node-label {
    color: var(--text-light);
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.2;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    height: 2px;
    z-index: 3;
    opacity: 0.5;
}

.line-1 {
    top: 25%;
    left: 30%;
    width: 20%;
    transform: rotate(30deg);
    animation: line-flow 3s linear infinite;
}

.line-2 {
    top: 25%;
    left: 50%;
    width: 20%;
    transform: rotate(-30deg);
    animation: line-flow 3s linear infinite reverse;
}

.line-3 {
    top: 55%;
    left: 40%;
    width: 20%;
    animation: line-flow 3s linear infinite 1s;
}

.particle {
    position: absolute;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.7;
    animation: float-particle 8s linear infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.particle-3 {
    width: 10px;
    height: 10px;
    bottom: 25%;
    left: 10%;
    animation-delay: 4s;
}

.particle-4 {
    width: 7px;
    height: 7px;
    bottom: 15%;
    right: 20%;
    animation-delay: 6s;
}

.particle-5 {
    width: 5px;
    height: 5px;
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

/* Hero Trust для главной */
.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    color: #fffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Process Section для главной */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.step p {
    color: #010101;
    font-size: 1.1rem;
}

/* Services Grid для главной */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(145deg, var(--secondary-dark), #0d1b36);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.service-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features p {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-features i {
    color: var(--accent-cyan);
    margin-top: 3px;
    font-size: 0.9rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* About Section для главной */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.about-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Cases Grid для главной */
.service-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-cases-block {
    background: linear-gradient(145deg, var(--secondary-dark), #0d1b36);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-cases-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cases {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.mini-case {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mini-case:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
}

.mini-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.case-type {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.mini-case h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.case-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Section для главной */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background-color: #112240;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-form {
    background-color: #112240;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}
/* ==========================================================================
   SECTION DIVIDERS
   ========================================================================== */

/* Добавляем разделители ко всем основным секциям */
.hero::after,
.process::after,
.key-services::after,
.about::after,
.cases::after,
.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.3), 
        rgba(0, 212, 255, 0.6),
        rgba(0, 212, 255, 0.6),
        rgba(0, 212, 255, 0.3),
        transparent
    );
    z-index: 1;
}

/* Позиционируем секции относительно для псевдоэлементов */
.hero,
.process,
.key-services,
.about,
.cases,
.contact {
    position: relative;
}

/* Убираем существующие ::before, которые могут конфликтовать */
.hero::before,
.process::before,
.key-services::before,
.about::before,
.cases::before,
.contact::before {
    display: none;
}

/* Улучшаем видимость существующих разделителей */
.process::before,
.about::before,
.cases::before {
    display: block !important;
    opacity: 0.7;
}

/* Специфичные настройки для темных секций */
.key-services.dark-section::before {
    display: block !important;
    opacity: 0.7;
}

/* Более тонкие разделители для светлых секций */
.process::before,
.process-section::before,
#real-cases::before {
    height: 1px;
    opacity: 0.5;
}

/* Для hero делаем разделитель менее заметным */
.hero::after {
    opacity: 0.3;
    bottom: -1px;
}

/* ==========================================================================
   DARK CASES SECTION - ТЕМНАЯ СЕКЦИЯ С ДОПОЛНИТЕЛЬНЫМИ КЕЙСАМИ
   ========================================================================== */
.dark-cases-section {
    background: linear-gradient(180deg, #0a192f 0%, #07162b 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dark-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.5), 
        transparent
    );
}

.dark-cases-section .section-title {
    color: var(--text-light);
}

.dark-cases-section .section-subtitle {
    color: var(--text-gray);
}

/* Кнопка переключения */
.cases-toggle .btn {
    padding: 12px 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cases-toggle .btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

/* Сетка дополнительных кейсов */
.additional-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Карточка кейса в темном стиле */
.dark-case-card {
    background: linear-gradient(145deg, #112240, #0d1b36);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.dark-case-card:hover::before {
    transform: scaleX(1);
}

.dark-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Заголовок карточки */
.case-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.case-title-block {
    flex: 1;
}

.case-title-block h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.3;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.case-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.case-price {
    text-align: right;
    min-width: 120px;
}

.case-price .price-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
}

.case-price .price-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Контент карточки */
.case-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.case-what h4,
.case-results h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-what h4 i {
    color: var(--accent-green);
}

.case-results h4 i {
    color: var(--accent-cyan);
}

.case-what ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.case-what li {
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-what li::before {
    content: '•';
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Результаты */
.results-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.result-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 5px;
}

.result-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.3;
}

/* Кнопка CTA */
.case-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Статистика */
.cases-stats {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 97, 255, 0.05));
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0 0;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cases-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-cyan), 
        transparent
    );
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dark-cases-section {
        padding: 60px 0;
    }
    
    .additional-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .case-price {
        text-align: left;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .cases-stats {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .dark-case-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Для contact делаем разделитель вверху и внизу */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.3), 
        rgba(0, 212, 255, 0.6),
        rgba(0, 212, 255, 0.6),
        rgba(0, 212, 255, 0.3),
        transparent
    );
    display: block !important;
    opacity: 0.7;
}

/* Анимации для главной */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.4); 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.6); 
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes line-flow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) translateX(30px);
        opacity: 0;
    }
}

/* Responsive для главной */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
        width: 100%;
    }
    
    .visual-placeholder {
        max-width: 500px;
        height: 300px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .step {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex: 1;
    }
    
    .central-node {
        width: 60px;
        height: 60px;
    }
    
    .node-text {
        font-size: 1.2rem;
    }
    
    .satellite-node {
        width: 50px;
        height: 50px;
    }
    
    .node-label {
        display: none;
    }
    
    .trust-item {
        flex: 1 0 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PROCESS SECTION STYLES (ГЛАВНАЯ СТРАНИЦА)
   ========================================================================== */
.process-section {
    background: linear-gradient(180deg, #0a192f 0%, #07162b 100%);
    padding: 100px 0;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.process-section .section-title {
    color: var(--text-light);
}

.process-section .section-subtitle {
    color: var(--text-gray);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.process-step:nth-child(odd) {
    margin-left: 50px;
}

.process-step:nth-child(even) {
    margin-right: 50px;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-output {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.step-output i {
    font-size: 1rem;
}

/* ==========================================================================
   FAQ SECTION STYLES (ГЛАВНАЯ СТРАНИЦА)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #07162b 0%, #0a192f 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.faq-section .section-title {
    color: var(--text-light);
}

.faq-section .section-subtitle {
    color: var(--text-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: linear-gradient(145deg, var(--secondary-dark), #0d1b36);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.faq-question i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p, .faq-answer ul {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding-left: 1.2rem;
}

.faq-answer li {
    padding: 0.3rem 0;
    position: relative;
}

.faq-answer li::before {
    content: '•';
    color: var(--accent-cyan);
    position: absolute;
    left: -1rem;
}

.faq-answer strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN для новых секций
   ========================================================================== */
@media (max-width: 768px) {
    .process-section {
        padding: 60px 0;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .process-step {
        padding: 1rem;
    }
    
    .step-output {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #3498db;
    color: #3498db;
}

.pagination-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    font-weight: bold;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.pagination-btn i {
    font-size: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}