/* CSS Reset & Variables */
:root {
  --container: 1180px;
  --primary-color: #0052E8;
  --primary-dark: #0040B8;
  --primary-light: #E8F0FF;
  --secondary-color: #1E88E5;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-light: #999999;
  --border-light: #E8E8E8;
  --border-dark: #CCCCCC;
  --bg-light: #F5F5F5;
  --bg-lighter: #FAFAFA;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-box,
.diagnosis-media,
.report-media,
.preview-media {
  overflow: visible;
  line-height: 0;
}

.image-box img,
.diagnosis-media img,
.report-media img,
.preview-media img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header.shrink {
  height: 60px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.header.shrink .brand-name {
  display: none;
}

.header-center {
  flex: 1;
  text-align: center;
}

.header-theme {
  font-size: 13px;
  color: var(--text-light);
  transition: var(--transition);
  font-weight: 500;
}

.header.shrink .header-theme {
  font-size: 11px;
}

.header-right {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.header-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.header-btn:first-child {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.header-btn:first-child:hover {
  background: var(--primary-light);
}

.header-btn-secondary {
  background: var(--primary-color);
  color: var(--white);
}

.header-btn-secondary:hover {
  background: var(--primary-dark);
}

.header-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--primary-color);
  width: 0%;
  transition: width 0.1s linear;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-panel {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1000;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 18px;
}

.mobile-menu-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-light);
}

.mobile-menu-nav {
  padding: 12px 0;
}

.mobile-menu-item {
  display: block;
  padding: 16px 20px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-menu-item:hover {
  background: var(--bg-light);
  padding-left: 24px;
}

/* Hero Section */
body {
  padding-top: 70px;
}

.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
}

.hero .container {
  padding-top: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

.hero-warning {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 152, 0, 0.1);
  border-left: 4px solid var(--warning-color);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.warning-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.hero-warning p {
  margin: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagnosis-report-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 82, 232, 0.15);
  transition: var(--transition);
  max-width: 100%;
}

.diagnosis-report-card:hover {
  box-shadow: 0 20px 60px rgba(0, 82, 232, 0.25);
  transform: translateY(-8px);
}

.report-cover {
  width: 100%;
  aspect-ratio: 16 / 20;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  background: var(--white);
}

.tag {
  padding: 6px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 82, 232, 0.15);
  transition: var(--transition);
  max-width: 100%;
}

.product-card:hover {
  box-shadow: 0 20px 60px rgba(0, 82, 232, 0.25);
  transform: translateY(-8px);
}

.product-cover {
  width: 100%;
  aspect-ratio: 16 / 20;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  background: var(--white);
}

.hero-checklist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: var(--transition);
}

.checklist-item:hover {
  background: var(--border-light);
  transform: translateY(-2px);
}

.checklist-icon {
  font-size: 24px;
  color: var(--success-color);
  font-weight: 700;
}

.checklist-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--white);
}

.features-section h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

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

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 232, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text-primary);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Functions Section */
.functions-section {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.functions-section h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.functions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.function-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.function-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 232, 0.1);
}

.function-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.function-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.function-header h3 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}

.function-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  transition: var(--transition);
  flex-shrink: 0;
}

.function-item.active .function-toggle {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(45deg);
}

.function-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}

.function-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
  margin: 0 0 16px 0;
}

.function-content p:last-of-type {
  margin-bottom: 16px;
}

.function-image {
  width: 100%;
  height: 300px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.function-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Chains Section */
.chains-section {
  padding: 80px 0;
  background: var(--white);
}

.chains-section h2 {
  margin-bottom: 20px;
  font-size: 36px;
  text-align: center;
}

.section-desc {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

.chains-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.chain-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.chain-item:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.chain-icon {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.chain-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

/* Security Section */
.security-section {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.security-section h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.security-item {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.security-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 232, 0.1);
}

.security-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.security-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  flex-shrink: 0;
}

.security-item h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text-primary);
}

.security-item > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 12px 0 16px 0;
  line-height: 1.8;
}

.security-expand {
  margin-top: 16px;
}

.security-image {
  width: 100%;
  height: 300px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scenarios Section */
.scenarios-section {
  padding: 80px 0;
  background: var(--white);
}

.scenarios-section h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

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

.scenario-card {
  padding: 28px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scenario-card:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.scenario-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.scenario-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
}

.scenario-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Download Section */
.download-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.download-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--white);
}

.download-section > .container > p:first-of-type {
  font-size: 16px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.download-section .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.download-section .btn-primary:hover {
  background: var(--primary-light);
}

.download-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Diagnosis Clinic Section */
.diagnosis-clinic {
  padding: 80px 0;
  background: var(--white);
}

.diagnosis-clinic h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.clinic-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.clinic-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}

.question-btn {
  text-align: left;
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
}

.question-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.question-btn:hover,
.question-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.clinic-results {
  position: relative;
}

.diagnosis-result {
  display: none;
  animation: fadeIn 0.4s ease;
}

.diagnosis-result.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diagnosis-result h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.result-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.result-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 14px;
}

.result-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.result-media {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

.result-media img {
  width: 100%;
  height: 100%;
}

/* Asset Report Section */
.asset-report {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.asset-report h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.report-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.report-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 232, 0.1);
}

.report-header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.report-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  flex-shrink: 0;
}

.report-item h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text-primary);
}

.report-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.report-status {
  display: inline-block;
  margin-bottom: 16px;
}

.status-label {
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.expand-btn {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--primary-color);
  transition: var(--transition);
}

.expand-btn:hover {
  color: var(--primary-dark);
}

.expand-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.expand-content ul {
  list-style: none;
  padding: 0;
}

.expand-content li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.expand-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

.report-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-image img {
  width: 100%;
  height: auto;
}

/* Function Exam Section */
.function-exam {
  padding: 80px 0;
  background: var(--white);
}

.function-exam h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.exam-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exam-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.exam-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 232, 0.1);
}

.exam-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.exam-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.exam-header h3 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}

.exam-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  transition: var(--transition);
  flex-shrink: 0;
}

.exam-item.active .exam-toggle {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(45deg);
}

.exam-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}

.exam-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.exam-content p:last-of-type {
  margin-bottom: 16px;
}

.exam-image {
  width: 100%;
  height: 300px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Safety Prescription Section */
.safety-prescription {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.safety-prescription h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.prescription-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.prescription-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}

.prescription-btn {
  text-align: left;
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-primary);
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}

.prescription-btn:hover,
.prescription-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.prescription-content {
  position: relative;
}

.prescription-card {
  display: none;
  animation: fadeIn 0.4s ease;
}

.prescription-card.active {
  display: block;
}

.prescription-card h3 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.prescription-body {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
}

.prescription-judgment {
  display: inline-block;
  margin-bottom: 24px;
}

.judgment-label {
  padding: 8px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.prescription-reason,
.prescription-suggestion {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.prescription-reason:last-of-type,
.prescription-suggestion:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.reason-label,
.suggestion-label {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.prescription-reason p,
.prescription-suggestion p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.prescription-suggestion ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prescription-suggestion li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding: 8px 0 8px 20px;
  position: relative;
}

.prescription-suggestion li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.prescription-image {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.prescription-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* App Preview Section */
.app-preview {
  padding: 80px 0;
  background: var(--white);
}

.app-preview h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.preview-viewer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.preview-main {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.preview-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.preview-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.thumbnail {
  width: 48px;
  height: 54px;
  border-radius: 8px;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-secondary);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary-color);
  background: var(--primary-light);
  color: var(--primary-color);
}

.preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.preview-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.preview-prev {
  left: -80px;
}

.preview-next {
  right: -80px;
}

/* Verification Checklist Section */
.verification-checklist {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.verification-checklist h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.checklist-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.checklist-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-check {
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.checklist-check:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 82, 232, 0.1);
}

.check-mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  color: var(--primary-color);
  margin-right: 12px;
  vertical-align: middle;
  transition: var(--transition);
}

.check-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  vertical-align: middle;
}

.checklist-check:hover .check-mark {
  background: var(--primary-light);
}

.check-supplement {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.checklist-image {
  width: 100%;
  height: 300px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Health Check Section */
.health-check {
  padding: 80px 0;
  background: var(--white);
}

.health-check h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.health-check-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.check-item:hover {
  background: var(--primary-light);
}

.check-input {
  display: none;
}

.check-input:checked + .check-label .check-box {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.check-input:checked + .check-label .check-box::after {
  content: "✓";
  color: var(--white);
  display: block;
  text-align: center;
  line-height: 20px;
  font-weight: 700;
  font-size: 12px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex: 1;
  margin: 0;
}

.check-box {
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.check-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.health-check-result {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--success-color);
  border-radius: 8px;
  text-align: center;
}

.result-icon {
  display: block;
  font-size: 32px;
  color: var(--success-color);
  margin-bottom: 12px;
}

.result-message p {
  margin: 0;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-lighter);
}

.faq-section h2 {
  margin-bottom: 50px;
  font-size: 36px;
  text-align: center;
}

.faq-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}

.faq-category {
  padding: 12px 16px;
  text-align: left;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.faq-category:hover,
.faq-category.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.faq-content {
  position: relative;
}

.faq-list {
  display: none;
}

.faq-list.active {
  display: block;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 82, 232, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 12px;
}

.faq-text {
  flex: 1;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 20px;
  padding-top: 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-size: 18px;
  font-weight: 600;
}

.footer-slogan {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-nav h4,
.footer-resources h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}

.footer-nav ul,
.footer-resources ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-resources li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-nav a,
.footer-resources a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-resources a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
}

.footer-legal {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal p {
  margin: 0;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-copyright a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Image Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

#modalImage {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Scroll-triggered animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .header-right {
    flex-direction: column;
    gap: 8px;
  }

  .header-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

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

  .hero h1 {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .chains-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .diagnosis-clinic .clinic-layout,
  .safety-prescription .prescription-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clinic-questions,
  .prescription-questions {
    position: static;
  }

  .preview-thumbnails {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
    gap: 12px;
    left: auto;
    top: auto;
    transform: none;
  }

  .preview-thumbnails {
    display: flex;
  }

  .preview-nav {
    position: static;
    width: 40px;
    height: 40px;
  }

  .preview-prev,
  .preview-next {
    left: auto;
    right: auto;
  }

  .preview-viewer {
    flex-direction: column;
    gap: 20px;
  }

  .checklist-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-categories {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .faq-category {
    flex: 0 1 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .header-content {
    padding: 0 16px;
  }

  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-label {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .hero-checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .functions-list {
    gap: 12px;
  }

  .function-header {
    padding: 16px;
  }

  .function-content {
    padding: 0 16px 16px;
  }

  .function-image {
    height: 200px;
  }

  .chains-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .security-item {
    padding: 20px;
  }

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

  .scenario-card {
    padding: 20px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .download-section .btn-primary {
    width: 100%;
  }

  .checklist-item {
    padding: 12px;
  }

  .diagnosis-clinic,
  .asset-report,
  .function-exam,
  .safety-prescription,
  .app-preview,
  .verification-checklist,
  .health-check,
  .faq-section {
    padding: 50px 0;
  }

  .diagnosis-clinic h2,
  .asset-report h2,
  .function-exam h2,
  .safety-prescription h2,
  .app-preview h2,
  .verification-checklist h2,
  .health-check h2,
  .faq-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .clinic-layout {
    gap: 30px;
  }

  .clinic-questions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .question-btn {
    flex: 0 1 calc(50% - 4px);
    padding: 12px;
    font-size: 13px;
    gap: 8px;
  }

  .question-icon {
    font-size: 16px;
  }

  .result-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diagnosis-result h3 {
    font-size: 20px;
  }

  .result-media {
    min-height: 200px;
  }

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

  .report-item {
    padding: 16px;
  }

  .report-header {
    gap: 8px;
  }

  .report-number {
    font-size: 20px;
  }

  .report-item h3 {
    font-size: 16px;
  }

  .exam-header {
    padding: 16px;
  }

  .exam-content {
    padding: 0 16px 16px;
  }

  .exam-image {
    height: 200px;
  }

  .prescription-layout {
    gap: 30px;
  }

  .prescription-questions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
  }

  .prescription-btn {
    flex: 0 1 calc(50% - 4px);
    padding: 12px;
    font-size: 12px;
  }

  .prescription-card h3 {
    font-size: 20px;
  }

  .prescription-body {
    padding: 20px;
  }

  .prescription-image {
    height: 200px;
  }

  .preview-main {
    max-width: 280px;
  }

  .health-check-form {
    max-width: 100%;
  }

  .check-item {
    padding: 12px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }

  .hero-visual {
    width: 100%;
  }

  .diagnosis-report-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }

  .header {
    height: 60px;
  }

  .header.shrink {
    height: 60px;
  }

  .header-content {
    padding: 0 12px;
  }

  .header-center {
    display: none;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-stats {
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero-checklist {
    gap: 8px;
    padding-top: 20px;
  }

  .checklist-item {
    padding: 8px;
    gap: 8px;
    font-size: 12px;
  }

  .checklist-icon {
    font-size: 18px;
  }

  .features-section h2,
  .functions-section h2,
  .chains-section h2,
  .security-section h2,
  .scenarios-section h2,
  .download-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .feature-card {
    padding: 16px;
    gap: 12px;
  }

  .feature-icon {
    font-size: 24px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .function-header {
    padding: 12px;
    gap: 8px;
  }

  .function-icon {
    font-size: 20px;
  }

  .function-header h3 {
    font-size: 14px;
  }

  .function-content {
    padding: 0 12px 12px;
  }

  .function-image {
    height: 180px;
  }

  .chains-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .chain-item {
    padding: 16px;
  }

  .chain-icon {
    font-size: 24px;
  }

  .chain-name {
    font-size: 12px;
  }

  .section-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .security-item {
    padding: 16px;
  }

  .security-number {
    font-size: 24px;
  }

  .security-item h3 {
    font-size: 16px;
  }

  .security-item > p {
    font-size: 13px;
    margin: 8px 0 12px 0;
  }

  .expand-btn {
    font-size: 13px;
  }

  .scenario-card {
    padding: 16px;
  }

  .scenario-icon {
    font-size: 24px;
  }

  .scenario-card h3 {
    font-size: 16px;
  }

  .scenario-card p {
    font-size: 13px;
  }

  .download-section h2 {
    font-size: 20px;
  }

  .download-section > .container > p:first-of-type {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .diagnosis-clinic,
  .asset-report,
  .function-exam,
  .safety-prescription,
  .app-preview,
  .verification-checklist,
  .health-check,
  .faq-section {
    padding: 30px 0;
  }

  .diagnosis-clinic h2,
  .asset-report h2,
  .function-exam h2,
  .safety-prescription h2,
  .app-preview h2,
  .verification-checklist h2,
  .health-check h2,
  .faq-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .clinic-layout {
    gap: 20px;
  }

  .clinic-questions {
    flex-direction: column;
    gap: 8px;
  }

  .question-btn {
    flex: 1;
    padding: 12px;
    font-size: 12px;
  }

  .diagnosis-result h3,
  .prescription-card h3 {
    font-size: 18px;
  }

  .result-item,
  .prescription-reason,
  .prescription-suggestion {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .item-label,
  .reason-label,
  .suggestion-label {
    font-size: 13px;
  }

  .result-item p,
  .prescription-reason p,
  .prescription-suggestion p,
  .prescription-suggestion li,
  .expand-content li {
    font-size: 13px;
  }

  .report-item {
    padding: 12px;
  }

  .report-header {
    gap: 8px;
  }

  .report-number {
    font-size: 18px;
  }

  .report-item h3 {
    font-size: 14px;
  }

  .report-desc {
    font-size: 12px;
  }

  .exam-header {
    padding: 12px;
    gap: 8px;
  }

  .exam-icon {
    font-size: 20px;
  }

  .exam-header h3 {
    font-size: 14px;
  }

  .exam-content {
    padding: 0 12px 12px;
  }

  .exam-content p {
    font-size: 13px;
  }

  .exam-image {
    height: 180px;
  }

  .prescription-layout {
    gap: 20px;
  }

  .prescription-questions {
    flex-direction: column;
    gap: 8px;
  }

  .prescription-btn {
    flex: 1;
    padding: 12px;
    font-size: 12px;
  }

  .prescription-body {
    padding: 16px;
  }

  .prescription-image {
    height: 180px;
  }

  .preview-main {
    max-width: 240px;
  }

  .thumbnail {
    width: 40px;
    height: 45px;
    font-size: 11px;
  }

  .preview-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .checklist-layout {
    gap: 16px;
  }

  .checklist-title {
    font-size: 14px;
  }

  .checklist-check {
    padding: 12px;
  }

  .check-label {
    gap: 8px;
  }

  .check-mark {
    width: 20px;
    height: 20px;
    line-height: 16px;
  }

  .check-text {
    font-size: 13px;
  }

  .faq-categories {
    flex-direction: column;
    gap: 8px;
  }

  .faq-category {
    padding: 10px 12px;
    font-size: 13px;
  }

  .faq-question {
    padding: 16px;
    font-size: 13px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .faq-answer {
    padding: 16px;
    font-size: 13px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .footer-info {
    grid-column: 1 / -1;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-logo img {
    width: 32px;
    height: 32px;
  }

  .footer-logo span {
    font-size: 16px;
  }

  .footer-slogan {
    font-size: 12px;
  }

  .footer-nav h4,
  .footer-resources h4,
  .footer-contact h4 {
    font-size: 12px;
  }

  .footer-nav a,
  .footer-resources a,
  .footer-contact a,
  .footer-legal p,
  .footer-disclaimer p,
  .footer-copyright p {
    font-size: 11px;
  }

  .back-to-top {
    width: 36px;
    height: 36px;
    font-size: 16px;
    bottom: 16px;
    right: 16px;
  }

  .report-image,
  .checklist-image,
  .security-image,
  .function-image {
    height: 180px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-info {
    grid-column: auto;
  }
}

/* Accessibility & Print */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header,
  .mobile-menu-btn,
  .back-to-top,
  .preview-nav {
    display: none;
  }

  body {
    padding-top: 0;
  }

  section {
    page-break-inside: avoid;
  }
}
