:root {
  --forest: #1B4332;
  --forest-dark: #122E22;
  --navy: #0F172A;
  --emerald: #10B981;
  --emerald-hover: #059669;
  --bg-light: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--forest);
}

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

.lang-switcher {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  background: var(--white);
  border: none;
  padding: 5px 9px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-btn.active {
  background: var(--navy);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

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

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

.btn-forest {
  background: var(--forest);
  color: var(--white);
}

.btn-forest:hover {
  background: var(--forest-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--forest) 100%);
  color: var(--white);
  padding: 100px 0 110px;
  text-align: center;
}

.hero-content {
  max-width: 820px;
}

.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 36px;
}

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

/* Core Values */
.core-values {
  margin-top: -50px;
  padding-bottom: 70px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.step-num {
  display: inline-block;
  background: #ECFDF5;
  color: var(--forest);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.value-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Insights */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
}

.tab-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.insight-card .cat-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-hover);
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 10px 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.insight-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.insight-card .date {
  font-size: 0.82rem;
  color: #94A3B8;
}

/* Certified Solutions */
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.solution-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.solution-img img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.solution-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.solution-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cert-badge {
  background: #ECFDF5;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.solution-info h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.solution-info p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Risk Check */
.security-notice {
  margin-top: 16px;
  background: #E2E8F0;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}

/* About */
.about-box {
  background: var(--forest);
  color: var(--white);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
}

.about-box h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-box p {
  max-width: 780px;
  margin: 0 auto 36px;
  color: #D1FAE5;
  font-size: 1.05rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: 10px;
}

.contact-card strong {
  display: block;
  font-size: 0.85rem;
  color: #6EE7B7;
  margin-bottom: 4px;
}

.contact-card a, .contact-card span {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #94A3B8;
  padding-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}

/* Floating Widget */
.floating-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kakao-btn {
  background: #FEE500;
  color: #191919;
}

.zalo-btn {
  background: #0068FF;
  color: var(--white);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  padding: 28px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

.selected-product {
  color: var(--forest);
  font-weight: 700;
  margin: 6px 0 18px;
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .contact-cards {
    grid-template-columns: 1fr;
  }
  .solution-card {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .about-box {
    padding: 36px 20px;
  }
}
