/* SkinPedia - Soft Feminine Beauty Design
 * Target: Women's Premium Aesthetic Platform
 * Concept: Soft & Bright Rose Gold Elegance
 */

/* ========== Variables ========== */
:root {
  /* Soft Light Color Palette */
  --bg-primary: #fefbfa;
  --bg-secondary: #fff5f3;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.7);

  /* Rose Gold & Lavender Accent */
  --rose: #d4919a;
  --rose-light: #e8b4b8;
  --rose-dark: #c07a84;
  --lavender: #a594c9;
  --lavender-light: #c4b5e0;
  --peach: #e8bfab;
  --gold: #c9a227;

  /* Text */
  --text-primary: #2d2a2e;
  --text-secondary: #5a5560;
  --text-muted: #8a8590;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--rose) 0%, var(--lavender) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(212,145,154,0.12) 0%, rgba(165,148,201,0.12) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(212,145,154,0.25) 0%, rgba(165,148,201,0.25) 100%);

  /* Effects */
  --glow-rose: 0 0 30px rgba(212,145,154,0.3);
  --glow-lavender: 0 0 30px rgba(165,148,201,0.3);
  --shadow-card: 0 4px 20px rgba(45,42,46,0.08);
  --shadow-soft: 0 2px 12px rgba(45,42,46,0.06);

  /* Layout */
  --font: 'Pretendard', -apple-system, sans-serif;
  --space: 20px;
  --radius: 20px;
  --max-w: 420px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

[data-lucide] {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

/* ========== Layout ========== */
.main-content {
  padding-bottom: 80px;
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254,251,250,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,145,154,0.15);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav, .header-search { display: none; }

/* ========== Hero Section ========== */
.hero {
  position: relative;
  padding: 48px var(--space) 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 200px;
  height: 200px;
  background: var(--rose);
  top: -60px;
  right: -40px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 150px;
  height: 150px;
  background: var(--lavender);
  bottom: 20px;
  left: -30px;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 100px;
  height: 100px;
  background: var(--peach);
  top: 50%;
  left: 50%;
  animation-delay: -5s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,145,154,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,145,154,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.25);
  border-radius: 999px;
  font-size: 12px;
  color: var(--rose-dark);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero Title */
.hero-title {
  margin-bottom: 16px;
}

.title-line {
  display: block;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.title-highlight {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ========== Search Box ========== */
.search-form {
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.2);
  border-radius: 16px;
  padding: 4px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.search-box:focus-within {
  border-color: rgba(212,145,154,0.5);
  box-shadow: var(--glow-rose);
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-left: 16px;
  color: var(--text-muted);
}

.search-input {
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-rose);
}

.btn-text { display: none; }
.btn-icon { width: 18px; height: 18px; }

/* Quick Tags */
.quick-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-tag {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.15);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.quick-tag:hover {
  background: var(--gradient-soft);
  border-color: rgba(212,145,154,0.4);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

/* ========== Section Common ========== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--space);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.section-link {
  font-size: 13px;
  color: var(--rose);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.section-link:hover { gap: 8px; }
.section-link [data-lucide] { width: 16px; height: 16px; }

/* ========== Procedure Cards ========== */
.procedure-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.procedure-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.procedure-card:hover {
  border-color: rgba(212,145,154,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* Card Shine Effect */
.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212,145,154,0.06) 45%,
    rgba(212,145,154,0.1) 50%,
    rgba(212,145,154,0.06) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.procedure-card:hover .card-shine {
  transform: translateX(100%);
}

.card-content {
  position: relative;
  padding: 20px;
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.category-pill {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.pill-injection { background: rgba(165,148,201,0.18); color: var(--lavender); }
.pill-laser { background: rgba(232,191,171,0.25); color: #b5896f; }
.pill-lifting { background: rgba(212,145,154,0.18); color: var(--rose-dark); }

.evidence-pill {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(201,162,39,0.15);
  color: var(--gold);
}

.ev-A { background: rgba(212,145,154,0.2); color: var(--rose-dark); }
.ev-B { background: rgba(232,191,171,0.25); color: #b5896f; }
.ev-C { background: rgba(138,133,144,0.15); color: var(--text-muted); }

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.card-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-value {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(212,145,154,0.2);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(212,145,154,0.12);
}

.card-price {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: 8px;
  color: var(--rose);
  transition: all 0.3s ease;
}

.card-arrow [data-lucide] { width: 16px; height: 16px; }

.procedure-card:hover .card-arrow {
  background: var(--gradient-main);
  color: #fff;
  transform: translateX(4px);
}

/* ========== Category Section ========== */
.category-section {
  background: var(--bg-secondary);
  padding: 40px var(--space);
  position: relative;
}

.category-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  opacity: 0.5;
}

.category-section .section-header {
  max-width: var(--max-w);
  margin: 0 auto 20px;
}

.category-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card.injection .card-glow {
  background: radial-gradient(circle at center, rgba(165,148,201,0.2) 0%, transparent 70%);
}
.category-card.laser .card-glow {
  background: radial-gradient(circle at center, rgba(232,191,171,0.2) 0%, transparent 70%);
}
.category-card.lifting .card-glow {
  background: radial-gradient(circle at center, rgba(212,145,154,0.2) 0%, transparent 70%);
}

.category-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: transparent;
}

.category-card:hover .card-glow { opacity: 1; }

.category-card.injection:hover { box-shadow: 0 8px 30px rgba(165,148,201,0.25); }
.category-card.laser:hover { box-shadow: 0 8px 30px rgba(232,191,171,0.25); }
.category-card.lifting:hover { box-shadow: 0 8px 30px rgba(212,145,154,0.25); }

.category-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.category-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.category-card.injection .category-icon {
  background: rgba(165,148,201,0.18);
  color: var(--lavender);
}
.category-card.laser .category-icon {
  background: rgba(232,191,171,0.25);
  color: #b5896f;
}
.category-card.lifting .category-icon {
  background: rgba(212,145,154,0.18);
  color: var(--rose-dark);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-info {
  position: relative;
  z-index: 1;
}

.category-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
}

.category-card p { display: none; }

/* ========== Feature Section ========== */
.feature-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 100%);
  padding: 48px var(--space);
}

.feature-header {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  text-align: center;
}

.feature-label {
  display: inline-block;
  font-size: 11px;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.feature-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.feature-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.feature-card:hover {
  border-color: rgba(212,145,154,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: 12px;
}

.feature-card .feature-icon [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--rose);
}

.feature-card h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212,145,154,0.12);
}

.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent);
  opacity: 0.4;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--space);
}

.footer-section {
  margin-bottom: 24px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-section ul {
  display: flex;
  gap: 16px;
}

.footer-section a {
  font-size: 12px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-section a:hover { color: var(--rose); }

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  border: 1px solid rgba(212,145,154,0.1);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--space);
  border-top: 1px solid rgba(212,145,154,0.1);
}

.footer-bottom p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== Detail Page ========== */
.procedure-detail {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space) 40px;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.breadcrumb a:hover { color: var(--rose); }

.procedure-hero {
  padding: 0;
  margin-bottom: 32px;
}

.procedure-header {
  margin-bottom: 20px;
}

.procedure-title-section .category-badge {
  display: inline-block;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 600;
}

.procedure-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.procedure-name-en {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.procedure-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.evidence-badge-large, .effect-badge {
  flex: 1;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  box-shadow: var(--shadow-soft);
}

.badge-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-value {
  font-size: 24px;
  font-weight: 800;
}

.evidence-badge-large {
  background: var(--gradient-soft);
  border-color: rgba(212,145,154,0.2);
}

.evidence-badge-large .badge-value {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.procedure-summary {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 20px;
}

/* Info Sections */
.info-section, .clinical-section, .side-effects-section, .faq-section, .related-section {
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.section-title-detail {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,145,154,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-detail::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.info-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212,145,154,0.08);
}

.info-icon {
  width: 20px;
  height: 20px;
  color: var(--rose);
  flex-shrink: 0;
}

.info-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
}

.description-box {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(212,145,154,0.08);
}

.description-box h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--rose);
}

.description-box p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Clinical Data */
.clinical-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clinical-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(212,145,154,0.08);
}

.clinical-header {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.indication {
  font-size: 15px;
  font-weight: 600;
}

.evidence-small {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.clinical-stats {
  display: flex;
  gap: 24px;
}

.clinical-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value-large {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinical-source {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(212,145,154,0.1);
  font-size: 11px;
  color: var(--text-muted);
}

.clinical-source a { color: var(--rose); }

.source-label {
  color: var(--text-muted);
  margin-right: 4px;
}

/* Side Effects */
.effects-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.effect-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid;
  border-top: 1px solid rgba(212,145,154,0.08);
  border-right: 1px solid rgba(212,145,154,0.08);
  border-bottom: 1px solid rgba(212,145,154,0.08);
}

.severity-mild { border-left-color: var(--rose); }
.severity-moderate { border-left-color: var(--peach); }
.severity-severe { border-left-color: #f87171; }

.effect-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.effect-name {
  font-size: 14px;
  font-weight: 600;
}

.effect-badges { display: flex; gap: 6px; }

.frequency-badge, .severity-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.freq-common { background: rgba(248,113,113,0.15); color: #f87171; }
.freq-rare { background: rgba(248,213,196,0.15); color: var(--peach); }
.freq-very_rare { background: rgba(232,180,184,0.15); color: var(--rose); }

.sev-mild { background: rgba(232,180,184,0.15); color: var(--rose); }
.sev-moderate { background: rgba(248,213,196,0.15); color: var(--peach); }
.sev-severe { background: rgba(248,113,113,0.15); color: #f87171; }

.effect-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,145,154,0.08);
}

.faq-question {
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-number {
  background: var(--gradient-main);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.faq-answer {
  padding: 0 16px 16px;
  display: flex;
  gap: 10px;
}

.answer-label {
  background: var(--lavender);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  height: fit-content;
}

.faq-answer p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Related */
.related-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.procedure-card-small {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(212,145,154,0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.procedure-card-small:hover {
  border-color: rgba(212,145,154,0.25);
  transform: translateX(4px);
}

.category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-injection { background: var(--lavender); box-shadow: 0 0 10px rgba(196,181,224,0.4); }
.dot-laser { background: var(--peach); box-shadow: 0 0 10px rgba(248,213,196,0.4); }
.dot-lifting { background: var(--rose); box-shadow: 0 0 10px rgba(232,180,184,0.4); }

.card-small-content { flex: 1; min-width: 0; }

.card-small-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.card-small-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.procedure-card-small:hover .card-arrow {
  transform: translateX(4px);
  color: var(--rose);
}

.no-data, .related-loading {
  text-align: center;
  padding: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== Search/List Pages ========== */
.search-page, .category-page, .procedure-list-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px var(--space);
}

.search-header, .category-header, .list-header {
  margin-bottom: 28px;
}

.search-title, .category-title, .list-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.search-title .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-count, .category-count, .list-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.search-form-page {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.search-input-page {
  flex: 1;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.2);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.search-input-page::placeholder { color: var(--text-muted); }

.search-input-page:focus {
  border-color: rgba(212,145,154,0.5);
  box-shadow: var(--glow-rose);
}

.search-btn-page {
  padding: 14px 20px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

/* Filter */
.filter-section { margin-bottom: 20px; }

.filter-group {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.filter-group::-webkit-scrollbar { display: none; }
.filter-label { display: none; }

.filter-btn {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.15);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: rgba(212,145,154,0.4);
  color: var(--rose-dark);
}

.filter-btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

/* Result Cards */
.search-results, .procedure-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.12);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.result-card:hover {
  border-color: rgba(212,145,154,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.result-card:hover::before { transform: scaleX(1); }

.result-main {
  margin-bottom: 14px;
}

.result-header {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.category-badge-small, .evidence-badge-small {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.result-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.result-name-en {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-side {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(212,145,154,0.1);
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-stat-value {
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.result-price {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 56px 20px;
}

.no-results-icon { margin-bottom: 16px; }

.no-results-icon [data-lucide] {
  width: 56px;
  height: 56px;
  color: var(--text-muted);
  stroke-width: 1.5;
}

.no-results h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.no-results p {
  font-size: 14px;
  color: var(--text-muted);
}

.search-suggestions { margin-top: 24px; }
.search-suggestions p { font-size: 13px; color: var(--text-secondary); }

.suggestion-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.suggestion-tag {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(212,145,154,0.15);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
}

.suggestion-tag:hover {
  background: var(--gradient-soft);
  border-color: rgba(212,145,154,0.4);
  color: var(--rose-dark);
}

/* ========== Badge Colors ========== */
.badge-injection { background: rgba(165,148,201,0.18); color: var(--lavender); }
.badge-laser { background: rgba(232,191,171,0.25); color: #b5896f; }
.badge-lifting { background: rgba(212,145,154,0.18); color: var(--rose-dark); }

.evidence-A { background: rgba(212,145,154,0.2); color: var(--rose-dark); }
.evidence-B { background: rgba(232,191,171,0.25); color: #b5896f; }
.evidence-C { background: rgba(138,133,144,0.15); color: var(--text-muted); }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(212,145,154,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

/* ========== Selection ========== */
::selection {
  background: rgba(212,145,154,0.25);
  color: var(--text-primary);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.procedure-card, .category-card, .feature-card, .result-card {
  animation: fadeInUp 0.5s ease forwards;
}

.procedure-card:nth-child(1), .category-card:nth-child(1) { animation-delay: 0.1s; }
.procedure-card:nth-child(2), .category-card:nth-child(2) { animation-delay: 0.15s; }
.procedure-card:nth-child(3), .category-card:nth-child(3) { animation-delay: 0.2s; }

/* ========== Tablet (480px+) ========== */
@media (min-width: 480px) {
  :root { --max-w: 560px; }

  .title-line { font-size: 32px; }
  .title-highlight { font-size: 42px; }
  .procedure-title { font-size: 32px; }

  .btn-text { display: inline; }

  .related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== Tablet+ (768px+) ========== */
@media (min-width: 768px) {
  :root { --max-w: 680px; }

  .nav {
    display: flex;
    gap: 24px;
  }

  .nav-link {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .nav-link:hover { color: var(--text-primary); }
  .nav-link:hover::after { transform: scaleX(1); }

  .header-search { display: block; }

  .search-form-small {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .search-input-small {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid rgba(212,145,154,0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    width: 180px;
  }

  .search-input-small::placeholder { color: var(--text-muted); }

  .search-btn-small {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 10px;
  }

  .search-btn-small [data-lucide] { width: 16px; height: 16px; }

  .hero { padding: 64px var(--space) 48px; }
  .title-line { font-size: 36px; }
  .title-highlight { font-size: 48px; }

  .procedure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ========== Desktop (1024px+) ========== */
@media (min-width: 1024px) {
  :root { --max-w: 800px; }

  .category-grid { gap: 16px; }
  .category-card { padding: 28px 16px; }
  .feature-grid { gap: 16px; }
}

/* ========== Large (1280px+) ========== */
@media (min-width: 1280px) {
  :root { --max-w: 900px; }
}
