/* ===== 리셋 & 기본 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a5fa8;
  --primary-dark: #134a85;
  --accent: #f5a623;
  --text: #2c2c2c;
  --text-light: #666;
  --bg-gray: #f6f8fb;
  --bg-dark: #1a1f2e;
  --white: #ffffff;
  --border: #e0e6ef;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --body-bg: #ffffff;
  --stats-bg: #ffffff;
  --feature-hover: #f6f8fb;
}

/* ===== 다크모드 ===== */
body.dark {
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --bg-gray: #1e2535;
  --white: #1e2535;
  --border: #2d3748;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --card-bg: #1e2535;
  --header-bg: #141926;
  --body-bg: #141926;
  --stats-bg: #141926;
  --feature-hover: #252f42;
}

body.dark { background: var(--body-bg); color: var(--text); }
body.dark #header { background: var(--header-bg); border-color: var(--border); }
body.dark .mobile-nav { background: var(--header-bg); border-color: var(--border); }
body.dark .stats { background: var(--stats-bg); border-color: var(--border); }
body.dark .section-gray { background: var(--bg-gray); }
body.dark .section-title { color: var(--text); }
body.dark .product-card { background: var(--card-bg); border-color: var(--border); }
body.dark .product-card h3 { color: var(--text); }
body.dark .feature-item:hover { background: var(--feature-hover); }
body.dark .image-placeholder { background: linear-gradient(135deg, #1e3a5f, #1a3a6e); }
body.dark .footer { background: #0d1017; }
body.dark .footer-brand p { color: #555; }
body.dark .dark-toggle { color: var(--text); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

.section { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--bg-dark); }

/* ===== 섹션 헤더 ===== */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.section-desc {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== 버튼 ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-full { width: 100%; text-align: center; }

/* ===== 헤더 ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.6rem; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-list {
  display: flex;
  gap: 32px;
}
.nav-list a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.2s;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a:hover::after { width: 100%; }

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s;
  line-height: 1;
}
.dark-toggle:hover { background: var(--bg-gray); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-nav ul { padding: 12px 24px; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
}
.mobile-nav.open { display: block; }

/* ===== 히어로 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2f5e 0%, #1a5fa8 50%, #2a7fd4 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 68px;
}
.hero-sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 통계 ===== */
.stats {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { font-size: 1.4rem; }
.stat-label { font-size: 14px; color: var(--text-light); font-weight: 500; }

/* ===== 회사소개 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li { font-weight: 500; font-size: 15px; }

.about-image { display: flex; justify-content: center; align-items: center; }
.image-placeholder {
  width: 280px;
  height: 360px;
  background: linear-gradient(135deg, #e8f0fb, #c5d8f5);
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.pole-illustration { position: relative; display: flex; flex-direction: column; align-items: center; }
.pole-light {
  width: 40px; height: 40px;
  background: radial-gradient(circle, #ffe066, #f5a623);
  border-radius: 50%;
  box-shadow: 0 0 30px #f5a62380;
  margin-bottom: 8px;
}
.pole-arm {
  width: 100px; height: 6px;
  background: #1a5fa8;
  border-radius: 3px;
  margin-left: -60px;
  margin-bottom: 0;
}
.pole-body {
  width: 14px; height: 200px;
  background: linear-gradient(to right, #1a5fa8, #2a7fd4, #1a5fa8);
  border-radius: 4px;
}
.pole-base {
  width: 40px; height: 14px;
  background: #134a85;
  border-radius: 4px;
}

/* ===== 제품 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26,95,168,0.12);
}
.product-icon { font-size: 2.4rem; margin-bottom: 16px; }
.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.product-card > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
}
.product-specs {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-specs li { font-size: 13px; color: var(--text-light); }
.product-specs li::before { content: '• '; color: var(--primary); }

/* ===== 특장점 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.feature-item:hover { background: var(--bg-gray); }
.feature-icon { font-size: 2.6rem; margin-bottom: 16px; }
.feature-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-light); }

/* ===== 문의 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-item p { color: #ccc; font-size: 15px; }

.contact-form {
  background: #232a3a;
  border-radius: var(--radius);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #2f3847;
  border: 1px solid #3d4a5e;
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #677080; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group select option { background: #232a3a; }

/* ===== 푸터 ===== */
.footer {
  background: #11151f;
  padding: 36px 0;
  color: #888;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; }
.footer-brand p { color: #666; font-size: 13px; margin-top: 4px; }
.footer-info { text-align: right; font-size: 13px; line-height: 1.8; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { text-align: left; }
}

@media (max-width: 600px) {
  .nav-list { display: none; }
  .hamburger { display: block; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; }
  .section { padding: 56px 0; }
  .contact-form { padding: 24px; }
}
