/* Базовые стили для SEO текста */
.seo-text {
    line-height: 1.6;
    color: #1f2937;
    font-size: 16px;
    font-weight: 400;
}

.seo-text p {
    margin-bottom: 15px;
    color: #374151;
}

.seo-text strong {
    color: #111827;
    font-weight: 600;
}

.seo-text em {
    color: #6b7280;
    font-style: italic;
}

/* Контекстные стили для SEO текста */
.hero .seo-text {
    color: #ffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

footer .seo-text,
footer .seo-text p {
    color: #e5e7eb;
}

footer .seo-text strong {
    color: #ffff;
}

/* SEO контент секции */
.seo-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seo-content article {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out;
}

.seo-content h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content h3 {
    color: #374151;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
    border-left: 4px solid #d97706;
    padding-left: 15px;
}

.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-content ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #374151;
}

.seo-content ul li:before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 8px;
}

/* Карточки функций */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #d97706;
    margin-bottom: 15px;
}

/* Навигационные элементы */
.breadcrumbs {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #d97706;
}

/* Секция преимуществ */
.category-benefits {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 20px;
    margin: 40px 0;
    border-radius: 15px;
    text-align: center;
}

/* Карточки товаров */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.product-description {
    color: #6b7280;
    line-height: 1.5;
    margin: 10px 0;
}

/* Модальное окно */
.modal {
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 30px;
}

.product-detail-title {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-detail-description {
    line-height: 1.7;
    color: #374151;
    white-space: pre-line;
    word-wrap: break-word;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d97706;
}

.product-detail-description p {
    margin-bottom: 12px;
}

/* Видео в модальном окне */
.product-video {
    width: 100%;
    display: block;
}

.product-video video {
    width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.product-video p {
    margin: 0;
    padding: 10px 0;
}

/* Кнопки */
.buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.buy-button.share {
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-button.share:hover {
    background: linear-gradient(45deg, #1e40af, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Кнопка "Показать еще" */
.load-more-section {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn.loading {
    pointer-events: none;
}

/* Уведомления */
.share-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

.share-notification.show {
    transform: translateX(0);
}

.share-notification i {
    font-size: 18px;
}

/* Стили для hero секции */
.hero-content h1,
.hero-content h2,
.hero-content p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.highlight-text {
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: none;
}

/* Новые стили для секций из презентации */
.mission-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.mission-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 15px;
}

.how-it-works {
    background: white;
    padding: 60px 20px;
    margin: 40px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: #10b981;
    margin: 15px 0;
}

.savings-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
}

.comparison-table {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
    border-bottom: none;
}

.price-old {
    text-decoration: line-through;
    color: #ef4444;
    font-size: 1.2rem;
}

.price-new {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: bold;
}

.discount-badge {
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive дизайн */
@media (max-width: 768px) {
    .seo-content {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    .seo-content article {
        padding: 20px;
    }
    
    .seo-content h2 {
        font-size: 1.6rem;
    }
    
    .seo-text {
        font-size: 15px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* Простые стили для формы подписки */
.newsletter {
background: linear-gradient(90deg, rgba(99,102,241,0.08), rgba(245,158,11,0.03));
border-radius: 12px;
padding: 24px;
margin: 30px auto;
max-width: 900px;
display: flex;
gap: 16px;
align-items: center;
}
.newsletter .left { flex: 1; }
.newsletter .form { flex: 1; display:flex; gap:8px; align-items:center; }
.newsletter input[type="email"] { padding:12px 14px; border-radius:8px; border:1px solid #e5e7eb; flex:1; }
.newsletter button { padding:12px 16px; border-radius:8px; background:linear-gradient(90deg,#667eea,#764ba2); color:white; border:none; cursor:pointer; }
.newsletter .msg { width:100%; margin-top:8px; font-size:14px; }

</style>

<style>
.search-container {
position: relative;
z-index: 10;
display: flex;
gap: 10px;
max-width: 500px;
margin: 20px auto;
}
#searchInput {
flex: 1;
padding: 20px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 16px;
}
#searchBtn {
padding: 20px 18px;
border: none;
background: #007bff;
color: white;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
}
#searchBtn:hover { background: #0056b3; }
.autocomplete-box {
position: absolute;
background: white;
border: 1px solid #ccc;
border-radius: 6px;
width: calc(100% - 0px);
margin-top: 60px;
z-index: 20;
max-height: 250px;
overflow-y: auto;
}
.autocomplete-item {
padding: 8px 12px;
cursor: pointer;
}
.autocomplete-item:hover {
background: #f0f0f0;
}