/* ================================
   Main Content Styles - Homepage
   ================================ */

/* Main Container */
main {
    padding-top: 70px;
}

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: 42px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-primary), var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.03);
    transition: all 0.1s ease;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 185, 107, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: 
        linear-gradient(120deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 250, 0.85) 100%),
        url('https://images.unsplash.com/photo-1593305841991-05c297ba4575?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* ===== URGENCY TOP BAR ===== */
.hero-urgency-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #00b96b, #00a35e, #00b96b);
    background-size: 200% 100%;
    animation: shimmerBar 3s linear infinite;
    padding: 10px 0;
    z-index: 10;
}
@keyframes shimmerBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.urgency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    flex-wrap: wrap;
    text-align: center;
}
.urgency-inner i {
    font-size: 14px;
}
.urgency-sep {
    opacity: 0.4;
    margin: 0 4px;
}
.urgency-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    margin-right: 4px;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===== SOCIAL PROOF ROW ===== */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}
.social-proof-avatars {
    display: flex;
}
.sp-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.sp-avatar:first-child {
    margin-left: 0;
}
.social-proof-text {
    font-size: 13px;
    color: var(--text-gray);
}
.social-proof-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== USP PILLS ===== */
.hero-usp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}
.usp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 185, 107, 0.08);
    border: 1px solid rgba(0, 185, 107, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}
.usp-pill i {
    color: var(--primary-color);
    font-size: 13px;
}

/* ===== HERO SHOP BUTTON ===== */
.btn-hero-shop {
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 25px rgba(0, 185, 107, 0.35) !important;
    position: relative;
    overflow: hidden;
}
.btn-hero-shop::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0% { left: -60%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

/* ===== LIVE ACTIVITY TICKER ===== */
.hero-live-activity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 185, 107, 0.15);
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.9s backwards;
    max-width: fit-content;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
.live-text {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    transition: opacity 0.4s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
}

/* ===== PRICE TAG ON HERO IMAGE ===== */
.hero-price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, #00b96b, #00a35e);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    z-index: 5;
    box-shadow: 0 6px 20px rgba(0, 185, 107, 0.4);
    animation: none;
    text-align: center;
}
.hero-price-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}
.hero-price-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

/* ===== FLOATING CARD PRICES ===== */
.card-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 185, 107, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 185, 107, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 185, 107, 0.15), rgba(0, 153, 255, 0.15));
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease 0.2s backwards, pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 185, 107, 0.2);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 56px;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.stat {
    position: relative;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 185, 107, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 185, 107, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.stat h3 {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.5s backwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 185, 107, 0.3) 0%, rgba(0, 153, 255, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

.hero-main-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 30px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.2),
        0 20px 40px rgba(0, 185, 107, 0.15);
    z-index: 2;
    transition: all 0.5s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 
        0 60px 120px rgba(0, 0, 0, 0.25),
        0 30px 60px rgba(0, 185, 107, 0.25);
}

/* Floating Product Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 3;
    border: 1px solid rgba(0, 185, 107, 0.2);
    max-width: 220px;
    text-decoration: none;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.floating-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.floating-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.card-label {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-card-1 {
    top: -15px;
    right: -30px;
    left: auto;
    animation: floatCard1 6s ease-in-out infinite;
}

.floating-card-2 {
    bottom: -15px;
    right: -30px;
    left: auto;
    animation: floatCard2 5s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -8px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 8px); }
}

/* Hero Rating Badge */
.hero-rating-badge {
    position: absolute;
    top: -12px;
    left: -20px;
    right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease 1.5s backwards, float 4s ease-in-out infinite;
    z-index: 3;
    border: 2px solid rgba(0, 185, 107, 0.3);
}

.rating-stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 5px;
}

.rating-text {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Hero Decorative Elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
}

.hero-decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 185, 107, 0.2), transparent);
    top: -100px;
    left: -100px;
    animation: rotate 20s linear infinite;
}

.hero-decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2), transparent);
    bottom: -50px;
    right: -50px;
    animation: rotate 15s linear infinite reverse;
}

.hero-decoration-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.15), transparent);
    top: 50%;
    left: 30%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.trust-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Highlight Text */
.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    border-radius: 2px;
}

/* Enhanced Stats */
.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.stat-content h3 {
    margin: 0;
}

.stat-content p {
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 14px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Button Icon Enhancements */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

.hero-badge i {
    font-size: 11px;
}

/* ============================================
   TRENDING NOW — Quick Shop Horizontal Strip
   ============================================ */
.trending-strip {
    background: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
    padding: 35px 0 30px;
    position: relative;
    overflow: hidden;
}
.trending-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.trending-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.trending-fire {
    font-size: 24px;
    animation: fireFlicker 1.5s ease-in-out infinite alternate;
}
@keyframes fireFlicker {
    0% { transform: scale(1) rotate(-3deg); }
    100% { transform: scale(1.15) rotate(3deg); }
}
.trending-title-row h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.trending-badge {
    background: #ff3b3b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trending-view-all {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.trending-view-all:hover {
    color: #fff;
    gap: 10px;
}

/* Scroll Wrapper */
.trending-scroll-wrapper {
    position: relative;
}
.trending-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 2px 10px;
}
.trending-scroll::-webkit-scrollbar { display: none; }

.trending-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 185, 107, 0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 185, 107, 0.3);
    transition: all 0.3s;
    opacity: 0.85;
}
.trending-scroll-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.trending-scroll-left { left: -5px; }
.trending-scroll-right { right: -5px; }

/* Trending Card */
.trending-card {
    flex: 0 0 175px;
    background: #1a1a22;
    border: 1px solid #2a2a35;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.trending-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 185, 107, 0.15);
}

.trending-card-img {
    position: relative;
    background: #14141a;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}
.trending-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.trending-card:hover .trending-card-img img {
    transform: scale(1.08);
}
.trending-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff3b3b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
}

.trending-card-info {
    padding: 10px 12px 40px;
    flex: 1;
}
.trending-card-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    font-weight: 600;
}
.trending-card-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: #eee;
    margin: 4px 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trending-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
}
.trending-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}
.trending-old-price {
    font-size: 11px;
    color: #666;
    text-decoration: line-through;
}

/* Quick Add to Cart */
.trending-cart-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 185, 107, 0.3);
}
.trending-cart-btn:hover {
    background: #00d477;
    transform: scale(1.12);
}

/* ============================================
   COMPACT CATEGORIES — Horizontal Pill Bar
   ============================================ */
.categories-compact {
    background: #0e0e14;
    padding: 18px 0;
    border-bottom: 1px solid #1e1e28;
}
.categories-pills-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}
.categories-pills-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 100px;
    background: #1a1a24;
    border: 1px solid #2a2a36;
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    text-decoration: none;
}
.cat-pill:hover {
    background: rgba(0, 185, 107, 0.12);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}
.cat-pill i {
    font-size: 13px;
    color: var(--pill-color, var(--primary-color));
}
.cat-pill-count {
    background: #2a2a36;
    color: #888;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 600;
}
.cat-pill:hover .cat-pill-count {
    background: var(--primary-color);
    color: #fff;
}
.cat-pill-all {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    font-weight: 700;
}
.cat-pill-all:hover {
    background: #00d477;
    color: #fff;
}
.cat-pill-all i {
    color: #fff;
}

/* ============================================
   SLIM TRUST BAR
   ============================================ */
.trust-bar {
    background: linear-gradient(135deg, #0d1f15 0%, #0a0a10 100%);
    padding: 14px 0;
    border-bottom: 1px solid #1a2a20;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.trust-item i {
    color: var(--primary-color);
    font-size: 16px;
}
.trust-divider {
    width: 1px;
    height: 20px;
    background: #2a3a30;
}

/* ======= Keep old categories/features for other pages if needed ======= */
/* Categories Section */
.categories {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--category-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--category-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    font-size: 36px;
    color: var(--category-color);
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    background: var(--category-color);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-gray);
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-top: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--category-color);
    color: var(--bg-dark);
}

/* Features Section */
.features {
    background: var(--bg-light-secondary);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: var(--border-radius);
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Products Section */
.products {
    background: var(--bg-dark-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    z-index: 2;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg-dark-secondary);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 185, 107, 0.2);
    border-radius: var(--border-radius);
    color: #1a1a1a;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 185, 107, 0.3);
}

/* Specific icon colors before hover */
.btn-quick-view {
    color: #0099ff;
}

.btn-wishlist {
    color: #ff0055;
}

.add-to-cart-btn {
    color: #00b96b;
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-card .product-title {
    font-size: 12px !important;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 10px;
    line-height: 1.4;
    
    /* Truncate title to 3 lines to show more text */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
    max-height: 50px;
}

.product-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.price-old {
    font-size: 16px;
    color: var(--text-dark-gray);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: #ffa500;
}

.product-rating span {
    color: var(--text-gray);
    margin-left: 5px;
}

/* Promo Banner */
.promo-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.promo-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.promo-decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 185, 107, 0.1), transparent);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.promo-decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), transparent);
    bottom: -80px;
    left: -80px;
    animation: float 15s ease-in-out infinite reverse;
}

.promo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff3366, #ff6b00);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-text h2 {
    font-size: 42px;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-text p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.promo-features {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.promo-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.promo-feature i {
    color: var(--primary-color);
    font-size: 18px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.promo-image {
    position: relative;
}

.promo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 185, 107, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.promo-image img {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: transform 0.5s ease;
}

.promo-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-gray);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.newsletter-text h2 {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: 15px;
}

.newsletter-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.newsletter-input-group i {
    color: var(--text-gray);
    margin-left: 20px;
    font-size: 16px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-dark);
}

.newsletter-input-group input::placeholder {
    color: var(--text-light-gray);
}

.newsletter-input-group button {
    padding: 15px 35px;
    border-radius: 50px;
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 185, 107, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 185, 107, 0.4);
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .promo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-text h2 {
        font-size: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promo-text h2 {
        font-size: 32px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
}
.promo-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    overflow: hidden;
    position: relative;
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.promo-text h2 {
    font-size: 42px;
    font-weight: var(--font-weight-bold);
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.promo-text p {
    font-size: 18px;
    color: var(--bg-dark);
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.7;
}

.promo-text .btn-primary {
    background: var(--bg-dark);
    color: var(--primary-color);
    border-color: var(--bg-dark);
}

.promo-text .btn-primary:hover {
    background: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
}

.promo-image img {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .promo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}
