/* ─── HOME PAGE STYLES ──────────────────────────── */

/* ─── HERO ─────────────────────────────────────── */
.hero-section {
    background: var(--primary);
    overflow: hidden;
    position: relative;
    padding: 6rem 0;
}

/* Floating Background Icons */
.hero-bg-icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(255,255,255,0.2); /* Subtle white texture */
    animation: floatingIcon linear infinite;
    pointer-events: none;
}

/* Spread across the Hub */
.hub-pc      { top: 5%;  left: 3%;   font-size: 5rem;   animation-duration: 25s; }
.hub-laptop  { top: 45%; left: 12%;  font-size: 3.5rem; animation-duration: 18s; animation-delay: -5s; }
.hub-mouse   { top: 80%; left: 6%;   font-size: 2.5rem; animation-duration: 15s; }
.hub-keyboard{ top: 12%; left: 32%;  font-size: 4rem;   animation-duration: 30s; animation-delay: -10s; }
.hub-printer { top: 75%; left: 40%;  font-size: 3.2rem; animation-duration: 22s; }
.hub-board   { top: 18%; right:35%;  font-size: 4.5rem; animation-duration: 28s; animation-delay: -2s; }
.hub-cpu     { top: 5%;  right:5%;   font-size: 5.5rem; animation-duration: 20s; }
.hub-net     { top: 40%; right:18%;  font-size: 3rem;   animation-duration: 24s; animation-delay: -8s; }
.hub-usb     { top: 65%; right:22%;  font-size: 2.8rem; animation-duration: 16s; }
.hub-head    { top: 15%; right:15%;  font-size: 3.8rem; animation-duration: 26s; animation-delay: -4s; }
.hub-gpu     { top: 85%; right:8%;   font-size: 4.2rem; animation-duration: 30s; }
.hub-router  { top: 55%; left: 35%;  font-size: 3rem;   animation-duration: 21s; animation-delay: -12s; }

@keyframes floatingIcon {
    /* Rich floating & drifting paths */
    0%   { transform: translate(0,0) rotate(0deg); }
    33%  { transform: translate(30px, 30px) rotate(10deg); }
    66%  { transform: translate(-20px, 50px) rotate(-15deg); }
    100% { transform: translate(0,0) rotate(0deg); }
}

/* Two-column flex inner */
.hero-inner {
    display: flex;
    align-items: center;
    min-height: 520px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

/* ── LEFT COLUMN ─────────────────────────────── */
.hero-left {
    flex: 0 0 45%;
    padding-right: 4rem;
}

/* Copy block */
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.9);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 950; /* Super bold editorial */
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
}
.hero-highlight { color: var(--accent); }

/* ── RIGHT COLUMN: COMPOSITION DISPLAY ───────── */
.hero-right {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-visual {
    position: relative;
    width: 100%;
    z-index: 20;
    transform: rotateY(-10deg) rotateX(10deg);
    animation: floatHeroSingle 8s ease-in-out infinite;
}


.hero-main-img {
    width: 115%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.3));
}

@keyframes floatHeroSingle {
    0%, 100% { transform: rotateY(-10deg) rotateX(10deg) translateY(0); }
    50%      { transform: rotateY(-5deg) rotateX(8deg) translateY(-25px); }
}

/* Floating trust chip */
.hero-trust-chip {
    position: absolute;
    bottom: -10px; right: 0;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 99px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 50;
}

/* ── REUSED BUTTONS ──────────────────────────── */
.hero-offer-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(219,39,119,0.3);
}
.badge-top { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.badge-pct { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.badge-off { font-size: 0.7rem; font-weight: 800; }

.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary {
    background: #fff;
    color: var(--primary);
    padding: 0.9rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: .3s;
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.hero-btn-wa {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: .3s;
}
.hero-btn-wa:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.hero-trust-chip i { font-size: 1.25rem; }





/* ─── CATEGORY STRIP ────────────────────────────── */
.cat-strip {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px; /* Assuming navbar height */
    z-index: 40;
}
.cat-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.cat-tab:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}
.cat-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── SECTION HEADERS ────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.section-header p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ─── TRUST CARDS ─────────────────────────────────── */
.trust-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}
.trust-card:hover { 
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); 
    transform: translateY(-3px); 
    border-color: var(--border);
}
.trust-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.ti-blue  { background: var(--primary-light); color: var(--primary); }
.ti-pink  { background: var(--accent-light); color: var(--accent); }
.ti-green { background: #dcfce7; color: #15803d; }
.ti-yellow{ background: #fef9c3; color: #854d0e; }

/* ─── BRANDS BAR ─────────────────────────────────── */
.brands-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    flex-wrap: wrap;
}
.brand-chip {
    opacity: 1;
    transition: all .3s ease;
    object-fit: contain;
}
.brand-chip:hover { 
    transform: scale(1.08);
}

/* ─── SHOWCASE CARDS ──────────────────────────────── */
.showcase-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 1;
    background-color: #fff;
}
.showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.showcase-card img {
    height: 180px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}
.showcase-card:hover img {
    transform: scale(1.08) translateY(-5px);
}

/* ─── PRODUCT CARDS ──────────────────────────────── */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px; /* Rounded borders as requested */
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.product-img-wrap {
    background: #f8fafc;
    border-radius: 14px;
    height: 240px; /* Increased height for larger product visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05); /* Subtle visible border for a framed look */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1) rotate(2deg);
}

.stock-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 5;
}
.stock-badge.in  { background: #dcfce7; color: #15803d; }
.stock-badge.out { background: #fee2e2; color: #b91c1c; }

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.product-name:hover { color: var(--primary); }

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-wa-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-wa-sm:hover {
    background: #128c7e;
    transform: scale(1.1);
}
