/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
  /* Color Tokens - Light Mode */
  --bg-color: #f0f2f5;
  --card-bg: #ffffff;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --text-muted: #8c939d;
  --border-color: #e4e6eb;
  
  --primary-color: #6366f1; /* Indigo */
  --primary-hover: #4f46e5;
  --accent-color: #ec4899; /* Pink/Heart */
  --accent-bg-glow: rgba(236, 72, 153, 0.1);
  --header-bg: rgba(255, 255, 255, 0.8);
  --toast-bg: rgba(28, 30, 33, 0.9);
  --toast-text: #ffffff;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  
  --font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  --transition-speed: 0.3s;
  
  /* Fallback for standard dark theme detection */
  color-scheme: light dark;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0b0f19;
    --card-bg: #151c2c;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1f2937;
    
    --primary-color: #818cf8;
    --primary-hover: #6366f1;
    --header-bg: rgba(21, 28, 44, 0.8);
    --toast-bg: rgba(243, 244, 246, 0.95);
    --toast-text: #111827;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  }
}

/* Forced Theme Classes from JS */
[data-theme="light"] {
  --bg-color: #f0f2f5;
  --card-bg: #ffffff;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --text-muted: #8c939d;
  --border-color: #e4e6eb;
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --header-bg: rgba(255, 255, 255, 0.8);
  --toast-bg: rgba(28, 30, 33, 0.9);
  --toast-text: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --bg-color: #0b0f19;
  --card-bg: #151c2c;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: #1f2937;
  --primary-color: #818cf8;
  --primary-hover: #6366f1;
  --header-bg: rgba(21, 28, 44, 0.8);
  --toast-bg: rgba(243, 244, 246, 0.95);
  --toast-text: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

/* CSS Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Container */
.app-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background-color: var(--card-bg);
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

/* Glassmorphism Header */
header.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-bottom var(--transition-speed);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}

.header-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn, .back-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed), transform 0.2s;
}

.theme-toggle-btn:hover, .back-btn:hover {
  background-color: var(--border-color);
}

.theme-toggle-btn:active, .back-btn:active {
  transform: scale(0.92);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}

/* Main Content Area */
main.app-main {
  flex: 1;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

/* Feed list container */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* Feed Post Card */
article.post-card {
  display: flex;
  flex-direction: column;
  border-bottom: 8px solid var(--bg-color);
  background-color: var(--card-bg);
}

article.post-card:last-child {
  border-bottom: none;
}

/* Post Header */
.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--border-color);
}

.post-meta {
  display: flex;
  flex-direction: column;
}

.post-author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.post-date {
  font-size: 11px;
  color: var(--text-muted);
}

.post-category-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-category-tag.feature {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--primary-color);
}

.post-category-tag.guide {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.post-category-tag.update {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Image Carousel Area */
.post-media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-color);
}

.post-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  scrollbar-width: none; /* Firefox */
}

.post-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback background with dynamic graphics if image not found */
.fallback-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.fallback-image-bg h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.fallback-image-bg p {
  font-size: 13px;
  opacity: 0.9;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s, transform 0.2s;
}

.indicator-dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* Post Actions */
.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.action-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.1s;
}

.action-btn:active {
  transform: scale(0.9);
}

.action-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: fill 0.2s, stroke 0.2s;
}

.action-btn.like-btn.liked svg {
  fill: var(--accent-color);
  stroke: var(--accent-color);
  animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Heart Pop Animation */
@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* App Install Buttons in Action Section */
.app-badges {
  display: flex;
  gap: 8px;
}

.badge-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--text-primary);
  color: var(--card-bg);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-sm);
}

.badge-btn:hover {
  opacity: 0.9;
}

.badge-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Post Content & Text */
.post-content-area {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.likes-count {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.post-title-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.4;
  margin-top: 2px;
  display: inline-block;
  transition: color var(--transition-speed);
}

.post-title-link:hover {
  color: var(--primary-color);
}

.post-excerpt {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

.read-more-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  align-self: flex-start;
  margin-top: 4px;
  cursor: pointer;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Comments Section Summary */
.comments-summary {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- DETAIL PAGE SPECIFIC STYLES --- */
.detail-layout {
  padding: 0;
}

.detail-layout .post-media-container {
  aspect-ratio: 16/9;
}

.detail-body {
  padding: 20px 20px 40px;
  color: var(--text-primary);
}

.detail-header {
  margin-bottom: 20px;
}

.detail-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.detail-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-author-text {
  display: flex;
  flex-direction: column;
}

.detail-author-name {
  font-weight: 600;
  font-size: 14px;
}

.detail-pub-date {
  font-size: 12px;
  color: var(--text-muted);
}

.detail-rich-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.detail-rich-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.detail-rich-content p {
  margin-bottom: 16px;
}

.detail-rich-content strong {
  font-weight: 600;
}

.detail-rich-content ul, .detail-rich-content ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.detail-rich-content li {
  margin-bottom: 6px;
}

/* Detail Call-to-Action Section */
.detail-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px dashed var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 40px;
}

.detail-cta-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.detail-cta-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.detail-cta-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.detail-cta-badges .badge-btn {
  padding: 10px 20px;
  font-size: 13px;
}

.detail-cta-badges .badge-btn svg {
  width: 16px;
  height: 16px;
}

/* Floating Actions Bar on Detail Page */
.detail-floating-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  margin: 30px 0;
}

.detail-floating-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.detail-floating-btn:hover {
  color: var(--primary-color);
}

.detail-floating-btn.like-btn-detail.liked {
  color: var(--accent-color);
}

.detail-floating-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.detail-floating-btn.like-btn-detail.liked svg {
  fill: var(--accent-color);
  stroke: var(--accent-color);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--toast-bg);
  color: var(--toast-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer Section */
footer.app-footer {
  text-align: center;
  padding: 24px 16px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  background-color: var(--card-bg);
}

/* Responsive Desktop view */
@media (min-width: 900px) {
  body {
    background-color: var(--bg-color);
  }
  
  /* Expand the app container for 2-column layout on desktop */
  .app-container {
    max-width: 1000px;
  }
  
  /* Make the feed list 2-column grid */
  .feed-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
    background-color: var(--bg-color);
  }
  
  /* Format post cards in grid mode to look like floating cards */
  article.post-card {
    border-bottom: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s;
    background-color: var(--card-bg);
  }
  
  article.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
  }
  
  /* Keep post detail view constrained to 680px for optimal text readability */
  .detail-layout {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Company Slogan Banner styling */
.company-banner {
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  transition: background var(--transition-speed);
}

.slogan-line {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.company-sub-line {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Detailed Rich Content Inline Media Support */
.detail-rich-content img,
.detail-rich-content video {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  margin: 20px auto 10px;
  display: block;
  box-shadow: var(--shadow-md);
}

.detail-rich-content iframe {
  width: 100% !important;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 10px;
  margin: 20px auto 10px;
  display: block;
  box-shadow: var(--shadow-md);
}

.media-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.4;
  padding: 0 10px;
}

/* Custom embedded blockquotes */
.detail-rich-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 8px 16px;
  margin: 20px 0;
  background-color: var(--bg-color);
  color: var(--text-secondary);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

/* Home Feed Card Review callout */
.post-card-review {
  margin-top: 10px;
  padding: 12px 14px;
  background-color: var(--bg-color);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  border-left: 3px solid var(--primary-color);
  transition: background-color var(--transition-speed);
}
.post-card-review .review-user {
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 6px;
}
.post-card-review .review-text {
  color: var(--text-secondary);
}

/* Detail Page Reviews Section */
.detail-reviews-section {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}
.detail-reviews-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.detail-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-review-card {
  padding: 16px;
  background-color: var(--bg-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-card-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
}
.review-card-user-info {
  display: flex;
  flex-direction: column;
}
.review-card-username {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.review-card-date {
  font-size: 11px;
  color: var(--text-muted);
}
.review-card-rating {
  font-size: 13px;
  color: #f59e0b; /* Golden Stars */
  letter-spacing: 1px;
}
.review-card-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Link Preview Card */
.link-preview-card {
  display: flex;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.link-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.link-preview-image {
  width: 140px;
  min-width: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-right: 1px solid var(--border-color);
}

.link-preview-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.link-preview-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-preview-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-preview-url-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.link-preview-url-bar svg {
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .link-preview-card {
    flex-direction: column;
  }
  .link-preview-image {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

/* Store Download Buttons (Details Page) */
.store-download-btn {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.store-download-btn:active {
  transform: translateY(0);
}

.store-download-btn img {
  height: 40px;
  display: block;
  border-radius: 6px;
}

/* FAQ Section */
.detail-faq-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.detail-faq-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.detail-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 16px 14px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

