/* === Marquee Animation === */
.marquee-track {
  display: flex;
  flex-shrink: 0;
  will-change: transform;
}
.marquee-track-left {
  animation: marquee-scroll-left 40s linear infinite;
}
.marquee-track-right {
  animation: marquee-scroll-right 40s linear infinite;
}
@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.overflow-x-clip:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-scroll-container {
  overflow-x: clip;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* === Scroll Reveal System === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* === Global Smooth Scroll === */
html { scroll-behavior: smooth; }

/* === Card Hover Effects === */
.card-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(255, 90, 31, 0.2), 0 8px 20px -8px rgba(0, 0, 0, 0.1);
}
.card-hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-scale:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 32px -8px rgba(255, 90, 31, 0.15);
}
.card-hover-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.35);
}

/* === CTA Button Pulse Glow === */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); }
  50% { box-shadow: 0 0 0 16px rgba(255, 90, 31, 0); }
}
.btn-cta-pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* === Button Hover Transitions === */
.btn-hover-pop {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-hover-pop:hover { transform: scale(1.05); }
.btn-hover-pop:active { transform: scale(0.97); }
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* === Navigation (zicaiai.com style) === */
.nav-logo-text { font-size: 20px; font-weight: 700; }
.nav-logo-main { color: #FF5A1F; }
.nav-logo-sub { font-size: 10px; color: #B0B0B0; font-weight: 400; margin-left: 3px; }
.nav-link {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #555;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #FF5A1F; background: rgba(255,90,31,0.06); }
.nav-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #555;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-btn-ghost:hover { color: #FF5A1F; background: rgba(255,90,31,0.06); }
.nav-btn-primary {
  display: inline-flex; align-items: center;
  padding: 9px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: #FF5A1F; text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-btn-primary:hover { background: #FF6B35; box-shadow: 0 4px 16px rgba(255,90,31,0.3); }

/* === Header Scroll Effect === */
.header-scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* === Back-to-Top Button === */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF5A1F;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(255, 90, 31, 0.35);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.45);
}

/* === Hero Gradient Animation === */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* === Legal Modal === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  animation: modal-fade-in 0.25s ease;
}
.modal-container {
  position: relative;
  width: 640px;
  max-width: 92vw;
  max-height: 80vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: modal-slide-up 0.3s ease;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.modal-close-btn:hover {
  background: #FF5A1F;
  color: #fff;
}
.modal-body {
  padding: 20px 28px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}
.modal-body p {
  margin: 0 0 12px;
}
.modal-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 20px 0 8px;
}
.modal-body h4:first-child {
  margin-top: 0;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
body.modal-open {
  overflow: hidden;
}

/* === Order Toast Notification === */
.order-toast {
  position: fixed;
  bottom: 100px;
  left: 32px;
  z-index: 9997;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.order-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.order-toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  font-size: 14px;
  color: #555;
  white-space: nowrap;
  border-left: 3px solid #FF5A1F;
}
.order-toast-company {
  color: #2D1B0E;
  font-weight: 600;
}

/* === Floating Sidebar === */
.float-sidebar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-item {
  position: relative;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
  overflow: visible;
}
.float-item:hover {
  background: #FF5A1F;
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 4px 20px rgba(255,90,31,0.35);
}
.float-item .float-label {
  font-size: 10px;
  margin-top: 2px;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.float-pop {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 16px 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}
.float-pop::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #fff;
}
.float-item:hover .float-pop {
  opacity: 1;
  visibility: visible;
}
.float-pop-title {
  font-size: 13px;
  color: #999;
  margin: 0 0 6px;
}
.float-pop-phone {
  font-size: 20px;
  font-weight: 700;
  color: #FF5A1F;
  margin: 0;
  letter-spacing: 1px;
}
.float-qr-img {
  display: block;
  margin: 0 auto;
  max-width: 200px;
  border-radius: 8px;
  border: 2px solid #FF5A1F;
}
.qr-placeholder {
  width: 200px;
  height: 200px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 1.5;
}

/* === Diagnostic Modal === */
.diag-container {
  position: relative;
  width: 580px;
  max-width: 92vw;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  animation: modal-slide-up 0.35s ease;
  overflow: hidden;
  padding: 36px 32px 28px;
}
.diag-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  z-index: 1;
}
.diag-close:hover { background: #FF5A1F; color: #fff; }

.diag-header-icon { text-align: center; margin-bottom: 12px; }

.diag-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.diag-subtitle {
  text-align: center;
  font-size: 14px;
  color: #999;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* Form */
.diag-form { max-width: 400px; margin: 0 auto; }
.diag-field { margin-bottom: 16px; }
.diag-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.diag-field label span { color: #FF5A1F; }
.diag-field input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.diag-field input:focus {
  border-color: #FF5A1F;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.1);
}
.diag-field input::placeholder { color: #ccc; }
.diag-region-row { display: flex; gap: 10px; }
.diag-select {
  flex: 1;
  height: 44px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  transition: border-color 0.2s;
}
.diag-select:focus {
  border-color: #FF5A1F;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.1);
}

.diag-btn-primary {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 24px;
  background: #FF5A1F;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.diag-btn-primary:hover { background: #FF6B35; transform: scale(1.02); box-shadow: 0 6px 20px rgba(255, 90, 31, 0.35); }
.diag-btn-primary:active { transform: scale(0.98); }

.diag-btn-secondary {
  display: block;
  width: 100%;
  height: 44px;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.diag-btn-secondary:hover { border-color: #FF5A1F; color: #FF5A1F; }

.diag-form-hint {
  text-align: center;
  font-size: 12px;
  color: #bbb;
  margin: 16px 0 0;
}

/* Loading Spinner */
.diag-spinner-wrap { text-align: center; margin-bottom: 16px; }
.diag-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f0f0;
  border-top-color: #FF5A1F;
  border-radius: 50%;
  margin: 0 auto;
  animation: diag-spin 0.8s linear infinite;
}
@keyframes diag-spin { to { transform: rotate(360deg); } }

.diag-progress-bar {
  width: 100%;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin: 20px 0 12px;
}
.diag-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF5A1F, #FFB380);
  border-radius: 2px;
  animation: diag-progress 2.5s ease-in-out forwards;
}
@keyframes diag-progress {
  0% { width: 0; }
  60% { width: 70%; }
  90% { width: 92%; }
  100% { width: 100%; }
}

.diag-loading-steps {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin: 0;
}

/* Report */
.diag-score-circle-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}
.diag-score-svg { width: 120px; height: 120px; }
.diag-score-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.diag-score-text span:first-child { font-size: 36px; font-weight: 700; color: #FF5A1F; }
.diag-score-text span:last-child { font-size: 14px; color: #999; margin-left: 2px; }

.diag-dimensions { margin-bottom: 16px; }
.diag-dim-item { margin-bottom: 12px; }
.diag-dim-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.diag-dim-label { font-size: 13px; font-weight: 600; color: #333; }
.diag-dim-score { font-size: 13px; font-weight: 700; color: #FF5A1F; }
.diag-dim-bar {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.diag-dim-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #FFB380, #FF5A1F);
  transition: width 0.6s ease;
}
.diag-dim-comment { font-size: 12px; color: #999; margin-top: 3px; }

.diag-section {
  margin-bottom: 14px;
}
.diag-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.diag-section p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.diag-section ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}
.diag-section ul li { margin-bottom: 4px; }

.suggestion-priority {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  margin-right: 6px;
  font-weight: 600;
}
.suggestion-priority.urgent { background: #FFF0E6; color: #E8390B; }
.suggestion-priority.important { background: #FFF8E1; color: #F57C00; }
.suggestion-priority.suggest { background: #f0f0f0; color: #888; }

/* QR Code */
.diag-qrcode-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.diag-qrcode-img {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 2px solid #FF5A1F;
  object-fit: contain;
}
.diag-qrcode-fallback {
  display: flex;
  justify-content: center;
}
.diag-qrcode-placeholder {
  width: 200px;
  height: 200px;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: #999;
  margin: 0 auto;
}

/* === Keyword Tags === */
.diag-kw-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.diag-kw-label {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  white-space: nowrap;
  padding-top: 4px;
  min-width: 60px;
}
.diag-kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.diag-kw-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition: transform 0.2s, box-shadow 0.2s;
}
.diag-kw-tag:hover { transform: translateY(-1px); }
.diag-kw-tag.distilled {
  background: #FFF5F0;
  color: #E8390B;
  border: 1.5px solid #FF5A1F;
}
.diag-kw-tag.expanded {
  background: #fafafa;
  color: #666;
  border: 1px solid #e5e5e5;
}
.diag-kw-more {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 15px;
  color: #FF5A1F;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: default;
  user-select: none;
}

/* === Platform Ranking Table === */
.diag-ranking-table-wrap {
  overflow-x: auto;
  margin: 0 -8px;
  padding: 0 8px;
}
.diag-ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 480px;
}
.diag-ranking-table th {
  text-align: center;
  padding: 10px 6px;
  background: #fafafa;
  font-weight: 700;
  color: #333;
  font-size: 13px;
  border-bottom: 2px solid #f0f0f0;
  white-space: nowrap;
}
.diag-ranking-table th:first-child { text-align: left; padding-left: 12px; }
.diag-ranking-table td {
  text-align: center;
  padding: 12px 6px;
  border-bottom: 1px solid #f5f5f5;
  color: #555;
  vertical-align: middle;
}
.diag-ranking-table td:first-child {
  text-align: left;
  padding-left: 12px;
  font-weight: 600;
  color: #333;
}
.diag-ranking-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.diag-ranking-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.diag-ranking-dot.mentioned { background: #34C759; box-shadow: 0 0 6px rgba(52,199,89,0.4); }
.diag-ranking-dot.not-mentioned { background: #E0E0E0; }
.diag-ranking-rate {
  font-weight: 700;
  font-size: 14px;
}
.diag-ranking-bar-cell { min-width: 60px; }
.diag-ranking-bar-mini {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}
.diag-ranking-bar-mini-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.diag-ranking-position { font-size: 12px; color: #888; }
.diag-ranking-hint {
  font-size: 11px;
  color: #bbb;
  margin: 8px 0 0;
  text-align: center;
}

/* Make report step scrollable */
.diag-step[data-step="3"] {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
}

/* ===== Service Plan Card ===== */
.diag-plan-card {
  background: linear-gradient(135deg, #FFF8F4 0%, #FFFFFF 100%);
  border: 2px solid #FF5A1F;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 24px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diag-plan-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: rgba(255,90,31,0.06);
  border-radius: 50%;
}
.diag-plan-title {
  font-size: 20px;
  font-weight: 800;
  color: #FF5A1F;
  margin-bottom: 6px;
}
.diag-plan-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
}
.diag-plan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 16px;
}
.diag-plan-feature {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}
.diag-plan-check {
  color: #34C759;
  font-weight: 700;
  flex-shrink: 0;
}
.diag-plan-price {
  margin: 12px 0 16px;
}
.diag-plan-price-symbol {
  font-size: 18px;
  color: #FF5A1F;
  font-weight: 700;
}
.diag-plan-price-unit {
  font-size: 14px;
  color: #999;
  margin-left: 2px;
}
#diag-plan-price-num {
  font-size: 36px;
  font-weight: 800;
  color: #FF5A1F;
}
.diag-pay-btn {
  width: 220px;
  margin: 0 auto;
}
.diag-pay-qr-wrap {
  margin: 16px 0;
  text-align: center;
}
.diag-pay-qr-loading {
  color: #999;
  font-size: 13px;
  text-align: center;
}
.diag-pay-qr-wrap img {
  display: block;
  margin: 0 auto;
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid #eee;
}
.diag-pay-qr-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  line-height: 1.6;
  text-align: center;
}
.diag-plan-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #ccc;
  font-size: 12px;
}
.diag-plan-divider::before,
.diag-plan-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #eee;
}
.diag-plan-free-hint {
  font-size: 13px;
  color: #888;
}
.diag-plan-free-hint a {
  color: #FF5A1F;
  text-decoration: none;
  font-weight: 600;
}
.diag-plan-free-hint a:hover { text-decoration: underline; }

/* === Case Card Section === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.case-card-top { padding: 28px 28px 0; }
.case-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  background: #FFF5F0;
  color: #FF5A1F;
  border: 1px solid rgba(255,90,31,0.2);
}
.case-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.case-pain { font-size: 13px; color: #999; margin-bottom: 18px; line-height: 1.6; }
.case-solution { padding: 0 28px; margin-bottom: 20px; }
.case-solution h4 { font-size: 12px; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.case-solution ul { list-style: none; }
.case-solution li {
  font-size: 14px; color: #555; line-height: 1.8;
  padding-left: 20px; position: relative;
}
.case-solution li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF5A1F;
}
.case-results {
  margin: 0 28px 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg,#FFF8F4,#FFF5F0);
  border-radius: 10px;
}
.case-result-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.case-result-label { font-size: 13px; color: #888; }
.case-result-before { font-size: 14px; color: #bbb; text-decoration: line-through; margin-right: 8px; }
.case-result-arrow { color: #FF5A1F; margin: 0 6px; font-weight: 700; font-size: 13px; }
.case-result-after { font-size: 20px; font-weight: 800; color: #FF5A1F; }
.case-result-change {
  font-size: 13px; color: #34C759; font-weight: 600;
  background: rgba(52,199,89,0.1); padding: 2px 8px; border-radius: 10px;
  margin-left: 8px;
}
.case-bar {
  height: 10px; background: #f0f0f0; border-radius: 5px;
  overflow: hidden; display: flex; margin-bottom: 8px;
}
.case-bar-before { background: #e0e0e0; border-radius: 5px 0 0 5px; }
.case-bar-after { background: linear-gradient(90deg,#FFB380,#FF5A1F); border-radius: 0 5px 5px 0; }
.case-card-bottom {
  padding: 18px 28px; border-top: 1px solid #f5f5f5;
  display: flex; align-items: center; justify-content: space-between;
}
.case-client { font-size: 13px; color: #999; }
.case-client strong { color: #666; font-weight: 600; }
.case-term { font-size: 12px; color: #bbb; background: #fafafa; padding: 4px 10px; border-radius: 10px; }
.case-cta { text-align: center; margin-top: 40px; }

/* === Responsive: single column on small screens === */
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .diag-plan-features { grid-template-columns: 1fr; }
  .diag-plan-card { padding: 20px 16px; }
}
