/* Super Minimalistic Design with Non-Standard Layout */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ff0000;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background: var(--secondary-color);
    color: var(--primary-color);
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Non-Standard Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section-alt {
    background: var(--primary-color);
    color: var(--secondary-color);
}

#about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#about::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    filter: blur(25px);
}

#about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite reverse;
    filter: blur(20px);
}

/* Super Minimalistic Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-logo:hover::after {
    width: 100%;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section - Non-Standard Layout */
.hero {
    height: 100vh !important;
    display: flex !important;
    align-items: stretch !important;
    position: relative !important;
    background: var(--secondary-color) !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 0, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 40px !important;
    align-items: stretch !important;
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
    padding: 60px 0 !important;
    box-sizing: border-box !important;
    min-height: 100% !important;
}

    .hero-text {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        order: 0;
    }

.hero-title {
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 35px;
    position: relative;
    opacity: 0;
}

.hero-title span {
    display: block;
    position: relative;
}

.hero-title span:nth-child(2) {
    transform: translateX(15px);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 35px;
    max-width: 450px;
    position: relative;
    line-height: 1.5;
    opacity: 0;
}

.cursor {
    color: var(--accent-color);
    font-weight: bold;
    animation: blink 1s infinite;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 3px;
    height: 30px;
    background: var(--accent-color);
    transform: translateY(-50%);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
}

.btn {
    padding: 10px 20px;
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Кнопка под зеркалом - заблокированная */
.btn-primary.disabled {
    background: #e0e0e0;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-primary.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    animation: mirrorEffect 3s ease-in-out infinite;
    pointer-events: none;
}

.btn-primary.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(0.5px);
}

@keyframes mirrorEffect {
    0%, 100% { 
        transform: translateX(-100%) skewX(-10deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateX(100%) skewX(-10deg);
        opacity: 0.4;
    }
}

/* Анимация разблокировки кнопки */
.btn-primary.unlocking {
    animation: unlockButton 0.6s ease-out;
}

@keyframes unlockButton {
    0% {
        background: #ccc;
        transform: scale(0.95);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        background: var(--primary-color);
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    }
    100% {
        background: var(--primary-color);
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Form - Minimalistic Design */
.form-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 0;
    position: relative;
    transform: scale(1);
    align-self: flex-end;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
}

/* Специальные стили для формы в контактной секции */
#contact .form-container {
    transform: scale(1);
    opacity: 1;
    align-self: stretch;
    margin-bottom: 0;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.form-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-control {
    margin-bottom: 8px;
}

.form-control label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.form-control input,
.form-control select,
.form-control textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Custom Checkbox */
.checkbox-control {
    margin-top: 15px;
}

/* Disable all browser validation styles */
input:invalid,
input:required:invalid,
input:focus:invalid {
    box-shadow: none !important;
    outline: none !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--gray-dark);
    padding: 6px 0;
    flex-wrap: wrap;
    position: relative;
    min-height: 18px;
}

.checkbox-label input[type="checkbox"] {
    display: none !important;
}

/* Disable browser validation completely */
.checkbox-label input[type="checkbox"]:invalid,
.checkbox-label input[type="checkbox"]:required,
.checkbox-label input[type="checkbox"]:invalid:focus,
.checkbox-label input[type="checkbox"]:required:focus {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0;
    flex-shrink: 0;
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmarkAppear 0.2s ease-in-out;
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.checkbox-label span:not(.checkmark) {
    display: inline;
    vertical-align: middle;
}

.checkbox-label {
    padding: 6px 0;
    align-items: center;
    line-height: 18px;
}

.checkbox-label .checkmark {
    margin-top: 0;
    position: relative;
    top: 0;
}

.checkbox-label .checkmark {
    margin-top: 0;
    position: relative;
    top: 0;
}

.checkbox-label a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Error state for checkbox */
.checkbox-label.error .checkmark {
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.1);
}

.checkbox-label.error::after {
    content: '⚠';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff4444;
    font-size: 14px;
}

/* Sections - Non-Standard Layout */
.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 60px;
    max-width: 600px;
}

/* Cards - Minimalistic Design */
.card {
    background: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

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

.service-card {
    text-align: center;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0;
}

/* Enhanced Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Enhanced Service Cards */
.service-card {
    padding: 25px 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,0,0,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #cc0000, #990000, #cc0000);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 0.3;
}

.premium-card {
    background: linear-gradient(145deg, rgba(255,0,0,0.1) 0%, rgba(255,255,255,0.1) 100%);
    border-color: rgba(255,0,0,0.3);
    transform: scale(1.05);
}

.premium-card::before {
    background: linear-gradient(45deg, transparent 30%, rgba(255,0,0,0.2) 50%, transparent 70%);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(3deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: rgba(255,0,0,0.6);
    z-index: 10;
}

.premium-card:hover {
    transform: translateY(-18px) scale(1.05) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(255,0,0,0.15);
}

.service-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-dark) 100%);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    position: relative;
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b, var(--accent-color));
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.service-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1) rotateZ(5deg);
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    box-shadow: 0 10px 25px rgba(204,0,0,0.3);
    filter: drop-shadow(0 0 15px rgba(204,0,0,0.4));
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 0, 0.6); }
}

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

@keyframes priceGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.6));
        transform: scale(1.02);
    }
}

@keyframes pricePulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes currencyFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.3));
    }
    50% { 
        transform: translateY(-3px) rotate(2deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }
}

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

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.section-alt .service-card h3 {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover h3 {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(204,0,0,0.2));
}

.service-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray-dark);
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.section-alt .service-description {
    color: rgba(255,255,255,0.9);
}

.white-text {
    color: var(--secondary-color) !important;
}

.service-features {
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b);
    transition: width 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px) scale(1.02);
    padding-left: 10px;
}

.feature-item:hover::before {
    width: 20px;
}

.feature-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2px 0;
    border-top: 1px solid rgba(255,0,0,0.2);
    margin-top: auto;
    position: relative;
    z-index: 2;
    gap: 2px;
}

.service-stats::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b);
    transition: width 0.6s ease;
}

.service-card:hover .service-stats::before {
    width: 100%;
}

.section-alt .service-stats {
    border-top-color: rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.stat-number {
    display: block;
    font-size: 0.25rem;
    font-weight: 300;
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0px;
    font-family: var(--font-mono);
    transition: all 0.4s ease;
    position: relative;
    word-break: break-word;
    line-height: 0.6;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b);
    transition: width 0.4s ease;
}

.service-card:hover .stat-number::after {
    width: 100%;
}

.stat-label {
    font-size: 0.2rem;
    color: var(--gray-dark);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0px;
    line-height: 0.6;
    word-break: break-word;
}

.section-alt .stat-label {
    color: rgba(255,255,255,0.8);
}

/* Service card animations */
.service-card {
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for feature items */
.feature-item:hover .feature-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service card entrance animation */
@keyframes serviceCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card {
    animation: serviceCardEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive design for enhanced service cards */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 18px;
        margin-bottom: 0;
        min-height: 250px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .service-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .service-features {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .feature-item {
        gap: 8px;
        padding: 6px 0;
    }
    
    .feature-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .service-stats {
        padding: 15px 0;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .stat {
        text-align: center;
        width: 100%;
    }
    
    .stat-number {
        font-size: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.15rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 18px 15px;
        min-height: 220px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .service-description {
        font-size: 0.75rem;
    }
    
    .service-stats {
        padding: 10px 0;
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }
    
    .stat {
        text-align: center;
        width: 100%;
    }
    
    .stat-number {
        font-size: 0.15rem;
    }
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-top: 50px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}



.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}







/* Featured Card */
.featured-card {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2) 0%, rgba(255, 192, 203, 0.12) 100%);
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.1);
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(255, 182, 193, 0.1), rgba(255, 192, 203, 0.05), rgba(255, 218, 185, 0.03), rgba(255, 182, 193, 0.1));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.15;
}

.featured-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 25px 80px rgba(255, 0, 0, 0.2);
}

/* Красный цвет для цены и знака рубля на среднем тарифе */
.featured-card .price-amount {
    color: var(--accent-color);
}

.featured-card .price-currency {
    color: var(--accent-color);
}



/* Контур для 1-й и 3-й карточки */
.pricing-card:first-child,
.pricing-card:last-child {
    border: 1px solid rgba(255, 0, 0, 0.2);
}

/* Popular Badge */
.pricing-badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff3333 100%);
    color: var(--secondary-color);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    z-index: 10;
    z-index: 1000;
}

/* Pricing Header */
.pricing-header {
    position: relative;
    margin-bottom: 20px;
}

.pricing-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}



.pricing-card:hover .pricing-icon {
    transform: scale(1.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--primary-color);
}



.pricing-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pricing Price */
.pricing-price {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}



.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.price-period {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}



/* Pricing Features */
.pricing-features {
    flex: 1;
    margin-bottom: 20px;
}

.pricing-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all 0.4s ease;
    position: relative;
    border-radius: 8px;
}



.pricing-features .feature-icon {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}



.pricing-features .feature-item span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
}



/* Pricing Footer */
.pricing-footer {
    margin-top: auto;
}

.pricing-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
}



.pricing-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
    }
    50% { 
        box-shadow: 0 20px 50px rgba(255, 0, 0, 0.6);
    }
}

.featured-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff3333 100%);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #ff3333 0%, var(--accent-color) 100%);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.4);
}

/* Responsive Pricing */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 45px;
    }
    
    .featured-card {
        grid-column: span 2;
        max-width: 450px;
        margin: 0 auto;
        transform: scale(1.02);
    }
    
    .pricing-card {
        padding: 28px 22px;
        min-height: 480px;
    }
    
    .pricing-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 18px;
    }
    
    .pricing-header h3 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .price-amount {
        font-size: 2.7rem;
    }
    
    .price-currency {
        font-size: 1.4rem;
    }
    
    .price-period {
        font-size: 1.05rem;
    }
    
    .pricing-features {
        margin-bottom: 22px;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 12px;
        gap: 12px;
        padding: 8px 0;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .pricing-btn {
        padding: 13px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 35px;
    }
    
    .featured-card {
        grid-column: span 1;
        transform: none;
        max-width: none;
        margin: 0 auto;
        width: 95%;
        padding-top: 35px;
    }
    
    .pricing-card {
        padding: 22px 18px;
        min-height: auto;
        max-height: none;
        width: 95%;
        margin: 0 auto;
    }
    
    .pricing-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .price-amount {
        font-size: 2.3rem;
    }
    
    .price-currency {
        font-size: 1.2rem;
    }
    
    .price-period {
        font-size: 0.95rem;
    }
    
    .pricing-features {
        margin-bottom: 18px;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 10px;
        gap: 10px;
        padding: 7px 0;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.88rem;
        line-height: 1.4;
    }
    
    .pricing-btn {
        padding: 11px 22px;
        font-size: 0.92rem;
    }
    
    .pricing-header {
        margin-bottom: 18px;
    }
    
    .pricing-price {
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        gap: 20px;
        margin-top: 30px;
    }
    
    .pricing-card {
        padding: 18px 12px;
        min-height: auto;
        max-height: none;
        width: 95%;
        margin: 0 auto;
        animation: none !important;
        transition: none !important;
    }
    
    .pricing-card::before,
    .pricing-card::after {
        display: none !important;
    }
    
    .pricing-card:hover {
        transform: none !important;
        animation: none !important;
    }
    
    .featured-card {
        transform: none !important;
        max-width: none;
        margin: 0 auto;
        width: 95%;
        padding-top: 18px;
        animation: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        transition: none !important;
    }
    
    .featured-card::before {
        animation: none !important;
        display: none !important;
    }
    
    .featured-card:hover {
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        animation: none !important;
    }
    
    .featured-card .pricing-badge-popular {
        display: none !important;
    }
    
    .pricing-icon {
        animation: none !important;
    }
    
        .pricing-icon:hover {
        animation: none !important;
        transform: none !important;
    }
    .pricing-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .price-currency {
        font-size: 1.1rem;
    }
    
    .price-period {
        font-size: 0.9rem;
    }
    
    .pricing-features {
        margin-bottom: 15px;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 8px;
        gap: 8px;
        padding: 6px 0;
    }
    
    .pricing-features .feature-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .pricing-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .pricing-badge-popular {
        font-size: 0.7rem;
        padding: 5px 12px;
        top: -12px;
    }
    
    .pricing-header {
        margin-bottom: 15px;
    }
    
    .pricing-price {
        margin-bottom: 15px;
    }
}

@media (max-width: 360px) {
    .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 15px 10px;
        width: 95%;
        margin: 0 auto;
    }
    
    .featured-card {
        transform: none;
        margin: 0 auto;
        width: 95%;
        padding-top: 25px;
    }
    
    .pricing-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .pricing-header h3 {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .price-currency {
        font-size: 1rem;
    }
    
    .price-period {
        font-size: 0.8rem;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 6px;
        gap: 6px;
        padding: 4px 0;
    }
    
    .pricing-features .feature-icon {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.75rem;
    }
    
    .pricing-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .pricing-badge-popular {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: -10px;
    }
}

@media (max-width: 320px) {
    .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 12px 8px;
        width: 95%;
        margin: 0 auto;
    }
    
    .pricing-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .pricing-header h3 {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 1.6rem;
    }
    
    .price-currency {
        font-size: 0.9rem;
    }
    
    .price-period {
        font-size: 0.75rem;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 5px;
        gap: 5px;
        padding: 3px 0;
    }
    
    .pricing-features .feature-icon {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.7rem;
    }
    
    .pricing-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
    
    .pricing-badge-popular {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: -8px;
    }
}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 25px;
    }
    
    .featured-card {
        grid-column: span 1;
        transform: none;
        max-width: none;
    }
    
    .pricing-card {
        padding: 15px 12px;
        min-height: 350px;
        width: 95%;
        margin: 0 auto;
    }
    
    .pricing-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .pricing-header h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .price-currency {
        font-size: 1rem;
    }
    
    .price-period {
        font-size: 0.8rem;
    }
    
    .pricing-features {
        margin-bottom: 12px;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 6px;
        gap: 6px;
        padding: 4px 0;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .pricing-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .pricing-badge-popular {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: -10px;
    }
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Старый класс отзывов - удален */
.testimonial-card-old {
    position: relative;
    padding-left: 40px;
    display: none; /* Скрываем старые стили */
}

.testimonial-card-old::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
    display: none; /* Скрываем старые стили */
}

/* Process Section - Non-Standard Layout (OLD - DISABLED) */
.process-step-old {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    display: none; /* Скрываем старые стили */
}

/* Скрываем все старые элементы процесса */
.process-step:not(.process-step-horizontal) {
    display: none !important;
}

.process-number-old {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    display: none; /* Скрываем старые стили */
}

.process-step-old:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: var(--accent-color);
    display: none; /* Скрываем старые стили */
}

/* FAQ Section - Simple & Beautiful */
.faq-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 20s ease-in-out infinite;
}

/* FAQ Section specific styles */
.faq-section .section-title {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.faq-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.faq-container {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff4444, #ff0000);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 0, 0, 0.2);
}

.faq-item.active::before {
    transform: scaleX(1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    position: relative;
}

.faq-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    transition: all 0.4s ease;
}

.faq-item:hover .faq-toggle::after {
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.6), transparent);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.faq-question {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    margin-right: 20px;
    letter-spacing: -0.2px;
}

.faq-item:hover .faq-question {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.faq-item.active .faq-question {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.faq-arrow {
    width: 24px;
    height: 24px;
    color: #ff0000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
}

.faq-item:hover .faq-arrow {
    color: #ff0000;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.faq-item.active .faq-arrow {
    color: #ff0000;
    transform: rotate(180deg) scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding: 0 24px;
}

.faq-content.show {
    max-height: 600px;
    opacity: 1;
    padding: 0 24px 24px 24px;
}

.faq-content p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    border-left: 5px solid #ff0000;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-content p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-content p:hover::before {
    opacity: 1;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.faq-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.faq-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.faq-list li:hover {
    transform: translateX(12px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 0, 0, 0.1);
}

.faq-list li:hover::before {
    opacity: 1;
}

.faq-bullet {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-bullet svg {
    width: 24px;
    height: 24px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.faq-bullet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.faq-list li:hover .faq-bullet {
    transform: scale(1.2) rotate(8deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    animation: emojiBounce 0.6s ease-in-out, emojiGlow 1.2s ease-in-out infinite;
}

.faq-list li:hover .faq-bullet svg {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Hover эффекты для кастомных иконок */
.faq-list li:hover .faq-bullet svg {
    filter: drop-shadow(0 4px 8px rgba(255, 0, 0, 0.3));
    transform: scale(1.1);
}

.faq-list li:hover .faq-bullet::before {
    transform: translateX(100%);
}

/* FAQ CTA */
.faq-cta {
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.faq-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.faq-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.6;
}

.faq-cta .btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #990000 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.faq-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.faq-cta .btn:hover::before {
    left: 100%;
}

.faq-cta .btn:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 50%, #660000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes emojiBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes emojiGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4)); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-header .section-title {
        font-size: 3rem;
    }
    
    .faq-item-header {
        padding: 28px;
        gap: 20px;
    }
    
    .faq-icon {
        width: 56px;
        height: 56px;
    }
    
    .faq-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .faq-content.show {
        padding: 0 28px 28px 76px;
    }
    
    .faq-content {
        padding: 0 28px 0 76px;
    }
    
    .faq-cta-content {
        padding: 40px;
        gap: 24px;
    }
    
    .cta-icon {
        width: 70px;
        height: 70px;
    }
    
    .cta-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .cta-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-header .section-title {
        font-size: 2.5rem;
    }
    
    .faq-header .section-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-container {
        gap: 20px;
    }
    
    .faq-item-header {
        padding: 24px;
        gap: 16px;
    }
    
    .faq-icon {
        width: 48px;
        height: 48px;
    }
    
    .faq-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .faq-content.show {
        padding: 0 24px 24px 64px;
    }
    
    .faq-content {
        padding: 0 24px 0 64px;
    }
    
    .faq-feature {
        padding: 12px;
        gap: 12px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .faq-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .cta-text h3 {
        font-size: 1.6rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-header .section-title {
        font-size: 2rem;
    }
    
    .faq-header .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-item-header {
        padding: 20px;
        gap: 12px;
    }
    
    .faq-icon {
        width: 44px;
        height: 44px;
    }
    
    .faq-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-content.show {
        padding: 0 20px 20px 56px;
    }
    
    .faq-content {
        padding: 0 20px 0 56px;
    }
    
    .faq-feature {
        padding: 10px;
        gap: 10px;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .feature-content h4 {
        font-size: 0.95rem;
    }
    
    .feature-content p {
        font-size: 0.85rem;
    }
    
    .faq-cta-content {
        padding: 24px 20px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .cta-text h3 {
        font-size: 1.4rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .section-title {
    color: var(--secondary-color);
}

.cta-section .section-title::after {
    background: var(--accent-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #050505 0%, #0f0f1a 50%, #050505 100%);
    color: var(--secondary-color);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 100, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 100, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 100, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: footerGlow 8s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% {
        opacity: 0.15;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 0, 0, 0.5));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 60px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section a {
    position: relative;
    overflow: hidden;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-section a:hover::before {
    width: 15px;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 1px;
}

.footer-legal {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-legal a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-legal a:hover::before {
    opacity: 1;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 20px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        position: relative;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--accent-color);
        border-radius: 1px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.95rem;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .footer-section a:hover {
        color: var(--accent-color);
        transform: translateX(5px);
    }
    
    .footer-bottom {
        padding: 25px 20px 0;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-legal a {
        font-size: 0.85rem;
        padding: 8px 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-legal a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .footer-legal span {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section {
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .footer-bottom {
        padding: 20px 15px 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .footer-legal a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 35px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .footer-bottom {
        padding: 15px 10px 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .footer-legal a {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* Messages */
.message {
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #006600;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #cc0000;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Advanced Animation System */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) skewX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) skewX(10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
        filter: brightness(1.1);
    }
}

@keyframes borderGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
        border-color: rgba(255, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.6);
    }
}

@keyframes morphing {
    0%, 100% { border-radius: 0; }
    25% { border-radius: 20px 0 0 0; }
    50% { border-radius: 20px 20px 0 0; }
    75% { border-radius: 20px 20px 20px 0; }
}

@keyframes gradientShift {
    0% { 
        background-position: 0% 0%;
        opacity: 0.8;
    }
    50% { 
        background-position: 100% 100%;
        opacity: 1;
    }
    100% { 
        background-position: 0% 0%;
        opacity: 0.8;
    }
}

@keyframes rotate3D {
    0% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
    25% { transform: perspective(1000px) rotateY(90deg) rotateX(10deg); }
    50% { transform: perspective(1000px) rotateY(180deg) rotateX(0deg); }
    75% { transform: perspective(1000px) rotateY(270deg) rotateX(-10deg); }
    100% { transform: perspective(1000px) rotateY(360deg) rotateX(0deg); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(5px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(-5px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes magnetic {
    0% { transform: translate(0, 0); }
    100% { transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)); }
}

@keyframes cursorTrail {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes backgroundFlow {
    0% { 
        transform: scale(1) rotate(0deg); 
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: scale(1.05) rotate(90deg); 
        background-position: 100% 0%;
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: scale(1.1) rotate(180deg); 
        background-position: 100% 100%;
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: scale(1.05) rotate(270deg); 
        background-position: 0% 100%;
        filter: hue-rotate(270deg);
    }
    100% { 
        transform: scale(1) rotate(360deg); 
        background-position: 0% 0%;
        filter: hue-rotate(360deg);
    }
}

/* Advanced Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

.animate-fade-up {
    animation: fadeInUp 1s ease-out;
}

.animate-text-glow {
    animation: textGlow 2s ease-in-out infinite;
}

.animate-border-glow {
    animation: borderGlow 2s ease-in-out infinite;
}

.animate-morphing {
    animation: morphing 4s ease-in-out infinite;
}

.animate-gradient {
    background: linear-gradient(-45deg, #ff0000, #000000, #ff0000, #000000);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.animate-rotate3d {
    animation: rotate3D 8s linear infinite;
}

.animate-wave {
    animation: wave 3s ease-in-out infinite;
}

.animate-sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

/* Background Canvas */
.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.trail-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: cursorTrail 0.5s ease-out forwards;
}

/* Floating Elements */
.floating-form {
    animation: float 8s ease-in-out infinite;
}

.floating-icon {
    animation: float 4s ease-in-out infinite;
}

.floating-number {
    animation: float 3s ease-in-out infinite;
}

/* Magnetic Buttons */
.magnetic-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.magnetic-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Hover Cards */
.hover-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.hover-card:hover::before {
    left: 100%;
}

.hover-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Reveal Text */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animated Logo */
.animate-logo {
    position: relative;
    overflow: hidden;
}

.animate-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.5s ease;
}

.animate-logo:hover::before {
    left: 100%;
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ff00;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-title span:nth-child(2) {
        transform: translateX(0);
    }
    
    .form-container {
        max-width: 500px;
        margin: 0 auto 40px;
        transform: scale(1);
        align-self: center;
        justify-content: flex-start;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        padding: 280px 0 60px !important;
        margin-top: 0;
    }
    
    .contact-info {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(7rem, 18vw, 9rem);
        margin-bottom: 30px;
        line-height: 1.05;
        margin-top: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 100%;
        margin-bottom: 35px;
        line-height: 1.5;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .hero-text {
        order: 0;
    }
    
    .form-container {
        padding: 20px;
        transform: scale(1);
        justify-content: flex-start;
        margin: 20px auto 0;
        max-width: 100%;
        order: 1;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    position: relative;
    z-index: 10000;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 0, 0, 0.05);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    margin: 6px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover .burger-line {
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transform: scaleX(1.1);
}

.mobile-menu-toggle.active {
    background: rgba(255, 0, 0, 0.1);
    transform: scale(1.1);
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        position: relative !important;
        z-index: 10001 !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
        backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 80px 20px 40px !important;
        transform: translateX(-100%) !important;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        z-index: 10000 !important;
        gap: 15px !important;
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links li:nth-child(6) { transition-delay: 0.3s; }
    .nav-links li:nth-child(7) { transition-delay: 0.35s; }
    .nav-links li:nth-child(8) { transition-delay: 0.4s; }
    .nav-links li:nth-child(9) { transition-delay: 0.45s; }
    
    .nav-link {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding: 12px 25px !important;
        border-radius: 15px !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
        display: block !important;
        text-decoration: none !important;
        color: var(--primary-color) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid transparent !important;
        min-width: 180px !important;
        text-align: center !important;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.15), transparent);
        transition: left 0.6s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        background: rgba(255, 0, 0, 0.08) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25) !important;
        color: var(--accent-color) !important;
        border-color: rgba(255, 0, 0, 0.2) !important;
    }
    
    .nav-link:active {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2) !important;
    }
    
    /* Специальные стили для пункта "Главная" */
    .nav-links li:first-child .nav-link {
        background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0.05) 100%) !important;
        border-color: rgba(255, 0, 0, 0.2) !important;
        font-weight: 700 !important;
        color: var(--accent-color) !important;
    }
    
    .nav-links li:first-child .nav-link:hover {
        background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.1) 100%) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3) !important;
    }
    
    /* Mobile Logo Styles */
    .logo-image {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
}

/* Медиа-запрос для средних мобильных устройств */
@media (max-width: 480px) {
    .nav-links {
        padding: 60px 15px 30px !important;
        gap: 12px !important;
    }
    
    .nav-link {
        font-size: 1.1rem !important;
        padding: 10px 20px !important;
        min-width: 160px !important;
    }
    
    /* Small Mobile Logo Styles */
    .logo-image {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

/* Медиа-запрос для маленьких мобильных устройств */
@media (max-width: 360px) {
    .nav-links {
        padding: 50px 10px 25px !important;
        gap: 10px !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 8px 15px !important;
        min-width: 140px !important;
        border-radius: 12px !important;
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.03s; }
    .nav-links li:nth-child(2) { transition-delay: 0.06s; }
    .nav-links li:nth-child(3) { transition-delay: 0.09s; }
    .nav-links li:nth-child(4) { transition-delay: 0.12s; }
    .nav-links li:nth-child(5) { transition-delay: 0.15s; }
    .nav-links li:nth-child(6) { transition-delay: 0.18s; }
    .nav-links li:nth-child(7) { transition-delay: 0.21s; }
    .nav-links li:nth-child(8) { transition-delay: 0.24s; }
    .nav-links li:nth-child(9) { transition-delay: 0.27s; }
}

/* Медиа-запрос для очень маленьких экранов */
@media (max-width: 320px) {
    .nav-links {
        padding: 40px 8px 20px !important;
        gap: 8px !important;
    }
    
    .nav-link {
        font-size: 0.95rem !important;
        padding: 7px 12px !important;
        min-width: 120px !important;
        border-radius: 10px !important;
    }
    
    .mobile-menu-toggle {
        width: 30px !important;
        height: 30px !important;
        padding: 3px !important;
    }
    
    .burger-line {
        height: 2px !important;
        margin: 5px 0 !important;
    }
    
    /* Extra Small Mobile Logo Styles */
    .logo-image {
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* Медиа-запрос для ландшафтной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-links {
        padding: 40px 20px 20px !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 8px 20px !important;
        min-width: 150px !important;
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.02s; }
    .nav-links li:nth-child(2) { transition-delay: 0.04s; }
    .nav-links li:nth-child(3) { transition-delay: 0.06s; }
    .nav-links li:nth-child(4) { transition-delay: 0.08s; }
    .nav-links li:nth-child(5) { transition-delay: 0.1s; }
    .nav-links li:nth-child(6) { transition-delay: 0.12s; }
    .nav-links li:nth-child(7) { transition-delay: 0.14s; }
    .nav-links li:nth-child(8) { transition-delay: 0.16s; }
    .nav-links li:nth-child(9) { transition-delay: 0.18s; }
}

/* Large screens - better form positioning */
@media (min-width: 1200px) {
    .form-container {
        justify-content: flex-start;
        padding: 30px;
        margin-top: 20px;
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .form-container {
        justify-content: center;
        padding: 25px;
    }
}

/* Medium mobile screens */
@media (min-width: 481px) and (max-width: 767px) {
    .hero {
        padding: 200px 0 50px !important;
    }
    
    .hero-content {
        gap: 35px !important;
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: clamp(4rem, 12vw, 5rem);
        line-height: 1.2;
        margin-top: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        margin-bottom: 25px;
    }
    
    .form-container {
        padding: 18px;
        margin: 25px 15px 0;
    }
    
    .form-control input,
    .form-control select,
    .form-control textarea {
        padding: 9px;
        font-size: 0.95rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .hero {
        padding: 40px 0 40px;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(3rem, 8vw, 4.5rem);
        line-height: 1.1;
        margin-bottom: 15px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
    
    .form-container {
        margin-top: 40px;
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .form-control {
        margin-bottom: 20px;
    }
    
    .form-control label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .form-control input,
    .form-control textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Contact Info Styles */
.contact-info {
    padding: 20px;
}

/* Stats Grid Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    filter: blur(20px);
}

.stats-grid::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite reverse;
    filter: blur(15px);
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(255, 0, 0, 0.1);
    border-radius: 25px;
    padding: 60px 35px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 0 20px rgba(255, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b, var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-20px) scale(1.05) rotate(1deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 0, 0, 0.3) inset,
        0 0 40px rgba(255, 0, 0, 0.3),
        0 0 80px rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.stat-number {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(255, 0, 0, 0.2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stat-plus,
.stat-percent {
    font-size: 0.5em;
    color: var(--accent-color);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes glow {
    from {
        text-shadow: 0 1px 2px rgba(255, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 4px rgba(255, 0, 0, 0.5);
    }
}

.stat-label {
    font-size: 1.2rem;
    color: var(--gray-dark);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
    position: relative;
    z-index: 10;
}

.stat-label::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.stat-icon {
    font-size: 3rem;
    margin-top: 25px;
    opacity: 0.9;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-icon {
    transform: scale(1.3) rotate(10deg);
    opacity: 1;
    filter: drop-shadow(0 8px 16px rgba(255, 0, 0, 0.5));
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: scale(1.3) rotate(10deg) translateY(0px); }
    50% { transform: scale(1.3) rotate(10deg) translateY(-10px); }
}

/* Counter Animation */
.counter {
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    color: var(--accent-color);
    z-index: 10;
}

.counter.animate {
    animation: counterPulse 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes counterPulse {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.2));
    }
    25% {
        transform: scale(1.15) rotate(-3deg);
        filter: drop-shadow(0 6px 12px rgba(255, 0, 0, 0.4));
    }
    50% {
        transform: scale(1.3) rotate(3deg);
        filter: drop-shadow(0 12px 24px rgba(255, 0, 0, 0.6));
        color: var(--accent-color);
    }
    75% {
        transform: scale(1.15) rotate(-2deg);
        filter: drop-shadow(0 6px 12px rgba(255, 0, 0, 0.4));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.2));
    }
}

/* Floating animation for cards */
.stat-card:nth-child(1) { animation: float 6s ease-in-out infinite; }
.stat-card:nth-child(2) { animation: float 6s ease-in-out infinite 1s; }
.stat-card:nth-child(3) { animation: float 6s ease-in-out infinite 2s; }
.stat-card:nth-child(4) { animation: float 6s ease-in-out infinite 3s; }

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

@media (min-width: 1201px) and (max-width: 1600px) {
    .stat-card {
        padding: 50px 30px;
    }
    
    .stat-number {
        font-size: clamp(3rem, 6vw, 4rem);
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .custom-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 60px;
    }
    
    .stat-card {
        padding: 35px 20px;
    }
    
    .stat-number {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .custom-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }
    
    .stat-card {
        padding: 20px 10px;
        min-height: auto;
        border-radius: 15px;
    }
    
    .stat-number {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .stat-label {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 10px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .custom-icon {
        width: 30px;
        height: 30px;
        margin: 10px auto 0;
    }
    
    .stat-icon {
        font-size: 1.8rem;
        margin-top: 15px;
    }
}

.custom-icon {
    width: 60px;
    height: 60px;
    margin: 25px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(255, 0, 0, 0.2));
    transition: all 0.4s ease;
}

.custom-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.stat-card:hover .custom-icon {
    color: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(255, 0, 0, 0.4));
    transform: scale(1.1) rotate(5deg);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
}

.contact-item a,
.contact-item span {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Non-Standard Positioning */
.offset-left {
    transform: translateX(-50px);
}

.offset-right {
    transform: translateX(50px);
}

.offset-up {
    transform: translateY(-30px);
}

.offset-down {
    transform: translateY(30px);
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Page Load Animation */
body.loaded .hero-title {
    animation: slideInLeft 1s ease-out;
}

body.loaded .hero-subtitle {
    animation: slideInRight 1s ease-out 0.2s both;
}

body.loaded .hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Particle Effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Для экранов с маленькой высотой */
@media (max-height: 600px) and (max-width: 768px) {
    .pricing-grid {
        gap: 20px;
        margin-top: 20px;
    }
    
    .pricing-card {
        padding: 12px 10px;
        min-height: 300px;
        width: 95%;
        margin: 0 auto;
    }
    
    .featured-card {
        transform: none;
        max-width: none;
        margin: 0 auto;
        width: 95%;
        padding-top: 20px;
    }
    
    .pricing-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .pricing-header h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .price-amount {
        font-size: 1.6rem;
    }
    
    .price-currency {
        font-size: 0.9rem;
    }
    
    .price-period {
        font-size: 0.75rem;
    }
    
    .pricing-features {
        margin-bottom: 10px;
    }
    
    .pricing-features .feature-item {
        margin-bottom: 4px;
        gap: 6px;
        padding: 3px 0;
    }
    
    .pricing-features .feature-icon {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
    
    .pricing-features .feature-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .pricing-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .pricing-badge-popular {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: -8px;
    }
}

/* Why Choose Us Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.advantage-card:hover .advantage-icon svg {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    position: relative;
}

.advantage-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.advantage-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.advantage-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Responsive Design for Advantages */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 50px;
    }
    
    .advantage-card {
        padding: 35px 25px;
    }
    
    .advantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .advantage-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .advantage-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }
    
    .advantage-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .advantage-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .advantage-card p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .advantage-features {
        gap: 6px;
    }
    
    .advantage-tag {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .advantage-card {
        padding: 25px 15px;
    }
    
    .advantage-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    
    .advantage-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .advantage-card p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .advantage-tag {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* Animation for advantage cards */
@keyframes advantageCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card {
    animation: advantageCardEntrance 0.6s ease forwards;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

/* Process Timeline Styles */
.process-timeline-horizontal {
    position: relative;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    overflow: hidden;
    min-width: 100%;
    /* Скрываем скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Скрываем скроллбар для WebKit браузеров */
.process-timeline-horizontal::-webkit-scrollbar {
    display: none;
}

/* Анимация для всего контейнера */
.process-timeline-horizontal {
    animation: containerEntrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Показываем только первые 4 элемента процесса */
.process-timeline-horizontal .process-step-horizontal:nth-child(-n+5) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 280px !important;
    min-width: 280px !important;
    flex-shrink: 0 !important;
}

/* Скрываем все остальные элементы процесса */
.process-timeline-horizontal .process-step-horizontal:nth-child(n+6) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 0, 0, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 0, 0, 0.3) 100%);
    z-index: 1;
    animation: timelineGlow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

@keyframes timelineGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
    }
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    width: 4px;
    height: calc(100% - 200px);
    background: linear-gradient(180deg, 
        rgba(255, 0, 0, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 0, 0, 0.3) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step-horizontal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    z-index: 2;
    width: 280px;
    min-width: 280px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: processStepEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) forwards, processStepFloat1 3s ease-in-out infinite;
}

/* Анимация парения для карточек */
@keyframes processStepFloat1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes processStepFloat2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes processStepFloat3 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes processStepFloat4 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* Анимация появления для каждого шага */
.process-step-horizontal:nth-child(2) {
    animation-delay: 0.2s;
    animation: processStepEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, processStepFloat2 4s ease-in-out 0.2s infinite;
}

.process-step-horizontal:nth-child(3) {
    animation-delay: 0.4s;
    animation: processStepEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, processStepFloat3 3.5s ease-in-out 0.4s infinite;
}

.process-step-horizontal:nth-child(4) {
    animation-delay: 0.6s;
    animation: processStepEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards, processStepFloat4 4.5s ease-in-out 0.6s infinite;
}

.process-step-horizontal:nth-child(5) {
    animation-delay: 0.8s;
    animation: processStepEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards, processStepFloat1 3.2s ease-in-out 0.8s infinite;
}

@keyframes processStepEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.process-step-horizontal:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: 
        0 20px 40px rgba(255, 0, 0, 0.15),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        0 0 30px rgba(255, 0, 0, 0.1);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-mono);
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    position: relative;
    animation: numberFloat 3s ease-in-out infinite;
}

@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.step-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: width 0.4s ease;
}

.process-step-horizontal:hover .step-number {
    color: rgba(255, 0, 0, 0.8);
    transform: scale(1.15);
    text-shadow: 
        0 0 40px rgba(255, 0, 0, 0.9),
        0 0 80px rgba(255, 0, 0, 0.5);
}

.process-step-horizontal:hover .step-number::after {
    width: 80px;
    animation: underlineGlow 1s ease-in-out infinite;
}

@keyframes numberHover {
    0% {
        transform: scale(1.2) rotateY(10deg);
    }
    50% {
        transform: scale(1.3) rotateY(5deg);
    }
    100% {
        transform: scale(1.2) rotateY(10deg);
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 255, 255, 0.08));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step-horizontal:hover .step-icon::before {
    transform: translateX(100%);
}

.process-step-horizontal:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 
        0 20px 50px rgba(255, 0, 0, 0.5),
        0 0 0 3px rgba(255, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 0, 0.3);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.process-step-horizontal:hover .step-icon svg {
    transform: scale(1.3);
    color: var(--accent-color);
    filter: drop-shadow(0 4px 8px rgba(255, 0, 0, 0.4));
}

.step-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-step-horizontal:hover .step-content::before {
    opacity: 1;
}

.process-step-horizontal:hover .step-content {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.process-step-horizontal:hover .step-content h3 {
    color: var(--accent-color);
    text-shadow: 0 4px 8px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.process-step-horizontal:hover .step-content p {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 5px;
}

.step-tag {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1));
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: tagFloat 5s ease-in-out infinite;
}

@keyframes tagFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.step-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.step-tag:hover::before {
    left: 100%;
}

.step-tag:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.4));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 20px rgba(255, 0, 0, 0.5),
        0 0 0 2px rgba(255, 0, 0, 0.6),
        0 0 20px rgba(255, 0, 0, 0.3);
    color: #ffffff;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-connector {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.connector-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 0, 0, 0.5) 0%, 
        rgba(255, 255, 255, 0.2) 100%);
    border-radius: 2px;
    position: relative;
}

.process-step:nth-child(odd) .connector-line {
    transform: translateX(-30px);
}

.process-step:nth-child(even) .connector-line {
    transform: translateX(30px);
}

.connector-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(255, 255, 255, 0.4));
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.connector-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: innerPulse 1.5s ease-in-out infinite;
}

.process-step:hover .connector-dot {
    animation: pulse 0.8s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.9),
        0 0 60px rgba(255, 0, 0, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.2);
}

.process-step:hover .connector-dot::before {
    animation: innerPulse 0.6s ease-in-out infinite;
}

.process-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 255, 255, 0.1));
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-step:hover .process-icon::before {
    opacity: 1;
}

.process-step:hover .process-icon {
    transform: scale(1.15) rotate(8deg);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(255, 255, 255, 0.3));
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 
        0 25px 60px rgba(255, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.process-icon svg {
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.process-step:hover .process-icon svg {
    transform: scale(1.2);
    color: var(--accent-color);
}

.process-content {
    flex: 1;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
}

.process-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-step:hover .process-content::before {
    opacity: 1;
}

.process-step:hover .process-content {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.2);
}

.process-number {
    position: absolute;
    top: -60px;
    right: -40px;
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-mono);
    transition: all 0.4s ease;
    z-index: 10;
}

.number-bg {
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(255, 0, 0, 0.2);
    filter: blur(10px);
    transform: scale(1.3);
    transition: all 0.4s ease;
}

.number-text {
    position: relative;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.process-step:hover .number-bg {
    color: rgba(255, 0, 0, 0.3);
    filter: blur(12px);
    transform: scale(1.5);
}

.process-step:hover .number-text {
    color: rgba(255, 0, 0, 0.8);
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    transform: scale(1.2);
}

.process-step h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
}

.process-step h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 255, 255, 0.5));
    transition: width 0.4s ease;
}

.process-step:hover h3::after {
    width: 100%;
}

.process-step:hover h3 {
    color: var(--accent-color);
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.process-step:hover p {
    color: rgba(255, 255, 255, 0.95);
}

.process-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.process-tag {
    background: rgba(255, 0, 0, 0.2);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.process-tag:hover::before {
    left: 100%;
}

.process-tag:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.6);
}

/* Responsive Design for Process Timeline */
@media (max-width: 1024px) {
    .process-timeline-horizontal {
        max-width: 100%;
        gap: 20px;
        padding: 0 15px;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .process-step-horizontal {
        width: 200px;
        min-width: 200px;
        flex-shrink: 0;
    }
    
    /* Показываем все элементы процесса на планшетах */
    .process-timeline-horizontal .process-step-horizontal {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .step-content {
        padding: 12px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .process-timeline-horizontal {
        max-width: 100%;
        margin: 40px auto 0;
        padding: 0 15px;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .timeline-line {
        display: none;
    }
    
    .process-step-horizontal {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        flex-direction: column;
        text-align: center;
        margin: 0 auto;
        justify-self: center;
    }
    
    /* Показываем все элементы процесса на мобильных */
    .process-timeline-horizontal .process-step-horizontal {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 320px !important;
        min-width: auto !important;
        margin: 0 auto !important;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .step-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .step-content {
        max-width: 100%;
        padding: 20px;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .step-features {
        justify-content: center;
        gap: 8px;
    }
    
    .step-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .process-timeline-horizontal {
        padding: 0 10px;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }
    
    .process-step-horizontal {
        margin-bottom: 30px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Показываем все элементы процесса на маленьких экранах */
    .process-timeline-horizontal .process-step-horizontal {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .step-features {
        gap: 6px;
    }
    
    .step-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* New Animations */
@keyframes innerPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 0, 0, 0.6),
            0 0 40px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 0.9),
            0 0 60px rgba(255, 0, 0, 0.5);
    }
}

@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.process-step:hover .process-number {
    animation: numberFloat 2s ease-in-out infinite;
}

.process-step:hover .connector-line {
    animation: glowPulse 1.5s ease-in-out infinite;
}

/* Testimonials Section Styles */
#testimonials {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Простая сетка отзывов */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Анимация парения для карточек отзывов */
.testimonials-grid .testimonial-card:nth-child(1) {
    animation: testimonialFloat1 6s ease-in-out infinite;
}

.testimonials-grid .testimonial-card:nth-child(2) {
    animation: testimonialFloat2 7s ease-in-out infinite;
}

.testimonials-grid .testimonial-card:nth-child(3) {
    animation: testimonialFloat3 8s ease-in-out infinite;
}

.testimonials-grid .testimonial-card:nth-child(4) {
    animation: testimonialFloat4 6.5s ease-in-out infinite;
}

.testimonials-grid .testimonial-card:nth-child(5) {
    animation: testimonialFloat5 7.5s ease-in-out infinite;
}

.testimonials-grid .testimonial-card:nth-child(6) {
    animation: testimonialFloat6 6.8s ease-in-out infinite;
}

@keyframes testimonialFloat1 {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(-12px); }
    75% { transform: translateY(-6px); }
}

@keyframes testimonialFloat2 {
    0%, 100% { transform: translateY(0px); }
    20% { transform: translateY(-6px); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-8px); }
    80% { transform: translateY(-4px); }
}

@keyframes testimonialFloat3 {
    0%, 100% { transform: translateY(0px); }
    15% { transform: translateY(-4px); }
    30% { transform: translateY(-8px); }
    45% { transform: translateY(-12px); }
    60% { transform: translateY(-10px); }
    75% { transform: translateY(-6px); }
    90% { transform: translateY(-2px); }
}

@keyframes testimonialFloat4 {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-8px); }
    75% { transform: translateY(-12px); }
}

@keyframes testimonialFloat5 {
    0%, 100% { transform: translateY(0px); }
    20% { transform: translateY(-5px); }
    40% { transform: translateY(-9px); }
    60% { transform: translateY(-11px); }
    80% { transform: translateY(-7px); }
}

@keyframes testimonialFloat6 {
    0%, 100% { transform: translateY(0px); }
    30% { transform: translateY(-7px); }
    60% { transform: translateY(-11px); }
    90% { transform: translateY(-4px); }
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.08) 0%, rgba(255, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 25px;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
    animation: rotate 10s linear infinite;
}

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

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 25px rgba(255, 0, 0, 0.1),
        0 0 0 1px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
    animation-play-state: paused;
}

.testimonial-card:active {
    transform: translateY(-5px) scale(1.01);
    transition: all 0.2s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover::after {
    opacity: 0.3;
}

.testimonial-card.premium-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 248, 0.9));
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 25px 50px rgba(255, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.testimonial-card.premium-card::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.12) 0%, rgba(255, 0, 0, 0.04) 50%, rgba(255, 0, 0, 0.02) 100%);
}

.testimonial-card.featured-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 240, 0.95));
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 
        0 30px 60px rgba(255, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 0 rgba(255, 0, 0, 0.3);
}

.testimonial-card.featured-card::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.06) 50%, rgba(255, 0, 0, 0.03) 100%);
}

@keyframes featuredGlow {
    0%, 100% { 
        box-shadow: 
            0 30px 60px rgba(255, 0, 0, 0.15),
            0 15px 30px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 1),
            0 0 0 0 rgba(255, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 30px 60px rgba(255, 0, 0, 0.2),
            0 15px 30px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 1),
            0 0 0 20px rgba(255, 0, 0, 0);
    }
}

.testimonial-card.featured-card:hover {
    transform: scale(1.05) translateY(-10px);
}

.testimonial-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, #ff0000, #ff4444, #ff6666);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.testimonial-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.avatar-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 20px rgba(255, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 8s linear infinite;
}

.testimonial-card:hover .avatar-placeholder::before {
    opacity: 0.5;
}

.testimonial-card:hover .avatar-placeholder {
    border-color: rgba(255, 0, 0, 0.5);
    transform: scale(1.1);
}

.avatar-placeholder svg {
    width: 30px;
    height: 30px;
    color: rgba(0, 0, 0, 0.8);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-top: 8px;
    align-items: center;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    animation: starTwinkle 2s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}



@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.testimonial-quote {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 0, 0, 0.2);
    box-shadow: 
        0 6px 15px rgba(255, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonial-quote::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 6s linear infinite;
}

.testimonial-card:hover .testimonial-quote::before {
    opacity: 0.6;
}

.testimonial-card:hover .testimonial-quote {
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(10deg);
}

.testimonial-quote svg {
    width: 20px;
    height: 20px;
    color: rgba(0, 0, 0, 0.8);
}

.testimonial-content {
    margin-bottom: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-stats {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.stat-item .stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff0000, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: statGlow 2s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.testimonial-author {
    flex: 1;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.author-position {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.8);
}

.author-project {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
}

.testimonial-verified svg {
    width: 16px;
    height: 16px;
    color: #00ff00;
}

/* Testimonials Summary */
.testimonials-summary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.testimonials-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 25px;
}

.testimonials-summary:hover::before {
    opacity: 1;
}

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

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.summary-number {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.summary-plus,
.summary-dot,
.summary-percent {
    color: #ff0000;
    font-weight: 700;
}

.summary-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff0000, #ff4444);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-dot.active {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active::before {
    opacity: 1;
}

.carousel-dot:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.2);
}

.carousel-arrow.prev {
    left: -25px;
}

.carousel-arrow.next {
    right: -25px;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.carousel-arrow:hover svg {
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 25px;
        min-height: 360px;
    }
    
    .testimonial-content {
        min-height: 180px;
    }
    
    .summary-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 25px;
    }
    
    .summary-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 25px;
        min-height: auto;
        height: auto;
    }
    
    .testimonial-content {
        min-height: auto;
    }
    
    .testimonial-text {
        -webkit-line-clamp: unset;
        display: block;
    }
    
    .testimonial-header {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    
    .testimonial-stats {
        justify-content: flex-start;
        margin-top: 20px;
    }
    
    .testimonial-footer {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        text-align: left;
        margin-top: 20px;
    }
    
    .summary-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .summary-number {
        font-size: 1.8rem;
    }
    
    .testimonial-card.featured-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 20px;
    }
    
    .testimonials-container {
        width: 100%;
    }
    
    .testimonials-slide {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    
    .carousel-arrow.prev {
        left: -17px;
    }
    
    .carousel-arrow.next {
        right: -17px;
    }
    
    .testimonial-card {
        padding: 20px;
        min-height: auto;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .avatar-placeholder svg {
        width: 28px;
        height: 28px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .testimonial-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .summary-number {
        font-size: 1.5rem;
    }
    
    .summary-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .testimonials-grid {
        padding: 0 5px;
        gap: 15px;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-header {
        gap: 10px;
    }
    
    .avatar-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .avatar-placeholder svg {
        width: 24px;
        height: 24px;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .testimonial-stats {
        gap: 15px;
    }
    
    .stat-item .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.75rem;
    }
    
    .summary-number {
        font-size: 1.3rem;
    }
    
    .summary-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .stat-card {
        padding: 8px 3px;
        min-height: auto;
    }
    
    .stat-number {
        font-size: clamp(0.9rem, 3vw, 1.3rem);
        line-height: 1.1;
    }
    
    .stat-label {
        font-size: 0.55rem;
        line-height: 1.1;
        margin-top: 2px;
    }
    
    .custom-icon {
        width: 18px;
        height: 18px;
        margin: 6px auto 0;
    }
    
    .stat-icon {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        padding: 0 2px;
        gap: 10px;
    }
    
    .testimonial-card {
        padding: 12px;
        border-radius: 15px;
    }
    
    .avatar-placeholder {
        width: 45px;
        height: 45px;
    }
    
    .avatar-placeholder svg {
        width: 22px;
        height: 22px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .testimonial-stats {
        gap: 10px;
    }
    
    .stat-item .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.7rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-position {
        font-size: 0.8rem;
    }
    
    .author-project {
        font-size: 0.75rem;
    }
    
    .summary-number {
        font-size: 1.2rem;
    }
    
    .summary-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 20px;
        min-height: 320px;
    }
    
    .testimonial-content {
        min-height: 160px;
    }
    
    .testimonial-text {
        -webkit-line-clamp: 4;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-header {
        margin-bottom: 15px;
    }
    
    .testimonial-stats {
        margin-top: 15px;
    }
    
    .testimonial-footer {
        margin-top: 15px;
    }
    
    .summary-stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .summary-number {
        font-size: 1.6rem;
    }
    
    .summary-label {
        font-size: 0.85rem;
    }
}