/* ============================================
   MAIN LAYOUT
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1f232b;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(120deg, #1b1632 0%, #111827 45%, #0c2236 100%);
    padding: 24px 28px;
    margin: 16px auto 24px;
    max-width: 1400px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    min-height: 160px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 35%, rgba(92,124,250,0.22) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-right .btn-our-services {
    align-self: flex-start;
}

.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-right {
    flex-shrink: 0;
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #c7d2fe;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 86px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.btn-our-services {
    background: rgba(92,124,250,0.18);
    color: #c7d2fe;
    border: 1px solid rgba(92,124,250,0.4);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-our-services:hover {
    background: rgba(92,124,250,0.28);
    border-color: rgba(92,124,250,0.7);
}

/* ============================================
   MAIN CONTAINER WITH SIDEBAR
   ============================================ */

.main-container {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    width: 210px;
    flex-shrink: 0;
    background: #131722;
    border-radius: 12px;
    padding: 24px 0;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7a94;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 16px;
    margin-bottom: 8px;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #a8b3cf;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-left: 3px solid #5c7cfa;
}

.bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5c7cfa;
    flex-shrink: 0;
}

.bullet.hot {
    background: #ff4757;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
}

/* ============================================
   CONTENT AREA
   ============================================ */

.content-area {
    flex: 1;
    min-width: 0;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-container {
    margin-bottom: 36px;
    background: #111318;
    border-radius: 14px;
    padding: 18px 18px 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0;
}

.see-all-link,
.view-more-link {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.see-all-link:hover,
.view-more-link:hover {
    color: #bfdbfe;
}

/* ============================================
   GRIDS
   ============================================ */

.offers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.12);
}

.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4757;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 14px 14px 16px;
}

.card-category {
    font-size: 10px;
    font-weight: 700;
    color: #7c8aa5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 8px;
}

.card-title {
    font-size: 13px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-list {
    list-style: none;
    margin-bottom: 16px;
}

.feature-list li {
    font-size: 11px;
    color: #9aa7bd;
    margin-bottom: 3px;
    padding-left: 12px;
    position: relative;
    line-height: 1.5;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #5c7cfa;
    font-weight: bold;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.currency {
    font-size: 11px;
    font-weight: 600;
    color: #8b98b3;
}

.btn-buy {
    background: #5c7cfa;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-buy:hover {
    background: #4c6ef5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(92, 124, 250, 0.4);
}

/* ============================================
   VIEW MORE LARGE CARD
   ============================================ */

.view-more-large {
    background: linear-gradient(135deg, #5850ec 0%, #6d28d9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.view-more-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.view-more-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(92, 124, 250, 0.35);
}

.view-more-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.view-more-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.view-more-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.btn-arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .menu-item {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 20px;
    }
}
