/* Alternatives Page - Унікальний дизайн для альтернатив */

.alternatives-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    max-height: none;
    overflow: visible;
    min-height: auto;
}

/* Hero секція */
.alternatives-hero {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.alternatives-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.2;
}

.alternatives-hero-title .highlight {
    color: #00b894;
}

.alternatives-hero-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Статистичні блоки */
.alternatives-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.alternatives-stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alternatives-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00b894;
    margin-bottom: 0.5rem;
}

.alternatives-stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

/* Мовні перемикачі для альтернатив */
.alternatives-container .language-switcher {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0;
    gap: 0.5rem;
}

.alternatives-container .lang-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    background-color: transparent;
    color: var(--text-color, #000);
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.alternatives-container .lang-btn:hover {
    background-color: #e0e0e0;
}

.alternatives-container .lang-btn.active {
    background-color: #00b894;
    color: white;
    border-color: #00b894;
}

/* Секція переваг */
.alternatives-benefits {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alternatives-benefits-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #1a202c;
}

.alternatives-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.alternatives-benefit-card {
    display: flex;
    flex-direction: column;
}

.alternatives-benefit-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.alternatives-benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00b894;
    margin-bottom: 0.5rem;
}

.alternatives-benefit-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Сітка альтернатив - 2 колонки */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Вертикальна картка альтернативи */
.alternative-card {
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alternative-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 184, 148, 0.15);
    border-color: #00b894;
}

.alternative-card-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Заголовок картки */
.alternative-card-header {
    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alternative-card-label {
    font-size: 0.75rem;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Контент картки */
.alternative-card-content {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.alternative-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary, #1a202c);
    line-height: 1.3;
}

.alternative-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* Бейджі/теги */
.alternative-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.alternative-card-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Посилання "Learn More" */
.alternative-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.alternative-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00b894;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.alternative-card:hover .alternative-card-link {
    gap: 0.75rem;
}

.alternative-card-arrow {
    transition: transform 0.3s ease;
}

.alternative-card:hover .alternative-card-arrow {
    transform: translateX(4px);
}

/* CTA блоки для сторінки альтернативи */
.alternative-cta {
    background: linear-gradient(135deg, #00b894 0%, #00a67e 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.alternative-cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.alternative-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alternative-cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alternative-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f7fafc;
}

/* Виправлення для blog-post всередині alternatives */
.alternatives-container .blog-post {
    max-height: none;
    overflow: visible;
}

.alternatives-container .blog-post-content {
    max-height: none;
    overflow: visible;
}

/* CTA секція внизу */
.alternatives-bottom-cta {
    background: linear-gradient(135deg, #00b894 0%, #00a67e 100%);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.alternatives-bottom-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.alternatives-bottom-cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.alternatives-bottom-cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #00b894;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alternatives-bottom-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #00a67e;
}

/* Alternative Post Page Styles */
.alternative-post-page {
    background: #f9fafb;
}

.alternative-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.alternative-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00b894;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.alternative-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.alternative-hero-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.alternative-hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.alternative-meta-item {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Quick Answer Section */
.quick-answer {
    background: #f0f9ff;
    border-left: 4px solid #00b894;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.quick-answer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.quick-answer-text {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
}

/* Alternative Content */
.alternative-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.alternative-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.alternative-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.alternative-content p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.alternative-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.alternative-content li {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Feature Comparison Table */
.feature-comparison {
    margin-bottom: 3rem;
}

.feature-comparison-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    background: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.comparison-table .highlight-column {
    background: #f0fdf4;
    font-weight: 600;
    color: #00b894;
}

.comparison-table .check-mark {
    color: #00b894;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Choice Section */
.choice-section {
    margin-bottom: 3rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.choice-card {
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.choice-card-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #00b894;
}

.choice-card-gray {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
}

.choice-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

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

.choice-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.choice-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

/* CTA Bottom */
.alternative-cta-bottom {
    background: linear-gradient(135deg, #00b894 0%, #00a67e 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.alternative-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.alternative-cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.alternative-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #00b894;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alternative-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #00a67e;
}

/* Related Alternatives */
.related-alternatives {
    margin-bottom: 3rem;
}

.related-alternatives-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

.related-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-alt-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.related-alt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-alt-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.related-alt-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.related-alt-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00b894;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .alternative-card {
        background: var(--card-bg, #2d3748);
        border-color: #4a5568;
    }
    
    .alternative-card:hover {
        border-color: #667eea;
    }
    
    .alternative-card-title {
        color: var(--text-primary, #f7fafc);
    }
    
    .alternative-card-excerpt {
        color: var(--text-secondary, #cbd5e0);
    }
    
    .alternative-card-date {
        color: var(--text-secondary, #a0aec0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .alternatives-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .alternative-card-title {
        font-size: 1.3rem;
    }
    
    .alternative-cta-title {
        font-size: 1.6rem;
    }
    
    .alternative-cta-text {
        font-size: 1rem;
    }
    
    .alternatives-hero-title {
        font-size: 2rem;
    }
    
    .alternatives-hero-description {
        font-size: 1rem;
    }
    
    .alternatives-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .alternatives-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .alternatives-benefits-title {
        font-size: 1.6rem;
    }
    
    .alternatives-bottom-cta-title {
        font-size: 2rem;
    }
    
    .alternatives-bottom-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .alternative-card-title {
        font-size: 1.2rem;
    }
    
    .alternative-card-content {
        padding: 0 1rem 1rem;
    }
    
    .alternative-card-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .alternative-cta {
        padding: 2rem 1.5rem;
    }
    
    .alternative-cta-title {
        font-size: 1.4rem;
    }
    
    .alternatives-hero {
        padding: 2rem 1.5rem;
    }
    
    .alternatives-hero-title {
        font-size: 1.6rem;
    }
    
    .alternatives-hero-description {
        font-size: 0.95rem;
    }
    
    .alternatives-stat-value {
        font-size: 2rem;
    }
    
    .alternatives-benefits {
        padding: 2rem 1.5rem;
    }
    
    .alternatives-benefits-title {
        font-size: 1.4rem;
    }
    
    .alternatives-bottom-cta {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }
    
    .alternatives-bottom-cta-title {
        font-size: 1.6rem;
    }
    
    .alternatives-bottom-cta-text {
        font-size: 1rem;
    }
    
    .alternatives-bottom-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .alternative-hero {
        padding: 2rem 1.5rem;
    }
    
    .alternative-hero-title {
        font-size: 1.75rem;
    }
    
    .quick-answer {
        padding: 1.5rem;
    }
    
    .alternative-content {
        padding: 1.5rem;
    }
    
    .choice-card {
        padding: 1.5rem;
    }
    
    .feature-comparison-title,
    .faq-title,
    .related-alternatives-title {
        font-size: 1.5rem;
    }
    
    .alternative-cta-bottom {
        padding: 2rem 1.5rem;
    }
    
    .alternative-cta-title {
        font-size: 1.5rem;
    }
}
