@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/**
 * Toko Bearing Pro - Main Frontend CSS System
 * Premium Modern Industrial Style for B2B Bearing Distribution in Indonesia
 * PT. Alva Prima Industri (tokobearing.com)
 */

/* ==========================================================================
   1. CSS Custom Properties & Reset
   ========================================================================== */
:root {
    --tb-primary: #0f172a;        /* Deep Industrial Slate */
    --tb-primary-dark: #0b1120;   /* Midnight Slate */
    --tb-secondary: #1e3a8a;      /* Technical Corporate Blue */
    --tb-secondary-light: #3b82f6;/* High-Tech Accent Blue */
    --tb-accent: #f59e0b;         /* Safety Amber / Industrial Gold */
    --tb-accent-hover: #d97706;   /* Darker Amber */
    --tb-emerald: #10b981;        /* Success / Ready Stock Green */
    --tb-emerald-dark: #059669;
    --tb-bg-light: #f8fafc;       /* Clean Light Background */
    --tb-bg-subtle: #f1f5f9;
    --tb-border: #e2e8f0;         /* Slate Border */
    --tb-border-strong: #cbd5e1;
    --tb-text-dark: #0f172a;      /* High-contrast headings (14.5:1) */
    --tb-text-body: #1e293b;      /* Slate Body text (12.5:1 contrast) */
    --tb-text-muted: #475569;     /* Muted metadata (7.0:1 contrast) */
    --tb-text-light: #475569;     /* Light metadata (7.0:1 contrast - passes WCAG AA) */
    --tb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --tb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --tb-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --tb-radius-sm: 6px;
    --tb-radius-md: 10px;
    --tb-radius-lg: 16px;
    --tb-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --tb-container: 1240px;
}

.tb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--tb-font);
    background-color: #ffffff;
    color: var(--tb-text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button, input, textarea, select {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--tb-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   2. Typography & Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--tb-secondary-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-badge.amber {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.3);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--tb-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--tb-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   3. Topbar & Header
   ========================================================================== */
.tb-topbar {
    background: var(--tb-primary-dark);
    color: #94a3b8;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
}

.tb-topbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tb-topbar-left, .tb-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tb-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tb-topbar-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
}

.tb-topbar-link:hover {
    color: #ffffff;
}

/* Main Header */
.tb-header {
    background: #ffffff;
    border-bottom: 1px solid var(--tb-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
}

.tb-header.is-sticky {
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.tb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 20px;
}

.tb-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tb-primary) 0%, var(--tb-secondary) 100%);
    border-radius: var(--tb-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-accent);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.tb-logo-text h2,
.tb-logo-text .tb-logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tb-text-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    display: block;
}

.tb-logo-text h2 span,
.tb-logo-text .tb-logo-title span {
    color: var(--tb-accent);
}

.tb-logo-tagline {
    font-size: 11px;
    font-weight: 600;
    color: var(--tb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav Menu & Dropdown */
.tb-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.tb-nav-menu li {
    position: relative;
}

.tb-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-text-body);
    padding: 10px 4px;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.tb-nav-link .tb-dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    stroke: currentColor;
}

.tb-has-dropdown:hover .tb-nav-link .tb-dropdown-arrow {
    transform: rotate(180deg);
}

.tb-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

@media (min-width: 992px) {
    .tb-has-dropdown:hover .tb-sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.tb-sub-menu li {
    width: 100%;
}

.tb-sub-menu li a {
    display: block;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tb-text-body);
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.tb-sub-menu li a:hover {
    background: #f1f5f9;
    color: var(--tb-primary);
}

.tb-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--tb-accent);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.tb-nav-link:hover {
    color: var(--tb-primary);
}

.tb-nav-link:hover::after {
    width: 100%;
}

/* Header CTAs */
.tb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-btn-header-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--tb-radius-sm);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
    transition: transform 0.15s ease, background 0.2s ease;
}

.tb-btn-header-wa:hover {
    background: #20bd5a;
    transform: translateY(-1px);
}

.tb-btn-header-rfq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tb-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--tb-radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    transition: background 0.2s ease, transform 0.15s ease;
}

.tb-btn-header-rfq:hover {
    background: var(--tb-secondary);
    transform: translateY(-1px);
}

.tb-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--tb-text-dark);
}

/* ==========================================================================
   4. Hero Section & Slider
   ========================================================================== */
.tb-hero-section {
    position: relative;
    background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #172554 100%);
    color: #ffffff;
    padding: 80px 0 100px 0;
    overflow: hidden;
}

.tb-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tb-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tb-hero-slider-wrap {
    position: relative;
    z-index: 2;
}

.tb-hero-slide {
    display: none;
    animation: tbFadeIn 0.5s ease-in-out forwards;
}

.tb-hero-slide.active {
    display: block;
}

@keyframes tbFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tb-hero-content {
    max-width: 860px;
}

.tb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.tb-hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    color: #ffffff;
}

.tb-hero-title span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tb-hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 740px;
}

.tb-hero-cta-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: var(--tb-radius-sm);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.tb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.tb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: var(--tb-radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}

/* Slider Controls */
.tb-slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.tb-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.tb-dot.active {
    background: var(--tb-accent);
    width: 48px;
}

/* ==========================================================================
   5. Trust Bar & Brand Showcase
   ========================================================================== */
.tb-trust-section {
    background: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: var(--tb-radius-md);
    padding: 32px 36px;
    border: 1px solid var(--tb-border);
}

.tb-trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--tb-border);
}

.tb-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-secondary-light);
}

.tb-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tb-text-dark);
    line-height: 1.1;
}

.tb-stat-label {
    font-size: 13px;
    color: var(--tb-text-muted);
    font-weight: 600;
}

.tb-brands-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
}

.tb-brands-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tb-brands-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.tb-brand-badge {
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    color: var(--tb-text-body);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.tb-brand-badge:hover {
    border-color: var(--tb-accent);
    color: var(--tb-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   6. 6 Keunggulan (Why Choose Us)
   ========================================================================== */
.tb-features-section {
    padding: 100px 0;
    background: var(--tb-bg-light);
}

.tb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tb-feature-card {
    background: #ffffff;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    padding: 36px 30px;
    box-shadow: var(--tb-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tb-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--tb-secondary-light);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tb-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tb-shadow-xl);
    border-color: var(--tb-border-strong);
}

.tb-feature-card:hover::before {
    opacity: 1;
}

.tb-feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--tb-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-secondary-light);
    margin-bottom: 22px;
}

.tb-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tb-text-dark);
    margin-bottom: 12px;
}

.tb-feature-desc {
    font-size: 0.95rem;
    color: var(--tb-text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   7. Katalog Produk & Live Filter
   ========================================================================== */
.tb-products-section {
    padding: 100px 0;
    background: #ffffff;
}

.tb-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.tb-filter-btn {
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tb-text-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tb-filter-btn:hover {
    background: var(--tb-bg-subtle);
    border-color: var(--tb-border-strong);
}

.tb-filter-btn.active {
    background: var(--tb-primary);
    color: #ffffff;
    border-color: var(--tb-primary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.tb-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tb-product-card {
    background: #ffffff;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    overflow: hidden;
    box-shadow: var(--tb-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.tb-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tb-shadow-xl);
}

.tb-product-thumb {
    position: relative;
    background: #0f172a;
    padding: 0;
    text-align: center;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--tb-border);
}

.tb-product-thumb img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
    display: block;
}

.tb-product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, transparent 45%, rgba(15, 23, 42, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.tb-product-card:hover .tb-product-thumb img {
    transform: scale(1.06);
}

.tb-product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.tb-badge-stock {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.tb-badge-original {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.tb-product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tb-product-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--tb-secondary-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.tb-product-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tb-text-dark);
    margin-bottom: 6px;
}

.tb-product-partno {
    display: inline-block;
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.tb-product-desc {
    font-size: 13.5px;
    color: var(--tb-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tb-product-specs-list {
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--tb-text-body);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.tb-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tb-btn-product-wa {
    background: #22c55e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: var(--tb-radius-sm);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.tb-btn-product-wa:hover {
    background: #16a34a;
}

.tb-btn-product-rfq {
    background: var(--tb-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: var(--tb-radius-sm);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tb-btn-product-rfq:hover {
    background: var(--tb-secondary);
}

/* ==========================================================================
   8. Sektor Industri
   ========================================================================== */
.tb-industries-section {
    padding: 100px 0;
    background: var(--tb-bg-light);
}

.tb-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tb-industry-card {
    background: #ffffff;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    padding: 32px 26px;
    box-shadow: var(--tb-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tb-industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tb-shadow-lg);
    border-color: var(--tb-secondary-light);
}

.tb-industry-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.tb-industry-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tb-text-dark);
    margin-bottom: 10px;
}

.tb-industry-desc {
    font-size: 0.92rem;
    color: var(--tb-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   9. Alur Pemesanan (Cara Order)
   ========================================================================== */
.tb-ordering-section {
    padding: 100px 0;
    background: #ffffff;
}

.tb-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.tb-step-card {
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    padding: 32px 24px;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tb-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--tb-secondary-light);
    background: #ffffff;
    box-shadow: var(--tb-shadow-md);
}

.tb-step-number {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 800;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.tb-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tb-text-dark);
    margin-bottom: 10px;
}

.tb-step-desc {
    font-size: 0.92rem;
    color: var(--tb-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   10. Testimoni B2B & Social Proof
   ========================================================================== */
.tb-testimonials-section {
    padding: 100px 0;
    background: var(--tb-bg-light);
}

.tb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tb-testi-card {
    background: #ffffff;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    padding: 32px 28px;
    box-shadow: var(--tb-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tb-testi-rating {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.tb-testi-quote {
    font-size: 0.96rem;
    color: var(--tb-text-body);
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
}

.tb-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--tb-border);
    padding-top: 18px;
}

.tb-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tb-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--tb-secondary-light);
    border: 1px solid var(--tb-border);
}

.tb-testi-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--tb-text-dark);
    margin: 0;
}

.tb-testi-role {
    font-size: 12px;
    color: var(--tb-text-muted);
}

/* ==========================================================================
   11. Closing CTA Banner
   ========================================================================== */
.tb-closing-cta-section {
    background: linear-gradient(135deg, #090e1a 0%, #0f172a 50%, #1e3a8a 100%);
    color: #ffffff;
    padding: 85px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tb-closing-cta-wrap {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tb-closing-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #ffffff;
}

.tb-closing-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 34px;
}

.tb-closing-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tb-closing-alternate {
    font-size: 13.5px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.tb-closing-alternate strong {
    color: #ffffff;
}

/* ==========================================================================
   12. RFQ Inline Section & Modal
   ========================================================================== */
.tb-rfq-section {
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.tb-rfq-box {
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-lg);
    padding: 44px;
    box-shadow: var(--tb-shadow-md);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.tb-rfq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    width: 100%;
    box-sizing: border-box;
}

.tb-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0; /* Prevents grid cell horizontal blowout */
    width: 100%;
    box-sizing: border-box;
}

.tb-form-group.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

.tb-form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tb-text-dark);
    display: block;
    word-break: break-word;
}

.tb-form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 16px;
    border-radius: var(--tb-radius-sm);
    border: 1px solid var(--tb-border-strong);
    background: #ffffff;
    font-size: 14px;
    color: var(--tb-text-dark);
    transition: all 0.2s ease;
}

.tb-form-control:focus {
    border-color: var(--tb-primary);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15);
    outline: none;
}

textarea.tb-form-control {
    resize: vertical;
    max-width: 100%;
}

.tb-btn-submit-rfq {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: var(--tb-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 20px;
    border-radius: var(--tb-radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
    white-space: normal !important;
    text-align: center;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.tb-btn-submit-rfq:hover {
    background: var(--tb-secondary);
}

.tb-rfq-page-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.tb-rfq-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    box-sizing: border-box;
    width: 100%;
}

/* Modal Popup Styles */
.tb-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tb-modal-backdrop.is-active {
    display: flex;
    animation: tbFadeIn 0.25s ease;
}

.tb-modal-window {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    border-radius: var(--tb-radius-md);
    padding: 36px;
    box-shadow: var(--tb-shadow-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.tb-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-text-muted);
}

.tb-modal-close:hover {
    color: var(--tb-text-dark);
    background: var(--tb-bg-subtle);
}

/* ==========================================================================
   13. Multi-Branch Floating WhatsApp Drawer
   ========================================================================== */
.tb-wa-float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9990;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.tb-wa-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.tb-wa-float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: tbPulse 2s infinite;
    z-index: -1;
}

@keyframes tbPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.tb-wa-drawer {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 340px;
    background: #ffffff;
    border-radius: var(--tb-radius-md);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.25);
    border: 1px solid var(--tb-border);
    overflow: hidden;
    z-index: 9991;
    display: none;
    animation: tbDrawerIn 0.25s ease;
}

.tb-wa-drawer.is-active {
    display: block;
}

@keyframes tbDrawerIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tb-wa-drawer-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 18px 20px;
}

.tb-wa-drawer-header h3,
.tb-wa-drawer-header h4,
.tb-wa-drawer-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.tb-wa-drawer-header p {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0;
}

.tb-wa-branch-list {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tb-wa-branch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--tb-bg-light);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    transition: all 0.2s ease;
}

.tb-wa-branch-item:hover {
    background: #f0fdf4;
    border-color: #22c55e;
    transform: translateX(4px);
}

.tb-wa-branch-icon {
    width: 36px;
    height: 36px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    flex-shrink: 0;
}

.tb-wa-branch-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tb-text-dark);
    margin: 0;
}

.tb-wa-branch-desc {
    font-size: 11px;
    color: var(--tb-text-muted);
}

/* ==========================================================================
   14. Modern Footer
   ========================================================================== */
.tb-footer {
    background: #090e1a;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.8fr;
    gap: 40px;
    margin-bottom: 50px;
}

.tb-footer-col h3,
.tb-footer-col h4,
.tb-footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tb-footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tb-footer-links {
    list-style: none;
    font-size: 14px;
    line-height: 2.2;
}

.tb-footer-links a:hover {
    color: var(--tb-accent);
}

.tb-footer-contact-item {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.tb-footer-contact-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.tb-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   14B. Articles, Single Post, Category & Tag Archive Styles
   ========================================================================== */
.tb-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tb-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--tb-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tb-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.tb-article-thumb-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.tb-article-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tb-article-card:hover .tb-article-thumb {
    transform: scale(1.06);
}

.tb-article-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    z-index: 2;
}

.tb-article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tb-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
}

.tb-article-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 10px 0;
}

.tb-article-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tb-article-title a:hover {
    color: var(--tb-accent);
}

.tb-article-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

.tb-article-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.tb-article-link:hover {
    color: #1d4ed8;
    gap: 9px;
}

/* Article Filter Tabs */
.tb-article-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.tb-filter-pill {
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tb-filter-pill:hover,
.tb-filter-pill.active {
    background: var(--tb-primary);
    color: #ffffff;
    border-color: var(--tb-primary);
}

/* Single Post Layout */
.tb-single-post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.tb-single-article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.tb-post-header {
    margin-bottom: 28px;
}

.tb-post-h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 12px 0 16px 0;
}

.tb-post-meta-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13.5px;
    color: #64748b;
}

.tb-post-featured-media {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.tb-post-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

.tb-post-content {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.tb-post-content p {
    margin-bottom: 20px;
}

.tb-post-content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.tb-post-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 14px;
}

.tb-post-content ul,
.tb-post-content ol {
    margin: 0 0 24px 24px;
}

.tb-post-content li {
    margin-bottom: 8px;
}

.tb-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 26px 0 32px;
}

.tb-toc-box h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.tb-toc-box ol {
    margin: 0 0 0 20px;
    padding: 0;
    font-size: 14px;
}

.tb-toc-box li {
    margin-bottom: 6px;
}

.tb-toc-box a {
    color: #2563eb;
    text-decoration: none;
}

.tb-toc-box a:hover {
    text-decoration: underline;
}

.tb-callout-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 24px 0;
    color: #1e3a8a;
    font-size: 15px;
    line-height: 1.65;
}

.tb-callout-box strong {
    color: #1d4ed8;
}

.tb-post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 32px 0 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tb-tag-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tb-tag-badge:hover {
    background: var(--tb-accent);
    color: #ffffff;
}

.tb-author-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
}

.tb-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0f172a;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.tb-author-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.tb-author-info p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* Sidebar Widgets */
.tb-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.tb-widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.tb-widget-cats {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.tb-widget-cats li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tb-widget-cats li:last-child {
    border-bottom: none;
}

.tb-widget-cats a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}

.tb-widget-cats a:hover {
    color: #2563eb;
}

.tb-widget-cats span {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.tb-popular-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.tb-popular-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.tb-popular-post-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-popular-post-title:hover {
    color: var(--tb-accent);
}

/* ==========================================================================
   15. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .tb-hero-title { font-size: 2.3rem; }
    .tb-trust-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-features-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-product-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-industries-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-testimonials-grid { grid-template-columns: 1fr; }
    .tb-footer-grid { grid-template-columns: 1fr 1fr; }
    .tb-single-post-grid { grid-template-columns: 1fr; }
    .tb-article-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-rfq-page-grid { grid-template-columns: 1fr !important; }
}

/* Medium Tablets & Mobile Landscape (<= 991px) */
@media (max-width: 991px) {
    /* Mobile Navigation Drawer */
    .tb-main-nav {
        position: static;
    }
    .tb-nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 16px 20px 24px;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
        border-top: 1px solid #e2e8f0;
        border-bottom: 3px solid var(--tb-secondary-light);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 9999;
    }
    .tb-nav-menu.is-open {
        display: flex !important;
        animation: tbSlideDown 0.2s ease-out forwards;
    }
    .tb-nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }
    .tb-nav-menu > li:last-child {
        border-bottom: none;
    }
    .tb-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 13px 4px;
        font-size: 15px;
        font-weight: 700;
        color: var(--tb-text-dark);
    }
    .tb-nav-link:hover,
    .tb-nav-link.active {
        color: var(--tb-secondary-light);
    }
    .tb-has-dropdown .tb-sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8fafc !important;
        border-left: 3px solid var(--tb-secondary-light) !important;
        border-radius: 6px !important;
        margin: 0 0 12px 10px !important;
        padding: 4px 0 !important;
        width: calc(100% - 10px) !important;
        display: block !important;
    }
    .tb-sub-menu li a {
        padding: 9px 14px !important;
        font-size: 13.5px !important;
        color: #475569 !important;
        display: block !important;
        white-space: normal !important;
    }
    .tb-sub-menu li a:hover {
        color: var(--tb-primary) !important;
        background: #f1f5f9 !important;
    }
    .tb-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: #f1f5f9;
        border: 1px solid var(--tb-border);
        border-radius: 8px;
        color: var(--tb-text-dark);
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .tb-mobile-toggle:hover,
    .tb-mobile-toggle.is-active {
        background: var(--tb-primary);
        color: #ffffff;
    }

    /* RFQ Form: 100% Responsive Single Column at <=991px */
    .tb-rfq-section {
        padding: 60px 0;
    }
    .tb-rfq-box {
        padding: 32px 20px !important;
        border-radius: 14px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tb-rfq-form-grid {
        grid-template-columns: 1fr !important; /* Strictly 1 column so form never squeezes or overflows */
        gap: 16px !important;
        width: 100% !important;
    }
    .tb-form-group {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .tb-btn-submit-rfq {
        font-size: 14px !important;
        padding: 14px 16px !important;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    /* Topbar Polish: Slim 1-line topbar without massive vertical stack */
    .tb-topbar {
        padding: 6px 0;
        font-size: 11.5px;
    }
    .tb-topbar-wrap {
        justify-content: center;
        gap: 6px;
        flex-direction: row;
        text-align: center;
        padding: 0 12px;
    }
    .tb-topbar-left {
        display: none !important; /* Hide long delivery routes on mobile */
    }
    .tb-topbar-right {
        gap: 10px;
        justify-content: center;
        width: 100%;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .tb-topbar-item {
        white-space: nowrap;
    }

    /* Header Bar Polish: Perfectly balanced logo, compact buttons, and hamburger */
    .tb-header-inner {
        height: 60px;
        padding: 0 14px;
        gap: 8px;
        justify-content: space-between;
    }
    .tb-logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .tb-logo-icon svg {
        width: 20px;
        height: 20px;
    }
    .tb-logo-text h2 {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    .tb-logo-tagline {
        font-size: 9.5px;
        letter-spacing: 0.3px;
    }
    .tb-header-actions {
        gap: 8px;
        align-items: center;
        display: flex;
        flex-shrink: 0;
    }
    .tb-btn-header-wa {
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .tb-btn-header-wa span {
        display: none !important;
    }
    .tb-btn-header-wa svg {
        width: 20px;
        height: 20px;
        margin: 0;
    }
    .tb-btn-header-rfq {
        padding: 0 10px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
        font-size: 12px;
        font-weight: 800;
    }
    .tb-btn-header-rfq span {
        display: none !important; /* Hides "Minta Penawaran (RFQ)" text so header never breaks */
    }
    .tb-btn-header-rfq::after {
        content: 'RFQ'; /* Clean, ultra-compact mobile badge */
        display: inline-block;
        font-size: 11.5px;
        font-weight: 800;
        letter-spacing: 0.5px;
    }
    .tb-btn-header-rfq svg {
        width: 15px;
        height: 15px;
    }
    .tb-mobile-toggle {
        width: 38px;
        height: 38px;
    }

    /* Modal SPH Responsive */
    .tb-modal-backdrop {
        padding: 12px !important;
    }
    .tb-modal-window {
        padding: 24px 16px !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tb-modal-close {
        top: 14px !important;
        right: 14px !important;
        width: 32px !important;
        height: 32px !important;
    }

    /* Other Sections */
    .tb-hero-section { padding: 45px 0 60px 0; }
    .tb-hero-title { font-size: 1.85rem; }
    .tb-trust-stats-grid { grid-template-columns: 1fr; }
    .tb-features-grid { grid-template-columns: 1fr; }
    .tb-product-grid { grid-template-columns: 1fr; }
    .tb-industries-grid { grid-template-columns: 1fr; }
    .tb-steps-grid { grid-template-columns: 1fr; }
    .tb-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .tb-wa-drawer { width: calc(100% - 32px); right: 16px; bottom: 85px; }
    .tb-wa-float-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .tb-article-grid { grid-template-columns: 1fr; }
    .tb-single-article { padding: 20px 14px; }
    .tb-post-h1 { font-size: 1.6rem; }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
    .tb-header-inner {
        height: 56px;
        padding: 0 10px;
        gap: 6px;
    }
    .tb-logo-tagline {
        display: none !important; /* Hides tagline on small phones to keep header super clean */
    }
    .tb-logo-text h2 {
        font-size: 1.05rem;
    }
    .tb-header-actions {
        gap: 6px;
    }
    .tb-btn-header-wa {
        width: 34px;
        height: 34px;
    }
    .tb-btn-header-rfq {
        width: 34px;
        height: 34px;
        padding: 0;
    }
    .tb-btn-header-rfq::after {
        display: none !important; /* Icon-only on <=480px */
    }
    .tb-btn-header-rfq svg {
        margin: 0;
        width: 16px;
        height: 16px;
    }
    .tb-mobile-toggle {
        width: 34px;
        height: 34px;
    }
    .tb-rfq-box {
        padding: 20px 14px !important;
    }
    .tb-topbar-right .tb-topbar-item:first-child {
        display: none !important; /* On <=480px, show only phone link in topbar */
    }
    .preview-badge-floating {
        bottom: 12px !important;
        left: 12px !important;
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
}

@keyframes tbSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
