@font-face { 
    font-family: 'MontserratRegular'; 
    src: url('../fonts/montserrat/Montserrat-Regular.eot'); 
    src: local('Montserrat Regular'), local('Montserrat-Regular'), url('../fonts/montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat/Montserrat-Regular.woff') format('woff'), url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal; 
}

:root {
    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-primary-bg: #f8f7ff;
    --color-primary-border: #e5e0ff;
    --color-text-main: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg-main: #ffffff;
    --color-bg-secondary: #f9fafb;
    --color-bg-tertiary: #f3f4f6;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    
    --font-base: clamp(14px, 1.5vw, 16px);
    --font-sm: clamp(13px, 1.2vw, 14px);
    --space-sm: clamp(8px, 1vw, 12px);
    --space-md: clamp(14px, 2vw, 24px);
    --header-padding: clamp(14px, 2vw, 24px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    user-select: auto !important;
    -webkit-user-select: auto !important;
    pointer-events: auto !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-bg-secondary);
    padding: var(--space-md);
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--color-text-main);
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.section_title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 40px;
}

/* =========================================
   HEADER
   ========================================= */
.header_container {
    position: relative;
    z-index: 100;
}

.header {
    background-color: var(--color-bg-main);
    padding: var(--space-sm) var(--header-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-wrap: nowrap;
    gap: 8px;
}

.nav_left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    padding: 4px;
    cursor: pointer;
}

.logo img {
    height: clamp(28px, 4vw, 40px);
    width: auto;
    object-fit: contain;
}

.menu_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    min-height: 44px;
    flex-shrink: 0;
}

.menu_btn:hover, .menu_btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.menu_btn svg {
    width: 18px;
    height: 18px;
}

.nav_menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav_menu li {
    margin: 0;
    position: relative;
}

.nav_menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--color-text-secondary);
    font-size: var(--font-base);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
}

.nav_menu > li > a:hover {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-main);
}

.nav_menu > li > a svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.nav_menu .has_dropdown > a {
    gap: 6px;
}

.nav_menu .has_dropdown > a .arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.nav_menu .has_dropdown:hover > a .arrow,
.nav_menu .has_dropdown.is-open > a .arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--color-bg-main);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 20px;
    min-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 100;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.dropdown::-webkit-scrollbar { width: 6px; }
.dropdown::-webkit-scrollbar-track { background: var(--color-bg-tertiary); border-radius: 3px; }
.dropdown::-webkit-scrollbar-thumb { background: var(--color-text-muted); border-radius: 3px; }

.nav_menu .has_dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown_section_title {
    display: block;
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--color-text-main);
    padding: 8px 10px;
    margin-bottom: 4px;
    text-decoration: none;
    border-radius: 8px;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.2s;
}

.dropdown_section_title:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-secondary);
}

.dropdown_section a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: var(--color-text-secondary);
    font-size: var(--font-sm);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown_section a:hover {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-main);
}

.dropdown_section a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-border);
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.dropdown_section a:hover::before {
    background-color: var(--color-primary);
}

.submenu_item {
    position: relative;
}

.submenu_item > a .arrow_right {
    width: 12px;
    height: 12px;
    color: var(--color-text-muted);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.submenu_item:hover > a .arrow_right {
    transform: translateX(3px);
    color: var(--color-primary);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
    border-left: 2px solid var(--color-border);
    margin-left: 18px;
    margin-top: 4px;
}

.submenu_item:hover .submenu {
    max-height: 250px;
    overflow-y: auto;
}

.submenu::-webkit-scrollbar { width: 4px; }
.submenu::-webkit-scrollbar-track { background: var(--color-bg-tertiary); border-radius: 2px; }
.submenu::-webkit-scrollbar-thumb { background: var(--color-text-muted); border-radius: 2px; }

.submenu a {
    padding: 6px 10px;
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
}

.submenu a::before {
    width: 4px;
    height: 4px;
    background-color: var(--color-border);
}

.submenu a:hover {
    color: var(--color-primary);
}

.submenu a:hover::before {
    background-color: var(--color-primary);
}

.nav_right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    margin-left: auto;
}

.business_link {
    color: var(--color-text-secondary);
    font-size: var(--font-base);
    text-decoration: none;
    padding: 10px 12px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.business_link:hover {
    color: var(--color-text-main);
}

.login_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    min-height: 44px;
    flex-shrink: 0;
}

.login_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.login_btn svg {
    width: 18px;
    height: 18px;
}

.search_icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.2s;
    border-radius: 8px;
    flex-shrink: 0;
}

.search_icon:hover {
    color: var(--color-text-main);
    background-color: var(--color-bg-tertiary);
}

.search_icon svg {
    width: 22px;
    height: 22px;
}

.divider {
    width: 1px;
    height: 24px;
    background-color: var(--color-border);
    margin: 0 4px;
    flex-shrink: 0;
}

.mobile_menu_toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mobile_menu_toggle:hover {
    background-color: var(--color-bg-tertiary);
}

.mobile_menu_toggle svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-main);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero_section {
    background-color: var(--color-bg-main);
    padding: 40px 0;
    margin-bottom: 40px;
}

.hero_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero_left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero_badge {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-main);
    font-weight: 500;
}

.hero_title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin: 0;
}

.search_box {
    display: flex;
    gap: 12px;
    background: var(--color-primary-bg);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.search_input_wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.search_icon_input {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.search_input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--color-text-main);
    outline: none;
    padding: 16px 0;
}

.search_input::placeholder {
    color: var(--color-text-muted);
}

.search_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.search_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.search_btn svg {
    width: 20px;
    height: 20px;
}

.hero_description {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.stats_block {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.stat_item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat_icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat_icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.stat_content {
    display: flex;
    flex-direction: column;
}

.stat_number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
}

.stat_label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.hero_right {
    position: relative;
}

.hero_image_wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.hero_image {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories_section {
    padding: 60px 0;
    background-color: var(--color-bg-secondary);
}

.categories_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}

.category_card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category_card:nth-child(19n + 1) { background: linear-gradient(135deg, #9b7fd4 0%, #b39ddb 100%); grid-row: span 2; }
.category_card:nth-child(19n + 2) { background: linear-gradient(135deg, #c94f6d 0%, #e57373 100%); }
.category_card:nth-child(19n + 3) { background: linear-gradient(135deg, #f0e6e6 0%, #f5f0f0 100%); }
.category_card:nth-child(19n + 4) { background: linear-gradient(135deg, #e8878a 0%, #ef9a9a 100%); }
.category_card:nth-child(19n + 5) { background: linear-gradient(135deg, #a8d46a 0%, #c5e1a5 100%); }
.category_card:nth-child(19n + 6) { background: linear-gradient(135deg, #b8d47a 0%, #d4e8a0 100%); }
.category_card:nth-child(19n + 7) { background: linear-gradient(135deg, #f4a0d4 0%, #f8bbd0 100%); grid-column: span 2; }
.category_card:nth-child(19n + 8) { background: linear-gradient(135deg, #7a9ba8 0%, #90a4ae 100%); }
.category_card:nth-child(19n + 9) { background: linear-gradient(135deg, #7a9a6a 0%, #8fa87a 100%); grid-column: span 2; }
.category_card:nth-child(19n + 10) { background: linear-gradient(135deg, #b39db8 0%, #c9a8cc 100%); }
.category_card:nth-child(19n + 11) { background: linear-gradient(135deg, #7a9ef0 0%, #90a8f5 100%); }
.category_card:nth-child(19n + 12) { background: linear-gradient(135deg, #7ad4f0 0%, #90e0f5 100%); }
.category_card:nth-child(19n + 13) { background: linear-gradient(135deg, #d4b46a 0%, #e0c480 100%); }
.category_card:nth-child(19n + 14) { background: linear-gradient(135deg, #b8a86a 0%, #c8b880 100%); }
.category_card:nth-child(19n + 15) { background: linear-gradient(135deg, #6ae07a 0%, #80f090 100%); grid-row: span 2; }
.category_card:nth-child(19n + 16) { background: linear-gradient(135deg, #b87aa8 0%, #c890b8 100%); grid-column: span 2; }
.category_card:nth-child(19n + 17) { background: linear-gradient(135deg, #a8c4a0 0%, #b8d4b0 100%); grid-column: span 2; }
.category_card:nth-child(19n + 18) { background: linear-gradient(135deg, #d46ae0 0%, #e080f0 100%); }
.category_card:nth-child(19n + 19) { background: linear-gradient(135deg, #7ab880 0%, #90c898 100%); }

.category_content {
    position: relative;
    z-index: 2;
}

.category_name {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.category_card:nth-child(19n + 3) .category_name {
    color: var(--color-text-main);
}

.category_stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat_badge {
    display: inline-block;
    background: white;
    color: var(--color-text-main);
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.stat_text {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.category_card:nth-child(19n + 3) .stat_text {
    color: var(--color-text-main);
}

.category_image {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    opacity: 0.85;
}

.category_image svg {
    width: 100%;
    height: 100%;
}

.promo_btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-text-main);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.promo_btn:hover {
    background: var(--color-primary);
    transform: scale(1.05);
}

.promo_btn svg {
    transition: transform 0.3s ease;
}

.promo_btn:hover svg {
    transform: translateX(4px);
}

/* =========================================
   NEWS SECTION
   ========================================= */
.news_section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.news_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}

.news_card {
    background: var(--color-bg-main);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.news_card:nth-child(13n + 1) { grid-column: span 2; grid-row: span 2; }
.news_card:nth-child(13n + 2) { grid-column: span 2; }
.news_card:nth-child(13n + 3), .news_card:nth-child(13n + 4), .news_card:nth-child(13n + 5), .news_card:nth-child(13n + 6), .news_card:nth-child(13n + 7), .news_card:nth-child(13n + 9), .news_card:nth-child(13n + 10), .news_card:nth-child(13n + 11), .news_card:nth-child(13n + 12), .news_card:nth-child(13n + 13) { grid-column: span 1; }
.news_card:nth-child(13n + 8) { grid-column: span 2; grid-row: span 2; }

.news_image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 180px;
    flex-shrink: 0;
}

.news_card:nth-child(13n + 1) .news_image, .news_card:nth-child(13n + 8) .news_image {
    height: 280px;
}

.news_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_card:hover .news_image img {
    transform: scale(1.05);
}

.news_content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news_card:nth-child(13n + 1) .news_content, .news_card:nth-child(13n + 8) .news_content {
    padding: 24px;
}

.news_title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.4;
    margin: 0;
}

.news_card:nth-child(13n + 1) .news_title, .news_card:nth-child(13n + 8) .news_title {
    font-size: 22px;
    font-weight: 700;
}

.news_excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news_meta {
    margin-top: auto;
}

.news_date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.news_date svg {
    flex-shrink: 0;
}

.news_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-bg-tertiary);
    color: #3b82f6;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.tag:hover {
    background: #3b82f6;
    color: white;
}

/* =========================================
   CARDS SECTION
   ========================================= */
.cards_section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.cards_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.card_item {
    background: var(--color-bg-main);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card_image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

.card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card_item:hover .card_image img {
    transform: scale(1.05);
}

.card_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #84cc16;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card_content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.card_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card_tag {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}

.card_tag:hover {
    color: #1d4ed8;
}

.card_title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.4;
    margin: 0;
}

.card_date {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: auto;
}

/* =========================================
   AI SECTION
   ========================================= */
.ai_section {
    padding: 60px 0;
    background-color: var(--color-bg-secondary);
}

.ai_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai_card {
    background: var(--color-bg-main);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.ai_header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai_logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai_card:nth-child(6n + 1) .ai_logo { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.ai_card:nth-child(6n + 2) .ai_logo { background: linear-gradient(135deg, #1f2937 0%, #374151 100%); }
.ai_card:nth-child(6n + 3) .ai_logo { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); }
.ai_card:nth-child(6n + 4) .ai_logo { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); }
.ai_card:nth-child(6n + 5) .ai_logo { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.ai_card:nth-child(6n + 6) .ai_logo { background: linear-gradient(135deg, #374151 0%, #4b5563 100%); }

.ai_title_block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai_name {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.2;
}

.ai_translit {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.ai_description {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai_tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.ai_tag:hover {
    background: var(--color-border);
}

.ai_tag.ai_tag_accent {
    background: #f0fdf4;
    color: var(--color-success);
    border: 1px solid #bbf7d0;
}

.ai_tag.ai_tag_accent:hover {
    background: #dcfce7;
}

.ai_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.ai_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    min-height: 44px;
}

.ai_btn_outline {
    background: var(--color-bg-main);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.ai_btn_outline:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-text-muted);
}

.ai_btn_primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
}

.ai_btn_primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* =========================================
   PRODUCT SECTION
   ========================================= */
.product_section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.product_breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumb_link {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb_link:hover {
    color: var(--color-primary);
}

.breadcrumb_separator {
    color: var(--color-text-muted);
}

.breadcrumb_current {
    color: var(--color-text-main);
    font-weight: 600;
}

.product_content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.product_left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.product_header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product_icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.product_title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.1;
}

.product_description {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.product_social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social_label {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
}

.social_icons {
    display: flex;
    gap: 8px;
}

.social_icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.social_icon:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.social_x:hover { background: #000; }
.social_linkedin:hover { background: #0077b5; }
.social_youtube:hover { background: #ff0000; }
.social_reddit:hover { background: #ff4500; }
.social_github:hover { background: #333; }
.social_discord:hover { background: #5865f2; }

.product_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product_tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--color-primary-border);
    transition: all 0.2s;
}

.product_tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.product_actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 48px;
}

.product_btn_primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 16px;
    flex: 1;
}

.product_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.product_center {
    position: sticky;
    top: 20px;
}

.product_preview {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.preview_image {
    width: 100%;
    height: auto;
    display: block;
}

.product_right {
    position: sticky;
    top: 20px;
}

.product_specs {
    background: var(--color-bg-main);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.spec_item {
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec_label {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec_value {
    font-size: 15px;
    color: var(--color-text-main);
    font-weight: 500;
    line-height: 1.4;
}

.spec_link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary-border);
    transition: all 0.2s;
    display: inline-block;
    width: fit-content;
}

.spec_link:hover {
    color: #6d28d9;
    border-color: var(--color-primary);
}

/* =========================================
   ARTICLE SECTION
   ========================================= */
.article_section {
    padding: 60px 0;
    background-color: var(--color-bg-secondary);
}

.article_content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article_description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article_subtitle {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.article_text {
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.article_pros_cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pros_cons_block {
    background: var(--color-bg-main);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pros_cons_block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pros_block {
    border-top: 4px solid var(--color-success);
}

.cons_block {
    border-top: 4px solid var(--color-error);
}

.pros_cons_header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.pros_cons_icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pros_icon {
    background: #d1fae5;
    color: var(--color-success);
}

.cons_icon {
    background: #fee2e2;
    color: var(--color-error);
}

.pros_cons_title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.pros_cons_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pros_cons_item {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}

.pros_block .pros_cons_item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success);
}

.cons_block .pros_cons_item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-error);
}

.article_cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 56px;
}

.article_cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}

.article_cta svg {
    transition: transform 0.3s ease;
}

.article_cta:hover svg {
    transform: translate(3px, -3px);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq_section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.faq_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq_item {
    background: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq_item:hover {
    border-color: var(--color-text-muted);
}

.faq_item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
}

.faq_question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600;
    color: var(--color-text-main);
    transition: color 0.2s;
}

.faq_question:hover {
    color: var(--color-primary);
}

.faq_icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.2s;
}

.faq_item.active .faq_icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq_item.active .faq_answer {
    max-height: 300px;
}

.faq_answer p {
    padding: 0 24px 22px;
    margin: 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.footer_section {
    background-color: var(--color-bg-main);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer_container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer_top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer_left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer_logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-main);
}

.footer_logo svg {
    width: 32px;
    height: 32px;
}

.footer_logo_text {
    font-size: 22px;
    font-weight: 700;
}

.footer_quote {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-main);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
}

.footer_author {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer_links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer_column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer_column_title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer_link {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    line-height: 1.4;
}

.footer_link:hover {
    color: var(--color-primary);
}

.footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer_bottom_left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer_copyright {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer_cookies {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer_cookies:hover {
    color: var(--color-primary);
}

.footer_login_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 44px;
}

.footer_login_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.footer_login_btn svg {
    flex-shrink: 0;
}

/* =========================================
   MEDIA QUERIES (Сгруппированы логически)
   ========================================= */

@media (max-width: 1200px) {
    .dropdown { min-width: 700px; }
    .categories_grid { grid-template-columns: repeat(4, 1fr); }
    .category_card:nth-child(19n + 1), .category_card:nth-child(19n + 15) { grid-row: span 1; }
    .category_card:nth-child(19n + 7), .category_card:nth-child(19n + 9), .category_card:nth-child(19n + 16), .category_card:nth-child(19n + 17) { grid-column: span 1; }
    .news_grid { grid-template-columns: repeat(4, 1fr); }
    .news_card:nth-child(13n + 1), .news_card:nth-child(13n + 8) { grid-column: span 2; grid-row: span 1; }
    .news_card:nth-child(13n + 1) .news_image, .news_card:nth-child(13n + 8) .news_image { height: 220px; }
    .cards_grid { grid-template-columns: repeat(3, 1fr); }
    .ai_grid { grid-template-columns: repeat(2, 1fr); }
    .product_content { grid-template-columns: 1fr 1fr; gap: 24px; }
    .product_right { grid-column: 1 / -1; }
    .footer_top { grid-template-columns: 1fr; gap: 40px; }
    .footer_links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .mobile_menu_toggle { display: flex; }
    .menu_btn span { display: none; }
    .menu_btn { padding: 10px; border-radius: 50%; }
    .business_link, .divider { display: none; }
    .login_btn span { display: none; }
    .login_btn { padding: 10px; border-radius: 50%; }
    .nav_menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; width: 100%; background: var(--color-bg-main); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); flex-direction: column; align-items: stretch; padding: 16px; gap: 0; border-radius: 12px; z-index: 90; }
    .nav_menu.is-open { display: flex; }
    .nav_menu > li > a { padding: 14px 16px; font-size: 16px; border-radius: 8px; }
    .nav_menu .has_dropdown:hover .dropdown { opacity: 0; visibility: hidden; transform: translateY(-10px); }
    .nav_menu .has_dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid var(--color-border); border-radius: 8px; padding: 12px; min-width: 100%; max-width: 100%; grid-template-columns: 1fr; display: none; margin-top: 8px; max-height: none; }
    .nav_menu .has_dropdown.is-open .dropdown { display: grid; }
    .dropdown_section_title { font-size: 15px; }
    .submenu { margin-left: 10px; padding-left: 12px; }
    .submenu_item:hover .submenu { max-height: 0; overflow: hidden; }
    .submenu_item.is-open .submenu { max-height: 500px; overflow-y: auto; }
    .submenu_item > a .arrow_right { transition: transform 0.3s ease; }
    .submenu_item.is-open > a .arrow_right { transform: rotate(90deg); color: var(--color-primary); }
    .hero_content { grid-template-columns: 1fr; gap: 40px; }
    .hero_right { order: -1; }
    .hero_image_wrapper { max-width: 600px; margin: 0 auto; }
    .stats_block { flex-wrap: wrap; }
    .categories_grid { grid-template-columns: repeat(3, 1fr); }
    .news_grid { grid-template-columns: repeat(3, 1fr); }
    .news_card:nth-child(13n + 2) { grid-column: span 2; }
    .cards_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 576px) and (max-width: 991px) {
    .login_btn span { display: inline; }
    .login_btn { padding: 10px 18px; border-radius: 24px; }
    .business_link { display: flex; }
    .divider { display: block; }
}

@media (max-width: 768px) {
    .news_grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .news_card:nth-child(13n + 1), .news_card:nth-child(13n + 2), .news_card:nth-child(13n + 8) { grid-column: span 2; }
    .news_image { height: 140px; }
    .news_card:nth-child(13n + 1) .news_image, .news_card:nth-child(13n + 8) .news_image { height: 200px; }
    .news_card:nth-child(13n + 1) .news_title, .news_card:nth-child(13n + 8) .news_title { font-size: 18px; }
    .ai_section { padding: 40px 0; }
    .ai_grid { grid-template-columns: 1fr; gap: 20px; }
    .ai_card { padding: 24px; }
    .product_section { padding: 40px 0; }
    .product_content { grid-template-columns: 1fr; gap: 32px; }
    .product_center, .product_right { position: static; }
    .product_header { flex-direction: column; align-items: flex-start; }
    .product_actions { flex-wrap: wrap; }
    .product_btn_primary { flex: 1 1 100%; }
    .product_tags { gap: 8px; }
    .product_tag { font-size: 13px; padding: 6px 12px; }
    .spec_item { padding: 14px 18px; }
    .article_section { padding: 40px 0; }
    .article_pros_cons { grid-template-columns: 1fr; gap: 20px; }
    .pros_cons_block { padding: 24px; }
    .article_cta { font-size: 15px; padding: 16px 24px; }
    .faq_section { padding: 40px 0; }
    .faq_question { padding: 18px 20px; font-size: 15px; }
    .faq_answer p { padding: 0 20px 18px; font-size: 14px; }
    .footer_section { padding: 40px 0 24px; }
    .footer_links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer_bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
    .footer_bottom_left { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer_login_btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
    .search_box { flex-direction: column; }
    .search_btn { width: 100%; justify-content: center; }
    .stats_block { gap: 20px; }
    .stat_item { flex: 1; min-width: 120px; }
    .categories_section { padding: 40px 0; }
    .categories_grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 12px; }
    .category_card { padding: 18px; }
    .category_image { width: 80px; height: 80px; }
    .category_name { font-size: 16px; }
    .news_section { padding: 40px 0; }
    .news_grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .news_card:nth-child(13n + 1), .news_card:nth-child(13n + 2), .news_card:nth-child(13n + 8) { grid-column: span 1; }
    .news_image { height: 200px; }
    .news_card:nth-child(13n + 1) .news_image, .news_card:nth-child(13n + 8) .news_image { height: 250px; }
    .cards_section { padding: 40px 0; }
    .cards_grid { grid-template-columns: 1fr; gap: 20px; }
    .card_image { height: 220px; }
}

@media (max-width: 480px) {
    .header { padding: 8px 12px; gap: 4px; }
    .logo img { height: 28px; }
    .menu_btn, .login_btn { width: 40px; height: 40px; padding: 8px; }
    .mobile_menu_toggle { width: 40px; height: 40px; }
    .search_icon { width: 40px; height: 40px; }
    .ai_buttons { grid-template-columns: 1fr; }
    .pros_cons_header { gap: 10px; }
    .pros_cons_icon { width: 40px; height: 40px; }
    .pros_cons_title { font-size: 18px; }
    .pros_cons_item { font-size: 14px; }
    .faq_question { padding: 16px; gap: 12px; }
    .faq_answer p { padding: 0 16px 16px; }
    .footer_links { grid-template-columns: 1fr; }
}