/* Variables */
:root{
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #2b2b2b;
  --muted: #6c6c6c;
  --brand: #ff7a59; 
  --brand-2: #ffd6c9; 
  --accent: #51c8ab; 
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,0.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Chiron GoRound TC", "Noto Sans KR", sans-serif;
  color:var(--text);
  background:var(--bg);
}
img{max-width:100%;display:block}
.container{width:min(1120px,92%);margin-inline:auto}

/* Header */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffff;
  backdrop-filter:blur(8px);
  border-bottom:1px solid #f2e7e1;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  flex-wrap:wrap;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px}
.logo-badge{
  width:32px;height:32px;border-radius:10px;
  background:linear-gradient(135deg,var(--brand),var(--accent));
  box-shadow:var(--shadow);
}
nav ul{display:flex;gap:18px;list-style:none;padding:0;margin:0}
nav a{padding:8px 12px;text-decoration:none;color:var(--text);border-radius:999px}
nav a:hover{background:var(--brand-2)}
.nav-cta{display:flex;gap:10px;flex-wrap:wrap;}
.btn{border:0;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer}
.btn-outline{background:transparent;border:1px solid #f1c3b1}
.btn-primary{
  display:inline-flex;          
  align-items:center;
  justify-content:center;
  background:var(--brand);
  color:white;
  box-shadow:var(--shadow);
  visibility:visible !important;
  opacity:1 !important;
}

.hamburger{display:none;background:transparent;border:0;width:40px;height:40px;border-radius:8px}

/* Mobile menu */
.mobile{display:none;padding-bottom:12px}
.mobile a{display:block;padding:10px 12px;border-radius:10px}

/* Hero */
.hero{padding:72px 0 48px}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:28px
}
.pill{
  display:inline-flex;gap:8px;align-items:center;
  background:#fff;border:1px solid #f3d9cf;
  color:#b45b45;padding:6px 12px;border-radius:999px;
  font-weight:700
}
h1{
  font-size:clamp(28px,5vw,48px);
  line-height:1.1;margin:12px 0
}
.gradient-text{
  background:linear-gradient(90deg,var(--brand),var(--accent));
  -webkit-background-clip:text;color:transparent
}
.lead{color:var(--muted);font-size:clamp(15px,2.2vw,18px)}
.btns{display:flex;gap:10px;margin-top:16px}
.hero-card{
  background:var(--panel);border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow);border:1px solid #f4e8e3
}

/* Sections */
.section{padding:56px 0}
.section h2{
  font-size:clamp(22px,4vw,34px);
  margin:0 0 16px;
  text-align:center;
}
.muted{color:var(--muted)}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.card{
  background:#fff;
  border:1px solid #f4e8e3;
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  font-weight:600;
  line-height:1.5;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
}

.card strong{
  font-weight:700;
  margin-bottom:4px;
}

.chip{
  display:inline-block;font-size:12px;
  padding:6px 10px;border-radius:999px;
  background:#fff7f3;border:1px solid #ffe0d6;
  color:#b45b45;font-weight:700
}
.section-lined{
  background:#fff;
  border-top:1px solid #f4e8e3;
  border-bottom:1px solid #f4e8e3
}

/* Tags */
.tags{display:flex;gap:10px;flex-wrap:wrap}
.tag{
  padding:8px 12px;border-radius:999px;
  background:#eefcf7;border:1px solid #d8f5ea
}

/* CTA */
.cta{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;align-items:center;
  background:linear-gradient(90deg,#fff0ea,#eefcf7);
  border:1px solid #f4e8e3;
  border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow)
}
.input{display:flex;gap:8px}
.input input{
  flex:1;padding:12px 14px;
  border:1px solid #e8dcd6;border-radius:12px;
  font-size:16px
}

/* Footer */
footer{padding:40px 0;color:#8a827c}
.foot{
  display:grid;grid-template-columns:1.2fr .8fr;
  gap:18px;align-items:start
}
.foot small{display:block;margin-top:8px}
.foot-links{justify-self:end;display:flex;gap:10px}

/* Utilities */
.fade-up{opacity:0;transform:translateY(10px);transition:.6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* Responsive */
@media (max-width:880px){
  .hero-grid,.cta,.foot{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .nav{
    flex-direction:column;
    align-items:center;
    gap:8px;
  }
  .logo{width:100%;justify-content:center;}
  .nav-cta{width:100%;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
  .hamburger{display:none;}
  .mobile{display:none;}
}
@media (max-width:560px){.grid-3{grid-template-columns:1fr}}

/* Branding */
.brand-logo{
  height:28px;display:block;object-fit:contain;max-width:160px;
}
@media (max-width:640px){
  .brand-logo{height:26px;}
}

/* Primary button consistency */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background-color:#ff7a59 !important;
  color:#ffffff !important;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid #ff7a59;
}

/* --------------------------------------------- */
/* 공통 카드 레이아웃 시스템 */
/* --------------------------------------------- */

/* 강조 텍스트 */
.highlight-text{
  font-size:18px;
  font-weight:700;
  line-height:1.6;
  margin-bottom:24px;
  text-align:center;
}

/* 반응형 카드 그리드 */
.card-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  justify-content:center;
  list-style:none;
  padding:0;
  margin:0;
}


/* 태블릿: 2열 */
@media (max-width:1024px){
  .card-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

/* 모바일: 1열 */
@media (max-width:640px){
  .card-grid{
    grid-template-columns:1fr;
  }
}

/* Problem & Solution 2열 매칭용 그리드 */
.pair-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(2, minmax(0,1fr));
  list-style:none;
  padding:0;
  margin:0;
}

/* 모바일에서는 1열로 쌓이게 */
@media (max-width:640px){
  .pair-grid{
    grid-template-columns:1fr;
  }
}

/* ----------------------------- */
/* Product & Modules – 표 스타일 */
/* ----------------------------- */

.table-responsive{
  overflow-x:auto;
  margin-top:20px;
}

.fc-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
  border:1px solid #f4e8e3;
}

.fc-table thead{
  background:var(--brand-2);
}

.fc-table th{
  padding:14px 16px;
  font-weight:700;
  font-size:16px;
  text-align:left;
  border-bottom:1px solid #f4e8e3;
}

.fc-table td{
  padding:14px 16px;
  font-size:15px;
  border-bottom:1px solid #f4e8e3;
  line-height:1.45;
}

/* 마지막 행 줄 삭제 */
.fc-table tbody tr:last-child td{
  border-bottom:none;
}

/* 모바일 작은 화면에서 */
@media (max-width:640px){
  .fc-table th, .fc-table td{
    font-size:14px;
    padding:12px 14px;
  }
}

/* 연령·목적별 맞춤 서비스 섹션 레이아웃 */
.age-service{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.age-block h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:700;
  text-align:center;
}


/* --------------------------------------------- */
/* Global Expansion – 레이아웃 + 단계 카드 + 국기 그리드 */
/* --------------------------------------------- */

.global-layout{
  display:grid;
  grid-template-columns:minmax(0,260px) minmax(0,1fr);
  gap:32px;
  align-items:center;
  margin-top:24px;
}


.global-steps{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.global-step-card{
  background:#fff;
  border-radius:var(--radius);
  border:1px solid #f4e8e3;
  padding:14px 16px;
  box-shadow:var(--shadow);
  text-align:center;
}


.global-step-card .step-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:#fff7f3;
  color:#b45b45;
  margin-bottom:6px;
}

.global-step-card p{
  margin:4px 0 0;
  font-size:15px;
  font-weight:800;
}

/* 국기 그리드 */
.global-flags{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:24px;
  justify-items:center;
}

.flag-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}


/* 동그란 마스크 컨테이너 */
.flag-circle{
  width:70px;
  height:70px;
  border-radius:50%;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid #f4e8e3;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 실제 국기 이미지 – 현재 정도로 유지 */
.flag-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.flag-card span{
  font-size:16px;
  font-weight:800;
  text-align:center;
  line-height:1.5;
}


/* 태블릿 이하: 단계/국기 세로 배치 + 국기 3열 */
@media (max-width:1024px){
  .global-layout{
    grid-template-columns:1fr;
  }

  .global-flags{
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
  }
}

/* 모바일: 국기 2열, 아이콘 줄이기 */
@media (max-width:640px){
  .global-flags{
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
  }

  .flag-circle{
    width:60px;
    height:60px;
  }
}
