/* ============================================
   本真街舞 TRUEFORM DANCE — 招生落地页 v4
   品牌色：红 #E94560 / 金 #FFD700 / 黑 #1A1A1A
   创意版：斜排 / 竖排 / 瀑布流 / 紧凑
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #e8e8e8;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; }

.container { padding: 0 1rem; max-width: 480px; margin: 0 auto; }

/* ============================================
   HERO — 视觉冲击
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 40%, #d5d5d5 100%);
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #E94560;
  margin-bottom: 1rem;
  background: rgba(233, 69, 96, 0.05);
}

.hero-logo {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  line-height: 1.2;
}
.hero-logo span { color: #E94560; }

.hero-sub { font-size: 0.9rem; color: #888; margin-top: 0.5rem; letter-spacing: 0.05em; }

.hero-tagline {
  font-size: 1.15rem;
  color: #E94560;
  margin-top: 0.3rem;
  font-weight: 700;
}

/* HERO 装饰竖排文字 */
.hero-deco {
  position: absolute;
  right: 0.5rem;
  top: 15%;
  font-size: 0.7rem;
  color: rgba(233, 69, 96, 0.15);
  font-weight: 900;
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  pointer-events: none;
  line-height: 1.8;
}

.hero-deco-left {
  left: 0.5rem;
  right: auto;
  color: rgba(255, 215, 0, 0.12);
}

.hero-teacher {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #E94560;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.2);
}

/* 统计 — 斜排大数字 */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}
.stats-row .stat-item { text-align: center; }
.stat-item:nth-child(2) { transform: rotate(-3deg); }
.stats-row .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
}
.stats-row .stat-label { font-size: 0.7rem; color: #888; margin-top: 0.1rem; }

.hero-cta { margin-top: 1.5rem; position: relative; z-index: 1; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #E94560, #d6384e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background: transparent;
  border: 1.5px solid #E94560;
  color: #E94560;
}
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }

/* ============================================
   Section 通用
   ============================================ */
.section { padding: 2.5rem 0; }
.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.3rem;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}
.section-title-wrap { text-align: center; margin-bottom: 1.5rem; }
.section-divider {
  width: 2rem;
  height: 2px;
  background: #E94560;
  margin: 0.5rem auto 1.5rem;
}

/* ============================================
   关于本真 — 创意排布
   ============================================ */
.about-splash {
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-block {
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-block-full {
  grid-column: 1 / -1;
  padding: 1.5rem 1.25rem;
  background: #f5f0eb;
}

.about-block:nth-child(1) { background: #1a1a1a; color: #eee; }
.about-block:nth-child(1) .big-number { font-size: 3rem; font-weight: 900; color: #FFD700; line-height: 1; }
.about-block:nth-child(1) .label { font-size: 0.8rem; color: #aaa; margin-top: 0.2rem; }
.about-block:nth-child(1) .sub-text { font-size: 0.75rem; color: #888; margin-top: 0.5rem; }

.about-block:nth-child(2) { background: #E94560; color: #fff; }
.about-block:nth-child(2) .big-number { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.about-block:nth-child(2) .label { font-size: 0.8rem; opacity: 0.8; margin-top: 0.2rem; }

.about-block:nth-child(3) {
  background: #fff;
  padding: 1.5rem 1.25rem;
}
.about-block:nth-child(3) .vertical-text {
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  color: #E94560;
  font-weight: 700;
  letter-spacing: 0.15em;
  height: 6rem;
  float: left;
  margin-right: 0.75rem;
}
.about-block:nth-child(3) p { font-size: 0.85rem; color: #555; line-height: 1.8; }
.about-block:nth-child(3) p strong { color: #1a1a1a; }

/* 关于本真 — 底部弧形标语 */
.about-arc {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  background: #1a1a1a;
  color: #fff;
  position: relative;
}
.about-arc::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2rem;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.about-arc .arc-text {
  display: inline-block;
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.2em;
  transform: rotate(-2deg);
}
.about-arc .arc-text strong { color: #FFD700; }

/* ============================================
   视频 + 社交区
   ============================================ */
.media-section { background: #1a1a1a; padding: 2rem 0; }

.video-wrapper {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; border: none; }

/* 社交二维码行 */
.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.social-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem 0.5rem;
  text-align: center;
  min-width: 8rem;
  flex: 1;
  max-width: 9rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.social-card:active { transform: scale(0.95); }
.social-card .icon { font-size: 1.5rem; }
.social-card .name { font-size: 0.7rem; color: #888; margin-top: 0.3rem; }
.social-card .qr {
  width: 6rem;
  height: 6rem;
  margin: 0.5rem auto;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #f5f5f5;
}
.social-card .qr img { width: 100%; height: 100%; object-fit: contain; }

.social-note {
  text-align: center;
  font-size: 0.7rem;
  color: #888;
  margin-top: 1rem;
}
.social-note a { color: #FFD700; text-decoration: underline; }

/* ============================================
   照片墙 — 瀑布流
   ============================================ */
.gallery-section { background: #fff; padding: 2rem 0; }

.photo-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.photo-wall .photo-item {
  border-radius: 0.25rem;
  overflow: hidden;
  background: #eee;
  position: relative;
}

.photo-wall .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.photo-wall .photo-item:active img { transform: scale(1.05); }

/* 大小变化 */
.photo-wall .photo-tall { grid-row: span 2; }
.photo-wall .photo-wide { grid-column: 1 / -1; aspect-ratio: 16/7; }
.photo-wall .photo-sq { aspect-ratio: 1; }
.photo-wall .photo-rect { aspect-ratio: 3/4; }

/* ============================================
   课程 — 紧凑
   ============================================ */
.course-section { background: #f5f0eb; padding: 2rem 0; }

.course-grid { display: flex; flex-direction: column; gap: 0.6rem; }

.course-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.course-card-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.4rem;
  background: rgba(233, 69, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.course-card .course-info { flex: 1; min-width: 0; }
.course-card h3 { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; }
.course-card p { font-size: 0.75rem; color: #777; line-height: 1.4; margin-top: 0.1rem; }
.course-card .course-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.6rem;
  background: rgba(233, 69, 96, 0.1);
  color: #E94560;
  margin-top: 0.2rem;
}

/* ============================================
   为什么选我 — 紧凑卡片
   ============================================ */
.why-section { background: #fff; padding: 2rem 0; }

.features-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.feature-chip {
  background: #f5f0eb;
  border-radius: 0.5rem;
  padding: 1rem;
}
.feature-chip .fc-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: #E94560;
  line-height: 1;
}
.feature-chip h4 { font-size: 0.85rem; font-weight: 700; margin-top: 0.3rem; color: #1a1a1a; }
.feature-chip p { font-size: 0.7rem; color: #777; line-height: 1.4; margin-top: 0.2rem; }

/* ============================================
   主理人 + 海报
   ============================================ */
.teacher-section { background: #e8e8e8; padding: 2rem 0; }

.teacher-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
}
.teacher-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #E94560, #d6384e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.teacher-info h3 { font-size: 1rem; font-weight: 700; color: #1a1a1a; }
.teacher-info .teacher-title { font-size: 0.7rem; color: #E94560; margin-bottom: 0.2rem; }
.teacher-info p { font-size: 0.75rem; color: #777; line-height: 1.5; }

.poster-card {
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 1rem;
}
.poster-card img { width: 100%; display: block; }

/* ============================================
   收款码
   ============================================ */
.pay-section { background: #1a1a1a; padding: 2rem 0; }

.pay-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.pay-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.pay-card > p { font-size: 0.8rem; color: #888; margin-bottom: 1rem; }

.pay-qr {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid #eee;
  overflow: hidden;
}
.pay-qr img { width: 100%; height: 100%; object-fit: contain; }

.pay-note { font-size: 0.7rem; color: #bbb; margin-top: 0.5rem; }

/* ============================================
   评价
   ============================================ */
.testimonials { background: #fff; padding: 2rem 0; }

.testimonial-card {
  background: #f5f0eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.6rem;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-text {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.testimonial-avatar {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #E94560;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  font-weight: 700;
}
.testimonial-name { font-size: 0.75rem; color: #333; font-weight: 600; }
.testimonial-relation { font-size: 0.65rem; color: #aaa; }

/* ============================================
   最终CTA
   ============================================ */
.cta-section {
  background: #fff;
  padding: 0;
}
.cta-bar {
  background: linear-gradient(135deg, #E94560, #d6384e);
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  border-radius: 0.75rem 0.75rem 0 0;
}
.cta-bar h3 { font-size: 1.1rem; font-weight: 800; }
.cta-bar p { font-size: 0.8rem; opacity: 0.9; margin-top: 0.2rem; }
.cta-bar .price { font-size: 1.8rem; font-weight: 900; margin: 0.5rem 0; }
.cta-bar .price small { font-size: 1rem; font-weight: 400; opacity: 0.8; }
.cta-bar .btn-white {
  display: inline-block;
  background: #fff;
  color: #E94560;
  padding: 0.8rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer { padding: 1.5rem 0; text-align: center; }
.footer p { font-size: 0.7rem; color: #999; }
.footer a { color: #E94560; }

/* ============================================
   工具类
   ============================================ */
a, button, input, .btn, .social-card { -webkit-tap-highlight-color: transparent; cursor: pointer; }

/* ============================================
   QR码点击放大弹窗
   ============================================ */
.qr-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.qr-modal.show { display: flex; }
.qr-modal .modal-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 320px;
  width: 100%;
}
.qr-modal .modal-card img {
  width: 12rem;
  height: 12rem;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.qr-modal .modal-card .modal-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.qr-modal .modal-card .modal-hint {
  font-size: 0.75rem;
  color: #999;
}
.qr-modal .modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

/* ============================================
   表单
   ============================================ */
.form-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 0.15rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #faf8f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  color: #1a1a1a;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #E94560;
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  min-height: 5rem;
  resize: vertical;
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.form-input.error, .form-select.error { border-color: #ef4444; }

.form-tip {
  font-size: 0.7rem;
  color: #bbb;
  margin-top: 0.5rem;
  text-align: center;
}

.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.page-enter { animation: pageIn 0.3s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
