/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #C9A84C;
  --primary-dark: #A8873D;
  --accent: #E8C878;
  --dark: #0A1628;
  --gray-900: #1a1f36;
  --gray-700: #425466;
  --gray-500: #8898aa;
  --gray-200: #e6ebf1;
  --gray-50: #f6f9fc;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(201,168,76,0.08);
  --shadow-lg: 0 8px 40px rgba(201,168,76,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.gradient-text {
  background: linear-gradient(135deg, #C9A84C 0%, #E8C878 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.logo {
  text-decoration: none; display: flex; align-items: center;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo-img--white { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--gray-700);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary) !important; color: var(--dark) !important;
  padding: 8px 20px; border-radius: 8px;
  font-size: 0.875rem !important; font-weight: 700 !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 8px rgba(201,168,76,0.3) !important;
}
.btn-nav:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4) !important;
}
.hamburger {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--gray-700);
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 16px 24px; gap: 16px;
  border-top: 1px solid var(--gray-200); background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--gray-700);
  font-size: 1rem; font-weight: 500; padding: 4px 0;
}

/* ===== HERO ===== */
.hero {
  position: relative; padding: 80px 0; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--gray-200);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-left { position: relative; z-index: 1; }
.hero-right { position: relative; }
.hero-img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  object-fit: cover; aspect-ratio: 16/9; max-height: 360px;
}
.hero-tag {
  display: inline-flex; align-items: center;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: #8A6A1A; font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -1px; color: var(--dark); margin-bottom: 20px;
}
.hero-sub-en {
  font-size: 1rem; color: var(--gray-700); margin-bottom: 36px; line-height: 1.75;
}
.hero-sub-kr { display: none; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  background: var(--dark);
  color: var(--white);
  padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: none; cursor: pointer; display: inline-block;
  transition: all 0.2s; letter-spacing: -0.2px;
}
.btn-primary:hover { background: #1a2f4a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary.full { width: 100%; text-align: center; font-size: 1rem; padding: 16px; background: var(--dark); }
.btn-primary.full:hover { background: #0d1f3a; transform: translateY(-1px); }

.btn-secondary {
  background: var(--white); color: var(--dark);
  padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: 1.5px solid var(--gray-200); display: inline-block; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--dark); transform: translateY(-1px); }

.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; color: var(--dark); }
.stat-label { font-size: 0.7rem; color: var(--gray-500); font-weight: 500; margin-top: 2px; }
.stat-divider { width: 1px; height: 32px; background: var(--gray-200); }

/* ===== SECTION COMMON ===== */
section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head.light h2, .section-head.light p { color: var(--white); }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.section-head.light .section-tag { color: var(--accent); }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1.15;
}
.section-head p { color: var(--gray-500); font-size: 1rem; line-height: 1.65; }

/* ===== PRODUCTS ===== */
.products { background: var(--white); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.prod-card {
  background: var(--white); border-radius: 16px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(201,168,76,0.4); }
.prod-card.featured { border-color: var(--primary); box-shadow: 0 4px 24px rgba(201,168,76,0.15); }

.prod-img-wrap { position: relative; overflow: hidden; }
.prod-img {
  width: 100%; height: 240px;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease;
}
.prod-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.06); }

/* 카테고리별 배경 */
.prod-card:nth-child(1) .prod-img.placeholder {
  background: linear-gradient(145deg, #FFE0F0 0%, #FDF0FF 50%, #EAD5FF 100%);
}
.prod-card:nth-child(2) .prod-img.placeholder {
  background: linear-gradient(145deg, #D0F0E8 0%, #E8FFF8 50%, #B8EDD9 100%);
}
.prod-card:nth-child(3) .prod-img.placeholder {
  background: linear-gradient(145deg, #FFF0CC 0%, #FFFAE0 50%, #FFE4A0 100%);
}

/* 호버 오버레이 */
.prod-img.placeholder::after {
  content: '제품 보기 →';
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(99,91,255,0.82) 0%, transparent 100%);
  color: #fff; font-size: 0.85rem; font-weight: 600;
  text-align: center; letter-spacing: 0.3px;
  opacity: 0; transition: opacity 0.3s ease;
}
.prod-card:hover .prod-img.placeholder::after { opacity: 1; }

.prod-emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}
.prod-card:hover .prod-emoji { transform: scale(1.18) translateY(-6px); }
.prod-img-label { display: none; }

.prod-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; letter-spacing: 0.3px;
}
.prod-badge.hot { background: linear-gradient(135deg, #FF4757, #FF6B6B); }
.prod-badge.new { background: linear-gradient(135deg, #00D4FF, #00B4D8); color: var(--dark); }

.prod-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.prod-body p { font-size: 0.83rem; color: var(--gray-500); line-height: 1.65; }

.prod-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.prod-list li {
  font-size: 0.8rem; color: var(--gray-700);
  padding-left: 14px; position: relative;
}
.prod-list li::before {
  content: '·'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

.prod-btn {
  margin-top: auto; display: inline-block;
  color: var(--primary); font-size: 0.875rem;
  font-weight: 600; text-decoration: none;
  padding: 10px 0; border-top: 1px solid var(--gray-200);
  transition: opacity 0.2s;
}
.prod-btn:hover { opacity: 0.7; }

/* ===== WHY ===== */
.why { background: var(--dark); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 22px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.why-card:hover { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.why-icon {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
  color: rgba(255,255,255,0.25); margin-bottom: 20px; display: block;
}
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ===== AI MATCHING ===== */
.ai-matching { padding: 96px 0; background: var(--gray-50); }
.ai-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin: 48px 0;
}
.ai-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px; padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.ai-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(99,91,255,0.25); }
.ai-card.featured {
  background: var(--dark);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(10,37,64,0.2);
}
.ai-card.featured p { color: rgba(255,255,255,0.65); }
.ai-card.featured .ai-card-sub { color: var(--accent); }
.ai-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.ai-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: inherit; }
.ai-card-sub {
  font-size: 0.72rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px; display: block;
}
.ai-card p:last-child { font-size: 0.9rem; color: var(--gray-700); line-height: 1.65; }
.ai-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ai-cta-sub { font-size: 0.85rem; color: var(--gray-500); }

/* ===== ABOUT / TEAM ===== */
.about { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: 16px; padding: 28px 22px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(201,168,76,0.35); }
.team-icon { font-size: 2rem; margin-bottom: 14px; }
.team-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.team-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.65; }

/* ===== CONTACT ===== */
.contact { background: var(--gray-50); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.contact-text .section-tag { display: block; margin-bottom: 10px; }
.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  margin-bottom: 14px; letter-spacing: -1px; line-height: 1.15;
}
.contact-text h2 span { color: var(--primary); }
.contact-text p { color: var(--gray-500); line-height: 1.7; margin-bottom: 28px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-item {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.channel-item:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(201,168,76,0.15); transform: translateX(4px); }
.ch-icon { font-size: 1.4rem; flex-shrink: 0; }
.channel-item div { display: flex; flex-direction: column; gap: 2px; }
.channel-item strong { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.channel-item span { font-size: 0.8rem; color: var(--gray-500); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: 0.88rem; font-family: inherit;
  color: var(--gray-900); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.contact-form textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 52px 0 0; }
.footer-inner {
  display: flex; justify-content: space-between;
  gap: 48px; padding-bottom: 48px; flex-wrap: wrap;
}
.footer-brand .logo {
  font-size: 1.3rem;
  background: linear-gradient(135deg, #C9A84C, #E8C878);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { margin-top: 10px; font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { color: var(--white); font-size: 0.83rem; font-weight: 600; margin-bottom: 4px; }
.footer-col a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 0.82rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0; text-align: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 899px) {
  .ai-cards { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; letter-spacing: -1px; }
  .hero-stats { gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { gap: 28px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}

/* ===== PREMIUM BUYER INQUIRY FORM (shared across all pages) ===== */
.form{
  background:#fff;
  border:1px solid #E2E8E0;
  border-radius:16px;
  padding:44px;
  box-shadow:0 4px 24px rgba(30,50,30,0.07);
  position:relative;
  overflow:hidden;
}
.form::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#4D8C64 0%,#52A676 100%);
}
.form .form-header{margin-bottom:28px}
.form .form-title{font-family:'Fraunces',serif;font-weight:600;font-size:26px;letter-spacing:-.02em;margin:0 0 10px;color:#16201B}
.form .form-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.form .form-badge{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11.5px;font-weight:500;color:#3A6E52;
  background:#EEF6F1;border:1px solid #C8E0D0;
  border-radius:20px;padding:4px 11px;
}
.form .form-divider{border:none;border-top:1px solid #EAEDE8;margin:0 0 24px}
.form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:0}
.form .field{margin-bottom:16px}
.form .field label{
  display:block;font-size:11.5px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  color:#7A8A80;margin-bottom:7px;
}
.form .field label .req{color:#B89039}
.form .field input,.form .field select,.form .field textarea{
  width:100%;
  padding:13px 15px;
  border:1.5px solid #D8E0D5;
  background:#FAFBFA;
  border-radius:9px;
  font:inherit;font-size:14.5px;color:#16201B;
  transition:border-color .18s,background .18s,box-shadow .18s;
  font-family:inherit;
}
.form .field textarea{min-height:110px;resize:vertical;line-height:1.6}
.form .field input:focus,.form .field select:focus,.form .field textarea:focus{
  outline:none;
  border-color:#4D8C64;
  background:#fff;
  box-shadow:0 0 0 3px rgba(77,140,100,0.12);
}
.form .field input::placeholder,.form .field textarea::placeholder{color:#B0BCB5}
.form .form-actions{display:flex;gap:10px;margin-top:8px}
.form .form-submit{
  flex:1;justify-content:center;
  padding:16px;font-size:15px;font-weight:600;
  border-radius:10px;
  display:inline-flex;align-items:center;gap:8px;
  background:#4D8C64;color:#fff;border:none;cursor:pointer;
  font-family:inherit;
  transition:background .18s;
}
.form .form-submit:hover{background:#3F7553}
.form .form-reset-btn{
  padding:0 20px;border:1.5px solid #D0D8D0;border-radius:10px;
  background:#fff;color:#7A8A80;font-size:14px;font-family:inherit;
  cursor:pointer;transition:border-color .15s,color .15s;white-space:nowrap;
}
.form .form-reset-btn:hover{border-color:#9AB0A0;color:#3A5A48}
.form .form-trust{
  display:flex;align-items:center;justify-content:center;gap:6px;
  margin-top:14px;font-size:12px;color:#9AADA0;
}
.form .form-note{font-size:12px;color:#9AADA0;text-align:center;margin-top:6px;line-height:1.55}

@media (max-width:640px){
  .form{padding:28px 22px}
  .form .form-row{grid-template-columns:1fr}
  .form .form-badges{gap:6px}
}
