/* ==========================================
   iGeneTech OmniCapture - Main Stylesheet
   ========================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --secondary-color: #00B4D8;
    --accent-color: #06D6A0;
    
    /* Neutral Colors */
    --dark: #1A1A2E;
    --dark-gray: #2D3748;
    --gray: #4A5568;
    --light-gray: #A0AEC0;
    --lighter-gray: #E2E8F0;
    --off-white: #F7FAFC;
    --white: #FFFFFF;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00B4D8 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2D3748 100%);
    --gradient-accent: linear-gradient(135deg, #06D6A0 0%, #00B4D8 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-gutter: 20px;
    
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 40px;
    background: rgba(173, 216, 230, 0.95); /* lightblue: #ADD8E6 */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1px 0; /* ultra compact vertical padding */
    transition: var(--transition-normal);
    font-size: 0.70rem; /* smaller base font-size in navbar */
}

/* Limit navbar content width to ~2/3 of main container */
.navbar .container {
    max-width: calc(var(--container-width) * 0.66);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

/* Back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: opacity 0.3s;
    z-index: 1000;
}
.back-to-top.show {
    display: flex;
    opacity: 1;
}

/* Sticky header for full-length capture page (legacy) */
.sticky-header {
    position: sticky;
    top: 40px; /* beneath more compact navbar */
    z-index: 850;
    background: var(--white);
}
.sticky-header .page-hero,
.sticky-header .sub-nav {
    margin: 0;
}

/* add spacing below sticky header to reveal following cards */
.sticky-header + .content-section {
    margin-top: 40px;
}

/* General sticky page hero for all pages */
.page-hero {
    position: sticky;
    top: 40px; /* leave room for more compact navbar */
    z-index: 800;
    background: var(--white);
}

/* ensure content below hero is visible when it sticks */
.page-hero + .content-section,
.page-hero + .sub-nav,
.page-hero + section {
    margin-top: 8px;
}

/* Download info modal */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.download-modal.show {
    display: flex;
}
.download-modal__content {
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.download-modal__content h3 {
    margin-bottom: 16px;
}
.download-modal__content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.download-modal__content input {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 16px;
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-sm);
}
.download-modal__content .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}
.download-modal__content .btn-primary {
    width: 100%;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
}

.logo-igene {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.logo-omni {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.logo-microbe {
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px; /* tighter spacing between links */
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.88rem; /* compact link text */
    padding: 2px 0; /* minimal vertical padding */
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray);
}

.dropdown-menu li a:hover {
    background: var(--off-white);
    color: var(--primary-color);
}

.dropdown-menu li a::after {
    display: none;
}

/* Scale Hover Effect for Full-Length Capture Panels */
.scale-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    background: var(--off-white);
}

.dropdown-menu li a::after {
    display: none;
}

/* Submenu (Third Level Navigation) */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu > a .fa-chevron-right {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover > a .fa-chevron-right {
    transform: rotate(-90deg);
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 320px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-normal);
    z-index: 1000;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.submenu li a:hover {
    background: var(--off-white);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 50%, #f0f9ff 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Hero Visual: Active Network Nodes (Option 3) --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.opt3-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.opt3-center {
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%; background: var(--primary-color);
    display: flex; align-items: center; justify-content: center; color: white; font-size: 32px;
    box-shadow: 0 0 20px var(--primary-color);
    animation: pulse 2s infinite alternate; z-index: 5;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.opt3-node {
    position: absolute;
    /* Increased by 10%: original 56px -> 62px, 24px -> 26px font */
    width: 62px; height: 62px; border-radius: 50%;
    background: white; display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); z-index: 10;
}

.opt3-virus { color: var(--primary-color); top: 15%; left: 70%; animation: float1 4s ease-in-out infinite; border: 2px solid rgba(0,102,204,0.1); }
.opt3-bacteria { color: var(--accent-color); top: 65%; left: 75%; animation: float2 5s ease-in-out infinite; border: 2px solid rgba(6,214,160,0.1); }
.opt3-fungi { color: var(--secondary-color); top: 50%; left: 15%; animation: float3 4.5s ease-in-out infinite; border: 2px solid rgba(0,180,216,0.1); }

.opt3-pulse-ring {
    position: absolute; border: 2px solid var(--secondary-color); border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0;
    animation: ripple 2.5s infinite; pointer-events: none;
}

.opt3-pulse-ring:nth-child(2) { animation-delay: 1.25s; border-color: var(--primary-color); }

/* Dynamic dots flying toward center */
.opt3-capture-beam { position: absolute; top: 50%; left: 50%; transform-origin: top left; width: 150px; height: 2px; }
.opt3-cb1 { transform: rotate(-45deg); }
.opt3-cb2 { transform: rotate(15deg); }
.opt3-cb3 { transform: rotate(160deg); }

.opt3-cb-inner { 
    position: absolute; top:-3px; left:0; width: 8px; height: 8px; border-radius:50%; background: var(--secondary-color);
    animation: captureBeam 2s linear infinite; box-shadow: 0 0 12px var(--secondary-color);
}
.opt3-cb2 .opt3-cb-inner { background: var(--accent-color); animation-delay: 0.5s; box-shadow: 0 0 12px var(--accent-color); }
.opt3-cb3 .opt3-cb-inner { background: var(--primary-color); animation-delay: 1s; box-shadow: 0 0 12px var(--primary-color); }

@keyframes captureBeam { 0% { left: 100%; opacity: 0; scale: 0.5; } 20% { opacity: 1; scale: 1;} 80% { opacity: 1; } 100% { left: 0%; opacity: 0; scale: 0.5; } }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float2 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(10px) scale(1.05); } }
@keyframes float3 { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-15px); } }
@keyframes ripple {
    0% { width: 80px; height: 80px; opacity: 1; border-width: 3px; }
    100% { width: 340px; height: 340px; opacity: 0; border-width: 0px; }
}
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 15px rgba(0,102,204,0.4); } 100% { transform: scale(1.05); box-shadow: 0 0 35px rgba(0,102,204,0.8); } }

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 40px 0;
}

.section-header.light {
    color: var(--white);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-header.light .section-tag {
    color: var(--accent-color);
}

.section-header h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 1rem;
}

/* Advantages Section */
.advantages {
    background: var(--off-white);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Products Section */
.products {
    background: var(--white);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: var(--transition-normal);
}

.product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.02) 0%, var(--white) 100%);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.product-card.featured .product-icon {
    background: var(--gradient-primary);
}

.product-card.featured .product-icon i {
    color: var(--white);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.product-features li i {
    color: var(--accent-color);
    margin-top: 4px;
    font-size: 0.8rem;
}

.product-highlights {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.highlight-item {
    text-align: center;
    flex: 1;
}

.highlight-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Workflow Preview Section */
.workflow-preview {
    background: var(--gradient-dark);
    padding: 100px 0;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px 24px;

/* Full-width workflow image (align to section edges) */
.workflow-fullbleed .workflow-figure {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.workflow-fullbleed .workflow-figure img {
    border-radius: 0;
}
    text-align: center;
    width: 180px;
    transition: var(--transition-normal);
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.workflow-step h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}

.workflow-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.workflow-arrow {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.workflow-cta {
    text-align: center;
}

/* Applications Section */
.applications {
    background: var(--off-white);
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.application-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.app-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.app-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.app-icon .app-icon-svg {
    width: 1.6rem;
    height: 1.6rem;
    display: block;
    color: var(--primary-color);
}

.application-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.application-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Case Studies Section */
.case-studies {
    background: var(--white);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.case-card:hover {
    box-shadow: var(--shadow-md);
}

.case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.case-card p.pub-preview {
    margin-bottom: 0;
    display: none;
}

.case-card.is-abstract-open p.pub-preview {
    display: block;
}

.case-card .abstract-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.9rem;
    margin: 12px 0;
}

.case-card .fulltext-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.case-journal {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px; /* tighter spacing between links */
}
.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem; /* standard size */
    padding: 0 4px; /* slight horizontal breathing room */
    position: relative;
}

.logo a { gap: 2px; }
/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-igene,
.footer-logo .logo-omni {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--light-gray);
    margin-bottom: 24px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* Pathogen grid and card styles */
.pathogen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pathogen-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.pathogen-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.pathogen-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 102, 0, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pathogen-icon i {
    font-size: 1.5rem;
    color: #e74c3c;
}

.pathogen-content h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.pathogen-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pathogen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 6px; /* tighter spacing between links (shrunken state) */
    }
    .nav-links a {
        color: var(--dark-gray);
        font-weight: 500;
        font-size: 0.68rem; /* compact link text for shrunken navbar */
        padding: 0 4px; /* minimal horizontal padding */
        position: relative;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .pathogen-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Page-specific styles */
.page-hero {
    background: linear-gradient(135deg, #E8F6FF 0%, #DFF3FF 100%); /* light-blue gradient */
    padding: 50px 0 28px; /* reduced vertical padding */
    text-align: center;
    color: var(--dark);
}

.page-hero h1 {
    color: var(--dark);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(26, 26, 46, 0.85); /* darker paragraph on light background */
    font-size: 0.95rem; /* paragraph text */
    max-width: 520px; /* narrower content width */
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 0.8rem; /* slightly smaller breadcrumb */
}

.breadcrumb a {
    color: rgba(45, 55, 72, 0.75); /* darker link color on light hero */
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--primary-color);
}

.content-section.alt {
    background: var(--off-white);
}

/* Probe design section styles */
.probe-design-section .section-header h2 {
    margin-top: 8px;
}
.probe-design {
    display: flex;
    gap: 28px;
    align-items: center; /* vertically center image and text */
    margin-top: 18px;
}
.probe-design-figure {
    flex: 0 0 640px;
    max-width: 100%;
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.probe-design-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.probe-design-figure figcaption {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 8px;
}
.probe-design-text { 
    flex: 1 1 auto;
    font-size: 1rem;
    color: var(--dark-gray);
    margin-top: 12px; /* nudge the description slightly downward */
}

@media (max-width: 900px) {
    .probe-design { flex-direction: column; }
    .probe-design-figure { flex: 1 1 auto; }
}

/* Workflow figure styles for DNA/RNA diagrams */
.workflow-figures {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}
.workflow-column {
    flex: 1 1 420px;
}
.workflow-figure {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.workflow-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    image-rendering: optimizeQuality;
    filter: contrast(1.08) saturate(1.05);
    transition: filter 0.25s ease;
}
.workflow-figure figcaption {
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}
.workflow-list {
    margin-top: 12px;
    color: var(--dark-gray);
    padding-left: 18px;
}
.workflow-list li {
    margin-bottom: 8px;
    color: var(--gray);
}

@media (max-width: 900px) {
    .workflow-figures { flex-direction: column; }
    .workflow-column { width: 100%; }
}

/* Performance metrics styles */
.metrics-grid {
    display: flex;
    flex-direction: column; /* always stack vertically */
    gap: 28px;
    align-items: stretch;
    justify-content: center;
}
.metric-figure {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--lighter-gray);
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 100%;
    max-width: none; /* allow full width */
}
.metric-figure img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0; /* remove extra spacing */
    max-height: none; /* remove height constraint to allow largest display */
    object-fit: contain;
}

/* Render image helpers (visual crop + tight stacking) */
.render-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.render-stack--tight {
    gap: 6px;
}
.render-frame {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.render-frame--as12 {
    height: clamp(220px, 22vw, 320px);
}
.render-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* AS12 module layout */
.as12-highlights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .as12-highlights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.metric-figure figcaption {
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 900px) {
    .metrics-grid { gap: 20px; }
    .metric-figure { max-width: 100%; }
}

/* Tables */
.table-wrapper {
    width: calc(100% + (var(--container-gutter) * 2));
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    margin: 0 calc(var(--container-gutter) * -1);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table th {
    background: linear-gradient(135deg, #1b9dff 0%, #4dcfff 100%);
    color: var(--white);
    font-weight: 600;
}

.data-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.data-table tr:hover {
    background: var(--off-white);
}

.table-section {
    background: var(--white);
}

.table-section .section-header {
    padding-bottom: 0;
}

.table-section .section-header p:last-child {
    margin-bottom: 0;
}

.data-table tbody tr:nth-of-type(even) {
    background: var(--white);
}

/* Feature list */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

/* Swine card: add a subtle icon pattern on the blue icon tile */
.feature-icon.feature-icon--swine {
    position: relative;
    overflow: hidden;
}

.feature-icon.feature-icon--swine::after {
    content: "\f5d7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -12px;
    font-size: 44px;
    color: var(--white);
    opacity: 0.18;
    transform: rotate(-18deg);
    pointer-events: none;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.reference-list {
    margin-top: 24px;
}

.reference-list ol {
    padding-left: 1.25rem;
    color: var(--gray);
}

.reference-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Specification cards */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary-color);
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.spec-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.product-footer {
    padding: 15px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.pathogen-type {
    display: inline-block;
    padding: 6px 14px;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===================================
   Responsive Design for Product Cards
   =================================== */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info-section {
        padding: 40px 0;
    }
    
    .product-info-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .product-header {
        padding: 20px;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
    }
    
    .product-icon i {
        font-size: 24px;
    }
    
    .product-body {
        padding: 20px;
    }
}

/* Sub Navigation on Page */
.sub-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

.sub-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sub-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    padding-right: 20px;
}

.sub-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sub-nav-links li a {
    display: block;
    padding: 8px 16px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sub-nav-links li a:hover,
.sub-nav-links li a.active {
    background: var(--primary-color);
    color: var(--white);
}

.sub-nav-links li a::after {
    display: none;
}

/* Scale Hover Effect for Full-Length Capture Panels */
.scale-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    background: var(--off-white);
}

.sub-nav-links li a::after {
    display: none;
}

/* Responsive Sub Navigation */
@media (max-width: 992px) {
    .sub-nav .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sub-nav-links {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .sub-nav-links li a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Mobile Menu Button */
.application-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.application-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Case Studies Section */
.case-studies {
    background: var(--white);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.case-card:hover {
    box-shadow: var(--shadow-md);
}

.case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.case-journal {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.case-link:hover {
    gap: 12px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-igene,
.footer-logo .logo-omni {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--light-gray);
    margin-bottom: 24px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-light);
}

.pathogen-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 102, 0, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pathogen-icon i {
    font-size: 1.5rem;
    color: #e74c3c;
}

.pathogen-content h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.pathogen-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pathogen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .pathogen-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Page-specific styles */
.page-hero {
    background: rgba(173, 216, 230, 0.95); /* lightblue: #ADD8E6 */
    padding: 36px 0 20px; /* more compact vertical padding */
    text-align: center;
    color: var(--dark);
}

.page-hero h1 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 2rem; /* tighter hero heading */
    line-height: 1.02;
}

.page-hero p {
    color: rgba(26, 26, 46, 0.85);
    font-size: 0.95rem; /* slightly smaller paragraph */
    max-width: 480px; /* narrower content to reduce visual width */
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}


.page-hero .container {
    max-width: 760px; /* tighter content width for compact hero */
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

.breadcrumb a {
    color: rgba(45, 55, 72, 0.75); /* darker links on light hero */
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .page-hero {
        padding: 28px 0 18px;
    }
    .page-hero h1 {
        font-size: 1.6rem;
    }
    .page-hero p {
        font-size: 0.9rem;
        max-width: 360px;
    }
    .page-hero .container {
        max-width: 92%;
    }
}

.breadcrumb span {
    color: var(--accent-color);
}

/* Content sections */
.content-section {
    padding: 30px 0;
}

.content-section.alt {
    background: var(--off-white);
}


/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--lighter-gray);
}

.data-table th {
    background: #0f1f55;
    color: var(--white);
    font-weight: 600;
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.catalog-table th,
.catalog-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--lighter-gray);
}

.catalog-table thead th {
    background: linear-gradient(135deg, #1b9dff 0%, #4dcfff 100%);
    color: #ffffff;
    font-weight: 600;
    text-transform: none;
}

.catalog-gap td {
    padding: 0;
    border: none;
    height: 10px;
    background: var(--off-white);
}

.data-table tr:hover {
    background: var(--off-white);
}

/* Feature list */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Specification cards */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary-color);
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.spec-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Info cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* Allow info-cards to be links without changing appearance */
a.info-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
a.info-card:hover {
    text-decoration: none;
}

/* Species list (tNGS product pages) */
.species-list {
    margin-top: 24px;
    padding: 24px;
    background: var(--off-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
    .species-list {
        background: color-mix(in srgb, var(--primary-light) 10%, var(--white));
    }
}

.species-list__header h3 {
    margin: 0 0 6px;
}

.species-list__header p {
    margin: 0 0 16px;
    color: var(--gray);
}

.species-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.species-group {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 16px;
}

.species-group__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.species-group__title h4 {
    margin: 0;
}

.species-group__meta {
    color: var(--gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

.species-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.species-items li {
    padding: 6px 10px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
}

.species-note {
    margin: 16px 0 0;
    color: var(--gray);
}

@media (min-width: 768px) {
    .species-groups {
        grid-template-columns: repeat(2, 1fr);
    }
    .species-items {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .species-groups {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Left-align info-cards inside the Product Advantages block */
.product-advantages .info-card {
    text-align: left;
    border: 1px solid var(--lighter-gray);
    padding: 28px;
    background: linear-gradient(180deg, rgba(247,250,252,1) 0%, var(--white) 100%);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s var(--transition-fast), box-shadow 0.18s var(--transition-fast);
}

.product-advantages .info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h4 {
    margin-bottom: 12px;
}

.info-card p {
    color: var(--gray);
    margin-bottom: 0;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Product Table Styles */
.product-table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.product-table thead {
    background: linear-gradient(135deg, #1b9dff 0%, #4dcfff 100%);
    color: white;
}

.product-table th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    white-space: nowrap;
}

.product-table th:last-child {
    border-right: none;
}

.product-table td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--lighter-gray);
    color: var(--gray);
    font-size: 13px;
}

.product-table tbody tr:hover {
    background-color: var(--off-white);
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

/* Ordering button + modal (used in panel product lists) */
.order-cell { text-align: left; }
.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}
.order-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.order-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.order-modal.is-open { display: flex; }
.order-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
}
.order-modal__dialog {
    position: relative;
    width: min(860px, calc(100% - 40px));
    max-height: calc(100% - 40px);
    overflow: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 18px 22px;
}
.order-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--lighter-gray);
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}
.order-modal__header { padding: 4px 2px 14px; }
.order-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
}
.order-modal__cube {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--off-white);
    color: var(--primary-color);
    border: 1px solid var(--lighter-gray);
}

.order-form { display: flex; flex-direction: column; gap: 12px; }
.order-form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.order-form__row--split { grid-template-columns: repeat(2, 1fr); }
.order-form__field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 10px 12px;
}
.order-form__icon { color: var(--primary-color); width: 18px; display: inline-flex; justify-content: center; }
.order-form__input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--dark-gray);
    background: transparent;
}
.order-form__input[readonly] { color: var(--gray); }

.order-form__radios { display: flex; gap: 10px; width: 100%; }
.order-form__radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--lighter-gray);
    background: var(--off-white);
    cursor: pointer;
    user-select: none;
    flex: 1;
    justify-content: center;
    font-weight: 600;
    color: var(--dark-gray);
}
.order-form__radio input { accent-color: var(--primary-color); }

.order-form__textarea {
    width: 100%;
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    outline: none;
    font-size: 14px;
    color: var(--dark-gray);
    background: var(--white);
    resize: vertical;
    min-height: 140px;
}

.order-form__actions { display: flex; justify-content: center; padding-top: 6px; }
.order-form__submit {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 34px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
}

@media (max-width: 768px) {
    .order-form__row { grid-template-columns: 1fr; }
    .order-form__radios { flex-direction: column; }
}

.product-info-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--lighter-gray);
}

.product-info-section:last-child {
    border-bottom: none;
}

.background-content {
    margin-top: 5px;
    line-height: 1.8;
}

.background-content p {
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.background-content p:last-child {
    margin-bottom: 0;
}




/* Panel details (Performance / Ordering / References) */
.panel-details {
    padding: 48px 0 64px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.performance-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.perf-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.perf-card img { border-radius: 8px; display:block; margin:0 auto 8px; max-height:160px; object-fit:cover; }
.perf-card p { font-size: 0.95rem; color: var(--gray); margin: 0; }

/* Performance image grid: two images per row, smaller thumbnails */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 12px;
}

.performance-grid .perf-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.performance-grid .perf-figure {
    width: 100%;
    max-width: 520px;
}

.performance-grid .image-caption {
    margin: 10px 0 0 0;
    color: var(--gray);
    font-size: 0.95rem;
    text-align: center;
}

.performance-grid .perf-item img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .performance-grid {
        grid-template-columns: 1fr;
    }
    .performance-grid .perf-item img {
        max-width: 100%;
    }
}

.perf-card { position: relative; padding: 0; }
.perf-badge {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin: 12px auto 8px auto;
    text-align: center;
}

.perf-overlay { display: none; }

.perf-card img { display:block; width:100%; height:auto; border-radius:8px; }
.perf-card { overflow: visible; padding: 6px; display:flex; flex-direction:column; align-items:center; }

.ordering-table-container { margin-top: 18px; overflow-x: auto; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); }
.ordering-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ordering-table thead { background: linear-gradient(90deg,var(--primary-light),var(--secondary-color)); color: var(--white); }
.ordering-table th, .ordering-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--lighter-gray); }
.ordering-table tbody tr:nth-child(odd) { background: #fff; }
.ordering-table tbody tr:nth-child(even) { background: #fbfbff; }

.references-list { margin-top: 16px; padding-left: 20px; color: var(--gray); }
.references-list li { margin-bottom: 8px; line-height: 1.4; }

@media (max-width: 768px) {
    .performance-gallery { grid-template-columns: repeat(2, 1fr); }
    .ordering-table { min-width: 600px; }
}

/* Styles for the ordering table used across panels (.order-table) */
.table-responsive {
    margin-top: 18px;
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.order-table thead {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
    color: var(--white);
}

.order-table th, .order-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--lighter-gray);
    font-weight: 500;
}

.order-table thead th {
    font-weight: 700;
    text-align: left;
}

.order-table tbody tr:nth-child(odd) { background: #fff; }
.order-table tbody tr:nth-child(even) { background: #fbfbff; }

.order-table td:nth-child(2), .order-table td:nth-child(3), .order-table td:nth-child(4) {
    text-align: center;
    color: var(--dark-gray);
    font-family: inherit;
}

/* Align headers and cells: center catalog columns and vertically middle-align all cells */
.order-table thead th:nth-child(2),
.order-table thead th:nth-child(3),
.order-table thead th:nth-child(4) {
    text-align: center;
}

/* Order column: keep it left-aligned */
.order-table td:nth-child(4),
.order-table thead th:nth-child(4),
.product-table td:nth-child(4),
.product-table thead th:nth-child(4) {
    text-align: left;
}

.order-table th, .order-table td {
    vertical-align: middle;
}

/* Set column widths to keep numbers aligned */
.order-table th:nth-child(1) { width: 46%; }
.order-table th:nth-child(2), .order-table th:nth-child(3), .order-table th:nth-child(4) { width: 18%; }

@media (max-width: 900px) {
    .order-table { min-width: 600px; }
}



