/* ===== Fanzhou Tech Website - Core Styles ===== */

:root {
  --primary: #0052D9;
  --primary-dark: #003BB5;
  --primary-light: #3A86FF;
  --accent: #00D68F;
  --accent-dark: #00B377;
  --bg-dark: #030C1D;
  --bg-section: #060F24;
  --bg-card: #0A1628;
  --bg-card-hover: #0D1E36;
  --border: rgba(0, 210, 143, 0.15);
  --border-light: rgba(255,255,255,0.08);
  --text: #E8F0FE;
  --text-secondary: #8BA3C7;
  --text-muted: #4A6080;
  --gradient-primary: linear-gradient(135deg, #0052D9, #3A86FF);
  --gradient-accent: linear-gradient(135deg, #00D68F, #00B377);
  --gradient-hero: linear-gradient(135deg, #030C1D 0%, #061428 40%, #0A1E3A 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 82, 217, 0.15);
  --shadow-lg: 0 8px 48px rgba(0, 82, 217, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(3, 12, 29, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header.scrolled { background: rgba(3, 12, 29, 0.95); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700;
  color: var(--text);
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  flex: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #fff;
}
.logo-text { color: var(--text); font-weight: 700; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent); background: rgba(0, 214, 143, 0.08);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 143, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 143, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.hero::after {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; opacity: 0.6;
}
.orb-1 { width: 400px; height: 400px; background: rgba(0, 82, 217, 0.2); top: 10%; left: -5%; }
.orb-2 { width: 300px; height: 300px; background: rgba(0, 214, 143, 0.1); bottom: 10%; right: 5%; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 214, 143, 0.1); border: 1px solid rgba(0, 214, 143, 0.3);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(36px, 6vw, 72px); font-weight: 900; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #8BA3C7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-secondary);
  max-width: 600px; margin-bottom: 40px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions a { text-decoration: none; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-accent); color: #fff;
  padding: 14px 32px; border-radius: 30px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 214, 143, 0.35); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 14px 32px; border-radius: 30px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border-light); cursor: pointer; transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,214,143,0.05); }

/* Hero Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 80px;
}
.stat-card {
  background: rgba(10, 22, 40, 0.6); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px; text-align: center;
  backdrop-filter: blur(10px);
}
.stat-number {
  font-size: 36px; font-weight: 900; color: var(--accent);
  font-family: 'Roboto Mono', monospace;
}
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-dark { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-label::before, .section-label::after {
  content: ''; width: 30px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ===== PRODUCT CATEGORIES ===== */
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 0; text-align: center;
  cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-accent); opacity: 0;
  transition: var(--transition);
}
.category-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.category-card:hover::before { opacity: 0.05; }
.category-icon {
  width: 56px; height: 56px; margin: 28px auto 16px;
  background: rgba(0, 214, 143, 0.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; position: relative; z-index: 1;
}
.category-image {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0d2137; position: relative;
}
.category-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .35s ease;
}
.category-card:hover .category-image img { transform: scale(1.05); }
.category-card h3 { font-size: 15px; margin: 14px 0 4px; padding: 0 8px; position: relative; z-index: 1; }
.category-card p { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; padding: 0 8px; position: relative; z-index: 1; }

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(0, 214, 143, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-image, .product-img {
  height: 200px; background: linear-gradient(135deg, #0D1E36, #0A1830);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; color: var(--primary-light); opacity: 0.6;
  position: relative; overflow: hidden;
}
.product-img img {
  object-fit: contain !important;
}
.product-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
}
.product-tags {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 12px;
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
.tag {
  background: rgba(0, 82, 217, 0.3); border: 1px solid rgba(0, 130, 255, 0.4);
  color: #7BB8FF; padding: 3px 10px; border-radius: 12px; font-size: 11px;
}
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 17px;
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}
.product-model {
  font-size: 12px;
  color: var(--accent);
  font-family: 'Roboto Mono', monospace;
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.4;
}
.product-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pfeature {
  background: rgba(0, 214, 143, 0.06); border: 1px solid rgba(0, 214, 143, 0.15);
  color: var(--accent); padding: 3px 10px; border-radius: 6px; font-size: 11px;
}
.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--border-light); margin-top: auto;
}
.btn-detail {
  display: inline-flex; align-items: center; text-decoration: none;
  padding: 6px 16px; background: rgba(0, 214, 143, 0.1);
  border: 1px solid rgba(0, 214, 143, 0.3); border-radius: 6px;
  color: var(--accent); font-size: 12px; cursor: pointer;
  transition: var(--transition);
}
.btn-detail:hover {
  background: rgba(0, 214, 143, 0.2); border-color: var(--accent); color: var(--accent);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text h2 { font-size: 36px; margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  padding: 16px; border-radius: var(--radius-sm);
}
.value-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(0, 214, 143, 0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.value-item h4 { font-size: 14px; margin-bottom: 2px; }
.value-item p { font-size: 12px; color: var(--text-muted); margin: 0; }
.about-visual {
  position: relative; height: 400px;
  background: linear-gradient(135deg, #0D1E36, #0A1830);
  border-radius: var(--radius); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 143, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 143, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.vis-content { text-align: center; position: relative; z-index: 1; }
.vis-content .big-num { font-size: 80px; font-weight: 900; color: var(--accent); font-family: monospace; }

/* ===== SOLUTIONS ===== */
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.solution-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.solution-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent); opacity: 0; transition: var(--transition);
}
.solution-card:hover::before { opacity: 1; }
.sol-icon {
  width: 64px; height: 64px; background: rgba(0, 82, 217, 0.1);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.solution-card h3 { font-size: 18px; margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.sol-list { list-style: none; }
.sol-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary); padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}
.sol-list li:last-child { border-bottom: none; }
.sol-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.news-main {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: var(--transition);
}
.news-main:hover { border-color: rgba(0, 214, 143, 0.3); }
.news-img {
  height: 220px; background: linear-gradient(135deg, #0D1E36, #0A1830);
  display: flex; align-items: center; justify-content: center; font-size: 50px; opacity: 0.5;
  overflow: hidden;
}
.news-img img { opacity: 1; }
.news-body { padding: 24px; }
.news-category {
  color: var(--accent); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.news-body h3 { font-size: 18px; margin: 8px 0; color: var(--text); }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body h3 a:hover { color: var(--accent); }
.news-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.news-date { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px; cursor: pointer; transition: var(--transition);
  flex: 1;
}
.news-item:hover { border-color: rgba(0, 214, 143, 0.3); }
.news-item h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; color: var(--text); }
.news-item h4 a { color: inherit; text-decoration: none; }
.news-item h4 a:hover { color: var(--accent); }
.news-item p { font-size: 13px; color: var(--text-secondary); }

/* ===== JOBS ===== */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px;
  transition: var(--transition);
}
.job-card:hover { border-color: rgba(0, 214, 143, 0.3); transform: translateY(-2px); }
.job-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.job-title { font-size: 18px; font-weight: 600; }
.job-salary {
  font-size: 14px; color: var(--accent); font-weight: 600;
}
.job-meta {
  display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary);
  margin-bottom: 12px;
}
.job-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.job-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 4px;
  background: rgba(0, 82, 217, 0.1); border: 1px solid rgba(0, 82, 217, 0.3);
  color: var(--primary-light);
}
.job-req {
  list-style: none; padding-left: 20px;
}
.job-req li {
  font-size: 13px; color: var(--text-secondary); padding: 6px 0;
  position: relative;
}
.job-req li::before {
  content: '✓'; position: absolute; left: -20px; color: var(--accent);
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { font-size: 24px; margin-bottom: 24px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(0, 214, 143, 0.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-list h4 { font-size: 14px; margin-bottom: 2px; }
.contact-list p { font-size: 14px; color: var(--text-secondary); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text); font-size: 14px;
  font-family: inherit; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.captcha-group .captcha-row {
  display: flex; align-items: stretch; gap: 12px;
}
.captcha-group .captcha-row input { flex: 1; margin-bottom: 0; }
.captcha-img {
  width: 130px; height: 44px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border-light); object-fit: cover; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
}
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}
.contact-form form { position: relative; }

/* ===== FOOTER ===== */
.footer {
  background: #020A18; border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== PAGE HEADER ===== */
.page-hero {
  padding: 140px 0 60px; background: var(--bg-section);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 143, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 143, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); position: relative; z-index: 1; }
.page-hero p { color: var(--text-secondary); font-size: 16px; margin-top: 12px; position: relative; z-index: 1; }
.page-hero-article { padding-bottom: 36px; }
.section-article { padding: 32px 0 80px; }

/* ===== PRODUCT DETAIL ===== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-gallery {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); min-height: 300px; max-height: 600px; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden; position: relative; padding: 16px;
}
.detail-gallery img {
  max-width: 100%; max-height: 568px; object-fit: contain; opacity: 1;
}
.detail-gallery-icon {
  font-size: 80px; color: var(--primary-light); opacity: 0.5;
}
.detail-info h2 { font-size: 28px; margin-bottom: 8px; }
.detail-model { color: var(--accent); font-family: 'Roboto Mono', monospace; font-size: 14px; margin-bottom: 16px; }
.detail-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-accent {
  background: rgba(0, 214, 143, 0.1) !important;
  border-color: rgba(0, 214, 143, 0.3) !important;
  color: var(--accent) !important;
}
.detail-subtitle { font-size: 16px; margin-bottom: 12px; color: var(--text); }
.detail-images {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.detail-image-item {
  margin: 0;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; max-height: 420px; padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.detail-image-item:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-color: rgba(0, 214, 143, 0.2);
}
.detail-image-item img {
  max-width: 100%; max-height: 388px; object-fit: contain;
  border-radius: var(--radius-sm);
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.detail-actions .btn-primary,
.detail-actions .btn-secondary { text-decoration: none; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border-light); }
.specs-table td { padding: 10px 0; font-size: 14px; }
.specs-table td:first-child { color: var(--text-secondary); width: 40%; }
.specs-table td:last-child { color: var(--text); font-weight: 500; }

/* ===== ARTICLE / NEWS DETAIL ===== */
.article-wrap {
  /* keep same width as .container (1200px), do not shrink */
  max-width: none;
  width: 100%;
}
.article-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 40px 48px;
}
.article-cover {
  width: 100%; border-radius: 8px; margin-bottom: 20px;
  max-height: 480px; object-fit: cover;
}
.article-summary {
  font-size: 16px; color: var(--text-secondary); line-height: 1.9;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.article-content {
  font-size: 16px; color: var(--text-secondary); line-height: 1.9;
  max-width: none;
}
.article-content p { margin-bottom: 1em; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-content table td,
.article-content table th {
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  text-align: left;
}
.article-content h2, .article-content h3, .article-content h4 {
  color: var(--text); margin: 1.4em 0 0.6em;
}
.article-content ul, .article-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.article-related {
  margin-top: 64px;
}
.article-related > h3 {
  margin: 0 0 24px;
  font-size: 20px;
}
.related-news-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.related-news-item {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px; transition: var(--transition);
}
.related-news-item:hover { border-color: rgba(0, 214, 143, 0.3); }
.related-news-item h4 {
  font-size: 15px; margin: 8px 0; line-height: 1.4; color: var(--text);
}
.related-news-item p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 8px;
}

/* ===== CASES GRID ===== */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px;
}
.case-icon {
  font-size: 32px; margin-bottom: 12px;
}
.case-card h3 { font-size: 16px; margin-bottom: 8px; }
.case-meta {
  display: flex; gap: 12px; font-size: 12px; color: var(--text-secondary);
  margin-bottom: 8px;
}
.case-card p { font-size: 13px; color: var(--text-secondary); }
.case-highlights {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.highlight-tag {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: rgba(0, 214, 143, 0.08); color: var(--accent);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
  align-items: center; justify-content: space-between;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  display: inline-flex; align-items: center; text-decoration: none;
  padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border-light);
  color: var(--text-secondary); cursor: pointer; transition: var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 8px 16px;
}
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 14px; width: 200px;
}
.search-box input::placeholder { color: var(--text-muted); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; font-size: 18px;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 214, 143, 0.3);
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ===== TECH LINES ===== */
.tech-lines {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 9999; opacity: 0.02;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 214, 143, 0.5) 2px, rgba(0, 214, 143, 0.5) 3px);
}

/* ===== GENERAL CLASSES ===== */
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(0, 214, 143, 0.1); border: 1px solid rgba(0, 214, 143, 0.3);
  color: var(--accent); font-size: 13px; font-weight: 500;
}
.text-center { text-align: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 12px 28px; border-radius: 30px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border-light); cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,214,143,0.05); }

/* ===== HERO SECTIONS ===== */
.hero-text { flex: 1; max-width: 600px; }
.hero-visual { flex: 1; display: flex; align-items: center; justify-content: center; }
.hex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hex { width: 80px; height: 92px; position: relative; }
.hex-inner {
  width: 100%; height: 100%;
  background: rgba(0, 82, 217, 0.15); border: 1px solid rgba(0, 82, 217, 0.3);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: var(--transition);
}
.hex:hover .hex-inner { background: rgba(0, 214, 143, 0.15); border-color: rgba(0, 214, 143, 0.3); }
.stats-bar {
  background: rgba(10, 22, 40, 0.6); border-top: 1px solid var(--border-light);
  padding: 24px 0; margin-top: 60px;
  backdrop-filter: blur(10px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-value { font-size: 32px; font-weight: 900; color: var(--accent); font-family: 'Roboto Mono', monospace; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ===== PRODUCT PREVIEW ===== */
.products-preview, .solutions-preview, .news-preview { padding: 100px 0; background: var(--bg-dark); }
.solutions-preview { background: var(--bg-section); }
.product-icon {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, #0D1E36, #0A1830);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--primary-light); opacity: 0.6;
}
/* Only for cards without .product-body (legacy preview markup) */
.product-card > h3 { font-size: 17px; padding: 16px 16px 8px; margin: 0; }
.product-card > p { font-size: 13px; color: var(--text-secondary); padding: 0 16px 8px; line-height: 1.6; margin: 0; }
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--border-light); margin-top: 8px;
}
.product-meta span { font-size: 12px; color: var(--text-muted); }
.product-meta .price { color: var(--accent); font-weight: 600; }

/* ===== SOLUTION PREVIEW ===== */
.solution-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
}
.solution-content { position: relative; z-index: 1; }
.solution-content h3 { font-size: 18px; margin-bottom: 12px; }
.solution-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.solution-arrow { font-size: 20px; color: var(--accent); }

/* ===== NEWS CARD (legacy, unused on homepage) ===== */
.news-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px; cursor: pointer;
  transition: var(--transition);
}
.news-card:hover { border-color: rgba(0, 214, 143, 0.3); transform: translateY(-4px); }
.news-card h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.news-meta {
  display: flex; gap: 12px; font-size: 12px; color: var(--text-muted);
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light);
}

/* ===== CONTACT PREVIEW ===== */
.contact-preview { padding: 100px 0; background: var(--bg-section); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 32px; margin: 16px 0; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
}
.contact-item .icon { font-size: 20px; }
.contact-item span { font-size: 14px; color: var(--text-secondary); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px;
}
.form { }
.form input, .form textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text); font-size: 14px;
  font-family: inherit; transition: var(--transition); outline: none;
  margin-bottom: 16px;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { height: 100px; resize: vertical; }
.form button { width: 100%; }

/* ===== NEWS CENTER LIST ===== */
.news-count {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.news-row:hover {
  border-color: rgba(0, 214, 143, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.news-row-cover {
  width: 100%;
  height: 128px;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background: linear-gradient(135deg, #0D1E36, #0A1830);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-row-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-row-placeholder {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  opacity: 0.7;
}
.news-row-body {
  min-width: 0;
}
.news-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.news-row-meta .news-date {
  margin-top: 0;
}
.news-row-body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--text);
}
.news-row:hover .news-row-body h3 {
  color: var(--accent);
}
.news-row-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-arrow {
  font-size: 20px;
  color: var(--text-muted);
  padding-right: 8px;
  transition: var(--transition);
}
.news-row:hover .news-row-arrow {
  color: var(--accent);
  transform: translateX(4px);
}
.news-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 72px 20px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.01);
}
.pagination-wrap {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination-wrap .pagination > li > a,
.pagination-wrap .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.pagination-wrap .pagination > li > a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination-wrap .pagination > .active > span,
.pagination-wrap .pagination > .active > a {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination-wrap .pagination > .disabled > span,
.pagination-wrap .pagination > .disabled > a {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .news-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-row-cover { height: 160px; }
  .news-row-arrow { display: none; }
}


/* ===== RESOURCE CENTER ===== */
.resource-list { display: flex; flex-direction: column; gap: 14px; }
.resource-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 24px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: var(--transition);
}
.resource-row:hover {
  border-color: rgba(0, 214, 143, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.resource-row-main { min-width: 0; flex: 1; }
.resource-cat {
  display: inline-block; margin-bottom: 8px;
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px;
}
.resource-row h3 {
  margin: 0 0 6px; font-size: 18px; line-height: 1.4; color: var(--text);
}
.resource-row:hover h3 { color: var(--accent); }
.resource-row p {
  margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.resource-row-actions { display: flex; gap: 10px; flex: none; }
.resource-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  text-decoration: none; transition: var(--transition);
}
.resource-btn-view {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.resource-btn-view:hover { background: #00c082; border-color: #00c082; }
.resource-btn-download {
  background: transparent; color: var(--text); border: 1px solid var(--border-light);
}
.resource-btn-download:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 768px) {
  .resource-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .resource-row-actions { width: 100%; }
  .resource-btn { flex: 1; text-align: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .related-news-list { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card { padding: 28px; }
  .hero-content { flex-direction: column; text-align: center; }
  .contact-content { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { 
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; 
    background: rgba(3,12,29,0.98); padding: 16px; border-bottom: 1px solid var(--border-light); 
  }
  .menu-toggle { display: block; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .related-news-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cases-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; }
}
