/* Xinci New Material - Industrial Minimalism Design System */

/* ===== CSS Variables & Theme Colors ===== */
:root {
    /* Brand Colors */
    --color-navy: #0A2540;
    --color-navy-light: #1565a0;
    --color-blue: #2196f3;
    --color-emerald: #10B981;
    --color-emerald-hover: #059669;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;

    /* Semantic Colors */
    --background: oklch(1 0 0);
    --foreground: oklch(0.15 0.02 250);
    --primary: oklch(0.25 0.05 250);
    --accent: oklch(0.65 0.18 165);
    --border: oklch(0.92 0.005 250);
    --ring: oklch(0.65 0.18 165);

    /* Spacing & Radius */
    --radius: 0.5rem;
    --container-max: 1472px;
}

/* ===== Navigation (for pages using <nav class="nav">) ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1472px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .nav-inner {
        padding: 0 2rem;
    }
}

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

.nav-logo .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-logo .logo-text {
    color: var(--color-navy);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
    background: var(--color-navy);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links li a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav.scrolled .nav-links li a {
    color: var(--color-slate-600);
}

.nav-links li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav-links li a:hover {
    color: var(--color-navy);
    background: var(--color-slate-100);
}

.nav-links li a.active {
    color: var(--color-emerald);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 101, 160, 0.88) 0%, rgba(33, 150, 243, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-content h1 {
    color: white;
    font-size: 28px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

.breadcrumb svg {
    flex-shrink: 0;
    color: #fff;
}

/* ===== Page Hero (for products.html) ===== */
.page-hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 80px;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    inset: 0;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 101, 160, 0.88) 0%, rgba(33, 150, 243, 0.7) 100%);
}

.page-hero-glow {
    position: absolute;
    top: 0;
    right: 1/4;
    width: 24rem;
    height: 24rem;
    background: #10B981;
    border-radius: 50%;
    filter: blur(128px);
    opacity: 0.1;
    pointer-events: none;
}

.page-hero-glow-2 {
    position: absolute;
    bottom: 0;
    left: 1/4;
    width: 20rem;
    height: 20rem;
    background: #2196f3;
    border-radius: 50%;
    filter: blur(128px);
    opacity: 0.08;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .page-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.page-hero-left {
    max-width: 600px;
}

.page-hero h1 {
    color: white;
    font-size: 28px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .page-hero h1 {
        font-size: 42px;
    }
}

.page-hero h1 .text-highlight {
    color: var(--color-emerald);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.trust-pill svg {
    color: var(--color-emerald);
}

.stats-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .stats-panel {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    display: block;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 36px;
    }
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ===== Utilities ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-emerald);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
}

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

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: var(--container-max);
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.text-center { text-align: center; }
.text-emerald { color: var(--color-emerald); }
.text-navy { color: var(--color-navy); }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-white { background-color: white; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--color-slate-100);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    transition: color 0.3s ease;
}

header:not(.scrolled) .logo-name {
    color: white;
}

header.scrolled .logo-name {
    color: var(--color-navy);
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 3px;
    transition: color 0.3s ease;
}

header:not(.scrolled) .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

header.scrolled .logo-subtitle {
    color: var(--color-slate-500);
}

/* Desktop Nav */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

header:not(.scrolled) .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

header.scrolled .nav-link {
    color: var(--color-slate-600);
}

header.scrolled .nav-link:hover {
    color: var(--color-navy);
    background: var(--color-slate-50);
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

header.scrolled .nav-link.active {
    color: #10B981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
}

.mobile-nav-link.active {
    color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.1);
}

header.scrolled .mobile-nav-link.active {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.btn-quote {
    margin-left: 16px;
    padding: 10px 20px;
    background: var(--color-emerald);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-quote:hover {
    background: var(--color-emerald-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

header:not(.scrolled) .mobile-toggle {
    color: white !important;
}

header.scrolled .mobile-toggle {
    color: var(--color-navy) !important;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--color-slate-100);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    padding: 16px 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate-600);
    border-radius: 8px;
    margin: 4px 16px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--color-slate-50);
    color: var(--color-navy);
}

.mobile-nav-link.active {
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 12px;
}

.mobile-btn-quote {
    display: block;
    margin: 12px 16px 0;
    padding: 12px 20px;
    background: var(--color-emerald);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
}

.mobile-btn-quote:hover {
    background: var(--color-emerald-hover);
}

/* ===== Footer ===== */
footer {
    background: #0A2540;
    color: white;
}

footer a {
    color: inherit;
    text-decoration: none;
}

/* Footer CTA */
.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
}

.footer-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .footer-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-cta-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

@media (min-width: 1024px) {
    .footer-cta-text h3 {
        font-size: 1.875rem;
    }
}

.footer-cta-text p {
    color: var(--color-slate-400);
    font-size: 1rem;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #10B981;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    background: #059669;
}

.footer-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Main */
.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    width: 100%;
}

.footer-col-products,
.footer-col-company {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
}

.footer-contact {
    width: 100%;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-brand,
    .footer-col-products,
    .footer-col-company,
    .footer-contact {
        width: auto;
        flex: none;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
    }
}

/* Footer Brand */
.footer-brand {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.footer-logo-subtitle {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-slate-400);
}

.footer-description {
    color: var(--color-slate-400);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-cert {
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    color: var(--color-slate-300);
}

/* Footer Links */
.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    color: var(--color-slate-400);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact li svg {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact li span,
.footer-contact li a {
    color: var(--color-slate-400);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--color-slate-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal span {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-legal span:hover {
    color: var(--color-slate-300);
}

/* ===== Toast Notification ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-icon.success {
    color: var(--color-emerald);
}

.toast-icon.error {
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 14px;
    color: var(--color-slate-700);
    line-height: 1.5;
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

@media (min-width: 640px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 40px; }
    h3 { font-size: 28px; }
}

/* ===== About Page ===== */
.section-label {
    display: inline-block;
    color: var(--color-emerald);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.about-story {
    padding: 96px 0;
    background: white;
}

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

@media (min-width: 1024px) {
    .about-story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-story-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .about-story-text h2 {
        font-size: 40px;
    }
}

.story-content p {
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-story-image img {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.about-stats {
    padding: 64px 0;
    background: var(--color-navy);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-icon {
    color: var(--color-emerald);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 48px;
    }
}

.stat-label {
    color: var(--color-slate-400);
    font-size: 14px;
}

.about-values {
    padding: 96px 0;
    background: var(--color-slate-50);
}

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

.values-header h2 {
    margin-bottom: 16px;
}

.values-header p {
    color: var(--color-slate-500);
    font-size: 18px;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--color-slate-200);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-emerald);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
}

.about-factory {
    padding: 96px 0;
    background: white;
}

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

@media (min-width: 1024px) {
    .factory-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.factory-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .factory-content h2 {
        font-size: 40px;
    }
}

.factory-content > p {
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.certifications h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--color-slate-50);
    border-radius: 8px;
    color: var(--color-slate-700);
    font-size: 14px;
    font-weight: 500;
}

.cert-item svg {
    color: var(--color-emerald);
    flex-shrink: 0;
}

.factory-image img {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.about-cta {
    padding: 64px 0;
    background: var(--color-slate-50);
    text-align: center;
}

.about-cta h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .about-cta h2 {
        font-size: 36px;
    }
}

.about-cta p {
    color: var(--color-slate-500);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 32px;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

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

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

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
        gap: 64px;
    }
}

.section-title {
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.section-desc {
    color: var(--color-slate-500);
    margin-bottom: 32px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-slate-300);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-slate-400);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--color-emerald);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    cursor: pointer;
    border: none;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--color-emerald-hover);
}

.contact-info-card {
    background: var(--color-slate-50);
    border-radius: 24px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

@media (min-width: 1024px) {
    .contact-info-card {
        padding: 40px;
    }
}

.info-card-title {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-emerald);
}

.info-content h4 {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.info-content p,
.info-content a {
    color: var(--color-slate-500);
    font-size: 14px;
}

.info-content a:hover {
    color: var(--color-emerald);
}

.info-divider {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-slate-200);
}

.info-divider h4 {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.info-divider p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Blog Detail Page ===== */
.blog-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 64px;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
}

.blog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 101, 160, 0.9) 0%, rgba(33, 150, 243, 0.75) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;

}

.blog-hero-content .breadcrumb.light {
    color: rgba(255, 255, 255, 0.7);
}

.blog-hero-content .breadcrumb.light a {
    color: rgba(255, 255, 255, 0.7);
}

.blog-hero-content .breadcrumb.light a:hover {
    color: white;
}

.blog-hero-content .breadcrumb.light span {
    color: white;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.blog-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.blog-read-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-hero-content h1 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .blog-hero-content h1 {
        font-size: 48px;
    }
}

.blog-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-section {
    padding: 64px 0;
    background: white;
}

.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-slate-500);
    font-size: 14px;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-navy);
}

.article-featured-image {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

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

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-slate-600);
}

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

.article-body h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-slate-200);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: var(--color-slate-100);
    color: var(--color-slate-600);
    font-size: 14px;
    border-radius: 8px;
}

.related-section {
    padding: 64px 0;
    background: var(--color-slate-50);
}

.related-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.related-card a {
    display: block;
}

.related-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-content {
    padding: 24px;
}

.related-category {
    color: var(--color-emerald);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-card-content h3 {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.related-card:hover .related-card-content h3 {
    color: var(--color-emerald);
}

.related-card-content p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Product Detail Page ===== */
.breadcrumb-section {
    padding-top: 96px;
    padding-bottom: 16px;
    background: var(--color-slate-50);
    border-bottom: 1px solid var(--color-slate-200);
}

.product-detail-section {
    padding: 48px 0;
    background: white;
}

.product-detail-section .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-slate-500);
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.product-detail-section .back-link:hover {
    color: var(--color-navy);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.product-image-wrapper {
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-slate-100);
    border: 1px solid var(--color-slate-200);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px;
}

.product-category {
    color: var(--color-emerald);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info h1 {
    font-size: 32px;
    margin-top: 8px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .product-info h1 {
        font-size: 40px;
    }
}

.product-description {
    color: var(--color-slate-600);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.product-features h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    font-size: 14px;
    border-radius: 8px;
}

.feature-tag svg {
    flex-shrink: 0;
}

.product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--color-emerald);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.product-cta .btn-primary:hover {
    background: var(--color-emerald-hover);
}

.product-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.product-cta .btn-outline:hover {
    background: var(--color-navy);
    color: white;
}

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

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
        gap: 64px;
    }
}

.section-title {
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.section-desc {
    color: var(--color-slate-500);
    margin-bottom: 32px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-slate-300);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-slate-400);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--color-emerald);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    cursor: pointer;
    border: none;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--color-emerald-hover);
}

.contact-info-card {
    background: var(--color-slate-50);
    border-radius: 24px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

@media (min-width: 1024px) {
    .contact-info-card {
        padding: 40px;
    }
}

.info-card-title {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-emerald);
}

.info-content h4 {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.info-content p,
.info-content a {
    color: var(--color-slate-500);
    font-size: 14px;
}

.info-content a:hover {
    color: var(--color-emerald);
}

.info-divider {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-slate-200);
}

.info-divider h4 {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.info-divider p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
}

.specs-section {
    padding: 64px 0;
    background: var(--color-slate-50);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.specs-table h2,
.applications-list h2 {
    font-size: 24px;
    margin-bottom: 24px;
}

.table-wrapper {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-slate-200);
    overflow: hidden;
}

.table-wrapper table {
    width: 100%;
}

.table-wrapper tr:nth-child(even) {
    background: var(--color-slate-50);
}

.table-wrapper td {
    padding: 16px 24px;
    font-size: 14px;
}

.table-wrapper td:first-child {
    font-weight: 500;
    color: var(--color-navy);
    width: 40%;
    border-right: 1px solid var(--color-slate-100);
    white-space: nowrap;
}

.table-wrapper td:last-child {
    color: var(--color-slate-600);
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-slate-200);
    margin-bottom: 12px;
}

.app-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-emerald);
    flex-shrink: 0;
}

.app-item span {
    color: var(--color-slate-700);
    font-size: 14px;
}

.related-products-section {
    padding: 64px 0;
    background: white;
}

.related-products-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product-card a {
    display: block;
}

.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-slate-100);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 20px;
}

.product-card-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.product-card:hover .product-card-content h3 {
    color: var(--color-emerald);
}

.product-card-content p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Blog Section ===== */
.blog-section {
    padding: 80px 0;
    background: white;
}

.featured-post {
    margin-bottom: 64px;
}

.featured-post-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .featured-post-link {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-post-link:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-post-image {
    overflow: hidden;
    max-height: 280px;
}

@media (min-width: 1024px) {
    .featured-post-image {
        max-height: none;
    }
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post-link:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .featured-post-content {
        padding: 48px;
    }
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.post-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.post-read-time {
    color: var(--color-slate-400);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-post-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

@media (min-width: 1024px) {
    .featured-post-content h2 {
        font-size: 28px;
    }
}

.featured-post-link:hover .featured-post-content h2 {
    color: var(--color-emerald);
}

.featured-post-content p {
    color: var(--color-slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-date {
    color: var(--color-slate-400);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    max-height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-content h3 {
    color: var(--color-emerald);
}

.blog-card-content p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 40px;
    }
}

.cta-section p {
    color: var(--color-slate-300);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-section .btn-primary {
    background: var(--color-emerald);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.2s ease;
}

.cta-section .btn-primary:hover {
    background: var(--color-emerald-hover);
    transform: translateY(-2px);
}

/* ===== Blog Tags ===== */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-slate-100);
    color: var(--color-slate-600);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--color-emerald);
    color: white;
}

/* Featured Post Tags */
.featured-post-content .post-tags {
    margin-top: 16px;
}

.featured-post-content .tag {
    padding: 6px 14px;
    font-size: 13px;
}

/* ===== Blog Cards ===== */
.blog-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    max-height: 280px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-content h3 {
    color: var(--color-emerald);
}

.blog-card-content p {
    color: var(--color-slate-500);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.blog-card-content .post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-slate-400);
    font-size: 14px;
    margin-top: auto;
}

.blog-card-content .post-date svg {
    flex-shrink: 0;
}

/* ===== Blog Section ===== */
.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Featured Post */
.featured-post {
    margin-bottom: 64px;
}

.featured-post-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .featured-post-link {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-post-link:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-post-image {
    overflow: hidden;
    max-height: 350px;
}

@media (min-width: 1024px) {
    .featured-post-image {
        max-height: none;
    }
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post-link:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .featured-post-content {
        padding: 48px;
    }
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.post-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.post-read-time {
    color: var(--color-slate-400);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-post-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

@media (min-width: 1024px) {
    .featured-post-content h2 {
        font-size: 28px;
    }
}

.featured-post-link:hover .featured-post-content h2 {
    color: var(--color-emerald);
}

.featured-post-content p {
    color: var(--color-slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-post-content .post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-slate-400);
    font-size: 14px;
}

.featured-post-content .post-date svg {
    flex-shrink: 0;
}

/* ===== Blog Hero ===== */
.blog-hero-content h1 {
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .blog-hero-content h1 {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .blog-hero-content h1 {
        font-size: 36px;
    }
}
/* ===== Visually Hidden - For SEO ===== */
/* Hides content visually but keeps it accessible to screen readers and search engines */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



.page{
    width:100%;
    padding: 20px 0;
}
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination li{
    border: 1px solid #ddd;
    margin-left: 5px;
    cursor: pointer;
    line-height: 30px;
}
.pagination li.disabled span{
    display: none;
}
.pagination li a{
    display: block;
    padding: 0 10px;
    text-decoration: none;
    color: #333!important;
}
.pagination li.active,.pagination li a:hover{
    padding: 0 10px;
    background: var(--color-emerald);
    color: #fff!important;
}


/* ===== Honor Section ===== */
.about-honor {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.honor-header {
    text-align: center;
    margin-bottom: 50px;
}

.honor-header .section-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.honor-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .honor-header h2 {
        font-size: 40px;
    }
}

.honor-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.honor-nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-slate-300);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.honor-nav-btn:hover {
    background: var(--color-emerald);
    border-color: var(--color-emerald);
    color: white;
}

.honor-nav-btn svg {
    width: 20px;
    height: 20px;
}

.honor-slider-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.honor-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.honor-slider-track:active {
    cursor: grabbing;
}

.honor-item {
    flex: 0 0 calc(25% - 15px);
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.honor-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.honor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.honor-item:hover .honor-image img {
    transform: scale(1.05);
}

.honor-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    backdrop-filter: blur(4px);
}

.honor-content h3 {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.4;
}

.honor-content p {
    font-size: 14px;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin: 0;
}

.honor-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.honor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-slate-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.honor-dot.active {
    background: var(--color-emerald);
    width: 30px;
    border-radius: 5px;
}

/* Tablet - Show 2 items */
@media (max-width: 1024px) {
    .honor-item {
        flex: 0 0 calc(50% - 10px);
    }

    .about-honor {
        padding: 60px 0;
    }
}

/* Mobile - Show 1 item */
@media (max-width: 767px) {
    .honor-slider-track {
        gap: 0;
    }

    .honor-item {
        flex: 0 0 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-honor {
        padding: 50px 0;
    }

    .honor-header h2 {
        font-size: 28px;
    }

    .honor-nav-btn {
        width: 36px;
        height: 36px;
    }

    .honor-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .honor-slider-wrapper {
        gap: 10px;
    }

    .honor-content {
        padding: 10px;
    }

    .honor-content h3 {
        font-size: 13px;
    }

    .honor-content p {
        font-size: 13px;
    }
}


/* 桌面端语言切换 */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding: 0 12px;
}

.lang-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

header:not(.scrolled) .lang-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

header.scrolled .lang-link {
    color: var(--color-slate-600);
}

header.scrolled .lang-link:hover {
    color: var(--color-navy);
    background: var(--color-slate-50);
}

.lang-divider {
    color: #d0d0d0;
    font-size: 12px;
    user-select: none;
}

/* 移动端语言切换 */
.mobile-lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.mobile-lang-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}
