/* =========================================
   CHATRO - 공통 스타일시트
   AI 기반 비즈니스 콘텐츠 플랫폼
   ========================================= */

/* ── CSS 변수 ── */
:root {
  --primary: #5B4FFF;
  --primary-dark: #3D31E0;
  --primary-light: #EEF0FF;
  --accent: #FF6B35;
  --accent-light: #FFF1EB;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --black: #000000;

  --font-sans: 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 유틸리티 ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: var(--accent-light); color: var(--accent); }
.badge-success { background: #DCFCE7; color: #16A34A; }
.badge-warning { background: #FEF9C3; color: #CA8A04; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(91,79,255,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(91,79,255,0.4); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(255,107,53,0.35); }
.btn-accent:hover { background: #E85520; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,53,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── 카드 ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 24px; }

/* ── 구분선 ── */
.divider { height: 1px; background: var(--gray-200); margin: 0; }

/* ── 스크롤바 ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── 애니메이션 ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ============================================
   CHATRO 썸페이지 전용 스타일
   ============================================ */

/* ── [1] 헤더 ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.98);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px; max-width: 1200px; margin: 0 auto;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), #8B7FFF);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 18px;
}
.logo-text { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.logo-text span { color: var(--primary); }
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: var(--transition); }
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: white; box-shadow: var(--shadow-lg); z-index: 999;
  padding: 20px; border-top: 1px solid var(--gray-200);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; }

/* ── [2] 히어로 섹션 ── */
.hero-section {
  min-height: 100vh; padding-top: 72px;
  background: linear-gradient(135deg, #F0EEFF 0%, #EEF4FF 50%, #F5F0FF 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-bg-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.hero-bg-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #5B4FFF, transparent); top: -200px; right: -200px; }
.hero-bg-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #FF6B35, transparent); bottom: -100px; left: -100px; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 80px 24px; max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-live-dot {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: white; border-radius: var(--radius-full);
  box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--success);
}
.hero-live-dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: pulse 1.5s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 20px; color: var(--gray-900);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), #FF6B35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 17px; color: var(--gray-500); margin-bottom: 36px; line-height: 1.8; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.hero-visual { position: relative; z-index: 1; }
.hero-card-stack { position: relative; }
.hero-main-card {
  background: white; border-radius: 20px; box-shadow: var(--shadow-xl);
  padding: 28px; position: relative; overflow: hidden;
}
.hero-main-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-card-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #8B7FFF);
  display: flex; align-items: center; justify-content: center; color: white; font-size: 20px;
}
.hero-card-info h4 { font-size: 15px; font-weight: 700; }
.hero-card-info p { font-size: 12px; color: var(--gray-500); }
.hero-article-preview {
  background: var(--gray-50); border-radius: 12px; padding: 16px; margin-bottom: 16px;
}
.hero-article-preview h5 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.hero-article-preview p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.hero-product-row { display: flex; gap: 10px; }
.hero-product-mini {
  flex: 1; background: var(--gray-50); border-radius: 10px; padding: 12px;
  text-align: center;
}
.hero-product-mini .price { font-size: 14px; font-weight: 800; color: var(--accent); }
.hero-product-mini .name { font-size: 11px; color: var(--gray-600); margin-top: 2px; }
.hero-float-badge {
  position: absolute; background: white; border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero-float-1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-float-2 { bottom: 20px; left: -30px; animation-delay: 1s; }
.hero-float-badge .icon { font-size: 18px; }

/* ── [3] 미디어 섹션 ── */
.media-section { background: var(--white); }
.video-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-900); aspect-ratio: 16/9;
  box-shadow: var(--shadow-xl); margin-bottom: 24px;
}
.video-thumbnail {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}
.video-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3); transition: var(--transition); cursor: pointer;
  border: none;
}
.play-btn:hover { transform: scale(1.1); background: white; }
.play-btn svg { color: var(--primary); margin-left: 4px; }
.video-meta { color: white; text-align: center; }
.video-meta h4 { font-size: 18px; font-weight: 700; }
.video-meta p { font-size: 13px; opacity: 0.8; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.video-card-thumb { aspect-ratio: 16/9; background: var(--gray-200); overflow: hidden; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.video-card-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.video-card:hover .video-card-overlay { opacity: 1; }
.video-card-play {
  width: 44px; height: 44px; background: rgba(255,255,255,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.video-card-info { padding: 10px 0; }
.video-card-info h5 { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.video-card-info p { font-size: 11px; color: var(--gray-500); }

/* ── [4] 뉴스/기사 섹션 ── */
.news-section { background: var(--gray-50); }
.news-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: var(--gray-500);
  background: white; border: 1px solid var(--gray-200);
  transition: var(--transition); cursor: pointer;
}
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(91,79,255,0.3); }
.tab-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.news-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.news-featured { }
.news-featured-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column;
  transition: var(--transition);
}
.news-featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-featured-img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary-light), var(--primary));
  position: relative; overflow: hidden;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-featured-body .badge { margin-bottom: 12px; }
.news-featured-body h3 { font-size: 22px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.news-featured-body p { font-size: 15px; color: var(--gray-500); line-height: 1.7; flex: 1; }
.news-featured-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.news-meta { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 8px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-card {
  background: white; border-radius: var(--radius); padding: 16px; display: flex; gap: 16px;
  box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.news-card-img {
  width: 90px; height: 70px; border-radius: 10px; overflow: hidden;
  background: var(--primary-light); flex-shrink: 0;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { flex: 1; min-width: 0; }
.news-card-body .badge { margin-bottom: 6px; font-size: 10px; padding: 2px 8px; }
.news-card-body h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 4px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card-body .news-meta { font-size: 11px; }
.news-more-btn { display: flex; justify-content: center; margin-top: 40px; }

/* ── [5] 커머스/상품 섹션 ── */
.commerce-section { background: white; }
.commerce-banner {
  background: linear-gradient(135deg, var(--accent), #FF9F35);
  border-radius: var(--radius-lg); padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px; color: white;
}
.commerce-banner h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.commerce-banner p { font-size: 14px; opacity: 0.9; }
.commerce-banner-icon { font-size: 60px; opacity: 0.7; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--primary); box-shadow: 0 8px 30px rgba(91,79,255,0.15); transform: translateY(-4px); }
.product-card.featured { border-color: var(--accent); }
.product-card.featured:hover { box-shadow: 0 8px 30px rgba(255,107,53,0.2); }
.product-img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #F0EEFF, #E0DBFF);
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-emoji { font-size: 64px; }
.product-badge-overlay { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.product-price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
.product-price { font-size: 22px; font-weight: 800; color: var(--accent); }
.product-price-original { font-size: 14px; color: var(--gray-400); text-decoration: line-through; }
.product-price-discount { font-size: 13px; font-weight: 700; color: var(--danger); }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

/* ── [6] 브랜드/신뢰 섹션 ── */
.brand-section {
  background: linear-gradient(135deg, var(--primary) 0%, #3D31E0 50%, #6B3FFF 100%);
  color: white; padding: 100px 0;
}
.brand-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.brand-content h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.brand-content p { font-size: 16px; opacity: 0.85; line-height: 1.8; margin-bottom: 32px; }
.brand-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-stat { text-align: center; background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px; }
.brand-stat-num { font-size: 32px; font-weight: 900; }
.brand-stat-label { font-size: 12px; opacity: 0.75; margin-top: 4px; }
.trust-items { display: flex; flex-direction: column; gap: 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 16px; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 20px; }
.trust-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px; }
.trust-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trust-text p { font-size: 13px; opacity: 0.75; line-height: 1.5; }

/* ── [7] 후기/블로그 섹션 ── */
.review-section { background: var(--gray-50); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-quote { font-size: 40px; color: var(--primary-light); line-height: 1; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.review-author-info h5 { font-size: 14px; font-weight: 700; }
.review-author-info p { font-size: 12px; color: var(--gray-500); }
.review-stars { color: #F59E0B; font-size: 13px; margin-bottom: 2px; }
.faq-container { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; text-align: left; padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--gray-800);
  transition: var(--transition); cursor: pointer;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 20px; color: var(--gray-400); transition: var(--transition); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 200px; }
.faq-answer p { padding: 0 0 20px; font-size: 14px; color: var(--gray-500); line-height: 1.8; }

/* ── [8] 바이오링크 섹션 ── */
.biolink-section { background: white; }
.biolink-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
.biolink-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px; border-radius: var(--radius-lg); border: 1.5px solid var(--gray-200);
  transition: var(--transition); cursor: pointer; text-align: center;
}
.biolink-item:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-4px); }
.biolink-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.biolink-item span { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.biolink-youtube .biolink-icon { background: #FFE5E5; }
.biolink-insta .biolink-icon { background: linear-gradient(135deg, #FFEDDA, #FFD6F5); }
.biolink-blog .biolink-icon { background: #E5F5FF; }
.biolink-kakao .biolink-icon { background: #FFF8CC; }
.biolink-store .biolink-icon { background: #E5FFE5; }
.biolink-phone .biolink-icon { background: #E5EEFF; }
.biolink-map .biolink-icon { background: #FFE5F5; }
.biolink-email .biolink-icon { background: #F0FFEE; }

/* ── [9] CTA 섹션 ── */
.cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a1040 100%);
  padding: 100px 0; color: white; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,79,255,0.3), transparent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.cta-content p { font-size: 17px; opacity: 0.75; margin-bottom: 44px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-kakao { background: #FEE500; color: #3A1D00; }
.cta-kakao:hover { background: #F5DC00; transform: translateY(-2px); }

/* ── [10] 푸터 ── */
.site-footer { background: var(--gray-900); color: white; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--primary); }
.footer-brand p { font-size: 13px; color: var(--gray-400); line-height: 1.8; margin-bottom: 20px; }
.footer-business { font-size: 12px; color: var(--gray-500); line-height: 1.8; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--gray-300); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--gray-400); transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--gray-500);
}
.footer-policies { display: flex; gap: 16px; }
.footer-policies a { color: var(--gray-500); transition: var(--transition); }
.footer-policies a:hover { color: var(--gray-300); }
.ai-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
}
.ai-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }

/* ── 공지 배너 ── */
.notice-banner {
  background: var(--primary); color: white;
  padding: 10px; text-align: center; font-size: 13px; font-weight: 500;
}
.notice-banner a { color: white; text-decoration: underline; margin-left: 8px; }

/* ── 기사 모달 ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white; border-radius: var(--radius-lg); max-width: 680px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  position: sticky; top: 0; background: white; padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between;
  z-index: 1;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: var(--transition); font-size: 20px; color: var(--gray-500);
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }
.modal-body { padding: 28px 24px; }
.modal-body h2 { font-size: 22px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.modal-body .article-meta { font-size: 13px; color: var(--gray-400); margin-bottom: 20px; }
.modal-body .article-content { font-size: 15px; line-height: 1.9; color: var(--gray-700); }
.modal-body .article-content p { margin-bottom: 16px; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .hero-visual { display: none; }
  .brand-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-list { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .header-nav { display: none; }
  .header-actions .btn-outline { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-stats { gap: 20px; }
  .hero-buttons .btn-lg { padding: 14px 24px; font-size: 15px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .biolink-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-header h2 { font-size: 26px; }
  .commerce-banner { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .biolink-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .biolink-item { padding: 16px 8px; }
  .biolink-icon { width: 44px; height: 44px; font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 22px; }
}

/* ============================================
   AI NEWS INTELLIGENCE ENGINE - 추가 스타일
   PRD v1.0 기반 고도화
   ============================================ */

/* ── 프라이휠 섹션 ── */
.flywheel-section {
  background: linear-gradient(170deg, #0F0C2A 0%, #1a1040 40%, #0D1B3E 100%);
  padding: 100px 0; color: white; position: relative; overflow: hidden;
}
.flywheel-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(91,79,255,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,107,53,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.flywheel-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.flywheel-content {}
.flywheel-content .badge-dark {
  background: rgba(91,79,255,0.25); color: #A89FFF; border: 1px solid rgba(91,79,255,0.4);
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
  border-radius: 9999px; font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.flywheel-content h2 {
  font-size: clamp(28px,4vw,44px); font-weight: 900; line-height: 1.2;
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.flywheel-content h2 .hl { color: #A89FFF; }
.flywheel-content p { font-size: 16px; opacity: 0.75; line-height: 1.8; margin-bottom: 32px; max-width: 440px; }
.flywheel-steps { display: flex; flex-direction: column; gap: 14px; }
.flywheel-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  transition: all 0.3s ease; cursor: default;
}
.flywheel-step:hover { background: rgba(91,79,255,0.15); border-color: rgba(91,79,255,0.3); transform: translateX(6px); }
.flywheel-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #5B4FFF, #8B7FFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.flywheel-step-icon { font-size: 20px; flex-shrink: 0; }
.flywheel-step-text { flex: 1; }
.flywheel-step-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.flywheel-step-text p { font-size: 12px; opacity: 0.6; }
.flywheel-step-arrow { font-size: 12px; opacity: 0.4; }

/* ── 프라이휠 원형 다이어그램 ── */
.flywheel-diagram { position: relative; display: flex; align-items: center; justify-content: center; }
.wheel-wrap {
  position: relative; width: 380px; height: 380px;
}
.wheel-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, #5B4FFF, #8B7FFF);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(91,79,255,0.6), 0 0 80px rgba(91,79,255,0.2);
  z-index: 10;
}
.wheel-center-icon { font-size: 28px; line-height: 1; }
.wheel-center-label { font-size: 10px; font-weight: 700; color: white; margin-top: 4px; text-align: center; line-height: 1.2; }
.wheel-ring {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%; border: 1.5px dashed rgba(91,79,255,0.25);
  animation: rotateRing 20s linear infinite;
}
.wheel-ring-2 {
  width: 76%; height: 76%; top: 12%; left: 12%;
  border-color: rgba(255,107,53,0.2);
  animation: rotateRing 14s linear infinite reverse;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.wheel-node {
  position: absolute; width: 68px; height: 68px;
  transform: translate(-50%, -50%);
}
.wheel-node-inner {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); transition: all 0.3s ease; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.wheel-node-inner:hover {
  background: rgba(91,79,255,0.3); border-color: rgba(91,79,255,0.6);
  transform: scale(1.15); box-shadow: 0 8px 30px rgba(91,79,255,0.4);
}
.wheel-node-icon { font-size: 20px; line-height: 1; }
.wheel-node-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8); margin-top: 3px; text-align: center; line-height: 1.2; }
.wheel-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(91,79,255,0.4); animation: pulseBorder 2.5s ease-in-out infinite;
}
@keyframes pulseBorder {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.25); }
}
/* 노드 위치 계산 (8개, 45도 간격) */
.wn-0 { top: 5%; left: 50%; }
.wn-1 { top: 21%; left: 85%; }
.wn-2 { top: 50%; left: 95%; }
.wn-3 { top: 79%; left: 85%; }
.wn-4 { top: 95%; left: 50%; }
.wn-5 { top: 79%; left: 15%; }
.wn-6 { top: 50%; left: 5%; }
.wn-7 { top: 21%; left: 15%; }

/* ── AI 뉴스 엔진 소개 섹션 ── */
.news-engine-section { background: var(--gray-50); }
.engine-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap; margin-bottom: 56px;
}
.engine-flow-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 16px; background: white; border-radius: 14px;
  border: 1.5px solid var(--gray-200); min-width: 110px; text-align: center;
  transition: all 0.3s ease; cursor: default; position: relative;
}
.engine-flow-item:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(91,79,255,0.15); transform: translateY(-4px); }
.engine-flow-item.active-step { border-color: var(--primary); background: var(--primary-light); }
.engine-flow-arrow {
  font-size: 18px; color: var(--gray-300); padding: 0 6px; flex-shrink: 0;
  align-self: center; margin-top: -8px;
}
.engine-flow-icon { font-size: 28px; }
.engine-flow-label { font-size: 12px; font-weight: 700; color: var(--gray-700); }
.engine-flow-sub { font-size: 10px; color: var(--gray-400); line-height: 1.3; }
.engine-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engine-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 1.5px solid var(--gray-200); transition: all 0.3s ease; position: relative; overflow: hidden;
}
.engine-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.engine-card.ec-collect::before { background: linear-gradient(90deg, #5B4FFF, #8B7FFF); }
.engine-card.ec-rewrite::before { background: linear-gradient(90deg, #FF6B35, #FFB35B); }
.engine-card.ec-video::before { background: linear-gradient(90deg, #22C55E, #4ADE80); }
.engine-card.ec-publish::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.engine-card.ec-commerce::before { background: linear-gradient(90deg, #EC4899, #F472B6); }
.engine-card.ec-analytics::before { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.engine-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); border-color: transparent; }
.engine-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.engine-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.engine-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.engine-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.engine-tag {
  font-size: 11px; padding: 3px 9px; border-radius: 9999px;
  background: var(--gray-100); color: var(--gray-600); font-weight: 500;
}

/* ── 영상 생성 엔진 섹션 ── */
.video-engine-section {
  background: white;
}
.video-engine-demo {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start;
}
.vd-left {}
.vd-left h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.vd-left p { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; }
.vd-engine-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.vd-engine-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1.5px solid var(--gray-200); border-radius: 12px;
  transition: all 0.3s ease; cursor: pointer;
}
.vd-engine-item:hover { border-color: var(--primary); background: var(--primary-light); }
.vd-engine-item.selected { border-color: var(--primary); background: var(--primary-light); }
.vd-engine-logo {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.vd-engine-info h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.vd-engine-info p { font-size: 12px; color: var(--gray-500); }
.vd-engine-badge { margin-left: auto; }
.vd-right {}
.video-gen-terminal {
  background: #0F0C2A; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.vgt-header {
  background: rgba(255,255,255,0.06); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vgt-dots { display: flex; gap: 6px; }
.vgt-dot { width: 12px; height: 12px; border-radius: 50%; }
.vgt-dot-r { background: #FF5F57; }
.vgt-dot-y { background: #FEBC2E; }
.vgt-dot-g { background: #28C840; }
.vgt-title { font-size: 12px; color: rgba(255,255,255,0.5); margin-left: 8px; font-family: monospace; }
.vgt-body { padding: 20px; min-height: 280px; font-family: monospace; font-size: 13px; line-height: 1.8; }
.vgt-progress { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.vgt-progress-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 8px; display: flex; justify-content: space-between; font-family: monospace; }
.vgt-progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.vgt-progress-fill { height: 100%; background: linear-gradient(90deg, #5B4FFF, #A89FFF); border-radius: 2px; transition: width 0.4s ease; }
.vgt-actions { padding: 14px 20px; display: flex; gap: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
.vgt-btn {
  flex: 1; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all 0.2s ease; border: none;
}
.vgt-btn-primary { background: linear-gradient(135deg, #5B4FFF, #8B7FFF); color: white; }
.vgt-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.vgt-btn-secondary { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.vgt-btn-secondary:hover { background: rgba(255,255,255,0.12); }
.video-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.video-type-item {
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  cursor: pointer; transition: all 0.2s ease; text-align: center;
}
.video-type-item:hover { border-color: var(--primary); background: var(--primary-light); }
.video-type-item.selected { border-color: var(--primary); background: var(--primary-light); }
.video-type-icon { font-size: 20px; margin-bottom: 4px; }
.video-type-label { font-size: 12px; font-weight: 600; }
.video-type-desc { font-size: 10px; color: var(--gray-400); }

/* ── 뉴스 소스 카드 ── */
.news-source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-source-card {
  background: white; border-radius: 12px; padding: 18px;
  border: 1.5px solid var(--gray-200); display: flex; align-items: flex-start; gap: 14px;
  transition: all 0.3s ease;
}
.news-source-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(91,79,255,0.1); }
.news-source-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.news-source-info h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.news-source-info p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.news-source-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }

/* ── KPI 섹션 ── */
.kpi-section { background: var(--gray-50); }
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.kpi-card {
  background: white; border-radius: 14px; padding: 22px; text-align: center;
  border: 1.5px solid var(--gray-200); transition: all 0.3s ease;
}
.kpi-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(91,79,255,0.1); transform: translateY(-3px); }
.kpi-icon { font-size: 28px; margin-bottom: 10px; }
.kpi-value { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.kpi-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }

/* ── AI 정책 배너 ── */
.ai-policy-banner {
  background: linear-gradient(135deg, #1a1040, #0F0C2A);
  border-radius: var(--radius-lg); padding: 24px 32px;
  display: flex; align-items: flex-start; gap: 18px; margin-top: 40px;
  border: 1px solid rgba(91,79,255,0.3);
}
.ai-policy-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.ai-policy-text h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 6px; }
.ai-policy-text p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ai-policy-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ai-policy-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 9999px;
  background: rgba(91,79,255,0.2); color: #A89FFF; font-weight: 600;
}

/* ── 반응형 추가 ── */
@media (max-width: 1024px) {
  .flywheel-inner { grid-template-columns: 1fr; gap: 48px; }
  .flywheel-diagram { display: none; }
  .video-engine-demo { grid-template-columns: 1fr; }
  .engine-cards { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .news-source-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .engine-flow { gap: 4px; }
  .engine-flow-item { min-width: 80px; padding: 14px 10px; }
  .engine-flow-arrow { display: none; }
  .engine-cards { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .news-source-grid { grid-template-columns: 1fr; }
  .flywheel-steps { gap: 10px; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
