/* ============================================
   Global Styles & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary-color: #64748B;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-light: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-alternate: #EFF6FF;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --success-color: #2563EB;
    --accent-blue: #EFF6FF;
    --accent-light: #F8FAFC;
    --section-divider: rgba(37, 99, 235, 0.08);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Responsive container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 72px;
}

/* Reading progress bar at top of navbar */
.navbar-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
    z-index: 1001;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active {
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Dropdown Menu Styles */
.nav-menu li {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--text-light);
    margin-left: 4px;
}

.nav-menu li:hover .dropdown-toggle::after,
.nav-menu li.has-dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid var(--border-color);
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 28px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-menu li:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: left;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    text-align: left;
    display: block;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Products Section
   ============================================ */
.products-preview {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 32px;
}

.product-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-specs {
    list-style: none;
    margin-bottom: 24px;
}

.product-specs li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.product-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   Applications Section
   ============================================ */
.applications {
    padding: 120px 0;
    background: var(--bg-primary);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.application-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.application-item:hover {
    background: var(--bg-tertiary);
    transform: translateY(-4px);
}

.application-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.application-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.application-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    position: relative;
    padding: 0;
    background: var(--bg-secondary);
    text-align: center;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 72px;
}

/* Banner image support */
.page-header[data-banner] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary);
    /* Background image will be set via JavaScript from data-banner attribute */
}

/* Overlay for better text readability */
.page-header[data-banner]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-header[data-banner] h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.page-header[data-banner] p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Products Detail Page
   ============================================ */
.products-detail {
    padding: 80px 0;
}

.product-detail-section {
    margin-bottom: 120px;
}

.product-detail-section:last-child {
    margin-bottom: 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-detail-content.reverse {
    direction: rtl;
}

.product-detail-content.reverse > * {
    direction: ltr;
}

.product-detail-image {
    width: 100%;
}

.product-detail-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.product-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-specifications,
.product-features,
.product-process {
    margin-bottom: 32px;
}

.product-specifications h3,
.product-features h3,
.product-process h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-specifications ul,
.product-features ul,
.product-process ol {
    list-style: none;
    padding-left: 0;
}

.product-specifications li,
.product-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.product-specifications li::before,
.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.product-process ol {
    counter-reset: step-counter;
}

.product-process li {
    padding: 12px 0;
    padding-left: 40px;
    color: var(--text-secondary);
    position: relative;
    counter-increment: step-counter;
}

.product-process li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.product-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* ============================================
   About Page
   ============================================ */
.about-page {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-intro-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.about-values {
    margin-bottom: 80px;
}

.about-values h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-item {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-certifications h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.cert-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.cert-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cert-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.business-hours {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.business-hours h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.business-hours p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
}

.contact-form-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.file-upload-button {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.file-upload-label:hover .file-upload-button {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.file-upload-text {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   Blog Page
   ============================================ */
.blog-page {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 240px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-date,
.blog-category {
    color: var(--text-light);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-btn {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Blog Detail Page
   ============================================ */
.blog-detail-header {
    position: relative;
    padding: 0;
    background: var(--bg-secondary);
    text-align: center;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 72px;
}

/* Banner image support for blog detail header */
.blog-detail-header[data-banner] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary);
}

/* Overlay for better text readability */
.blog-detail-header[data-banner]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.blog-detail-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.blog-detail-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-detail-header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.blog-detail-header[data-banner] h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-detail-header[data-banner] .breadcrumb,
.blog-detail-header[data-banner] .blog-detail-meta {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.blog-detail-header[data-banner] .breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
}

.blog-detail-header[data-banner] .blog-detail-meta span {
    color: rgba(255, 255, 255, 0.9);
}

.blog-detail-content {
    padding: 80px 0;
}

.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    position: relative;
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    margin-bottom: 48px;
    border-radius: 16px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.blog-article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--text-primary);
}

.blog-article-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.blog-article-content p {
    margin-bottom: 24px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 24px 0;
    padding-left: 32px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.blog-article-content li {
    margin-bottom: 12px;
}

.blog-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    text-align: center;
}

.blog-cta h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-cta p {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
}

.sidebar-widget .btn-primary,
.sidebar-widget .btn-secondary,
.sidebar-widget .btn-outline {
    text-align: left;
    margin-top: 16px;
}

.blog-sidebar .related-posts {
    padding: 0;
    background: transparent;
}

.blog-sidebar .related-posts h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: left;
    color: var(--text-primary);
}

.blog-sidebar .related-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.related-post-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-post-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-post-content {
    padding: 16px;
}

.related-post-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.related-post-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: var(--primary-color);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.recent-posts,
.blog-categories {
    list-style: none;
}

.recent-posts li,
.blog-categories li {
    margin-bottom: 12px;
}

.recent-posts a,
.blog-categories a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts a:hover,
.blog-categories a:hover {
    color: var(--primary-color);
}

.related-posts {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.related-posts h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* ============================================
   News Page
   ============================================ */
.news-page {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    width: 100%;
    height: 240px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 32px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.news-date,
.news-category {
    color: var(--text-light);
}

.news-category {
    color: var(--primary-color);
    font-weight: 500;
}

.news-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h2 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    gap: 8px;
}

/* ============================================
   Knowledge Base Page
   ============================================ */
.knowledge-section {
    padding: 80px 0;
}

.knowledge-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.knowledge-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.knowledge-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.knowledge-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.knowledge-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
}

.knowledge-card li {
    padding: 8px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.6;
}

.knowledge-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.knowledge-card li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   Image Placeholders
   ============================================ */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    border-radius: 8px;
}

.image-placeholder.large {
    min-height: 400px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #2C2C2C;
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section .contact-info {
    list-style: none;
    padding: 0;
}

.footer-section .contact-info li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section .contact-info li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .contact-info li a:hover {
    color: white;
}

.footer-section .contact-info .address {
    margin-top: 16px;
    line-height: 1.8;
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C2C2C;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-media a svg {
    width: 20px;
    height: 20px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    position: relative;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .product-detail-content,
    .about-intro,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .blog-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .page-header {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
    }
    
    .page-header h1 {
        font-size: 42px;
    }
    
    .blog-detail-header {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
    }
    
    .blog-detail-header h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .page-header,
    .blog-detail-header {
        margin-top: 70px;
    }
}

/* Mobile Landscape & Tablet Portrait (600px - 768px) */
@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar {
        height: 64px;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .page-header,
    .blog-detail-header {
        margin-top: 64px;
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 64px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid,
    .products-grid,
    .applications-grid,
    .blog-grid,
    .capability-grid,
    .news-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .page-header h1,
    .blog-detail-header h1 {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .page-header p,
    .blog-detail-header .breadcrumb {
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .product-cta {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .capability-section,
    .about-section,
    .news-section,
    .knowledge-section {
        padding: 60px 0;
    }
    
    .feature-card,
    .product-card,
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .blog-card {
        padding: 20px;
    }
    
    .blog-featured-image {
        height: 250px;
    }
    
    .blog-detail-content {
        padding: 48px 0;
    }
    
    .blog-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .product-image {
        height: 240px;
    }
    
    .application-item {
        padding: 32px 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* Mobile Portrait (480px - 600px) */
@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-header h1,
    .blog-detail-header h1 {
        font-size: 32px;
    }
    
    .page-header,
    .blog-detail-header {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .capability-grid,
    .news-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        height: 60px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .page-header,
    .blog-detail-header {
        margin-top: 60px;
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .feature-card,
    .product-card,
    .contact-form-wrapper,
    .blog-card {
        padding: 20px;
    }
    
    .page-header h1,
    .blog-detail-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 13px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .capability-section,
    .about-section,
    .news-section,
    .knowledge-section {
        padding: 48px 0;
    }
    
    .blog-featured-image {
        height: 200px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .application-item {
        padding: 24px 20px;
    }
    
    .application-icon {
        font-size: 40px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .blog-detail-meta {
        font-size: 12px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Related Posts Grid */
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .pagination-btn {
        min-width: 40px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 24px;
    }
    
    .contact-form-group {
        margin-bottom: 20px;
    }
    
    .contact-form label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Tables */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
        font-size: 14px;
    }
    
    table th,
    table td {
        padding: 12px 8px;
    }
    
    /* Case Study Grid */
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-study-card {
        padding: 24px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Value Grid */
    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Testing Grid */
    .testing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Downloads Grid */
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Results Grid */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* Blog Article Content */
    .blog-article-content {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .blog-article-content h2 {
        font-size: 28px;
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .blog-article-content h3 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 14px;
    }
    
    .blog-article-content p {
        margin-bottom: 16px;
    }
    
    .blog-article-content ul,
    .blog-article-content ol {
        margin-bottom: 16px;
        padding-left: 24px;
    }
    
    .blog-article-content img {
        margin: 24px 0;
        border-radius: 12px;
    }
    
    /* Sidebar */
    .blog-sidebar {
        margin-top: 48px;
    }
    
    /* Mobile Menu Improvements */
    .nav-menu {
        gap: 0;
    }
    
    .nav-menu.mobile-active {
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.mobile-active li {
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu.mobile-active a {
        padding: 16px 20px;
        font-size: 16px;
        display: block;
    }
    
    .nav-menu.mobile-active .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-menu.mobile-active .dropdown-toggle::after {
        margin-left: auto;
        transform: rotate(0deg);
        order: 2;
    }
    
    .nav-menu.mobile-active li.has-dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        background: var(--bg-secondary);
        border-radius: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.mobile-active li.has-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 8px 0;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid var(--border-light);
    }
    
    .dropdown-menu a {
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    /* Smaller mobile adjustments */
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions .btn {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .footer-logo-img {
        height: 32px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    table {
        min-width: 500px;
        font-size: 13px;
    }
    
    .blog-article-content h2 {
        font-size: 24px;
    }
    
    .blog-article-content h3 {
        font-size: 20px;
    }
    
    .blog-article-content {
        font-size: 15px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch target sizes */
    .btn,
    .pagination-btn,
    .nav-menu a,
    .dropdown-menu a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .product-card:hover,
    .application-item:hover {
        transform: none;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
    }
    
    .page-header,
    .blog-detail-header {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .navbar {
        height: 60px;
    }
    
    .page-header,
    .blog-detail-header {
        margin-top: 60px;
    }
}

/* ============================================
   Value Proposition Section
   ============================================ */
.value-proposition {
    padding: 80px 0;
    background: var(--bg-primary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.value-item p {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.value-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Cases Preview Section
   ============================================ */
.cases-preview {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.case-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.case-image {
    width: 100%;
    height: 240px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 32px;
}

.case-industry {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.case-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-link:hover {
    gap: 8px;
}

/* ============================================
   Factory Preview Section
   ============================================ */
.factory-preview {
    padding: 120px 0;
    background: var(--bg-primary);
}

.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.factory-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.factory-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.factory-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.factory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   About Page Styles
   ============================================ */
.about-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.about-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.about-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.about-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    text-align: center;
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.capability-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.capability-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.capability-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.capability-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.vision-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.vision-pillars {
    list-style: none;
    text-align: left;
    max-width: 700px;
    margin: 32px auto 0;
}

.vision-pillars li {
    padding: 16px 0;
    color: var(--text-secondary);
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
}

.vision-pillars li:last-child {
    border-bottom: none;
}

.vision-pillars strong {
    color: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.advantage-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Capabilities Page Styles
   ============================================ */
.capability-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.capability-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.capability-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.capability-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.capability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.capability-content.reverse {
    direction: rtl;
}

.capability-content.reverse > * {
    direction: ltr;
}

.capability-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.capability-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.spec-list {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.spec-list li {
    padding: 12px 0;
    padding-left: 32px;
    color: var(--text-secondary);
    position: relative;
}

.spec-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.process-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.process-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.spec-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.spec-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.spec-card ul {
    list-style: none;
    padding-left: 0;
}

.spec-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.spec-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.capacity-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.capacity-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.capacity-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.capacity-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.tools-grid,
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tool-item,
.solution-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tool-item:hover,
.solution-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tool-item h3,
.solution-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tool-item p,
.solution-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Products Page Styles
   ============================================ */
.product-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.product-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.product-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.product-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-content.reverse {
    direction: rtl;
}

.product-content.reverse > * {
    direction: ltr;
}

.product-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.product-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-specs {
    margin-bottom: 32px;
}

.product-specs h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-specs ul {
    list-style: none;
    padding-left: 0;
}

.product-specs li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.product-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.test-data-section {
    padding: 80px 0;
}

.test-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.test-data-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.test-data-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.test-data-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Quality Page Styles
   ============================================ */
.quality-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.quality-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.quality-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.quality-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.qc-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.qc-step {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.qc-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.qc-step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.qc-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.qc-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.consistency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.consistency-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.consistency-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.consistency-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.aging-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.aging-step {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.aging-step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.aging-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.safety-tests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.safety-test-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.safety-test-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.safety-test-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cert-section {
    margin-bottom: 64px;
}

.cert-section:last-child {
    margin-bottom: 0;
}

.cert-category-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.cert-item {
    padding: 32px 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.cert-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.cert-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Case Studies Page Styles
   ============================================ */
.case-study-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.case-study-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.case-study-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.case-study-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.case-study {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-header {
    margin-bottom: 48px;
}

.case-study-header .case-industry {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-detail-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.case-detail-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-detail-item ul {
    list-style: none;
    padding-left: 0;
}

.case-detail-item li {
    padding: 8px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.7;
}

.case-detail-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.case-detail-item li strong {
    color: var(--primary-color);
}

/* ============================================
   Cases Page Compact Styles
   ============================================ */
.case-study-compact {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-header-compact {
    margin-bottom: 40px;
    text-align: center;
}

.case-study-header-compact .case-industry {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-header-compact h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.case-study-content-compact {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: start;
}

.case-image-compact {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-details-compact {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-detail-item-compact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.case-detail-item-compact p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.case-detail-item-compact ul {
    list-style: none;
    padding-left: 0;
}

.case-detail-item-compact li {
    padding: 6px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.6;
    font-size: 15px;
}

.case-detail-item-compact li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.case-results {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.case-results h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
}

.result-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.result-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 1024px) {
    .case-study-content-compact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .case-image-compact {
        height: 400px;
    }
    
    .case-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-header-compact h2 {
        font-size: 28px;
    }
}

/* ============================================
   Factory Page Styles
   ============================================ */
.factory-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.factory-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.factory-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.factory-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.factory-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.factory-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.factory-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.equipment-item {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.equipment-image {
    width: 100%;
    height: 240px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-content {
    padding: 32px;
}

.equipment-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.equipment-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.production-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.process-item-large {
    padding: 40px 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-item-large:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.process-number-large {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-item-large h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-item-large p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Resources Page Styles
   ============================================ */
.resources-section {
    padding: 100px 0;
    transition: background-color 0.3s ease;
}

.resources-section.bg-secondary {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.resources-section.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.resources-section:not(.bg-secondary) {
    background: var(--bg-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.article-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-link:hover {
    gap: 8px;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.knowledge-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.knowledge-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.knowledge-item ul {
    list-style: none;
    padding-left: 0;
}

.knowledge-item li {
    padding: 8px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
}

.knowledge-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testing-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testing-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.testing-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.download-item {
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.download-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   Careers Page Styles
   ============================================ */
.careers-section {
    padding: 80px 0;
}

.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.careers-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.careers-intro p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.open-positions h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.position-item {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.position-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.position-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.position-item strong {
    color: var(--text-primary);
}

.careers-cta {
    margin-top: 64px;
    padding: 48px;
    background: var(--bg-secondary);
    border-radius: 16px;
    text-align: center;
}

.careers-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.careers-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}
