/* ============================================================
   ProbGen — Unified Product Page Stylesheet (G2M-Style Layout)
   Outfit + Plus Jakarta Sans | Corporate Molecular Diagnostics
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===== DESIGN TOKENS (Matched to Official ProbGen Logo) ===== */
:root {
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-dark: #07172c;       /* Rich Logo Dark Navy */
    --bg-dark-mid: #0b2545;   /* ProbGen Logo Deep Blue */
    --bg-dark-soft: #0e3057;

    --accent: #f37021;        /* Logo "Prob" Brand Orange */
    --accent-glow: rgba(243, 112, 33, 0.22);
    --accent-hover: #e05d0d;
    --accent-blue: #0072bc;   /* Logo "Gen" Brand Blue */
    --accent-blue-glow: rgba(0, 114, 188, 0.18);

    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-dark: rgba(255,255,255,0.12);

    --text-primary: #0b192c;
    --text-muted: #475569;
    --text-light: rgba(255,255,255,0.85);
    --text-white: #ffffff;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 99px;

    --shadow-sm: 0 4px 12px rgba(11,25,69,0.05);
    --shadow-md: 0 8px 24px rgba(11,25,69,0.08);
    --shadow-lg: 0 20px 50px rgba(11,25,69,0.12);
    --shadow-accent: 0 6px 20px rgba(243,112,33,0.35);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    background: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { transition: all 0.25s ease; }

/* ===== NAVBAR ===== */
.glass-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(8, 23, 44, 0.92);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    transition: all 0.4s ease;
}
.glass-header.scrolled {
    padding: 10px 0;
    background: rgba(7, 23, 44, 0.97);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.header-container {
    max-width: 1320px; margin: 0 auto; padding: 0 28px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-section { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-menu-links {
    display: flex; align-items: center; gap: 32px;
    margin: 0; padding: 0; list-style: none;
}
.nav-link-item {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
    transition: all 0.25s ease;
    padding: 4px 0;
}
.nav-link-item:hover {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(243, 112, 33, 0.6);
}
.nav-link-item.active {
    color: #ffffff;
    border-bottom: 2px solid var(--accent);
    text-shadow: 0 0 14px rgba(243, 112, 33, 0.8);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-bar {
    background: #07172c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    margin-top: 116px; /* exact height of fixed 2-tier navbar */
}
.breadcrumb-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255, 255, 255, 0.65);
}
.breadcrumb-inner a {
    color: rgba(255, 255, 255, 0.7); text-decoration: none;
}
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner .bc-sep {
    color: rgba(255, 255, 255, 0.35); font-size: 11px;
}
.breadcrumb-inner .bc-current {
    color: #ffffff; font-weight: 600;
}

/* ===== HERO IMAGE BAND (dark) ===== */
.hero-image-band {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 60%, var(--bg-dark-soft) 100%);
    padding: 60px 28px;
    position: relative;
    overflow: hidden;
}
.hero-image-band::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(243,112,33,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(0,114,188,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-band-inner {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative;
}
.hero-band-left { }
.hero-band-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 11px; font-weight: 800;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.hero-band-tagline::before {
    content: ''; display: block;
    width: 30px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.hero-band-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800; color: var(--text-white);
    line-height: 1.2; margin: 0 0 22px 0;
}
.hero-band-desc {
    color: var(--text-light);
    font-size: 15.5px; line-height: 1.75;
    margin: 0 0 30px 0;
}
.hero-spec-chips {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.spec-chip {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    color: rgba(255,255,255,0.9);
    font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 7px;
}
.spec-chip i { color: var(--accent); }
.hero-band-right {
    display: flex; flex-direction: column;
    align-items: center; gap: 24px;
}
.product-image-frame {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 100%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
}
.product-image-frame img {
    max-height: 320px; max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.hero-action-btns {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none; border-radius: var(--radius-md);
    color: var(--text-white) !important;
    padding: 13px 28px; font-weight: 700; font-size: 15px;
    text-decoration: none;
    box-shadow: var(--shadow-accent);
    transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243,112,33,0.48);
}
.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.9) !important;
    padding: 13px 24px; font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ===== SECTION LAYOUT ===== */
.prod-section {
    padding: 80px 28px;
}
.prod-section.bg-light { background: var(--bg-light); }
.prod-section.bg-white { background: var(--bg-white); }
.prod-section.bg-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%);
}
.prod-section + .prod-section {
    border-top: 1px solid var(--border);
}
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px; font-weight: 800;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 10px;
}
.section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800; letter-spacing: -0.8px;
    color: var(--text-primary);
    margin: 0 0 16px 0; line-height: 1.2;
}
.section-heading.light { color: var(--text-white); }
.section-subheading {
    font-size: 16px; color: var(--text-muted);
    line-height: 1.65; max-width: 680px;
    margin: 0 0 50px 0;
}
.section-subheading.light { color: var(--text-light); }

/* ===== OVERVIEW SECTION ===== */
.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px; align-items: start;
}
.overview-content p {
    color: var(--text-muted);
    font-size: 15.5px; line-height: 1.78;
    margin-bottom: 18px;
}
.overview-content p:last-child { margin-bottom: 0; }
.overview-content p strong { color: var(--text-primary); }
.overview-specs-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.overview-specs-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 22px;
}
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid var(--border);
    font-size: 14.5px; color: var(--text-primary); line-height: 1.5;
}
.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-list li i { color: var(--accent); font-size: 14px; flex-shrink: 0; margin-top: 2px; }

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px var(--accent-glow);
}
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 18px;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.feature-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px; font-weight: 800;
    color: var(--text-primary); margin: 0 0 10px 0;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px; line-height: 1.65; margin: 0;
}

/* ===== TARGETS / PANEL SECTION ===== */
.targets-band {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-soft) 100%);
    padding: 80px 28px;
}
.targets-band-inner { max-width: 1320px; margin: 0 auto; }
.target-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px; margin-top: 44px;
}
.target-group-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    transition: all 0.3s ease;
}
.target-group-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
}
.target-group-card h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); margin: 0 0 16px 0;
    display: flex; align-items: center; gap: 8px;
}
.target-group-card h5 i { font-size: 12px; }
.target-list { list-style: none; padding: 0; margin: 0; }
.target-list li {
    padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.82); font-size: 13.5px;
    display: flex; gap: 8px; align-items: center; line-height: 1.4;
}
.target-list li:last-child { border-bottom: none; }
.target-list li::before {
    content: '';
    width: 5px; height: 5px; min-width: 5px;
    border-radius: 50%; background: var(--accent);
}

/* ===== APPLICATIONS SECTION ===== */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.application-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}
.application-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.application-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px; font-weight: 800;
    color: var(--text-primary); margin: 0 0 10px 0;
}
.application-card p {
    color: var(--text-muted);
    font-size: 14px; line-height: 1.65; margin: 0;
}

/* ===== SPECIFICATIONS TABLE ===== */
.specs-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.specs-table {
    width: 100%; border-collapse: collapse;
}
.specs-table th {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 700;
    padding: 14px 22px; text-align: left;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.specs-table td {
    padding: 14px 22px; font-size: 14.5px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--bg-light); }
.specs-table td:first-child {
    font-weight: 700; color: var(--text-muted);
    width: 38%; background: var(--bg-lighter) !important;
}

/* ===== ORDERING TABLE ===== */
.ordering-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}
.ordering-table {
    width: 100%; border-collapse: collapse;
}
.ordering-table thead th {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 700;
    padding: 16px 24px; text-align: left;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.ordering-table tbody td {
    padding: 15px 24px; font-size: 14.5px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}
.ordering-table tbody tr:last-child td { border-bottom: none; }
.ordering-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.ordering-table .cat-no {
    font-family: 'Outfit', sans-serif;
    font-weight: 800; color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 10px; border-radius: 6px;
    display: inline-block; font-size: 13.5px;
}
.ordering-table .pack-badge {
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: 8px; padding: 4px 12px;
    font-weight: 700; font-size: 13px;
    color: var(--text-primary); display: inline-block;
}

/* ===== CONTACT / CTA SECTION ===== */
.cta-band {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%);
    padding: 70px 28px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800; color: var(--text-white);
    margin: 0 0 16px 0;
}
.cta-band p {
    color: var(--text-light); font-size: 15.5px; margin: 0 0 32px 0;
}

/* ===== FOOTER (Handled by frontend-footer.php) ===== */
.footer-corp {
    margin-top: 0 !important;
}

/* ===== SCROLL ANIMATION ===== */
.animate-fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-band-inner { grid-template-columns: 1fr; gap: 40px; }
    .overview-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .breadcrumb-bar { margin-top: 55px; padding: 10px 0; }
    .product-title-block h1 { font-size: 26px; letter-spacing: -0.8px; }
    .prod-section { padding: 50px 18px; }
    .targets-band { padding: 50px 18px; }
    .hero-image-band { padding: 40px 18px; }
    .features-grid { grid-template-columns: 1fr; }
    .target-groups-grid { grid-template-columns: 1fr 1fr; }
    .applications-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-bar { flex-direction: column; gap: 10px; text-align: center; }
    .nav-menu-links { display: none; }
    .hero-action-btns { flex-direction: column; width: 100%; }
    .hero-action-btns .btn-order, .hero-action-btns .btn-brochure { width: 100%; justify-content: center; }
    .hero-band-inner { text-align: center; }
    .hero-band-tagline { justify-content: center; }
}
@media (max-width: 480px) {
    .target-groups-grid { grid-template-columns: 1fr; }
    .hero-spec-chips { justify-content: center; }
    .breadcrumb-inner { flex-wrap: wrap; font-size: 12px; }
}
