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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.benefit-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 20px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,107,107,0.3);
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: #f8f9fa;
}

.problem h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

/* Solution Section */
.solution {
    padding: 80px 0;
}

.solution h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.chat-demo {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
}

.chat-message {
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    position: relative;
}

.chat-message.bot {
    background: #667eea;
    color: white;
    margin-left: 20px;
}

.chat-message.user {
    background: #e9ecef;
    margin-right: 20px;
}

/* Types Section */
.types {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.type-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-10px);
}

.type-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Benefits Section */
.detailed-benefits {
    padding: 80px 0;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-item-icon {
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Process Section */
.process {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.process-step {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.step-number {
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

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

.price-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover, .price-card.popular {
    border-color: #667eea;
    transform: translateY(-10px);
}

.price-card.popular::before {
    content: 'ПОПУЛЯРНЫЙ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    margin: 20px 0;
}

.price-features {
    list-style: none;
    margin: 30px 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-features li:before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    padding: 20px;
    display: none;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.guarantee {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    .hero p { font-size: 1.1rem; }
    .solution-grid { grid-template-columns: 1fr; }
    .container { padding: 0 15px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
    .chat-demo { max-width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { margin-bottom: 20px; }
}

/* Кнопка Telegram */
.contact-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.telegram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6A6F;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 106, 111, 0.3);
}

.telegram-button:hover {
    background-color: #ff5157;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 106, 111, 0.4);
}

.telegram-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.telegram-icon svg {
    width: 22px;
    height: 22px;
}

/* Additional Styles for Animations */
.benefit-card, .stat-card, .type-card, .process-step {
    transition: all 0.3s ease;
}

.benefit-card:hover, .stat-card:hover, .type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

/* Loading animation for form submission */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Success animation */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-message {
    animation: slideDown 0.5s ease-out;
}

/* Анимация для кнопки Telegram */
@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.telegram-button {
    animation: buttonFadeIn 0.5s ease forwards;
}

/* Адаптация кнопки для мобильных устройств */
@media (max-width: 480px) {
    .telegram-button {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
    }
    
    .telegram-icon {
        width: 32px;
        height: 32px;
    }
    
    .telegram-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Стили для секции с отзывами клиентов */
.testimonials-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: bold;
}

.testimonial-card {
    background: white;
    border-radius:
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.client-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.client-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.task-description, .solution-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-card .stats-grid {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.testimonial-card .stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    margin-bottom: 20px;
}

.testimonial-card .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.testimonial-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.client-quote {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    position: relative;
    margin-top: 30px;
}

.client-quote:before {
    content: '"';
    font-size: 3rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.2;
}

.quote-author {
    font-weight: bold;
    font-style: normal;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-card .stats-grid {
        flex-direction: column;
    }
    
    .client-name {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .cta-button, form {
        display: none !important;
    }
    
    .hero {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000 !important;
        color: #fff !important;
    }
    
    .cta-button {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
