/* ===================================
   클리닉온 - 성형외과/피부과 전용 SaaS
   Premium Landing Page Styles
   =================================== */

/* === CSS Variables === */
:root {
  --primary: #6C63FF;
  --primary-dark: #5A52E0;
  --primary-light: #EEF0FF;
  --secondary: #00D4AA;
  --accent: #FF6B6B;
  --gold: #F59E0B;
  --dark: #0D0D1A;
  --dark-2: #1A1A2E;
  --dark-3: #252540;
  --gray-1: #F8F9FF;
  --gray-2: #F0F2FF;
  --gray-3: #E2E5F0;
  --gray-4: #9CA3BF;
  --gray-5: #6B7280;
  --text-dark: #1A1A2E;
  --text-mid: #4B5563;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #6C63FF 0%, #00D4AA 100%);
  --gradient-hero: linear-gradient(135deg, #0D0D1A 0%, #1A1A2E 50%, #252540 100%);
  --shadow-sm: 0 2px 8px rgba(108, 99, 255, 0.08);
  --shadow-md: 0 4px 24px rgba(108, 99, 255, 0.12);
  --shadow-lg: 0 8px 48px rgba(108, 99, 255, 0.18);
  --shadow-xl: 0 16px 64px rgba(108, 99, 255, 0.24);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.section-pad { padding: 96px 0; }
.pc-only { display: block; }
.hidden { display: none !important; }

/* === Typography === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red { color: var(--accent); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 14px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.45);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-kakao {
  background: #FEE500;
  color: #1A1A1A;
  font-weight: 700;
}
.btn-kakao:hover { opacity: 0.9; transform: translateY(-2px); }

.pulse-btn {
  animation: pulse-glow 2.5s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(108, 99, 255, 0.6); }
}

/* === Section Headers === */
.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-red { background: #FFF1F0; color: #CF3F3F; }
.badge-blue { background: #EEF4FF; color: #3366FF; }
.badge-purple { background: #F3EEFF; color: var(--primary); }
.badge-green { background: #ECFDF5; color: #059669; }
.badge-gold { background: #FFFBEB; color: #B45309; }
.badge-teal { background: #F0FDFB; color: #0D9488; }
.badge-gray { background: #F3F4F6; color: #374151; }
.badge-primary { background: var(--primary-light); color: var(--primary); }

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.logo-icon { color: var(--secondary); font-size: 24px; }
.logo-accent { color: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(13, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 16px 24px 32px;
}
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-cta-primary {
  display: block !important;
  margin-top: 16px;
  background: var(--primary) !important;
  color: var(--white) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: var(--radius-md) !important;
  border-bottom: none !important;
}
.mobile-cta-outline {
  display: block !important;
  margin-top: 8px;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  text-align: center;
  padding: 12px !important;
  border-radius: var(--radius-md) !important;
  border-bottom: none !important;
}

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

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(108, 99, 255, 0.15);
  top: -200px; left: -200px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: rgba(0, 212, 170, 0.1);
  bottom: -100px; right: -100px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.4);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #B0AEFF;
  margin-bottom: 32px;
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub strong { color: rgba(255,255,255,0.95); }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  backdrop-filter: blur(8px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-item strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item span { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero Dashboard Mockup */
.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.dashboard-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }
.mockup-title { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; }

.mockup-body { padding: 24px; }

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-stat {
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-stat.green { background: rgba(0, 212, 170, 0.12); border: 1px solid rgba(0, 212, 170, 0.2); }
.mockup-stat.blue { background: rgba(51, 102, 255, 0.12); border: 1px solid rgba(51, 102, 255, 0.2); }
.mockup-stat.purple { background: rgba(108, 99, 255, 0.12); border: 1px solid rgba(108, 99, 255, 0.2); }

.ms-label { font-size: 11px; color: rgba(255,255,255,0.5); }
.ms-value { font-size: 22px; font-weight: 800; color: var(--white); }
.ms-change { font-size: 12px; font-weight: 600; color: var(--secondary); }

.mockup-chart { margin-bottom: 20px; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 8px;
}
.chart-bar {
  flex: 1;
  background: rgba(108, 99, 255, 0.3);
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.chart-bar:hover, .chart-bar.active { background: var(--primary); }
.chart-bar span { font-size: 10px; color: rgba(255,255,255,0.5); padding-bottom: 4px; }
.chart-label { font-size: 12px; color: rgba(255,255,255,0.3); text-align: center; }

.mockup-notifications { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.notif-item i { font-size: 14px; flex-shrink: 0; }
.notif-item span { flex: 1; }
.notif-item small { color: rgba(255,255,255,0.35); white-space: nowrap; }
.notif-new { background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.2); }
.notif-new i { color: var(--secondary); }
.notif-remind { background: rgba(108, 99, 255, 0.1); border: 1px solid rgba(108, 99, 255, 0.2); }
.notif-remind i { color: var(--primary); }
.notif-noshow { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }
.notif-noshow i { color: var(--gold); }

/* ===================================
   SOCIAL PROOF BAR
   =================================== */
.social-proof-bar {
  background: var(--gray-1);
  border-top: 1px solid var(--gray-3);
  border-bottom: 1px solid var(--gray-3);
  padding: 24px 0;
}

.sp-label {
  font-size: 13px;
  color: var(--gray-4);
  text-align: center;
  margin-bottom: 16px;
  font-weight: 500;
}

.sp-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sp-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-4);
}
.sp-logo-item i { color: var(--primary); }

/* ===================================
   PROBLEM SECTION
   =================================== */
.problem-section { background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.problem-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.1);
  transform: translateY(-4px);
}

.problem-icon {
  width: 52px; height: 52px;
  background: #FFF1F0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--accent);
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-dark);
}

.problem-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===================================
   SOLUTION SECTION
   =================================== */
.solution-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.solution-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 99, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.solution-section .section-title,
.solution-section .section-desc { color: var(--white); }
.solution-section .section-desc { color: rgba(255,255,255,0.6); }

.flow-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  position: relative;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 16px;
  min-width: 120px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  flex: 1;
  transition: var(--transition);
}

.flow-step:hover { background: rgba(255,255,255,0.08); border-color: var(--primary); }
.flow-step-final { background: rgba(108, 99, 255, 0.15); border-color: rgba(108, 99, 255, 0.4); }

.flow-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.flow-icon-1 { background: rgba(255,107,107,0.2); color: #FF6B6B; }
.flow-icon-2 { background: rgba(108,99,255,0.2); color: var(--primary); }
.flow-icon-3 { background: rgba(245,158,11,0.2); color: var(--gold); }
.flow-icon-4 { background: rgba(0,212,170,0.2); color: var(--secondary); }
.flow-icon-5 { background: rgba(99,179,237,0.2); color: #63B3ED; }
.flow-icon-6 { background: var(--primary); color: var(--white); }

.flow-content h4 { font-size: 14px; font-weight: 700; color: var(--white); }
.flow-content p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.flow-arrow {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.2);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 6px;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.rc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.rc-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.rc-body p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section { background: var(--gray-1); }

.features-tabs {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-3);
  margin-bottom: 48px;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-3);
  background: var(--gray-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--primary); background: var(--primary-light); }
.tab-btn.active {
  color: var(--primary);
  background: var(--white);
  border-bottom-color: var(--primary);
}

.tab-content { display: block; }
.tab-content.hidden { display: none; }

.tab-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.tab-text h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.tab-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}
.feature-list li i { color: var(--secondary); font-size: 16px; flex-shrink: 0; }

/* Feature Mockup */
.feature-mockup {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.fm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--dark-3);
}
.fm-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.fm-dot:nth-child(1) { background: #FF5F57; }
.fm-dot:nth-child(2) { background: #FFBD2E; }
.fm-dot:nth-child(3) { background: #28CA41; }
.fm-url { font-size: 12px; color: rgba(255,255,255,0.35); }

.fm-body { padding: 20px; }

/* Landing preview */
.fm-landing-preview {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.flp-hero {
  background: linear-gradient(135deg, #6C63FF, #00D4AA);
  padding: 20px;
  text-align: center;
}
.flp-badge { display: inline-block; background: rgba(255,255,255,0.2); color: var(--white); font-size: 10px; padding: 3px 10px; border-radius: 100px; margin-bottom: 8px; }
.flp-title { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.flp-sub { font-size: 12px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.flp-cta { display: inline-block; background: var(--white); color: var(--primary); font-size: 12px; font-weight: 700; padding: 8px 20px; border-radius: var(--radius-sm); }

.flp-info { padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,0.04); }
.flp-info-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.7); }
.flp-info-item i { color: var(--secondary); font-size: 11px; }

.fm-clone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

/* Inquiry mockup */
.fm-inquiry { padding: 12px !important; }
.inquiry-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.inq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.inq-channel {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(108,99,255,0.2);
  color: var(--primary);
  flex-shrink: 0;
}
.inq-channel.kakao { background: rgba(254,229,0,0.2); color: #FEE500; }
.inq-channel.phone { background: rgba(0,212,170,0.2); color: var(--secondary); }
.inq-info { flex: 1; }
.inq-info strong { display: block; font-size: 12px; color: var(--white); font-weight: 600; }
.inq-info span { font-size: 11px; color: rgba(255,255,255,0.4); }
.inq-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.inq-badge.new { background: rgba(0,212,170,0.2); color: var(--secondary); }
.inq-badge.process { background: rgba(245,158,11,0.2); color: var(--gold); }
.inq-badge.done { background: rgba(108,99,255,0.2); color: var(--primary); }

/* Booking flow */
.booking-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.bf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.bf-item i { font-size: 16px; flex-shrink: 0; }
.bf-done { color: rgba(255,255,255,0.85); border-color: rgba(0,212,170,0.2); background: rgba(0,212,170,0.06); }
.bf-done i { color: var(--secondary); }
.bf-active { color: var(--white); border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.1); }
.bf-active i { color: var(--primary); }
.bf-pending i { color: rgba(255,255,255,0.2); }
.bf-line { position: absolute; bottom: -13px; left: 20px; width: 1px; height: 12px; background: rgba(255,255,255,0.1); }

/* Analytics */
.analytics-preview { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.ap-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.ap-row > span:first-child { width: 90px; flex-shrink: 0; }
.ap-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.ap-fill { height: 100%; border-radius: 100px; background: var(--gradient); }
.ap-pct { width: 36px; text-align: right; flex-shrink: 0; color: var(--secondary); font-weight: 700; }

/* Additional Features */
.add-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.add-feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.add-feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.afc-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.add-feature-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.add-feature-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ===================================
   CLINIC TYPE SECTION
   =================================== */
.clinic-type-section { background: var(--white); }

.clinic-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ct-card {
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
  background: var(--white);
}
.ct-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.ct-card-main {
  border-color: var(--primary);
  background: linear-gradient(145deg, #F8F7FF, #FFFFFF);
  box-shadow: var(--shadow-lg);
}

.ct-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.ct-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.ct-header i { font-size: 24px; color: var(--primary); }
.ct-header h3 { font-size: 20px; font-weight: 800; }

.ct-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ct-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}
.ct-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.ct-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section { background: var(--gray-1); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #FAFBFF, #FFFFFF);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.pricing-header p { font-size: 14px; color: var(--text-mid); }

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-3);
}
.price-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}
.price-amount small { font-size: 20px; font-weight: 600; }
.price-period { font-size: 15px; color: var(--text-mid); margin-bottom: 4px; }

.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}
.pricing-features li i { font-size: 15px; flex-shrink: 0; }
.pricing-features li i.fa-check { color: var(--secondary); }
.pricing-features li.disabled { color: var(--gray-4); text-decoration: line-through; }
.pricing-features li.disabled i { color: var(--gray-3); }

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--gray-3);
  padding: 16px 24px;
  border-radius: var(--radius-md);
}
.pricing-note i { color: var(--primary); }
.pricing-note strong { color: var(--text-dark); }

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--gray-1);
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 20px; display: flex; gap: 4px; }

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: normal;
  position: relative;
  padding-left: 20px;
}
.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 32px;
  color: var(--primary);
  opacity: 0.4;
  font-family: Georgia, serif;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.testi-author strong { display: block; font-size: 14px; color: var(--text-dark); font-weight: 700; }
.testi-author span { font-size: 13px; color: var(--text-mid); }

/* ===================================
   TRUST SECTION
   =================================== */
.trust-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item { text-align: center; }

.trust-icon {
  width: 64px; height: 64px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  margin: 0 auto 20px;
}

.trust-item h4 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.trust-item p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section { background: var(--white); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-1); }
.faq-item.open .faq-question { color: var(--primary); background: var(--primary-light); }

.faq-icon {
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===================================
   DEMO SECTION
   =================================== */
.demo-section { background: var(--gray-1); }

.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.demo-left h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 16px 0;
}

.demo-left p { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 32px; }

.demo-benefits { display: flex; flex-direction: column; gap: 14px; }
.db-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}
.db-item i { color: var(--secondary); font-size: 18px; flex-shrink: 0; }

/* Form */
.demo-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-3);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-3);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}
.form-group input.error,
.form-group select.error { border-color: var(--accent); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-4); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-mid);
}
.form-check input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.link-underline { color: var(--primary); text-decoration: underline; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-4);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-note i { color: var(--gray-4); }

/* Success State */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  font-size: 64px;
  color: var(--secondary);
  margin-bottom: 20px;
}
.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.form-success p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===================================
   CONTACT CTA SECTION
   =================================== */
.contact-cta-section {
  padding: 80px 0;
  background: var(--dark);
}

.cta-box {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.25), rgba(0, 212, 170, 0.15));
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.1), transparent 70%);
}

.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #08080F;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h5 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-col li a:hover { color: var(--white); }

.footer-bottom { text-align: center; }
.footer-company { font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 6px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ===================================
   FLOATING CTA & SCROLL TOP
   =================================== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.45);
  transition: var(--transition);
}
.floating-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(108, 99, 255, 0.55); }

.scroll-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 900;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid var(--gray-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===================================
   ANIMATIONS
   =================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.animated { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.animated { opacity: 1; transform: translateY(0); }

/* ===================================
   RESPONSIVE - TABLET (1024px)
   =================================== */
@media (max-width: 1024px) {
  .section-pad { padding: 72px 0; }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .add-features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .tab-body { grid-template-columns: 1fr; gap: 32px; }
  .tab-visual { display: none; }

  .flow-container { gap: 8px; }
  .flow-arrow { display: none; }
  .flow-step { min-width: 100px; padding: 20px 12px; }

  .result-cards { grid-template-columns: 1fr; gap: 12px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 32px; }
  .clinic-type-grid { grid-template-columns: 1fr; }

  .demo-wrapper { grid-template-columns: 1fr; gap: 40px; }

  .cta-box { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
  .cta-actions { flex-direction: row; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================
   RESPONSIVE - MOBILE (768px)
   =================================== */
@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .pc-only { display: none; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu.open { display: block; }

  /* Hero */
  .hero-section { padding: 100px 0 60px; }
  .hero-stats { padding: 20px 24px; flex-direction: column; gap: 20px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat-item { padding: 0; }

  /* Problems */
  .problem-grid { grid-template-columns: 1fr; }

  /* Solution */
  .flow-container { flex-direction: column; align-items: stretch; }
  .flow-step { flex-direction: row; text-align: left; min-width: auto; }
  .flow-content h4 { font-size: 15px; }

  /* Features */
  .tab-body { padding: 28px 20px; }
  .tab-btn { padding: 14px 18px; font-size: 13px; }
  .add-features-grid { grid-template-columns: 1fr 1fr; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { max-width: 100%; }

  /* Demo */
  .demo-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-actions { flex-direction: column; }

  /* Floating */
  .floating-cta { bottom: 20px; right: 16px; }
  .floating-btn span { display: none; }
  .floating-btn { padding: 14px; border-radius: 50%; }
  .scroll-top { display: none; }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE (480px)
   =================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }

  .add-features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 36px 20px; }

  .hero-stats { padding: 16px; }
  .stat-item strong { font-size: 22px; }
}
