/* ============================================================
   HAVIT GAMER-LIGHT BRAND SECTIONS
   Aesthetic: Premium, Tech-Focused, and High-Trust (White/Blue/Cyan)
   ============================================================ */

:root {
    --h-blue: #3b82f6;
    --h-cyan: #06b6d4;
    --h-navy: #0f172a;
    --h-slate: #64748b;
    --h-border: #e2e8f0;
    --h-radius: 20px;
    --h-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.havit-brand-section {
    padding: 80px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
}

.havit-brand-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* --- Typography --- */
.havit-brand-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--h-cyan);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.havit-brand-heading h2 {
    margin: 0;
    color: var(--h-navy);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.havit-brand-heading p {
    max-width: 60ch;
    margin: 16px 0 48px;
    color: var(--h-slate);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- 1. Gamer Desk Hub Grid --- */
.havit-brand-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.havit-brand-hub-card {
    background: #fff;
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.havit-brand-hub-card:hover {
    transform: translateY(-8px);
    border-color: var(--h-cyan);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.08);
}

.havit-brand-hub-img {
    aspect-ratio: 4/3;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.havit-brand-hub-img img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.havit-brand-hub-card:hover .havit-brand-hub-img img {
    transform: scale(1.08);
}

.havit-brand-hub-content h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--h-navy);
}

.havit-brand-hub-content p {
    margin: 0;
    color: var(--h-slate);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* --- 2. Shopee Reviews Grid --- */
.havit-brand-section--reviews {
    background: #f8fafc;
}

.havit-brand-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.havit-brand-review-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--h-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.havit-brand-review-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.havit-brand-stars {
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

.havit-brand-review-text {
    font-style: italic;
    color: var(--h-navy);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.havit-brand-review-img {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.havit-brand-review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.havit-brand-review-card:hover .havit-brand-review-img img {
    transform: scale(1.05);
}

.havit-brand-review-user {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--h-slate);
    letter-spacing: 0.05em;
}

.havit-brand-shopee-badge {
    margin-top: 40px;
    text-align: center;
    color: var(--h-slate);
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- 3. Expert Insights & Comparison --- */
.havit-brand-section--insights {
    background: #fff;
    border-top: 1px solid var(--h-border);
}

.havit-brand-insights-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.havit-brand-tldr {
    background: #f8fafc;
    padding: 32px;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-border);
}

.havit-brand-tldr h3 {
    margin: 0 0 20px;
    font-size: 1.25rem;
    color: var(--h-navy);
    font-weight: 800;
}

.havit-brand-tldr ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.havit-brand-tldr li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--h-slate);
    font-size: 0.95rem;
    line-height: 1.5;
}

.havit-brand-tldr li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--h-cyan);
}

.havit-brand-comparison h3 {
    margin: 0 0 24px;
    font-size: 1.25rem;
    color: var(--h-navy);
    font-weight: 800;
}

.havit-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--h-border);
}

.havit-brand-comparison table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.havit-brand-comparison th,
.havit-brand-comparison td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--h-border);
}

.havit-brand-comparison th {
    background: #f8fafc;
    color: var(--h-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.havit-brand-comparison td strong {
    color: var(--h-blue);
}

.havit-brand-comparison tr:last-child td {
    border-bottom: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .havit-brand-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .havit-brand-insights-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .havit-brand-hub-grid {
        grid-template-columns: 1fr;
    }
    .havit-brand-heading h2 {
        font-size: 1.75rem;
    }
}
