/* Главная страница Solvera - Очищенные стили */

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.scrolled .site-header {
    background-color: #1a1a2e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-branding .custom-logo {
    max-height: 40px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation ul li {
    margin: 0;
}

.main-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid #7A42F4;
}

.main-navigation ul li a:hover {
    color: #a777ff;
    border-bottom-color: #a777ff;
}

.main-navigation ul li a.login-link {
    font-weight: 600;
}

.header-actions .get-a-quote-btn {
    background-color: #7A42F4;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.header-actions .get-a-quote-btn:hover {
    background-color: #6c37d9;
}

.header-right-panel {
    display: flex;
    align-items: baseline;
    gap: 2rem;
}

/* Homepage Header Overrides */
.homepage-header {
    background-color: transparent;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.homepage-header .main-nav {
    margin-left: 40px;
}

.homepage-header .header-actions {
    margin-left: auto;
}

.homepage-header .main-nav .nav-menu a,
.homepage-header .page_item a {
    color: white !important;
    font-weight: 500 !important;
}

.homepage-header .main-nav .nav-menu a:hover,
.homepage-header .page_item a:hover {
    color: var(--primary-light) !important;
}

.homepage-header .btn-get-quote {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.homepage-header .btn-get-quote:hover {
    background-color: var(--primary-dark) !important;
}

.homepage-header .menu-toggle {
    display: none;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    padding: 8px !important;
    cursor: pointer;
}

.homepage-header .menu-toggle svg path {
    fill: white !important;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #521588 0%, #0f172a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 5% 50px;
}

.hero-section-new {
    background: linear-gradient(135deg, #521588 0%, #0f172a 100%) !important;
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../images/hero.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#neural-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    width: 50%;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 2.5rem;
}

.hero-content .cta-button,
.btn-hero-cta {
    background-color: #7A42F4;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-hero-cta {
    padding: 16px 32px !important;
    font-size: 18px !important;
    margin-bottom: 2rem;
}

.hero-content .cta-button:hover,
.btn-hero-cta:hover {
    background-color: #6c37d9;
}

.btn-hero-cta:hover {
    background-color: var(--primary-dark) !important;
}

.hero-trust-elements {
    display: flex;
    align-items: center;
    gap: 16px;
    filter: invert(1) grayscale(1) brightness(2);
}

.hero-trust-elements .trust-item img {
    height: 24px;
    opacity: 0.8;
}

.hero-trust-elements .trust-item-text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   Common Section Styling
   ========================================================================== */

.homepage-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

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

.benefit-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}

.benefit-item .icon {
    font-size: 3rem;
    color: #7A42F4;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #4A5568;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

#comparison {
    background-color: #f7fafc;
}

.comparison-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tab-button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tab-button.active {
    background-color: #7A42F4;
    color: #fff;
    border-color: #7A42F4;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    color: #2D3748;
    font-weight: 600;
}

.comparison-table td {
    color: #4A5568;
}

.comparison-table .feature-name {
    width: 60%;
}

.comparison-table .check-mark, .comparison-table .cross-mark {
    font-size: 1.5rem;
    text-align: center;
}

.comparison-table .check-mark {
    color: #48bb78;
}

.comparison-table .cross-mark {
    color: #f56565;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.trust-item {
    text-align: left;
}

.trust-item .icon {
    font-size: 2.5rem;
    color: #7A42F4;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: #4A5568;
}

.trust-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* ==========================================================================
   Reviews/Testimonials Section
   ========================================================================== */

#reviews,
.testimonials-trust-section {
    background-color: #f7fafc;
}

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

.review-card,
.testimonial-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7A42F4, #9f7aea);
}

.review-card:hover,
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-quote,
.testimonial-text {
    color: #4A5568;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.review-author,
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.review-author img,
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-avatar {
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info h4,
.author-name {
    margin: 0;
    color: #2D3748;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-author-info p,
.author-role {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.review-achievements,
.author-achievement {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #7A42F4;
    font-weight: 600;
    font-size: 13px;
    background: rgba(122, 66, 244, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
}

.quote-icon {
    font-size: 48px;
    color: #7A42F4;
    font-family: serif;
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.3;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #7A42F4;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.blog-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-section .section-pre-title {
    color: #718096;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.blog-section .section-title {
    color: #1a202c;
    font-size: 2rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 0;
    font-weight: 700;
}

.blog-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #7A42F4;
    border-radius: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    margin-top: 0;
    font-size: 1.25rem;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.blog-card-excerpt {
    color: #718096;
    line-height: 1.3;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.blog-section-footer {
    display: none;
}

/* ==========================================================================
   FAQ Section - ИСПРАВЛЕННЫЕ стили
   ========================================================================== */

#faq {
    background: linear-gradient(to bottom, #2e0d57 0%, #000000 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(122, 66, 244, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

#faq .faq-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

#faq .faq-left-col .section-title {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    text-align: left;
    position: relative;
    padding-bottom: 20px;
}

#faq .faq-left-col .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #7A42F4;
    border-radius: 2px;
}

#faq .faq-left-col .section-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: left;
    margin-left: 0;
}

#faq .faq-contact-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
}

#faq .faq-contact-box__text h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

#faq .faq-contact-box__text p {
    color: #cbd5e1;
    margin-bottom: 24px;
}

#faq .faq-contact-box a#faq-chat-button {
    display: inline-block;
    background-color: #7A42F4;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
}

#faq .faq-contact-box a#faq-chat-button:hover {
    background-color: #6c37d9;
    color: #fff !important;
}

#faq .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#faq .faq-item {
    background-color: #ffffff;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#faq .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

#faq .faq-question {
    position: relative;
    padding: 24px 32px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#faq .faq-question:hover {
    background-color: #f9fafb;
}

#faq .faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    transition: color 0.3s ease;
    flex: 1;
    padding-right: 20px;
}

#faq .faq-question:hover h3 {
    color: #7A42F4;
}

#faq .faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.3s ease;
}

#faq .faq-question:hover .faq-toggle {
    color: #7A42F4;
}

#faq .faq-toggle::before {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

#faq .faq-toggle::after {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

#faq .faq-item.active .faq-toggle::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

#faq .faq-item.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
#faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 32px;
}

#faq .faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 0 32px 32px;
}

#faq .faq-answer p {
    color: #4A5568;
    line-height: 1.7;
    margin: 0 0 16px 0;
    font-size: 1rem;
}

/* ==========================================================================
   Roadmap Section
   ========================================================================== */

.roadmap-section {
    background-color: #240a3e;
    padding: 80px 0;
    color: white;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 60px;
}

.roadmap-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.roadmap-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.roadmap-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #7A42F4, #8e44ad, #25c889, #f7b733, #e74c3c, #1abc9c);
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15%;
    position: relative;
    z-index: 2;
}

.timeline-point {
    position: relative;
}

.timeline-date-bubble {
    color: white;
    padding: 8px 16px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
    display: block;
    position: relative;
    top: 0;
    z-index: 2;
}

.timeline-connector-dot {
   display: none;
}

.timeline-connector-dot::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background-size: 2px 8px;
}

.timeline-content-card {
    background-color: #140527;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.timeline-content-card::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #140527 transparent;
}

.timeline-content-card .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.timeline-content-card .card-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Timeline colors */
.timeline-item:nth-child(1) .timeline-date-bubble,
.timeline-item:nth-child(1) .timeline-connector-dot { background: #7A42F4; border-color: #7A42F4; }
.timeline-item:nth-child(1) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #7A42F4 50%, transparent 50%);}

.timeline-item:nth-child(2) .timeline-date-bubble,
.timeline-item:nth-child(2) .timeline-connector-dot { background: #8e44ad; border-color: #8e44ad; }
.timeline-item:nth-child(2) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #8e44ad 50%, transparent 50%);}

.timeline-item:nth-child(3) .timeline-date-bubble,
.timeline-item:nth-child(3) .timeline-connector-dot { background: #25c889; border-color: #25c889; }
.timeline-item:nth-child(3) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #25c889 50%, transparent 50%);}

.timeline-item:nth-child(4) .timeline-date-bubble,
.timeline-item:nth-child(4) .timeline-connector-dot { background: #f7b733; border-color: #f7b733; }
.timeline-item:nth-child(4) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #f7b733 50%, transparent 50%);}

.timeline-item:nth-child(5) .timeline-date-bubble,
.timeline-item:nth-child(5) .timeline-connector-dot { background: #e74c3c; border-color: #e74c3c; }
.timeline-item:nth-child(5) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #e74c3c 50%, transparent 50%);}

.timeline-item:nth-child(6) .timeline-date-bubble,
.timeline-item:nth-child(6) .timeline-connector-dot { background: #1abc9c; border-color: #1abc9c; }
.timeline-item:nth-child(6) .timeline-connector-dot::after { background-image: linear-gradient(to bottom, #1abc9c 50%, transparent 50%);}

/* ==========================================================================
   Spotlight Section
   ========================================================================== */

.spotlight-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.spotlight-content .spotlight-tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.spotlight-content .spotlight-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 1rem;
}

.spotlight-content .spotlight-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2.5rem;
}

.spotlight-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(122, 66, 244, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-item .feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-item .feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.feature-item .feature-text {
    color: #718096;
    line-height: 1.6;
}

.spotlight-visual {
    position: relative;
    min-height: 550px;
}

.spotlight-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 550px;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23E9D8FD' d='M48.8,-58.3C63.2,-47.9,74.7,-31.9,77.9,-14.1C81.1,3.6,76,23.1,65.8,37.5C55.6,51.9,40.3,61.2,24.5,67.8C8.7,74.4,-7.6,78.2,-23.5,74.1C-39.4,70,-55,57.9,-65.4,42.7C-75.8,27.5,-81.1,9.2,-78.1,-7.2C-75.1,-23.6,-63.9,-38.2,-50.8,-49.2C-37.7,-60.2,-22.7,-67.6,-6.3,-65.9C10,-64.2,29.9,-46.3,48.8,-58.3Z' transform='translate(100 100)' /%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    opacity: 0.7;
}

.chat-bubble {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 8s ease-in-out infinite;
    max-width: 320px;
}

.chat-bubble .chat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-bubble .chat-icon svg {
    width: 24px;
    height: 24px;
}

.chat-bubble .chat-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
}

.chat-bubble .chat-message {
    font-size: 1rem;
    font-weight: 600;
    color: #2D3748;
    margin: 4px 0 0;
}

.chat-1 { top: 0; left: 10%; animation-delay: 0s; }
.chat-2 { top: 25%; left: -5%; animation-delay: -2s; }
.chat-3 { top: 50%; left: 15%; animation-delay: -4s; }
.chat-4 { top: 75%; left: 0; animation-delay: -6s; }

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

/* ==========================================================================
   Experts Section
   ========================================================================== */

.experts-section {
    padding: 100px 0;
    background-color: #fff;
}

.experts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.experts-content .experts-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.experts-content .experts-text {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.experts-visual {
    position: relative;
    min-height: 350px;
}

.network-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.expert-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.expert-avatar-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(122, 66, 244, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.expert-card .expert-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D3748;
    margin: 0 0 5px 0;
}

.expert-card .expert-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.experts-visual .expert-card:nth-child(2) {
    margin-left: 40px;
}

.experts-visual .expert-card:nth-child(3) {
    margin-left: 20px;
}

/* ==========================================================================
   Advantages Section
   ========================================================================== */

.advantages-section {
    background-color: #1a082d;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.advantages-section .section-header .section-title,
.advantages-section .section-header .section-subtitle {
    color: #ffffff;
}

.advantages-section .section-header .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8A2BE2; /* A nice purple accent */
    margin: 15px auto 0;
}

.advantages-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.advantages-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 320px;
    gap: 30px;
    width: max-content;
    animation: scroll 60s linear infinite;
    padding-bottom: 10px; /* To prevent hover shadow from being clipped */
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A2BE2;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-title,
.advantage-text {
    margin-left: auto;
    margin-right: auto;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.advantage-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

/* ==========================================================================
   Comparison Approaches Section
   ========================================================================== */

.comparison-approaches-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Light gray background for the section */
}

.comparison-approaches-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-approaches-section .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.comparison-approaches-section .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-criteria {
    margin-bottom: 40px;
}

.criteria-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 66, 244, 0.1);
    margin-bottom: 30px;
}

.criteria-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.criteria-item {
    font-weight: 500;
    color: #718096;
    text-align: center;
    font-size: 0.9rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch; /* Make cards of equal height */
}

.comparison-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Усиленная тень */
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12); /* Усиленная тень при наведении */
}

.comparison-card.recommended-card {
    background: linear-gradient(145deg, #ffffff, #f8f9ff); /* Градиентный белый фон */
    color: #1A0A31; /* Темно-фиолетовый текст */
    border: none; /* Убираем обычную обводку */
    box-shadow: 
        0px 8px 45px rgba(109, 40, 217, 0.4), /* Внешняя фиолетовая тень */
        0px 0px 0px 2px rgba(26, 10, 49, 0.3), /* Размытая обводка */
        inset 0px 2px 10px rgba(109, 40, 217, 0.1); /* Внутренняя фиолетовая тень */
}

.comparison-card.recommended-card:hover {
     box-shadow: 
        0px 10px 55px rgba(109, 40, 217, 0.55), /* Усиленная внешняя тень при наведении */
        0px 0px 0px 3px rgba(26, 10, 49, 0.4), /* Усиленная размытая обводка при наведении */
        inset 0px 3px 15px rgba(109, 40, 217, 0.15); /* Усиленная внутренняя тень при наведении */
}

.comparison-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.comparison-card .method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #f1f3f5;
    color: #495057;
}

.comparison-card .method-icon svg {
    width: 24px;
    height: 24px;
}

.comparison-card.recommended-card .method-icon {
    background-color: rgba(26, 10, 49, 0.1); /* Светло-фиолетовый фон */
    color: #1A0A31; /* Темно-фиолетовый цвет */
}

.comparison-card .method-title {
    font-size: 1rem;
}

.comparison-card .card-criteria {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto; /* Push criteria to the bottom if cards have different heights */
}

.comparison-card .criteria-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.comparison-card.recommended-card .criteria-score {
    background-color: rgba(26, 10, 49, 0.05); /* Очень светлый фиолетовый фон */
}

.comparison-card .score-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.comparison-card .score-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-card .score-icon svg {
    width: 20px;
    height: 20px;
}

.comparison-card .score-text {
    font-weight: 600;
}

.comparison-card .score-bars {
    display: flex;
    gap: 4px;
}

.comparison-card .score-bar {
    width: 8px;
    height: 16px;
    background-color: #e9ecef;
    border-radius: 4px;
}

.comparison-card .score-bar.active {
    background-color: #7048e8;
}

.comparison-card.recommended-card .score-bar {
    background-color: rgba(26, 10, 49, 0.2); /* Светло-фиолетовый */
}

.comparison-card.recommended-card .score-bar.active {
    background-color: #1A0A31; /* Темно-фиолетовый */
}

.comparison-card .card-description {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.comparison-card.recommended-card .card-description {
    border-top-color: #1A0A31; /* Темно-фиолетовая линия */
}

.comparison-card .card-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

.comparison-card.recommended-card .card-description p {
    color: #1A0A31; /* Темно-фиолетовый текст */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Transparency and Security Section
   ========================================================================== */

.transparency-security-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.transparency-security-section .section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.transparency-security-section .section-header .section-title {
    color: #1a1a2e;
    font-size: 2.5rem;
    font-weight: 700;
}

.transparency-security-section .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.security-card {
    background-color: #290d49;
    color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.security-card::before {
    display: none;
}

.security-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    transition: all 0.3s ease-in-out;
}

.security-card:hover .security-icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.security-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.security-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 16px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
}

.verification-badges {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.verification-header {
    text-align: center;
    margin-bottom: 40px;
}

.verification-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1a1a2e;
    font-weight: 700;
}

.verification-header p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.verification-badge {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 2px 5px rgba(0, 0, 0, 0.06);
}

.verification-badge:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 12px 25px rgba(0, 0, 0, 0.15),
        0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: #7A42F4;
}

.badge-logo {
    margin-right: 16px;
    flex-shrink: 0;
}

.badge-logo img, .badge-logo svg {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.verification-badge:hover .badge-logo img,
.verification-badge:hover .badge-logo svg {
    transform: scale(1.1);
}

.badge-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.badge-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.final-cta-section .network-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-section .cta-content {
    background: radial-gradient(ellipse at center, #290d49 70%, #1c0830 100%);
    padding: 60px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.final-cta-section .cta-content h3 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-cta-section .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section .cta-content .btn--primary {
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    color: #290d49 !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-size: 16px !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(41, 13, 73, 0.15) !important;
    border: 2px solid #290d49 !important;
}

.final-cta-section .cta-content .btn--primary:hover {
    background: linear-gradient(135deg, #f0f0f0, #e8e9ea) !important;
    color: #290d49 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(41, 13, 73, 0.25) !important;
    border-color: #290d49 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: #000000; /* Black */
    color: #cbd5e1;
    padding: 80px 5% 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Изменено на 3 колонки */
    gap: 40px; /* Уменьшил отступ для компактности */
    margin-bottom: 60px;
    align-items: center; /* Выравниваю по центру вертикально */
}

.footer__partners-inline {
    display: flex;
    flex-direction: row; /* Изменено на row */
    align-items: center;
    gap: 25px;
}

.footer__partners-inline img {
    height: 70px; /* Ещё больше */
    transition: transform 0.3s ease;
}

.footer__partners-inline img:hover {
    transform: scale(1.05); /* Небольшое увеличение для интерактивности */
}

.footer__details {
    padding-top: 0; /* Убираем лишний отступ */
    justify-self: end;
    text-align: right;
}

.footer__nav {
    padding-top: 56px;
}

.footer__details p,
.footer__details a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.6;
    font-size: 14px;
}

.footer__details p {
    margin: 0 0 1em;
}

.footer__details a:hover {
    color: #7A42F4;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__brand .logo {
    margin-bottom: 20px;
}

.footer__brand .description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer__brand .social {
    display: flex;
    gap: 15px;
}

.footer__brand .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border-radius: 8px;
    transition: transform 0.2s ease;
    border: none; /* Убираем рамку */
    outline: none; /* Убираем контур при фокусе */
}

.footer__brand .social a img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer__brand .social a:hover {
    transform: scale(1.1);
    background: none !important; /* Принудительно убираем фон */
    border: none !important; /* Принудительно убираем рамку */
}

.footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__nav a:hover {
    color: #7A42F4;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer__bottom .copyright {
    color: #94a3b8;
}

.footer__bottom .copyright a {
    color: #7A42F4;
    text-decoration: none;
}

.footer__bottom .legal {
    display: flex;
    gap: 20px;
}

.footer__bottom .legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer__bottom .legal a:hover {
    color: #7A42F4;
}

.footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */

.language-switcher {
    position: relative;
    overflow: visible;
}

.language-switcher__current {
    background-color: #1e293b;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #334155;
    transition: background-color 0.2s;
}

.language-switcher__current:hover {
    background-color: #334155;
}

.language-switcher__current svg {
    transition: transform 0.2s ease-in-out;
}

.language-switcher.open .language-switcher__current svg {
    transform: rotate(180deg);
}

.language-switcher__dropdown {
    display: none !important;
}
.language-switcher.open .language-switcher__dropdown {
    display: block !important;
}

.language-switcher__dropdown li a {
    padding: 4px 0;
}

.language-switcher__dropdown li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    min-width: 0;
    border-radius: 4px;
    background: none;
    box-shadow: none;
}

.language-switcher__dropdown li a img {
    width: 24px;
    height: 18px;
    display: block;
    margin: 0;
}

.language-switcher__dropdown li a:hover,
.language-switcher__dropdown li a.active {
    background-color: #334155;
}

.header__language-switcher {
    display: flex;
    align-items: center;
    margin: 0 0 0 16px;
    padding: 0;
}

.language-switcher__current {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #1e293b;
    border-radius: 8px;
    border: 1px solid #334155;
    padding: 4px 8px;
    cursor: pointer;
}

.language-switcher__current img {
    width: 24px;
    height: 18px;
    display: block;
    margin: 0;
}

.language-switcher__current svg {
    margin-left: 2px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 992px) {
    .homepage-header .main-nav {
        display: none !important;
    }
    
    .homepage-header .menu-toggle {
        display: block !important;
    }
    
    .header-inner {
        padding: 15px 0;
    }
    
    .homepage-header .btn-get-quote {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem;
    }
    
    .btn-hero-cta {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }
    
    .hero-trust-elements {
        gap: 12px;
    }
    
    .hero-trust-elements .trust-item img {
        height: 20px;
    }
    
    .hero-trust-elements .trust-item-text {
        font-size: 12px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* FAQ Section Tablet Styles */
    #faq .faq-container-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    #faq .faq-left-col {
        text-align: center;
    }
    #faq .faq-left-col .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    #faq .faq-left-col .section-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }
    #faq .faq-contact-box {
        margin-left: auto;
        margin-right: auto;
        max-width: 450px;
    }
    #faq .faq-grid {
        max-width: 700px;
        margin: 0 auto;
    }

    /* === START: Mobile Roadmap Styles === */
    .roadmap-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .roadmap-timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        max-width: 450px;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        padding: 15px 0;
        position: relative;
    }
    
    .timeline-point {
        flex-shrink: 0;
        padding-top: 8px;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        top: 75px;
        bottom: -15px;
        left: 33px;
        width: 3px;
        background: linear-gradient(to top, #8e44ad, #7A42F4, #25c889, #f7b733);
    }
    
    .timeline-item:last-child::before {
        display: none;
    }

    .timeline-date-bubble {
        width: 66px;
        height: 66px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: 700;
        text-align: center; /* Добавил выравнивание */
        box-shadow: 0 0 12px rgba(122, 66, 244, 0.5);
        margin: 0;
        transition: transform 0.3s ease;
    }
    
    .timeline-item:hover .timeline-date-bubble {
        transform: scale(1.1);
    }

    .timeline-content-card {
        background: transparent;
        border: none;
        padding: 0;
        text-align: left;
        margin-top: 0;
        flex-grow: 1;
    }

    .timeline-content-card::before {
        display: none;
    }
    /* === END: Mobile Roadmap Styles === */

    /* === START: Footer Tablet Styles === */
    .footer__grid {
        grid-template-columns: 1fr; /* Возвращаем одну колонку */
        gap: 30px;
    }
    .footer__brand, .footer__details, .footer__nav {
        text-align: left;
        justify-self: start;
    }
    .footer__brand .social {
        justify-content: flex-start;
    }
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    /* === END: Footer Tablet Styles === */

    .footer__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        grid-template-areas:
            "brand"
            "details"
            "partners";
    }
    .footer__brand { grid-area: brand; }
    .footer__details { grid-area: details; }
    .footer__partners-inline { grid-area: partners; justify-self: center; margin-top: 15px; }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 0;
    }
    
    .homepage-header .btn-get-quote {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .btn-hero-cta {
        padding: 12px 24px !important;
        font-size: 15px !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1.5rem auto;
        display: block;
    }
    
    .hero-trust-elements {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .hero-trust-elements .trust-item img {
        height: 18px;
    }
    
    .hero-trust-elements .trust-item-text {
        font-size: 11px;
    }
    
    .testimonials-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid,
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        gap: 30px;
    }
    .footer__details {
        text-align: left; /* На совсем маленьких экранах лучше всё влево */
    }
    .footer__nav {
        justify-self: center;
        text-align: center;
    }
    .footer__brand .social {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer__bottom .legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-section {
        padding: 60px 0;
    }
    
    .comparison-approaches-section {
        padding: 60px 0;
    }
    
    .criteria-header {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .criteria-item {
        display: none;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .criteria-score {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .score-indicator {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        display: flex;
    }
    
    .transparency-security-section {
        padding: 60px 0;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .security-card {
        padding: 30px;
    }
    
    .verification-badges {
        padding: 30px 20px;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .verification-badge {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* .security-cta {
        padding: 40px 20px;
    } */
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    /* Анимация для контактного блока */
    .faq-contact-box {
        animation: faqSlideIn 0.8s ease 0.2s both;
    }

    .faq-contact-box:hover {
        animation: faqGlow 3s ease-in-out infinite;
    }

    /* Анимация для заголовка FAQ */
    .faq-left-col .section-title {
        animation: faqSlideIn 0.6s ease 0.1s both;
    }
    
    .faq-left-col .section-subtitle {
        animation: faqSlideIn 0.6s ease 0.3s both;
    }

    .spotlight-section {
        padding: 80px 0;
    }

    .spotlight-content .spotlight-title {
        font-size: 2.2rem;
    }

    .spotlight-features {
        grid-template-columns: 1fr;
    }

    .spotlight-visual {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 0.5rem; /* Уменьшил отступ */
    }

    .chat-bubble {
        padding: 12px 16px;
        gap: 12px;
        max-width: 280px;
        position: static !important;
        animation: none !important;
    }

    .chat-bubble .chat-icon {
        width: 40px;
        height: 40px;
    }

    .chat-bubble .chat-message {
        font-size: 0.9rem;
    }

    .spotlight-visual::before {
        width: 100%;
        height: 100%;
    }
    
    /* Удаляем старые правила и добавляем новые для выравнивания */
    .chat-1, .chat-2, .chat-3, .chat-4 {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        align-self: flex-start; /* Все по левому краю */
    }

    .chat-1, .chat-3 {
        align-self: flex-end;
    }

    .chat-2, .chat-4 {
        align-self: flex-start;
    }
    
    /* Experts Section Mobile Styles */
    .experts-content .experts-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .experts-content .experts-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }

    .comparison-approaches-section {
        padding: 60px 0;
    }
    
    .comparison-approaches-section .section-header .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .comparison-approaches-section .section-header .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .criteria-header {
        display: none;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-card {
        padding: 20px;
    }

    .comparison-card .card-header {
        margin-bottom: 20px;
    }
    
    .comparison-card .method-title {
        font-size: 1.1rem;
    }
    
    .criteria-score {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .score-label {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 8px;
        width: 100%;
    }

    .score-indicator {
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }
    
    .comparison-card .card-description p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    /* ... остальные стили ... */

    .blog-section .blog-card-image {
        width: 95%;
    }

    /* === START: Footer Mobile Styles === */
    .footer__grid {
        gap: 30px;
    }
    /* === END: Footer Mobile Styles === */
} 

@keyframes faqSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes faqGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 66, 244, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(122, 66, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 66, 244, 0);
    }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    top: 7px;
}

.mobile-menu-open .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-open .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-open .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .header-right-panel {
        display: none;
    position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a2e;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        flex-direction: column;
        align-items: center;
    }

    .header-right-panel.is-active {
        display: flex;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0;
    }
    
    .main-navigation ul li a {
        padding: 10px 0;
        display: block;
    }

    .header-actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .header-actions .button-primary,
    .header-actions .button-secondary {
        width: auto;
        min-width: 200px;
        text-align: center;
    }
} 

.criteria-score {
    flex-direction: row; /* Восстанавливаем горизонтальное направление */
    justify-content: space-between; /* Распределяем элементы по краям */
    align-items: center; /* Выравниваем по центру вертикально */
    padding: 10px 15px;
    gap: 15px; /* Добавляем отступ между элементами */
}

.score-label {
    text-align: left; /* Выравниваем текст лейбла по левому краю */
    margin-bottom: 0; /* Убираем лишний отступ */
    width: auto; /* Автоматическая ширина */
}

.score-indicator {
    /* Эти стили больше не нужны здесь, так как выравнивание происходит в .criteria-score */
    width: auto;
    justify-content: flex-end; /* Выравниваем индикатор по правому краю */
}

.comparison-card .card-header,
.comparison-card .card-description {
    display: block; /* Убедимся, что это блочные элементы */
}

.comparison-card .card-criteria {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Отступ между критериями */
}

.comparison-approaches-section .section-header .section-title {
    font-size: 1.8rem;
}

.comparison-approaches-section .section-header .section-subtitle {
    font-size: 0.9rem;
}

.comparison-card {
    padding: 16px;
}

.comparison-card .method-title {
    font-size: 1rem;
}

.criteria-score {
    padding: 8px 12px;
    gap: 10px;
}

.score-label {
    font-size: 0.85rem;
}

.comparison-card .card-description p {
    font-size: 0.8rem;
}

/* Адаптация картинки блога для мобильных */
.blog-section .blog-card-image {
    width: 95%;
} 

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__language-switcher {
  margin: 0 0 0 8px;
  padding: 0;
  display: flex;
  align-items: center;
}

.language-switcher__dropdown {
  background: rgba(30, 41, 59, 0.98);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.footer__language-switcher .language-switcher__dropdown {
  bottom: 100%;
  top: auto;
}
.header__language-switcher .language-switcher__dropdown {
  top: 100%;
  bottom: auto;
}