/* ==========================================================================
   Flagship Tech E-Commerce Homepage Styles (Mobile & Desktop)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & Common Section Elements
   -------------------------------------------------------------------------- */
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}
.section-micro-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color, #2563eb);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.section-title-large {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}
.heading-line {
    width: 50px;
    height: 4px;
    background-color: var(--primary-color, #2563eb);
    margin: 0 auto;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   2. Category Stories Reel
   -------------------------------------------------------------------------- */
.stories-reel-section {
    padding: 20px 0 10px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.stories-scroll-track {
    display: flex;
    justify-content: center;
    gap: 32px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}
.stories-scroll-track::-webkit-scrollbar {
    display: none;
}
.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.story-ring {
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--story-accent, #2563eb), #e2e8f0);
    transition: transform 0.2s ease;
}
.story-item:hover .story-ring {
    transform: scale(1.08);
}
.story-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.story-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

/* --------------------------------------------------------------------------
   3. Flagship Hero Section
   -------------------------------------------------------------------------- */
.flagship-hero-section {
    padding: 35px 0 50px;
    background-color: #f8fafc;
}
.flagship-hero-card {
    background: linear-gradient(135deg, #090e17 0%, #0f172a 50%, #1e293b 100%);
    border-radius: 24px;
    padding: 60px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}
.hero-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.3);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}
.hero-display-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.hero-intro-text {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 540px;
}
.hero-metrics-pill-wrap {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.metric-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 12px;
}
.metric-pill strong {
    display: block;
    font-size: 18px;
    color: #38bdf8;
}
.metric-pill small {
    font-size: 11px;
    color: #94a3b8;
}
.hero-cta-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-flagship-primary {
    background: var(--primary-color, #2563eb);
    color: #ffffff;
    padding: 15px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    display: inline-block;
}
.btn-flagship-primary:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
}
.btn-flagship-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
}
.btn-flagship-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Hero Spotlight Glass Card */
.spotlight-glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.spotlight-tag {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}
.spotlight-heading {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.spotlight-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}
.spotlight-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.live-price {
    font-size: 24px;
    font-weight: 900;
    color: #38bdf8;
}
.mrp-price {
    font-size: 15px;
    color: #64748b;
}
.save-chip {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.spotlight-stock-bar {
    margin-bottom: 25px;
}
.stock-label-flex {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 8px;
}
.stock-meter {
    background: #334155;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
}
.meter-fill {
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    height: 100%;
    border-radius: 999px;
}
.spotlight-buy-btn {
    display: block;
    background: #ffffff;
    color: #0f172a;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.2s;
}
.spotlight-buy-btn:hover {
    background: #f1f5f9;
}

/* --------------------------------------------------------------------------
   4. Interactive Filter Tabs & Product Grid
   -------------------------------------------------------------------------- */
.live-catalog-section {
    padding: 60px 0 80px;
}
.catalog-header-wrap {
    text-align: center;
    margin-bottom: 35px;
}
.catalog-subhead {
    color: #64748b;
    font-size: 15px;
    margin-top: 6px;
}

/* Filter Tab Ribbon */
.catalog-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}
.filter-tab {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.filter-tab.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Product Cards Grid */
.flagship-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-flagship-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.product-flagship-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}
.card-thumb-holder {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f8fafc;
    overflow: hidden;
}
.card-thumb-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-flagship-card:hover .card-thumb-holder img {
    transform: scale(1.06);
}
.card-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}
.card-details-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 8px;
}
.card-stars-row small {
    color: #94a3b8;
    font-weight: 600;
}
.card-product-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    flex-grow: 1;
}
.card-product-title a {
    color: #0f172a;
}
.card-product-title a:hover {
    color: var(--primary-color, #2563eb);
}
.card-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}
.price-current {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color, #2563eb);
}
.price-mrp {
    font-size: 13px;
    color: #94a3b8;
}
.card-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
}
.card-cart-btn:hover {
    background: var(--primary-color, #2563eb);
}
.catalog-bottom-cta {
    text-align: center;
    margin-top: 50px;
}
.btn-browse-all {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 34px;
    border-radius: 8px;
    transition: background 0.2s;
}
.btn-browse-all:hover {
    background: var(--primary-color, #2563eb);
}

/* --------------------------------------------------------------------------
   5. Flash Engine Section (Urgency Banner)
   -------------------------------------------------------------------------- */
.flash-engine-section {
    padding: 20px 0 70px;
}
.flash-engine-wrapper {
    background: linear-gradient(135deg, #090e17 0%, #1e1b4b 100%);
    border-radius: 24px;
    padding: 55px 60px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.flash-kicker {
    color: #facc15;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}
.flash-engine-heading {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}
.flash-engine-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 540px;
}

/* Countdown */
.flash-countdown-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.timer-box {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 10px;
    text-align: center;
    min-width: 68px;
}
.timer-digits {
    font-size: 24px;
    font-weight: 900;
    color: #38bdf8;
    display: block;
    line-height: 1;
}
.timer-desc {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
}
.timer-divider {
    font-size: 22px;
    font-weight: 700;
    color: #94a3b8;
}

.flash-pricing-tag {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.now-rate {
    font-size: 28px;
    font-weight: 900;
    color: #facc15;
}
.old-rate {
    font-size: 16px;
    color: #94a3b8;
}
.savings-pill {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}

.inventory-meter-wrap {
    max-width: 480px;
    margin-bottom: 28px;
}
.inventory-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
    color: #cbd5e1;
}
.inventory-bar {
    height: 8px;
    background: #334155;
    border-radius: 999px;
    overflow: hidden;
}
.inventory-fill {
    height: 100%;
    background: #ef4444;
    border-radius: 999px;
}
.flash-engine-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-claim-deal {
    background: #facc15;
    color: #0f172a;
    font-weight: 900;
    font-size: 14px;
    padding: 13px 30px;
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.2s;
}
.btn-claim-deal:hover {
    transform: translateY(-2px);
    background: #fde047;
}
.dispatch-guarantee {
    font-size: 13px;
    color: #cbd5e1;
}

/* Perks List */
.flash-engine-perks {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.perk-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px;
    border-radius: 14px;
}
.perk-num {
    font-size: 11px;
    font-weight: 900;
    color: #38bdf8;
    margin-bottom: 4px;
}
.perk-box h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}
.perk-box p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. Apple-Style Bento Grid
   -------------------------------------------------------------------------- */
.bento-trust-section {
    padding: 60px 0 70px;
    background-color: #f8fafc;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.bento-card {
    padding: 38px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.bento-span-2 {
    grid-column: span 2;
}
.card-theme-dark {
    background: #090e17;
    color: #ffffff;
}
.card-theme-blue {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #ffffff;
}
.card-theme-slate {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}
.card-theme-emerald {
    background: linear-gradient(135deg, #064e3b, #047857);
    color: #ffffff;
}
.bento-icon-badge {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}
.bento-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}
.bento-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   7. Interactive FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion-section {
    padding: 70px 0;
}
.faq-accordion-wrap {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f8fafc;
}
.faq-toggle-icon {
    font-size: 22px;
    color: var(--primary-color, #2563eb);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-answer {
    display: none;
    padding: 0 24px 22px;
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   8. Verified Reviews
   -------------------------------------------------------------------------- */
.home-social-proof {
    padding: 50px 0 80px;
    background-color: #f8fafc;
}
.reviews-tri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.review-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 12px;
}
.review-quote {
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
}
.review-buyer strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}
.review-buyer span {
    font-size: 12px;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   9. Mobile Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .flagship-hero-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
    .flagship-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .flash-engine-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2 {
        grid-column: span 1;
    }
    .reviews-tri-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-display-title {
        font-size: 28px;
    }
    .hero-intro-text {
        font-size: 14px;
    }
    .hero-metrics-pill-wrap {
        gap: 8px;
    }
    .metric-pill {
        padding: 8px 12px;
    }
    .metric-pill strong {
        font-size: 15px;
    }
    .flagship-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .card-thumb-holder {
        height: 150px;
    }
    .card-details-box {
        padding: 12px;
    }
    .card-product-title {
        font-size: 13px;
    }
    .price-current {
        font-size: 15px;
    }
    .card-cart-btn {
        padding: 8px;
        font-size: 12px;
    }
    .stories-scroll-track {
        justify-content: flex-start;
        padding-left: 10px;
    }
    .catalog-filter-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .catalog-filter-tabs::-webkit-scrollbar {
        display: none;
    }
}