:root {
  --primary: #0a2540;
  --secondary: #1769ff;
  --accent: #27d7ff;
  --gold: #ffc648;
  --dark: #06142b;
  --text: #2d3748;
  --muted: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(10, 37, 64, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

/* 상단 알림 배너 (비공식 샘플 안내) */
.sampleNoticeBanner {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sampleNoticeBanner b { color: var(--gold); }

/* 헤더 & 네비게이션 */
.sampleHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.headerNav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sampleBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}
.sampleBrand .brandIcon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.sampleBrand span {
  font-size: 18px;
  color: var(--dark);
}
.sampleBrand b { color: var(--secondary); }

.sampleMenu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.sampleMenu a {
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.sampleMenu a:hover, .sampleMenu a.active {
  color: var(--secondary);
}
.sampleMenu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.headerTools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.langSelect {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-light);
  color: var(--dark);
  cursor: pointer;
}
.ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(23, 105, 255, 0.3);
  transition: all 0.2s ease;
}
.ctaBtn:hover {
  background: #0d54d6;
  transform: translateY(-1px);
}
.mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}

/* 히어로 섹션 */
.sampleHero {
  padding: 80px 0;
  background: linear-gradient(135deg, #07152d, #0c336b);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sampleHero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,215,255,0.15), transparent 70%);
}
.heroContent {
  max-width: 780px;
}
.heroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(39, 215, 255, 0.15);
  border: 1px solid rgba(39, 215, 255, 0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}
.sampleHero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.sampleHero p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 32px;
}
.heroBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btnPrimary {
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(39, 215, 255, 0.25);
  transition: transform 0.2s;
}
.btnPrimary:hover { transform: translateY(-2px); }
.btnOutline {
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  transition: background 0.2s;
}
.btnOutline:hover { background: rgba(255,255,255,0.2); }

/* 섹션 공통 */
.pageSection {
  padding: 80px 0;
}
.sectionBgLight {
  background: var(--bg-light);
}
.sectionTitleBox {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.sectionSubtitle {
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sectionHeading {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.sectionDesc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* 그리드 & 카드 */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(10, 37, 64, 0.12);
}
.cardIcon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ebf5ff;
  display: grid;
  place-items: center;
  color: var(--secondary);
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* 제품 카드 */
.productCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.productImgBox {
  height: 220px;
  background: #0f233d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 20px;
  text-align: center;
}
.productBody {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.productTag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #edf4ff;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  align-self: flex-start;
}
.productBody h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}
.productBody p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.productBody .ctaBtn {
  margin-top: auto;
  align-self: flex-start;
}

/* AI 플랫폼 & 통역 메신저 섹션 */
.aiFeatureBanner {
  background: linear-gradient(135deg, #071a38, #0d3873);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
}
.aiFeatureBanner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
}
.aiFeatureBanner p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.messengerAppBox {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.qrGrid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 18px 0;
}
.qrItem {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  color: #000;
  font-size: 12px;
  font-weight: 700;
}
.qrItem img {
  width: 100px;
  height: 100px;
  margin-bottom: 6px;
}

/* 문의 폼 (CONTACT) */
.contactWrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contactInfo {
  background: #081a38;
  color: #fff;
  padding: 36px;
  border-radius: 20px;
}
.contactInfo h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.contactInfo p {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 24px;
}
.infoItem {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
}
.formCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.formGroup {
  margin-bottom: 18px;
}
.formGroup label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.formControl {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
.formControl:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.15);
}
.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkboxLabel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

/* 필수 비공식 샘플 면책 고지 박스 */
.sampleDisclaimer {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #64748b;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}
.sampleDisclaimer strong {
  color: #1e293b;
}

/* 푸터 */
.sampleFooter {
  background: #030b18;
  color: #94a3b8;
  padding: 50px 0 30px;
  font-size: 14px;
}
.footerBottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 30px;
}

@media(max-width: 900px){
  .grid3 { grid-template-columns: 1fr; }
  .grid2, .aiFeatureBanner, .contactWrapper { grid-template-columns: 1fr; }
  .sampleMenu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0a1f3d;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
  }
  .sampleMenu.open { display: flex; }
  .sampleMenu a { color: #fff; }
  .mobileMenuBtn { display: block; }
}

/* 플로팅 위로가기 (Back To Top) 버튼 */
.btnBackToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #031024;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 25px rgba(23,105,255,0.35), 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, box-shadow 0.2s;
  outline: none;
}
.btnBackToTop svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.btnBackToTop span {
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.btnBackToTop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.btnBackToTop:hover {
  background: linear-gradient(135deg, var(--accent), #62e6ff);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(39,215,255,0.5);
  color: #020d1c;
}
.btnBackToTop:hover svg {
  transform: translateY(-2px);
}
.btnBackToTop:active {
  transform: translateY(0) scale(0.95);
}
