@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #1B3A6B;
  --primary-light: #234d8e;
  --secondary: #0066CC;
  --accent: #E85E00;
  --accent-light: #FF7A1A;
  --white: #FFFFFF;
  --light-bg: #F4F6F9;
  --dark-bg: #0D1B35;
  --text: #2C2C2C;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font: 'Noto Sans KR', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,94,0,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--light-bg); transform: translateY(-2px); }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-secondary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: var(--transition);
}
.navbar.scrolled { background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-size: 26px; font-weight: 900; color: var(--white); letter-spacing: 3px; }
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.65); letter-spacing: 0.5px; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 15px; color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 500;
  border-radius: var(--radius); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-link.nav-cta { background: var(--accent); color: var(--white); margin-left: 8px; }
.nav-link.nav-cta:hover { background: var(--accent-light); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* ===== Language Switch ===== */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-right: 10px; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75); font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 4px; cursor: pointer;
  transition: var(--transition); letter-spacing: 0.5px; font-family: var(--font);
  line-height: 1;
}
.lang-btn:hover, .lang-btn.active {
  background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.75); color: var(--white);
}
.lang-div { color: rgba(255,255,255,0.25); font-size: 11px; padding: 0 1px; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, #060F20 0%, #0D1B35 40%, #1B3A6B 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden; padding: 120px 24px 60px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,102,204,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(232,94,0,0.12) 0%, transparent 40%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,102,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.hero-badge {
  display: inline-block; background: rgba(232,94,0,0.18);
  border: 1px solid rgba(232,94,0,0.5); color: #FFAA66;
  padding: 6px 22px; border-radius: 50px; font-size: 13px;
  font-weight: 600; letter-spacing: 2px; margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 56px); font-weight: 900; color: var(--white);
  line-height: 1.25; margin-bottom: 24px; word-break: keep-all;
}
.hero-title .accent { color: #FFAA66; }
.hero-desc {
  font-size: clamp(14px, 2vw, 17px); color: rgba(255,255,255,0.75);
  margin-bottom: 44px; line-height: 1.9; word-break: keep-all;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  width: 100%; max-width: 880px; margin-top: 72px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-item {
  background: rgba(255,255,255,0.04); backdrop-filter: blur(10px);
  padding: 28px 16px; text-align: center; transition: var(--transition);
}
a.stat-item {
  text-decoration: none; color: inherit; display: block;
  cursor: pointer; border-radius: var(--radius);
}
a.stat-item:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.stat-item:hover { background: rgba(255,255,255,0.09); }
.stat-num { font-size: 40px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-unit { font-size: 20px; font-weight: 700; color: #FFAA66; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; letter-spacing: 0.5px; }

/* ===== Section Base ===== */
.section { padding: 100px 0; }
.section.bg-light { background: var(--light-bg); }
.section.bg-dark { background: var(--dark-bg); }
.section.bg-primary { background: var(--primary); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.section-tag {
  display: inline-block; background: rgba(27,58,107,0.1); color: var(--primary);
  padding: 4px 18px; border-radius: 50px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
  border: 1px solid rgba(27,58,107,0.2);
}
.section-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--primary); margin-bottom: 16px; word-break: keep-all; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 580px; margin: 0 auto; word-break: keep-all; line-height: 1.8; }

/* ===== About Brief ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text > p { font-size: 16px; color: var(--text-light); margin-bottom: 28px; line-height: 1.9; word-break: keep-all; }
.about-features { margin-bottom: 36px; }
.about-features li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--border);
}
.about-features li:first-child { border-top: 1px solid var(--border); }
.about-features li i { color: var(--accent); font-size: 15px; flex-shrink: 0; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, #1e5ba8 100%);
  border-radius: var(--radius-lg); aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); gap: 16px;
}
.about-img-placeholder i { font-size: 80px; }
.about-img-placeholder p { font-size: 14px; }

/* ===== Products Grid ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 24px; box-shadow: var(--shadow); transition: var(--transition);
  border-top: 4px solid transparent; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-top-color: var(--accent); }
.product-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-icon i { font-size: 24px; color: var(--white); }
.product-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.product-card > p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; word-break: keep-all; flex: 1; }
.product-card ul { margin-bottom: 20px; }
.product-card ul li {
  font-size: 13px; color: var(--text-light); padding: 5px 0 5px 16px;
  border-bottom: 1px solid var(--border); position: relative;
}
.product-card ul li::before { content: '›'; position: absolute; left: 3px; color: var(--accent); font-weight: 700; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-size: 13px; font-weight: 600; transition: var(--transition); }
.card-link:hover { color: var(--accent); gap: 10px; }

/* ===== Tech Section ===== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.tech-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 32px 24px; transition: var(--transition);
}
.tech-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(232,94,0,0.5); transform: translateY(-4px); }
.tech-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--accent) 0%, #FF9A4D 100%);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.tech-icon i { font-size: 22px; color: var(--white); }
.tech-card h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.tech-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.75; word-break: keep-all; }
.tech-cta { text-align: center; }

/* ===== Clients / Sectors ===== */
.clients-sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-bottom: 48px; }
.sector-item {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 14px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 3px solid transparent;
}
.sector-item:hover { transform: translateY(-6px); border-bottom-color: var(--accent); box-shadow: var(--shadow-hover); }
.sector-item i { font-size: 30px; color: var(--primary); margin-bottom: 10px; display: block; }
.sector-item span { font-size: 12px; font-weight: 600; color: var(--text); }
.clients-cta { text-align: center; }

/* ===== CTA Section ===== */
.cta-section { padding: 80px 0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--white); margin-bottom: 14px; word-break: keep-all; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }

/* ===== Footer ===== */
.footer { background: #070F1E; color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-text { font-size: 30px; font-weight: 900; letter-spacing: 3px; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.9; }
.footer h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85); margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.footer-links ul li, .footer-products ul li { margin-bottom: 10px; }
.footer-links ul li a, .footer-products ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-links ul li a:hover, .footer-products ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.footer-contact ul li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #060F20 0%, #0D1B35 50%, #1B3A6B 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,102,204,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(26px, 4vw, 46px); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.65); word-break: keep-all; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: #FFAA66; font-weight: 600; }
.breadcrumb i { font-size: 10px; }

/* ===== About Page ===== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.value-icon i { font-size: 28px; color: var(--white); }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--text-light); line-height: 1.75; word-break: keep-all; }

/* Timeline */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  top: 0;
}
.timeline-item { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 24px; align-items: start; margin-bottom: 44px; }
.timeline-content { padding: 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.timeline-content.right { text-align: right; }
.timeline-content.left { text-align: left; }
.timeline-year { font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.timeline-content h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-content p { font-size: 13px; color: var(--text-light); line-height: 1.7; word-break: keep-all; }
.timeline-dot {
  width: 56px; height: 56px; background: var(--primary); border: 4px solid var(--secondary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1; grid-column: 2; align-self: start;
}
.timeline-dot i { font-size: 18px; color: var(--white); }
.timeline-spacer { grid-column: 1; }

/* ===== Products Page ===== */
.product-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 72px; z-index: 100; }
.product-nav-inner { display: flex; gap: 4px; padding: 12px 24px; max-width: 1200px; margin: 0 auto; overflow-x: auto; }
.product-nav-link { padding: 8px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--text-light); white-space: nowrap; transition: var(--transition); }
.product-nav-link:hover, .product-nav-link.active { background: var(--primary); color: var(--white); }
.product-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.product-section:last-child { border-bottom: none; }
.product-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-section-grid.reverse { direction: rtl; }
.product-section-grid.reverse > * { direction: ltr; }
.product-section-content .sub-tag { display: inline-block; background: rgba(27,58,107,0.1); color: var(--primary); padding: 3px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.product-section-content h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; color: var(--primary); margin-bottom: 16px; word-break: keep-all; }
.product-section-content > p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.9; word-break: keep-all; }
.spec-box { background: var(--light-bg); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.spec-box h4 { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-list li { font-size: 13px; color: var(--text-light); padding: 6px 0 6px 14px; border-bottom: 1px dashed var(--border); position: relative; }
.spec-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 11px; }
.product-img-box {
  background: linear-gradient(135deg, var(--primary) 0%, #1a5296 100%);
  border-radius: var(--radius-lg); aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); gap: 16px;
}
.product-img-box i { font-size: 88px; }
.product-img-box p { font-size: 14px; }

/* ===== Technology Page ===== */
.tech-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 64px; }
.tech-feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow); border-left: 4px solid var(--accent); transition: var(--transition);
}
.tech-feature-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.tech-feature-card .tf-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tf-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tf-icon i { font-size: 20px; color: var(--white); }
.tech-feature-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); }
.tech-feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.85; word-break: keep-all; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert-card i { font-size: 40px; color: var(--primary); margin-bottom: 14px; }
.cert-card h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.cert-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ===== Downloads Page ===== */
.dl-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.dl-filter-btn {
  padding: 8px 22px; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text-light);
  cursor: pointer; background: var(--white); transition: var(--transition);
}
.dl-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.dl-filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dl-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 0; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.dl-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.dl-card.unavailable { opacity: 0.6; }
.dl-card-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--light-bg); border-bottom: 1px solid var(--border);
}
.dl-file-icon {
  width: 44px; height: 44px; border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px;
}
.dl-file-icon.pdf { background: #fff0eb; color: #E85E00; }
.dl-file-icon.zip { background: #fffbe6; color: #d4a017; }
.dl-file-icon.sw  { background: #e8f4fd; color: #1B3A6B; }
.dl-card-meta { flex: 1; min-width: 0; }
.dl-card-meta .dl-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 20px; margin-bottom: 4px; text-transform: uppercase;
}
.dl-tag.manual  { background: #e8f4fd; color: #1a68b4; }
.dl-tag.brochure{ background: #fff0eb; color: #c04d00; }
.dl-tag.drawing { background: #e8fdf0; color: #1a7a4a; }
.dl-tag.wiring  { background: #fdf0e8; color: #7a3a1a; }
.dl-tag.sw      { background: #f0e8fd; color: #5a1ab4; }
.dl-tag.integrated { background: #fdf0f8; color: #a01a6e; }
.dl-card-meta h4 { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-card-body { padding: 14px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dl-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1; word-break: keep-all; }
.dl-info { display: flex; gap: 14px; font-size: 11px; color: #9ca3af; }
.dl-info span { display: flex; align-items: center; gap: 4px; }
.dl-card-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.dl-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--radius); font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); text-decoration: none;
}
.dl-btn.primary { background: var(--primary); color: var(--white); }
.dl-btn.primary:hover { background: var(--primary-light); }
.dl-btn.disabled { background: var(--border); color: var(--text-light); cursor: not-allowed; pointer-events: none; }
.dl-btn.dl-btn-soon { background: var(--border); color: var(--text-light); cursor: pointer; pointer-events: auto; }
.dl-btn.dl-btn-soon:hover { background: var(--border); }
.dl-notice {
  margin-top: 56px; padding: 28px 36px; background: var(--light-bg);
  border-radius: var(--radius-lg); border-left: 4px solid var(--accent);
  display: flex; align-items: flex-start; gap: 20px;
}
.dl-notice i { font-size: 28px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.dl-notice h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.dl-notice p { font-size: 14px; color: var(--text-light); line-height: 1.7; word-break: keep-all; margin-bottom: 14px; }

/* ===== Clients Page ===== */
.industry-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn { padding: 8px 22px; border: 2px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; background: var(--white); transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reference-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: var(--transition); border-top: 3px solid transparent; }
.reference-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-top-color: var(--accent); }
.ref-category { display: inline-block; background: rgba(27,58,107,0.08); color: var(--primary); padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.reference-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.reference-card p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-icon { width: 52px; height: 52px; background: rgba(27,58,107,0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { font-size: 20px; color: var(--primary); }
.contact-info-item h4 { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.contact-info-item p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group label .req { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; color: var(--text); transition: var(--transition); background: var(--light-bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 3px rgba(0,102,204,0.08); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }
.map-wrap { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.map-wrap iframe { display: block; }
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  position: absolute; bottom: 12px; right: 12px;
  background: var(--white); color: var(--primary); font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none; transition: var(--transition);
}
.map-link:hover { background: var(--primary); color: var(--white); }

/* ===== Scroll Animations ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-sectors { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--primary); flex-direction: column; padding: 16px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-right: 6px; }
  .lang-btn { padding: 3px 7px; font-size: 10px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; }
  .products-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .clients-sectors { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 56px; position: relative; }
  .timeline-dot { position: absolute; left: -8px; top: 0; width: 40px; height: 40px; }
  .timeline-content.right, .timeline-content.left { text-align: left; grid-column: 1; }
  .product-section-grid { grid-template-columns: 1fr; }
  .product-section-grid.reverse { direction: ltr; }
  .tech-feature-grid { grid-template-columns: 1fr; }
  .reference-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-notice { flex-direction: column; gap: 12px; }
  .section { padding: 60px 0; }
  .value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .clients-sectors { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .dl-grid { grid-template-columns: 1fr; }
}

/* Site Version Badge */
.site-version {
  position: fixed;
  top: 6px;
  right: 12px;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,0.45);
  z-index: 10000;
  pointer-events: none;
  letter-spacing: 0.8px;
  font-weight: 600;
}
