/*
Theme Name: CellSorts
Theme URI: https://cellsorts.com
Author: CellSorts Team
Author URI: https://cellsorts.com
Description: Cell Sort - Next-generation magnetic cell sorting solutions. Four technology platforms covering column-free/column, negative/positive selection for high-quality life science research.
Version: 2.6.36
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cellsorts
*/

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* ===== COLOR VARIABLES ===== */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #0e4a6f;
    --secondary-dark: #08354e;
    --accent: #0ea5e9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-teal: #f0fdfa;
    --bg-dark: #0e4a6f;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.site-logo-img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    height: 56px;
    max-width: 200px;
}

.site-logo sup {
    font-size: 10px;
    font-weight: 400;
    margin-left: 2px;
    opacity: 0.7;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--primary);
}

.main-nav a.current::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13,148,136,0.04);
}

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

.btn-white:hover {
    background: #f1f5f9;
}

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

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #08354e 0%, #0e4a6f 40%, #0d9488 100%);
    overflow: hidden;
    padding-top: 64px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.particle:nth-child(2) { width: 200px; height: 200px; top: 60%; right: -3%; animation-delay: -5s; }
.particle:nth-child(3) { width: 150px; height: 150px; top: 30%; left: 40%; animation-delay: -10s; }
.particle:nth-child(4) { width: 100px; height: 100px; top: 70%; left: 20%; animation-delay: -15s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 80px 24px;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-search {
    position: relative;
    max-width: 480px;
}

.hero-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.hero-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.hero-search input:focus {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
}

.hero-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.hero-feature svg {
    color: var(--primary-light);
}

.hero-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
    opacity: 0.9;
    z-index: 1;
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== TECH CARDS ===== */
.tech-section {
    background: var(--bg-white);
}

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

.tech-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--bg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.tech-card-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg-teal);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
}

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

.tech-card-features {
    margin-bottom: 20px;
}

.tech-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tech-card-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.tech-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.tech-card-link:hover {
    gap: 10px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: var(--bg-teal);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.products-header-left h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.products-header-left p {
    font-size: 15px;
    color: var(--text-secondary);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 10px;
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-image img {
    max-height: 160px;
    object-fit: contain;
}

.product-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-tag {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
}

.product-tag.type {
    background: var(--bg-teal);
    color: var(--primary);
}

.product-tag.species {
    background: #fff;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.product-tag.new {
    background: #fef3c7;
    color: #92400e;
}

.product-tag.gmp {
    background: #fee2e2;
    color: #991b1b;
}

.product-info {
    padding: 20px 24px 24px;
}

.product-code {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-sizes {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-size {
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.product-detail-link:hover {
    gap: 8px;
}

.product-inquiry {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-inquiry:hover {
    color: var(--primary-dark);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--secondary);
    padding: 60px 0;
}

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

.stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ===== APPLICATIONS SECTION ===== */
.apps-section {
    background: var(--bg-white);
}

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

.app-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

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

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

.app-meta {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-top: 12px;
    transition: gap 0.3s ease;
}

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

.apps-footer {
    text-align: center;
    margin-top: 40px;
}

/* ===== PUBLICATIONS SECTION ===== */
.pubs-section {
    background: var(--bg-light);
}

.pubs-list {
    max-width: 800px;
    margin: 0 auto;
}

.pub-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pub-item:hover {
    box-shadow: var(--shadow-md);
}

.pub-journal {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--bg-teal);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}

.pub-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.pub-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.pubs-footer {
    text-align: center;
    margin-top: 32px;
}

/* ===== FEATURES BAR ===== */
.features-bar {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}

.features-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-bar-item {
    text-align: center;
}

.feature-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--bg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary);
}

.feature-bar-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-bar-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--secondary);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

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

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .site-logo {
    color: #fff;
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-contact-item svg {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #08354e 0%, #0e4a6f 50%, #0d9488 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

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

.breadcrumb a:hover {
    color: #fff;
}

/* ===== FILTERS ===== */
.filters-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

.filters-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    position: relative;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    min-width: 220px;
    display: none;
    z-index: 50;
}

.filter-group.open .filter-dropdown {
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: var(--bg-light);
}

.filter-option input {
    accent-color: var(--primary);
}

.results-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a {
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination span.current {
    background: var(--primary);
    color: #fff;
}

/* ===== TECHNOLOGY PAGE ===== */
.tech-detail-section {
    padding: 60px 0;
}

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

.tech-detail-grid.reverse {
    direction: rtl;
}

.tech-detail-grid.reverse > * {
    direction: ltr;
}

.tech-detail-content .tech-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

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

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

.tech-detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.tech-detail-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-detail-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.tech-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.tech-detail-image img {
    max-height: 320px;
    object-fit: contain;
}

/* ===== APPLICATIONS PAGE ===== */
.app-detail-card {
    display: flex;
    gap: 48px;
    padding: 48px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.app-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.app-detail-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--bg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.app-detail-content {
    flex: 1;
}

.app-detail-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-detail-content > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.app-detail-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-teal);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
}

.app-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.app-detail-link:hover {
    gap: 10px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 60px 0 80px;
}

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

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

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

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

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

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

.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

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

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

/* ===== ABOUT PAGE ===== */
.about-hero {
    background: linear-gradient(135deg, #08354e 0%, #0e4a6f 50%, #0d9488 100%);
    padding: 140px 0 80px;
    color: #fff;
}

.about-hero-content {
    max-width: 700px;
}

.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

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

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

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

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--bg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 42px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { font-size: 18px; }

    .tech-grid,
    .products-grid,
    .stats-grid,
    .apps-grid,
    .features-bar-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: 32px; }
    .hero-content { padding: 40px 24px; }
    .hero-section { min-height: auto; }

    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .contact-grid,
    .about-grid,
    .tech-detail-grid { grid-template-columns: 1fr; gap: 40px; }

    .app-detail-card { flex-direction: column; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }

    .page-header { padding: 120px 0 48px; }
    .page-header h1 { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .hero-buttons { flex-direction: column; }
    .section { padding: 48px 0; }
    .products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== HOW IT WORKS STEP IMAGES ===== */
.hiw-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 991px) {
    .hiw-flow { grid-template-columns: repeat(2, 1fr); }
    .hiw-step div[style*="position: absolute"] { display: none !important; }
}

@media (max-width: 576px) {
    .hiw-flow { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
