/* =============================================
   ecopable® Landing Page — CSS
   Color Palette: Green #3DB54A | Blue #1B5FAA
   ============================================= */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #3DB54A;
  --green-dark:   #2a9136;
  --green-light:  #d4f0d8;
  --blue:         #1B5FAA;
  --blue-dark:    #134d8c;
  --blue-light:   #d0e4f5;
  --blue-mid:     #2a7bc8;
  --gray-50:      #f8fafb;
  --gray-100:     #f0f4f7;
  --gray-200:     #e2e8ef;
  --gray-400:     #9ba8b4;
  --gray-600:     #5a6472;
  --gray-800:     #2c333c;
  --white:        #ffffff;
  --gradient-main: linear-gradient(135deg, #1B5FAA 0%, #3DB54A 100%);
  --gradient-hero: linear-gradient(160deg, #0d3a6a 0%, #155a30 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Montserrat', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

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

.section { padding: 100px 0; }

/* ─── Typography Helpers ─── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--green-light); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

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

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,95,170,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,95,170,.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── HEADER / NAV ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.logo-img {
  height: 36px;
  width: auto;
}

/* 동원시스템즈 로고 — 헤더 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav-logo-divider {
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.4);
  margin: 0 14px;
  border-radius: 1px;
  transition: var(--transition);
  flex-shrink: 0;
}
.header.scrolled .nav-logo-divider {
  background: var(--gray-200);
}

.logo-img-dongwon {
  height: 38px;
  width: auto;
  object-fit: contain;
  /* 헤더 상단(어두운 배경): 흰 배경 로고를 반전해 흰 글자처럼 표시 */
  filter: brightness(0) invert(1) opacity(0.85);
  transition: var(--transition);
}
/* 스크롤 후 배경 흰색 → 원본 컬러 그대로 */
.header.scrolled .logo-img-dongwon {
  filter: none;
  opacity: 1;
}
.logo-img-dongwon:hover { opacity: 1 !important; filter: none !important; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}
.header.scrolled .nav-link { color: var(--gray-800); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gradient-main);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(27,95,170,.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.header.scrolled .nav-toggle span { background: var(--gray-800); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--green);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--blue-mid);
  bottom: -150px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--green-light);
  top: 40%; left: 55%;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--green-light); }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.15);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 28px 56px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.25);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 0.8rem;
  z-index: 2;
}

.bounce {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── ABOUT (새 디자인) ─── */
.about { background: var(--gray-50); }

/* 섹션 레이블 공통 */
.about-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
  display: block;
}
.about-section-label.center { text-align: center; }

/* ① Name Origin + Logo Identity 2단 그리드 */
.about-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-200);
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

/* Name Origin */
.about-name-origin { border-right: 1.5px solid var(--gray-200); padding-right: 40px; }
.about-name-formula {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.name-eco {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.name-capable {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.name-plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-400);
}
.about-name-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  font-weight: 500;
}
.about-name-desc {
  background: var(--gray-50);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
}
.about-name-desc p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Logo Identity */
.logo-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.logo-identity-item { text-align: center; }
.logo-identity-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.logo-identity-item h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.logo-identity-item p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ② Core Value Proposition */
.about-cvp {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-200);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.cvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.cvp-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-100);
  background: var(--gray-50);
  transition: var(--transition);
}
.cvp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.cvp-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.cvp-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.cvp-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── PRODUCT MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--gray-600);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
  cursor: pointer;
  border: none;
}
.modal-close:hover { background: rgba(0,0,0,.18); color: var(--gray-800); }

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 40px 28px;
  border-bottom: 1.5px solid var(--gray-100);
  margin-top: -52px;
}
.modal-header-a { border-top: 5px solid #1a8fc1; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-header-b { border-top: 5px solid var(--blue); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-header-c { border-top: 5px solid #26a69a; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-header-d { border-top: 5px solid #2e7d32; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

.modal-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.modal-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gray-800);
  line-height: 1.1;
  margin-bottom: 4px;
}
.modal-subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
}

.modal-body { padding: 32px 40px 40px; }

/* 대표 이미지 */
.modal-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1.5px solid var(--gray-200);
}
.modal-img-wrap img { width: 100%; height: auto; display: block; }
.modal-img-placeholder {
  width: 100%; height: 200px;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 0.88rem;
}
.modal-img-placeholder i { font-size: 2.5rem; }

/* 제품 개요 */
.modal-desc { margin-bottom: 32px; }
.modal-desc h3,
.modal-products h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--gray-100);
}
.modal-desc p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* 세부 제품 목록 */
.modal-product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.modal-product-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  transition: var(--transition);
}
.modal-product-item:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}
.modal-product-img { width: 100px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.modal-product-img-placeholder {
  width: 100px; height: 80px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.modal-product-info h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.modal-product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gradient-main);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.modal-product-info p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 10px;
}
.modal-product-info ul {
  display: flex; flex-direction: column; gap: 4px;
}
.modal-product-info li {
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex; align-items: center; gap: 6px;
}
.modal-product-info li i { color: var(--green); font-size: 0.6rem; }

.modal-footer-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid var(--gray-100);
  display: flex;
  justify-content: center;
}

/* 모달 열릴 때 body 스크롤 막기 */
body.modal-open { overflow: hidden; }
}
.card-capable {
  background: linear-gradient(135deg, #0d3a6a, #1B5FAA);
  color: var(--white);
}

.about-plus {
  font-size: 1.8rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

.about-brand-badge {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 40px;
  box-shadow: var(--shadow-md);
}
.about-brand-badge img { height: 40px; width: auto; }

/* ─── PRODUCTS ─── */
.products { background: var(--white); }

.products-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
  width: 100%;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

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

.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.product-card:nth-child(1)::before { background: #4fc3f7; }
.product-card:nth-child(2)::before { background: var(--green); }
.product-card:nth-child(3)::before { background: #26a69a; }
.product-card:nth-child(4)::before { background: #2e7d32; }

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

.product-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.badge-a { background: #1a8fc1; }
.badge-b { background: #1B5FAA; }
.badge-c { background: #26a69a; }
.badge-d { background: #2e7d32; }

.product-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.icon-a { background: #e3f4fc; color: #1a8fc1; }
.icon-b { background: var(--blue-light); color: var(--blue); }
.icon-c { background: #e0f5f3; color: #26a69a; }
.icon-d { background: var(--green-light); color: #2e7d32; }

.product-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.product-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.product-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 0 0 auto;
  min-height: 4.8em;
}
.product-points {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.product-points li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.product-points li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
  margin-top: auto;
}
.product-cta:hover { gap: 10px; color: var(--blue-dark); }

/* ─── VISION ─── */
.vision {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.vision-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.vision-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: var(--transition);
}
.vision-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}

.vision-icon {
  width: 60px; height: 60px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px;
}

.vision-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: 12px;
}

.vision-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.vision-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
}

.vision-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}
.vision-cta p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* ─── WHY ─── */
.why { background: var(--gray-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.why-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1.5px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.why-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--blue);
  margin: 0 auto 20px;
}

.why-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  text-align: center;
}

/* ─── CONTACT ─── */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info .section-eyebrow { display: block; }

.contact-desc {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 28px;
}
.contact-details li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.95rem;
  color: var(--gray-600);
}
.contact-details li i {
  color: var(--green);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-details a:hover { color: var(--blue); }

.contact-promise {
  display: flex; align-items: center; gap: 12px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--blue-dark);
}
.contact-promise i { color: var(--blue); }

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
}

.required { color: var(--green); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,95,170,.1);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}

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

.form-error {
  font-size: 0.8rem;
  color: #e53935;
  min-height: 18px;
  display: block;
}

/* Checkbox group */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--white);
  font-size: 0.9rem;
}
.checkbox-label:hover { border-color: var(--blue); }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom { opacity: 1; }
.checkbox-label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-light);
}

.checkbox-custom {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  opacity: 0.75;
  transition: var(--transition);
}
.badge-a-bg { background: #1a8fc1; }
.badge-b-bg { background: var(--blue); }
.badge-c-bg { background: #26a69a; }
.badge-d-bg { background: #2e7d32; }

/* Privacy */
.privacy-group { margin-top: 4px; }
.privacy-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 0.9rem;
}
.privacy-label input[type="checkbox"] { display: none; }
.privacy-checkbox-custom {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-400);
  border-radius: 5px;
  flex-shrink: 0;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.privacy-label input[type="checkbox"]:checked + .privacy-checkbox-custom {
  background: var(--green);
  border-color: var(--green);
}
.privacy-label input[type="checkbox"]:checked + .privacy-checkbox-custom::after {
  content: '✓';
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.privacy-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 8px;
  line-height: 1.5;
}

/* Submit btn loading */
#submitBtn:disabled { opacity: 0.7; cursor: not-allowed; }
#submitBtn:disabled:hover { transform: none; }

/* Form success */
.form-success {
  text-align: center;
  padding: 60px 24px;
}
.success-icon {
  font-size: 4rem;
  color: var(--green);
  margin-bottom: 24px;
  animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ─── FOOTER ─── */
.footer {
  background: #0d1825;
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-light); }

.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.footer-contact i { color: var(--green); margin-top: 3px; }
.footer-contact a:hover { color: var(--green-light); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--gradient-main);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(27,95,170,.4);
  z-index: 900;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(27,95,170,.5); }

/* ─── AOS (scroll animations) ─── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Powered By (About 섹션 상단 배지) ─── */
.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  padding: 16px 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.powered-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.powered-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: var(--transition);
}
.powered-logo:hover { opacity: 0.85; }

/* ─── Footer Powered By ─── */
.footer-powered {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-powered span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-powered-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* 푸터 어두운 배경 → 흰색 반전 */
  filter: brightness(0) invert(1) opacity(0.7);
  transition: var(--transition);
}
.footer-powered-logo:hover { filter: brightness(0) invert(1) opacity(1); }

/* ─── Language Switch Button ─── */
.lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 5px 14px !important;
  border-radius: 50px !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  transition: var(--transition) !important;
  color: var(--white) !important;
}
.header.scrolled .lang-switch {
  border-color: var(--gray-400) !important;
  color: var(--gray-800) !important;
}
.lang-switch:hover {
  background: rgba(255,255,255,.18) !important;
  transform: translateY(-1px) !important;
}
.header.scrolled .lang-switch:hover {
  background: var(--gray-100) !important;
}
.lang-switch::after { display: none !important; }

/* ─── Responsive ─── */
.br-desktop { display: block; }

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text .section-title { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .vision-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .br-desktop { display: none; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(13,24,37,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 40px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: var(--white) !important; font-size: 1.1rem; }
  .nav-cta { background: var(--gradient-main) !important; }

  .hero-stats { padding: 24px 28px; gap: 24px; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { display: none; }

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

  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr 1fr; }

  .about-card-wrap { flex-direction: column; }
  .about-plus { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .checkbox-group { grid-template-columns: 1fr; }
}
