/*
Theme Name: Solvera Theme
Theme URI: https://solvera.com
Author: Liudmyla Alieinyk
Author URI: https://solvera.com
Description: Modern theme for Solvera platform
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: solvera-theme
*/

/* Reset & Base Styles */
:root {
    --primary-color: #7A42F4;
    --primary-dark: #6035C3;
    --primary-light: #9B6FF6;
    --text-color: #2D3748;
    --text-light: #718096;
    --background-color: #F0F2F5;
    --gradient-start: #7A42F4;
    --gradient-end: #9B6FF6;
    --shadow-sm: 0 2px 4px rgba(122, 66, 244, 0.05);
    --shadow-md: 0 4px 6px rgba(122, 66, 244, 0.1);
    --shadow-lg: 0 10px 25px rgba(122, 66, 244, 0.15);
    --border-radius: 16px;
    --container-width: 1400px;
    --container-padding: 20px;
    --header-height: 72px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Site Structure */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 200px); /* Минимальная высота с учетом хедера и футера */
}

/* Специальные стили для страниц с боковым меню */
.page-template-default .site-main,
.page-template-full-width .site-main {
    min-height: calc(100vh - 200px);
}

/* Стили для страниц дашборда */
.page-template-default .site-main:has(.solvera-dashboard-menu-vertical),
.page-template-full-width .site-main:has(.solvera-dashboard-menu-vertical) {
    min-height: calc(100vh - 120px);
    padding-bottom: 80px; /* Дополнительный отступ для футера */
}

/* Альтернативный селектор для браузеров без поддержки :has() */
.solvera-dashboard-menu-vertical ~ .solvera-dashboard-content {
    min-height: calc(100vh - 120px);
    padding-bottom: 80px;
}

/* Container */
.container {
    width: 95%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Header */
.site-header {
    background-color: var(--background-color);
    padding: 20px 0;
    border-top: 4px solid var(--text-color); /* Dark top bar */
    position: relative;
    z-index: 1000;
}

.header-branding {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.site-logo {
    margin-bottom: 0;
    margin-right: 24px;
}

.site-logo img {
    height: 36px;
    display: block;
}

.header-start-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.header-start-link:hover {
    color: var(--primary-dark);
}

/* Hide navigation on all devices for this design */
.main-nav {
    display: none;
}

/* Elementor Compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-width) !important;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.elementor-section.elementor-section-full_width {
    width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    position: relative !important;
    right: 50% !important;
}

.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Fix for Elementor editor */
body.elementor-editor-active .site-main {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1440px) {
    :root {
        --container-width: 1200px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-width: 1024px;
        --container-padding: 15px;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 64px;
    }
}

@media (max-width: 767px) {
    :root {
        --container-padding: 15px;
    }
    
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Custom Properties - Расширенные */
:root {
    --color-primary: #7A42F4;          /* Фирменный фиолетовый */
    --color-primary-dark: #6035C3;     /* Темный фиолетовый для ховеров */
    --color-primary-light: #9B6FF6;    /* Светлый фиолетовый для акцентов */
    --color-primary-gradient: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --color-text: #2D3748;             /* Основной цвет текста */
    --color-text-light: #718096;       /* Светлый текст */
    --color-background: #F0F2F5;        /* Фон */
    --color-background-alt: #F0F2F5;   /* Альтернативный фон */
    --color-success: #48BB78;          /* Зеленый для успешных действий */
    --color-warning: #ECC94B;          /* Желтый для предупреждений */
    --color-error: #F56565;            /* Красный для ошибок */
    --spacing-unit: 8px;               /* Базовая единица отступов */
    --border-radius-lg: 20px;          /* Большое скругление */
    --transition: all 0.3s ease;       /* Стандартная анимация */
    --shadow-primary: 0 8px 25px rgba(122, 66, 244, 0.25);
    --image-overlay: rgba(0, 0, 0, 0.3);
    --image-radius: 20px;
    --image-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Header Styles */
.header {
    background: var(--color-background);
    padding: calc(var(--spacing-unit) * 2) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(var(--spacing-unit) * 2);
}

.logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav__list {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    list-style: none;
}

.nav__list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius);
}

.nav__list a:hover {
    color: var(--color-primary);
    background: var(--color-background-alt);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: calc(var(--spacing-unit) * 15) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.svg') center/cover;
    opacity: 0.1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.1;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto calc(var(--spacing-unit) * 5);
    opacity: 0.9;
}

/* Button Styles */
.btn,
input[type="submit"],
.button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 99px; /* Pill shape */
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn--primary,
.button-primary {
    background: linear-gradient(135deg, #7A42F4, #9B6FF6);
    color: white;
    box-shadow: 0 10px 20px rgba(122, 66, 244, 0.2);
}

.btn--primary:hover,
.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 66, 244, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: #1a202c;
    border-color: #e2e8f0;
}

.btn--secondary:hover {
    background-color: #e2e8f0;
    border-color: #e2e8f0;
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

/* Features Section */
.features-section {
    padding: calc(var(--spacing-unit) * 12) 0;
    background: var(--color-background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
}

.feature-card {
    background: #FFFFFF;
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
    width: 100%;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: calc(var(--spacing-unit) * 8);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: calc(var(--spacing-unit) * 2) auto 0;
    border-radius: 2px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-switcher__current {
    background-color: #2d3748; /* bg-gray-800 */
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #4a5568; /* border-gray-600 */
}

.language-switcher__current:hover {
    background-color: #4a5568; /* bg-gray-700 */
}

.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;
    position: absolute;
    bottom: 100%;
    margin-bottom: 8px;
    right: 0;
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 8px;
    padding: 4px;
    list-style: none;
    margin: 0;
    min-width: 150px;
    z-index: 10;
}

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

.language-switcher__dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
}

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

/* Testimonials Section - Обновленный */
.testimonials-section {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 8);
}

.testimonial-card {
    background: #FFFFFF;
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: calc(var(--spacing-unit) * 3);
    right: calc(var(--spacing-unit) * 3);
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: calc(var(--spacing-unit) * 3);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.testimonial-position {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: calc(var(--spacing-unit) * 0.5);
}

/* How It Works Section */
.how-it-works-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(122, 66, 244, 0.05) 0%, rgba(122, 66, 244, 0.02) 100%);
    z-index: 1;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    margin-top: calc(var(--spacing-unit) * 8);
    position: relative;
    z-index: 2;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(122, 66, 244, 0) 0%,
        rgba(122, 66, 244, 0.3) 20%,
        rgba(122, 66, 244, 0.3) 80%,
        rgba(122, 66, 244, 0) 100%
    );
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
    background: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(122, 66, 244, 0.1);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto calc(var(--spacing-unit) * 3);
    position: relative;
    box-shadow: 0 10px 20px rgba(122, 66, 244, 0.2);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transition: var(--transition);
}

.step:hover .step-number::before {
    transform: scale(1.2);
    opacity: 0.15;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-text);
}

.step-description {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Partners Section - Обновленный */
.partners-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background-alt);
    position: relative;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    align-items: center;
    margin-top: calc(var(--spacing-unit) * 8);
}

.partner-item {
    background: var(--color-background);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.partner-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.partner-logo img {
    max-width: 80%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.partner-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.svg') center/cover;
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 700px;
    margin: calc(var(--spacing-unit) * 4) auto calc(var(--spacing-unit) * 6);
    opacity: 0.9;
    line-height: 1.6;
}

/* Pricing Section - Обновленный */
.pricing-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 8);
}

.pricing-card {
    background: #FFFFFF;
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--color-primary);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.pricing-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.pricing-price small {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-description {
    color: var(--color-text-light);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 calc(var(--spacing-unit) * 4);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-text);
}

.pricing-feature i {
    color: var(--color-success);
    font-size: 1.2rem;
}

.pricing-feature.disabled {
    color: var(--color-text-light);
    text-decoration: line-through;
}

.pricing-feature.disabled i {
    color: var(--color-text-light);
}

/* FAQ Section - Обновленный */
.faq-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background-alt);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    margin-bottom: calc(var(--spacing-unit) * 3);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: calc(var(--spacing-unit) * 3);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 calc(var(--spacing-unit) * 3);
    color: var(--color-text-light);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding: 0 24px 24px;
    max-height: 500px; /* Adjust as needed */
}

/* About Section - Обновленный */
.about-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1;
}

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

/* Responsive Design - Обновленный */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-unit: 6px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .partner-item,
    .pricing-card,
    .testimonial-card {
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .pricing-name {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
}

/* Animations */
.step,
.testimonial-card,
.partner-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.step.animate,
.testimonial-card.animate,
.partner-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        margin-bottom: 1rem;
    }
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* Loading Animation */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading.active {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Partners Carousel */
.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.partner-logo {
    flex: 0 0 auto;
    padding: 0 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

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

/* Pause animation on hover */
.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo {
        padding: 0 15px;
    }
    
    .partner-logo img {
        max-width: 100px;
    }
}

/* Image Sections and Components */
.image-section {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 8);
}

.image-card {
    position: relative;
    border-radius: var(--image-radius);
    overflow: hidden;
    box-shadow: var(--image-shadow);
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

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

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: calc(var(--spacing-unit) * 3);
    background: linear-gradient(to top, var(--image-overlay), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit));
}

.image-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Featured Image Section */
.featured-image {
    position: relative;
    height: 500px;
    border-radius: var(--image-radius);
    overflow: hidden;
    margin: calc(var(--spacing-unit) * 8) 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 6);
    background: linear-gradient(135deg, var(--image-overlay), transparent);
    color: white;
}

/* Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 8);
}

.gallery-item {
    position: relative;
    border-radius: var(--image-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Reveal Animation */
.image-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-reveal.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Image Adjustments */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Dashboard Styles */
.dashboard-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.dashboard-header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-content {
    padding: 2rem 0;
}

.solvera-dashboard {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

.solvera-sidebar {
    width: 280px;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    position: fixed;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.solvera-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background-color: #f8f9fa;
}

.solvera-nav .nav-item {
    margin-bottom: 0.5rem;
}

.solvera-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.solvera-nav .nav-link:hover {
    background-color: var(--primary-light);
    color: #fff;
}

.solvera-nav .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
}

.solvera-nav .nav-link svg {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
}

.solvera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.solvera-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.solvera-balance {
    background-color: #fff;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solvera-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.solvera-button:hover {
    background-color: var(--primary-dark);
}

.solvera-button svg {
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .solvera-sidebar {
        width: 240px;
    }
    
    .solvera-content {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .solvera-dashboard {
        flex-direction: column;
    }
    
    .solvera-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .solvera-content {
        margin-left: 0;
    }
    
    .solvera-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Дополнительные стили для страниц с дашбордом */
body:has(.solvera-dashboard-menu-vertical) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:has(.solvera-dashboard-menu-vertical) .site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body:has(.solvera-dashboard-menu-vertical) .site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Альтернативные стили для браузеров без поддержки :has() */
.solvera-dashboard-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.solvera-dashboard-page .site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solvera-dashboard-page .site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* === Customer Spotlight Section === */
.spotlight-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

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

.spotlight-content .spotlight-tagline {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(122, 66, 244, 0.1);
    color: var(--primary-color);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.spotlight-content .spotlight-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.spotlight-content .spotlight-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 40px;
}

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

.spotlight-features .feature-item .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(122, 66, 244, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-features .feature-item .feature-title {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 5px;
    color: var(--text-color);
}

.spotlight-features .feature-item .feature-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.spotlight-visual {
    position: relative;
    min-height: 300px;
    flex: 1;
}

.spotlight-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: morph 15s ease-in-out infinite, pulse 5s ease-in-out infinite;
    z-index: -1;
    opacity: 0.1;
}

@keyframes morph {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { border-radius: 30% 70% 30% 70% / 55% 45% 55% 45%; transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
}

.chat-bubble {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: absolute;
    overflow: hidden;
    width: 720px;
    max-width: 100%;
    min-height: 130px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(101, 109, 127, 0.15);
}

.chat-bubble.chat-1 { top: 20px; left: 100px; }
.chat-bubble.chat-2 { top: 150px; left: 20px; }
.chat-bubble.chat-3 { top: 280px; left: 120px; }
.chat-bubble.chat-4 { bottom: 20px; left: 50px; }

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

.chat-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.chat-content {
    flex: 1;
}

.chat-content .chat-author {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-color);
}

.chat-content .chat-message {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-light);
    margin: 0;
    min-height: 60px;
}

/* Text animation styles */
.chat-message {
    position: relative;
}

.message-variant {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
}

.message-variant.active {
    display: inline;
    opacity: 1;
    position: relative;
}

/* Experts Section Adjustments */
.experts-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experts-visual::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(83, 75, 100, 0.7) 0%, rgba(83, 75, 100, 0) 65%);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.experts-visual img {
    position: relative;
    z-index: 3;
    max-width: 450px;
    height: auto;
}

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

.experts-section {
    background-color: #faf9f8;
    padding: 80px 0;
}

/* Advantages Section Styling */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    padding: 40px 0;
}

.advantage-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F1F1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(122, 66, 244, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.advantage-icon svg {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advantage-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    flex-grow: 1;
}

.advantage-card--featured {
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15), transparent), linear-gradient(145deg, #4A2E9D 0%, #7A42F4 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 30px 50px rgba(96, 53, 195, 0.35);
    position: relative;
    overflow: visible;
    border: none;
    z-index: 10;
}

.advantage-card--featured .advantage-icon {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.advantage-card--featured .advantage-icon svg {
    color: var(--primary-dark);
}

.advantage-card--featured .advantage-title,
.advantage-card--featured .advantage-text {
    color: #fff;
}

.advantage-card--featured::before {
    content: 'Хит';
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: none;
}

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

.blog-section .section-subtitle-alt {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.blog-section .section-title {
    font-size: 42px;
    font-weight: 800;
    color: #1F2937;
    line-height: 1.2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.1);
}

.blog-card-image {
    width: calc(100% - 60px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 30px auto 0;
    border-radius: 12px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 30px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #5856d6;
}

.blog-card-excerpt {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.65;
    margin-top: auto;
}

/* Responsive adjustments for blog section */
@media (max-width: 992px) {
    .blog-section .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .blog-section .section-title {
        font-size: 32px;
    }
}

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

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: 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: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.footer__brand .social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer__nav h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer__nav li {
    margin-bottom: 12px;
}

.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: #a0aec0;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__brand .social {
        justify-content: center;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
    }
    .footer__bottom .legal {
        flex-direction: column;
        gap: 10px;
    }
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 20px;
    }
    .blog-card-content {
        padding: 20px;
    }
    .faq-question {
        padding: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Base WordPress */
.sticky {
	display: block;
}

.final-cta-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Or whatever the default page background is */
}

.final-cta-section .cta-content {
    background-color: #290d49;
    padding: 60px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.final-cta-section .cta-content h3 {
    color: #ffffff;
    font-size: 32px;
    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 {
    background-color: #ffffff !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: background-color 0.3s, color 0.3s;
}

.final-cta-section .cta-content .btn:hover {
    background-color: #f0f0f0 !important;
    color: #290d49 !important;
}

/* Стили для страниц авторизации */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.auth-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 66, 244, 0.1);
}

.auth-button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 66, 244, 0.3);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-footer {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.form-error {
    display: none;
    color: #dc3232;
    background-color: #fbeaea;
    border: 1px solid #dc3232;
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 14px;
}

/* Адаптивность для страниц авторизации */
@media (max-width: 480px) {
    .auth-form-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .auth-form h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .form-group input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .auth-button {
        padding: 12px 16px;
        font-size: 14px;
        height: 44px;
    }
} 