/* GreenPay Finance - Корпоративные стили */

:root {
    --primary-green: #00a651;
    --secondary-green: #008f45;
    --accent-green: #00d46a;
    --dark-gray: #2c3e50;
    --medium-gray: #34495e;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Общие стили */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Улучшенные стили для контента */
.site-content {
    background: var(--white);
}

.ast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Стили для основного контента */
.entry-content {
    line-height: 1.8;
    color: var(--text-dark);
    position: relative;
}

.entry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2rem;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
    opacity: 0.3;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    position: relative;
}

.entry-content h1 {
    color: var(--primary-green);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.entry-content h2 {
    color: var(--dark-gray);
    font-size: 2rem;
    border-left: 4px solid var(--primary-green);
    padding-left: 1rem;
}

.entry-content h3 {
    color: var(--medium-gray);
    font-size: 1.6rem;
    position: relative;
}

.entry-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 1px;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1rem;
}

.entry-content ul li::before {
    content: '▶';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.entry-content ol {
    counter-reset: item;
}

.entry-content ol li {
    counter-increment: item;
    padding-left: 2rem;
}

.entry-content ol li::before {
    content: counter(item);
    color: var(--white);
    background: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: -2rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-green);
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: var(--medium-gray);
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.05), rgba(0, 212, 106, 0.05));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.entry-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(0, 166, 81, 0.2);
    font-family: serif;
}

.entry-content strong {
    color: var(--dark-gray);
    font-weight: 600;
    background: linear-gradient(120deg, rgba(0, 166, 81, 0.1), rgba(0, 212, 106, 0.1));
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.entry-content a {
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0;
}

.entry-content a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    transition: width 0.3s ease;
}

.entry-content a:hover::before {
    width: 100%;
}

.entry-content a:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

h2 {
    font-size: 2rem;
    color: var(--dark-gray);
}

h3 {
    font-size: 1.5rem;
    color: var(--medium-gray);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn::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.6s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-green);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 18px 36px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.3);
    border: none;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.4);
}

/* Header */
.custom-header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-top {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info span {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.contact-info span:hover {
    opacity: 1;
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 1;
    color: var(--accent-green);
    background: rgba(0, 212, 106, 0.2);
    transform: translateY(-2px);
}

/* Навигация */
.main-navigation {
    background: var(--white);
    padding: 1.2rem 0;
    border-bottom: none;
    position: relative;
}

.main-navigation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    transition: width 0.3s ease;
}

.main-navigation:hover::after {
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

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

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    color: var(--primary-green);
    background: rgba(0, 166, 81, 0.05);
    transform: translateY(-2px);
}

/* Dropdown меню */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    list-style: none;
    padding: 1.5rem 0;
    margin: 0;
    border: 1px solid rgba(0, 166, 81, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
    transition: all 0.3s ease;
    background: transparent;
    transform: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(0, 166, 81, 0.05), rgba(0, 212, 106, 0.05));
    color: var(--primary-green);
    padding-left: 2.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* Hero секция */
.hero-section {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,166,81,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero-content h2 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Секции */
.features-section,
.services-preview,
.cta-section {
    padding: 4rem 0;
}

.features-section {
    background-color: var(--light-gray);
}

.services-preview {
    background-color: var(--white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    text-align: center;
}

/* Сетки */
.features-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item,
.service-item,
.service-preview {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 166, 81, 0.1);
}

.feature-item::before,
.service-item::before,
.service-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::before,
.service-item:hover::before,
.service-preview:hover::before {
    transform: scaleX(1);
}

.feature-item:hover,
.service-item:hover,
.service-preview:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 166, 81, 0.15);
    border-color: rgba(0, 166, 81, 0.3);
}

.feature-item h3,
.service-item h3,
.service-preview h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
}

.feature-item h3::after,
.service-item h3::after,
.service-preview h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-item:hover h3::after,
.service-item:hover h3::after,
.service-preview:hover h3::after {
    width: 50px;
}

/* Карточки услуг */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 166, 81, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green), var(--primary-green));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 166, 81, 0.2);
    border-color: rgba(0, 166, 81, 0.3);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
}

.service-card li:hover {
    background: rgba(0, 166, 81, 0.02);
    padding-left: 3rem;
}

.service-card li::before {
    content: '✓';
    color: var(--white);
    background: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-card li:hover::before {
    background: var(--accent-green);
    transform: scale(1.2);
}

/* Контактная информация */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Форма */
.contact-form-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* Стили для Contact Form 7 */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 166, 81, 0.1);
    position: relative;
    overflow: hidden;
}

.wpcf7-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.wpcf7-form p {
    margin-bottom: 2rem;
    position: relative;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
    position: relative;
}

.wpcf7-form label::after {
    content: ' *';
    color: var(--primary-green);
    font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.wpcf7-form input[type="text"]::before,
.wpcf7-form input[type="email"]::before,
.wpcf7-form input[type="tel"]::before,
.wpcf7-form textarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.05), transparent);
    transition: left 0.6s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.15);
    transform: translateY(-2px);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.wpcf7-form input[type="submit"]::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.6s ease;
}

.wpcf7-form input[type="submit"]:hover::before {
    left: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.4);
}

.wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: none;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-left: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.feature-item:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.service-item,
.service-preview {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 1s ease-out;
}

/* Hover эффекты для интерактивности */
.feature-item:hover,
.service-item:hover,
.service-preview:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Плавающие элементы */
.logo h1 {
    animation: float 3s ease-in-out infinite;
}

/* Анимация для кнопок */
.btn:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Дополнительные элементы */
.stats-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Footer */
.custom-footer {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    color: var(--white);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,166,81,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.footer-main {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.4);
    border-color: var(--primary-green);
}

.footer-bottom {
    padding: 1.5rem 0;
    background: var(--medium-gray);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin: 0;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}
