/* Hero Section */
.home .hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(to bottom, var(--primary-light) 0%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home .hero .container {
    position: relative;
    z-index: 1;
}

.home .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.home .hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
}

.home .hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.home .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
}

/* Декоративные элементы для hero */
.home .hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.home .hero-decoration.circle-1 {
    top: 15%;
    left: 5%;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    animation: rotate 35s linear infinite;
}

.home .hero-decoration.circle-2 {
    top: 50%;
    right: 10%;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(26, 26, 46, 0.08);
    border-radius: 50%;
    animation: rotate 28s linear infinite reverse;
}

.home .hero-decoration.triangle-1 {
    bottom: 30%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 107, 53, 0.08);
    animation: float 18s ease-in-out infinite;
}

.home .hero-decoration.triangle-2 {
    top: 20%;
    right: 25%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(26, 26, 46, 0.06);
    animation: float 22s ease-in-out infinite reverse;
}

/* Features Section */
.home .features {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.home .features .container {
    position: relative;
    z-index: 1;
}

.home .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark);
    position: relative;
}

.home .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.home .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.home .feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.home .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.home .feature-card:hover::before {
    opacity: 1;
}

.home .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.home .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.home .feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Pricing Section */
.home .pricing {
    padding: 6rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.home .pricing .container {
    position: relative;
    z-index: 1;
}

.home .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.home .pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.home .pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.home .pricing-card:hover::before {
    opacity: 1;
}

.home .pricing-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.02);
    overflow: visible;
    transition: all 0.3s ease;
}

.home .pricing-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent), var(--accent-light), var(--accent));
    border-radius: var(--rounded-md);
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

/* Новая анимация при наведении */
.home .pricing-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--accent-light);
}

.home .pricing-card.featured:hover::after {
    opacity: 0.2;
}

/* Убираем старый проблемный псевдоэлемент */
.home .pricing-card.featured::before {
    display: none;
}

/* Создаем новый элемент для лейбла "Рекомендуем" */
.home .pricing-card.featured .recommended-label {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: var(--rounded-sm);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.home .pricing-card.featured:hover .recommended-label {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.2);
}

.home .pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.home .pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--accent);
}

.home .pricing-features {
    margin: 2rem 0;
}

.home .pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home .pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.home .pricing-cta {
    margin-top: 2rem;
}


/* Contact Section Styles */
.contact-section {
    background-color: var(--secondary);
    padding: 5rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-card.highlight {
    border: 2px solid var(--accent);
    position: relative;
}

.benefit-card.highlight::before {
    content: 'Популярно';
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-features {
    list-style: none;
    padding-left: 0;
}

.benefit-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.benefit-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem;
    }
}

/* Убираем старые декоративные элементы */
.home .hero-decoration {
    display: none !important;
}