/* ==========================================
   HOME PAGE - PREMIUM REDESIGN
   ========================================== */

/* ===== CONTAINER ===== */
.ff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HERO - Compact & Premium
   ========================================== */
.ff-hero {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #0a0a16 0%, #141424 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.ff-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ff-hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.ff-hero-content {
    flex: 1;
}

.ff-hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.10);
    color: #ff6b00;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.ff-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.ff-hero-title span {
    color: #ff6b00;
}

.ff-hero-desc {
    font-size: 16px;
    color: #9999aa;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 0 20px 0;
}

.ff-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ff-btn-primary {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 11px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ff-btn-primary:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.ff-btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 11px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.ff-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
}

.ff-hero-stats-compact {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
}

.ff-stat-compact {
    text-align: center;
}

.ff-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.ff-stat-label {
    font-size: 13px;
    color: #9999aa;
}

/* ==========================================
   TRUST BAR
   ========================================== */
.ff-trust-bar {
    padding: 14px 0;
    background: #0d0d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ff-trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ff-trust-bar-inner span {
    font-size: 13px;
    color: #9999aa;
    font-weight: 500;
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.ff-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.ff-section-title span {
    color: #ff6b00;
}

.ff-section-desc {
    font-size: 15px;
    color: #9999aa;
    margin: 0;
}

/* ==========================================
   PRODUCTS - Premium Card
   ========================================== */
.ff-popular {
    padding: 50px 0;
    background: #0a0a16;
}

.ff-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ff-product-card-premium {
    background: #141424;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.ff-product-card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.ff-product-card-image-premium {
    position: relative;
    padding: 18px;
    background: #0d0d1a;
    text-align: center;
}

.ff-product-card-image-premium img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.ff-badge-premium {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b00;
    color: #fff;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.ff-product-card-body-premium {
    padding: 14px 16px 18px;
    text-align: center;
}

.ff-product-card-body-premium h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e8e8e8;
    margin: 0 0 6px 0;
}

.ff-product-price-premium {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b00;
    margin-bottom: 10px;
}

.ff-product-btn-premium {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 6px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ff-product-btn-premium:hover {
    background: #e65c00;
}

/* ==========================================
   VIEW ALL
   ========================================== */
.ff-view-all-wrap {
    text-align: center;
    margin-top: 28px;
}

.ff-view-all-premium {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ff-view-all-premium:hover {
    color: #e65c00;
    text-decoration: underline;
}

/* ==========================================
   WHY US
   ========================================== */
.ff-why-us {
    padding: 40px 0 50px;
    background: #0d0d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.ff-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.ff-why-item {
    text-align: center;
}

.ff-why-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.ff-why-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.ff-why-item p {
    font-size: 13px;
    color: #9999aa;
    margin: 0;
}

/* ==========================================
   RECENTLY VIEWED - ইমেজ স্টাইলে
   ========================================== */

.ff-recent {
    padding: 30px 0 40px;
    background: #0a0a16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ff-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ff-recent-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.ff-recent-view-all {
    font-size: 13px;
    color: #9999aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ff-recent-view-all:hover {
    color: #ff6b00;
}

/* ===== Recent Grid ===== */
.ff-recent-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

/* ===== Recent Card ===== */
.ff-recent-card {
    background: #141424;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.ff-recent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ff-recent-card-link {
    text-decoration: none;
    display: block;
}

.ff-recent-card-image {
    position: relative;
    padding: 15px;
    background: #0d0d1a;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-recent-card-image img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* ===== Badges ===== */
.ff-recent-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ff-recent-badge.save {
    background: #ff6b00;
    color: #fff;
}

.ff-recent-badge.featured {
    background: #6F4FF2;
    color: #fff;
    top: 28px;
}

/* ===== Card Body ===== */
.ff-recent-card-body {
    padding: 10px 12px 14px;
    text-align: center;
}

.ff-recent-card-body h4 {
    font-size: 12px;
    font-weight: 500;
    color: #e8e8e8;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-recent-card-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ff-recent-card-price {
    font-size: 14px;
    font-weight: 700;
    color: #ff6b00;
}

.ff-recent-card-badge {
    font-size: 9px;
    font-weight: 600;
    color: #28a745;
    background: rgba(40, 167, 69, 0.10);
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 992px) {
    .ff-hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .ff-hero-desc {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .ff-hero-buttons {
        justify-content: center;
    }
    
    .ff-hero-stats-compact {
        justify-content: center;
    }
    
    .ff-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ff-recent-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ff-hero {
        padding: 35px 0 25px;
    }
    
    .ff-hero-title {
        font-size: 28px;
    }
    
    .ff-hero-title br {
        display: none;
    }
    
    .ff-hero-desc {
        font-size: 15px;
    }
    
    .ff-hero-stats-compact {
        gap: 20px;
    }
    
    .ff-stat-number {
        font-size: 22px;
    }
    
    .ff-stat-label {
        font-size: 12px;
    }
    
    .ff-trust-bar-inner {
        gap: 20px;
    }
    
    .ff-trust-bar-inner span {
        font-size: 12px;
    }
    
    .ff-section-title {
        font-size: 22px;
    }
    
    .ff-section-desc {
        font-size: 13px;
    }
    
    .ff-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ff-product-card-image-premium img {
        max-height: 90px;
    }
    
    .ff-product-card-body-premium h3 {
        font-size: 13px;
    }
    
    .ff-product-price-premium {
        font-size: 16px;
    }
    
    .ff-product-btn-premium {
        font-size: 12px;
        padding: 5px 18px;
    }
    
    .ff-why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .ff-why-item h4 {
        font-size: 14px;
    }
    
    .ff-why-item p {
        font-size: 12px;
    }
    
    .ff-why-icon {
        font-size: 26px;
    }
    
    .ff-recent {
        padding: 20px 0 25px;
    }
    
    .ff-recent-title {
        font-size: 16px;
    }
    
    .ff-recent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ff-recent-card-image {
        min-height: 80px;
        padding: 12px;
    }
    
    .ff-recent-card-image img {
        max-height: 65px;
    }
    
    .ff-recent-card-body h4 {
        font-size: 11px;
    }
    
    .ff-recent-card-price {
        font-size: 13px;
    }
    
    .ff-recent-badge {
        font-size: 8px;
        padding: 1px 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ff-hero {
        padding: 25px 0 20px;
    }
    
    .ff-hero-title {
        font-size: 22px;
    }
    
    .ff-hero-desc {
        font-size: 14px;
    }
    
    .ff-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ff-btn-primary,
    .ff-btn-secondary {
        width: 100%;
        max-width: 220px;
        text-align: center;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .ff-hero-stats-compact {
        gap: 14px;
    }
    
    .ff-stat-number {
        font-size: 18px;
    }
    
    .ff-stat-label {
        font-size: 11px;
    }
    
    .ff-trust-bar {
        padding: 10px 0;
    }
    
    .ff-trust-bar-inner {
        gap: 12px;
    }
    
    .ff-trust-bar-inner span {
        font-size: 11px;
    }
    
    .ff-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .ff-section-title {
        font-size: 20px;
    }
    
    .ff-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ff-product-card-premium {
        border-radius: 8px;
    }
    
    .ff-product-card-image-premium {
        padding: 12px;
    }
    
    .ff-product-card-image-premium img {
        max-height: 70px;
    }
    
    .ff-badge-premium {
        font-size: 9px;
        padding: 1px 8px;
        top: 6px;
        left: 6px;
    }
    
    .ff-product-card-body-premium {
        padding: 10px 10px 14px;
    }
    
    .ff-product-card-body-premium h3 {
        font-size: 12px;
    }
    
    .ff-product-price-premium {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .ff-product-btn-premium {
        font-size: 11px;
        padding: 4px 14px;
        border-radius: 4px;
    }
    
    .ff-why-us {
        padding: 30px 0 35px;
    }
    
    .ff-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        max-width: 300px;
    }
    
    .ff-why-item h4 {
        font-size: 13px;
    }
    
    .ff-why-item p {
        font-size: 11px;
    }
    
    .ff-why-icon {
        font-size: 22px;
    }
    
    .ff-recent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .ff-recent-card-image {
        min-height: 70px;
        padding: 10px;
    }
    
    .ff-recent-card-image img {
        max-height: 55px;
    }
    
    .ff-recent-card-body {
        padding: 8px 8px 10px;
    }
    
    .ff-recent-card-body h4 {
        font-size: 10px;
    }
    
    .ff-recent-card-price {
        font-size: 12px;
    }
    
    .ff-recent-card-badge {
        font-size: 8px;
        padding: 1px 6px;
    }
}