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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d1b69 50%, #1a1a2e 100%);
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.page {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.background-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: #f5a623;
  top: -100px;
  right: -50px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: #6366f1;
  bottom: 100px;
  left: -80px;
}

.circle-3 {
  width: 150px;
  height: 150px;
  background: #ec4899;
  top: 50%;
  right: -30px;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200px;
  opacity: 0.05;
}

.wave-1 {
  bottom: 0;
  left: -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f5a623' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
}

.wave-2 {
  bottom: -50px;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%236366f1' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,229.3C672,256,768,288,864,277.3C960,267,1056,213,1152,202.7C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
}

.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.title-badge {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.1));
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 12px;
  color: #f5a623;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.main-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 16px;
  color: #a5b4fc;
  margin-bottom: 32px;
}

.intro-text {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  max-width: 100%;
}

.intro-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #c7d2fe;
  margin-bottom: 12px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.quiz-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #93c5fd;
}

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

.start-btn {
  background: linear-gradient(135deg, #f5a623, #d49200);
  border: none;
  border-radius: 50px;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.4);
}

.start-btn:active {
  transform: translateY(0);
}

.btn-text {
  letter-spacing: 1px;
}

.btn-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.start-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.features {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

.feature-item span:last-child {
  font-size: 12px;
  color: #94a3b8;
}

.quiz-header {
  padding: 20px 0;
}

.progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  color: #93c5fd;
}

.progress-text #current-question {
  font-size: 20px;
  font-weight: 700;
  color: #f5a623;
}

.divider {
  color: #64748b;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f5a623, #fbbf24);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.quiz-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.question-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
}

.question-number {
  font-size: 12px;
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.question-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 28px;
  color: #fff;
}

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

.option-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  font-size: 15px;
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
}

.option-btn.selected {
  background: rgba(245, 166, 35, 0.15);
  border-color: #f5a623;
  color: #f5a623;
}

.option-btn.selected .option-label {
  background: #f5a623;
  color: #1e3a5f;
}

.option-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.option-content {
  flex: 1;
  line-height: 1.5;
}

.quiz-nav {
  display: flex;
  gap: 16px;
}

.nav-btn {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.prev-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.prev-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.next-btn {
  background: linear-gradient(135deg, #f5a623, #d49200);
  border: none;
  color: #1e3a5f;
}

.next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}

.result-header {
  padding: 20px 0;
  text-align: center;
}

.result-badge {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 12px;
  color: #22c55e;
  letter-spacing: 2px;
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.result-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.result-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.result-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.result-english {
  font-size: 14px;
  color: #f5a623;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.star-rating {
  font-size: 28px;
  margin-bottom: 8px;
}

.rating-label {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 28px;
}

.result-section {
  text-align: left;
  margin-bottom: 24px;
}

.result-section:last-of-type {
  margin-bottom: 20px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.check-list, .cross-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-list li {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-list li::before {
  content: '✔';
  font-size: 12px;
}

.cross-list li {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: #f87171;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cross-list li::before {
  content: '✕';
  font-size: 12px;
}

.keyword-box {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.keyword-label {
  font-size: 12px;
  color: #f5a623;
  margin-bottom: 8px;
  display: block;
}

.keyword-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.result-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.action-btn {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.unlock-btn {
  background: linear-gradient(135deg, #f5a623, #d49200);
  border: none;
  color: #1e3a5f;
}

.unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}

.restart-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

.restart-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.unlock-header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.back-btn {
  position: absolute;
  left: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.unlock-badge {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.1));
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 12px;
  color: #f5a623;
  letter-spacing: 2px;
}

.unlock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.congrats-message {
  text-align: center;
  margin-bottom: 32px;
}

.congrats-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.congrats-message h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.congrats-message p {
  font-size: 14px;
  color: #94a3b8;
}

.current-access {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.current-access h3 {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 16px;
}

.access-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #22c55e;
}

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

.full-report-preview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 32px;
}

.full-report-preview h3 {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 16px;
}

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

.report-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.lock-icon {
  font-size: 14px;
}

.unlock-button-container {
  margin-bottom: 24px;
}

.unlock-main-btn {
  width: 100%;
  background: linear-gradient(135deg, #f5a623, #d49200);
  border: none;
  border-radius: 16px;
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.3);
  transition: all 0.3s ease;
}

.unlock-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(245, 166, 35, 0.4);
}

.price-text {
  font-size: 36px;
  font-weight: 800;
}

.unlock-text {
  font-size: 16px;
}

.disclaimer {
  text-align: center;
  padding: 20px;
}

.disclaimer p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.share-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.share-modal-content {
  position: relative;
  background: linear-gradient(135deg, #2d1b69 0%, #1e3a5f 100%);
  border-radius: 24px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.share-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.share-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.share-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.share-preview-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.share-preview-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.share-preview-keyword {
  font-size: 14px;
  color: #f5a623;
  margin-bottom: 12px;
}

.share-preview-brand {
  font-size: 12px;
  color: #94a3b8;
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.share-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.share-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
}

.share-option-icon {
  font-size: 20px;
}

.share-tips {
  text-align: center;
}

.share-tips p {
  font-size: 13px;
  color: #94a3b8;
}

.image-modal-content {
  padding: 20px;
}

.share-image {
  width: 100%;
  border-radius: 12px;
  margin: 16px 0;
}

.share-hint {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 12px;
}

.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.2s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

@media (max-width: 480px) {
  .page {
    padding: 16px;
  }
  
  .main-title {
    font-size: 28px;
  }
  
  .intro-text {
    padding: 20px;
  }
  
  .start-btn {
    padding: 16px 32px;
    font-size: 16px;
  }
  
  .question-card {
    padding: 24px;
  }
  
  .question-text {
    font-size: 18px;
  }
  
  .option-btn {
    padding: 16px;
    font-size: 14px;
  }
  
  .result-card {
    padding: 24px;
  }
  
  .result-title {
    font-size: 24px;
  }
  
  .report-items {
    grid-template-columns: 1fr;
  }
  
  .share-modal-content {
    width: 95%;
    padding: 20px;
  }
}