/* ===== 页面专属样式 ===== */

/* --- 首页：公司介绍 --- */
.about-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #12121f 100%);
}

.about-section .section-desc {
  max-width: none;
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-feature-card {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #17172a;
}

.about-feature-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* --- 首页：应用场景 --- */
.scenarios-section {
  position: relative;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  transition: var(--transition);
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.scenario-card:hover::before {
  transform: scaleX(1);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
}

.scenario-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

/* --- 精选IP --- */
.ip-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.ip-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--bg-dark));
}

/* IP 诞生过程 */
.birth-process {
  padding: 80px 0;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-pink), var(--accent-cyan));
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:nth-child(even) .process-content {
  text-align: right;
}

.process-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid var(--bg-dark);
  z-index: 2;
  box-shadow: var(--shadow-glow);
}

.process-content {
  flex: 1;
  padding: 24px;
}

.process-visual {
  flex: 1;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.process-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: var(--transition);
}

.process-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.process-step-design .process-visual {
  aspect-ratio: 534 / 383;
  transform: translateY(-36px);
}

.process-step-design .process-visual-img img {
  object-fit: cover;
  object-position: center;
}

.process-step.active .process-visual {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

.process-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(79, 70, 229, 0.2);
  color: var(--primary-light);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.process-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* IP 展示区 */
.ip-showcase {
  padding: 80px 0;
  background: #12121f;
}

.ip-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.ip-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.ip-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ip-card-visual {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  background: #0f0f1a;
}

.ip-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ip-card:hover .ip-card-visual img {
  transform: scale(1.05);
}

.ip-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.65));
  pointer-events: none;
}

.ip-card-info {
  padding: 24px;
}

.ip-card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.ip-card-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ip-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
  z-index: 1;
}

/* IP 诞生四步流程 */
.ip-birth-demo {
  padding: 80px 0;
  text-align: center;
}

.birth-stage-container {
  max-width: 600px;
  margin: 40px auto;
  position: relative;
}

.birth-canvas {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0c1025 0%, #151a35 50%, #1a1040 100%);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* 背景光效 */
.birth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.birth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: birth-orb-float 8s ease-in-out infinite;
}

.birth-orb-1 {
  width: 200px;
  height: 200px;
  background: #4f46e5;
  top: -40px;
  right: -30px;
}

.birth-orb-2 {
  width: 160px;
  height: 160px;
  background: #ec4899;
  bottom: 20px;
  left: -40px;
  animation-delay: -3s;
}

.birth-orb-3 {
  width: 120px;
  height: 120px;
  background: #06b6d4;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -5s;
}

@keyframes birth-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.birth-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.25), transparent 70%);
  transition: opacity 1s, transform 1s;
}

/* 中心 IP 形象 */
.birth-character {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  z-index: 10;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.birth-character.stage-0 {
  opacity: 0.25;
  filter: blur(12px) drop-shadow(0 0 20px rgba(79, 70, 229, 0.3));
  transform: translate(-50%, -50%) scale(0.5);
}

.birth-character.stage-1 {
  opacity: 0.65;
  filter: blur(4px) drop-shadow(0 0 30px rgba(124, 58, 237, 0.4));
  transform: translate(-50%, -50%) scale(0.8);
}

.birth-character.stage-2 {
  opacity: 0.9;
  filter: blur(1px) drop-shadow(0 0 40px rgba(236, 72, 153, 0.4));
  transform: translate(-50%, -50%) scale(0.95);
}

.birth-character.stage-3 {
  opacity: 1;
  filter: blur(0) drop-shadow(0 0 50px rgba(245, 158, 11, 0.5));
  transform: translate(-50%, -50%) scale(1);
  animation: char-float 3s ease-in-out infinite;
}

@keyframes char-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, calc(-50% - 10px)) scale(1.03); }
}

/* 各阶段视觉层 */
.birth-visual-layers {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.birth-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s;
}

.birth-canvas[data-stage="0"] .layer-0,
.birth-canvas[data-stage="1"] .layer-1,
.birth-canvas[data-stage="2"] .layer-2,
.birth-canvas[data-stage="3"] .layer-3 {
  opacity: 1;
}

.birth-canvas[data-stage="0"] .birth-character,
.birth-canvas[data-stage="1"] .birth-character,
.birth-canvas[data-stage="2"] .birth-character,
.birth-canvas[data-stage="3"] .birth-character {
  display: none;
}

.step-image-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(79, 70, 229, 0.2);
  background: #f8f7ff;
  animation: frame-fade-in 0.6s ease;
}

.step-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes frame-fade-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 阶段0：文生图 */
.prompt-box {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 26, 0.85);
  border: 1px solid rgba(79, 70, 229, 0.4);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  max-width: 85%;
  overflow: hidden;
}

.prompt-cursor {
  color: var(--primary-light);
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.gen-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(129, 140, 248, 0.4);
  border-radius: 50%;
  animation: ring-spin 6s linear infinite;
}

@keyframes ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 阶段1：特征调整 */
.feature-tag {
  position: absolute;
  padding: 6px 12px;
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-primary);
  animation: tag-orbit 4s ease-in-out infinite;
}

.tag-1 { top: 18%; left: 12%; animation-delay: 0s; }
.tag-2 { top: 22%; right: 10%; animation-delay: -1s; }
.tag-3 { bottom: 28%; left: 8%; animation-delay: -2s; }
.tag-4 { bottom: 24%; right: 8%; animation-delay: -3s; }

@keyframes tag-orbit {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 阶段2：故事设计 */
.story-card {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 26, 0.9);
  border: 1px solid rgba(236, 72, 153, 0.4);
  border-radius: 12px;
  padding: 14px 24px;
  text-align: center;
  animation: card-slide 0.8s ease;
}

.story-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.story-trait {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@keyframes card-slide {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 阶段3：周边动画 */
.product-item {
  position: absolute;
  font-size: 1.8rem;
  animation: product-pop 2s ease-in-out infinite;
}

.p-1 { top: 15%; left: 15%; animation-delay: 0s; }
.p-2 { top: 18%; right: 14%; animation-delay: -0.5s; }
.p-3 { bottom: 20%; left: 12%; animation-delay: -1s; }
.p-4 { bottom: 18%; right: 12%; animation-delay: -1.5s; }

@keyframes product-pop {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* 阶段徽章 */
.birth-stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  z-index: 15;
  letter-spacing: 0.05em;
}

/* 粒子 */
.birth-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.birth-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-20px); }
}

/* 阶段增强光效 */
.birth-canvas[data-stage="2"] .birth-glow-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.3);
}

.birth-canvas[data-stage="3"] .birth-glow-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.6);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.birth-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.birth-step-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.birth-step-btn.active,
.birth-step-btn:hover {
  background: rgba(79, 70, 229, 0.2);
  border-color: var(--primary-light);
  color: var(--text-primary);
}

.birth-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.birth-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.birth-progress-dot.active {
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
}

/* --- 我要创作 --- */
.create-hero {
  padding: calc(var(--nav-height) + 80px) 0 40px;
  text-align: center;
  background: var(--gradient-hero);
}

.create-preview {
  padding: 60px 0 120px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.preview-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-4px);
}

.preview-screen {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview-screen-mockup {
  width: 90%;
  height: 85%;
  background: #0f0f1a;
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.preview-screen-photo {
  padding: 0;
  overflow: hidden;
  background: #f8f7ff;
}

.preview-screen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mockup-content {
  flex: 1;
  background: var(--bg-card);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.preview-info {
  padding: 24px;
}

.preview-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.preview-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.create-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.create-cta-bar p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- 机构合作 --- */
.organizations-hero,
.teachers-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center;
  background: var(--gradient-hero);
}

/* 机构合作首屏 Banner */
.org-banner {
  position: relative;
  padding: calc(var(--nav-height) + 100px) 0 90px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0a0a14 0%, #16123a 45%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
}

.org-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.org-banner-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.org-banner-orb-1 {
  width: 420px;
  height: 420px;
  background: #4f46e5;
  top: -120px;
  right: -80px;
}

.org-banner-orb-2 {
  width: 360px;
  height: 360px;
  background: #ec4899;
  bottom: -140px;
  left: -100px;
}

.org-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.org-banner-title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.4;
  margin: 16px 0 18px;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 55%, #f9a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.org-banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.org-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.org-banner-actions .btn {
  min-width: 200px;
}

.org-banner-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.org-banner-note::before {
  content: '✓ ';
  color: #34d399;
}

/* 机构入驻流程 */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 96px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-card {
  text-align: center;
}

.process-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.process-card:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.process-icon {
  margin: 0 auto 16px;
}

.process-arrow {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 50%;
  background: #12121f;
  color: var(--primary-light);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.process-arrow-right {
  left: 50%;
  transform: translate(-50%, -50%);
}

.process-arrow-top {
  top: 25%;
}

.process-arrow-down {
  top: 50%;
  left: calc(75% + 24px);
  transform: translate(-50%, -50%);
}

.process-arrow-bottom {
  top: 75%;
}

.partner-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-case {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.partner-case:hover {
  border-color: rgba(79, 70, 229, 0.35);
  transform: translateY(-3px);
}

.partner-case-type {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 50px;
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.partner-case h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.partner-case > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}

.partner-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.partner-case-tags li {
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.partner-consult-btn {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .partner-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-case-grid {
    grid-template-columns: 1fr;
  }
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.teacher-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.teacher-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.3);
}

.teacher-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.teacher-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.teacher-role {
  color: var(--primary-light);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.teacher-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.teacher-tag {
  padding: 4px 10px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* --- 教师入口 --- */
.teacher-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.teacher-entry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  cursor: pointer;
  display: block;
}

.teacher-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.12);
}

.teacher-entry-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.teacher-entry-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.teacher-entry-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.teacher-entry-link {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.teacher-login-section {
  background: #12121f;
}

.teacher-login-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.teacher-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.teacher-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
}

.teacher-forgot {
  color: var(--primary-light);
  font-size: 0.85rem;
}

.teacher-login-benefits h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.teacher-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teacher-benefit-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(79, 70, 229, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-benefit-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.teacher-benefit-list p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.teacher-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.teacher-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.teacher-step:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-4px);
}

.teacher-step-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.teacher-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.teacher-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.teacher-resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.teacher-resource-link {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.teacher-resource-link:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

.teacher-resource-link > span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.teacher-resource-link strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.teacher-resource-link p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* 申请表单 */
.apply-section {
  background: #12121f;
}

.apply-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.apply-embed {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.apply-embed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(79, 70, 229, 0.08);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.apply-embed-open {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  min-height: auto;
}

.apply-embed-frame {
  width: 100%;
  height: 900px;
  border: 0;
  display: block;
  background: var(--bg-dark);
}

.apply-embed-fallback {
  padding: 14px 20px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.apply-embed-fallback a {
  color: var(--primary-light);
  word-break: break-all;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- 下载页面 --- */
.downloads-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center;
  background: var(--gradient-hero);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.download-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.download-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.download-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.download-card .btn {
  width: 100%;
}

.docs-section {
  padding: 80px 0;
  background: #12121f;
}

.doc-list {
  max-width: 700px;
  margin: 0 auto;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.doc-item:hover {
  border-color: rgba(79, 70, 229, 0.3);
  background: var(--bg-card-hover);
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
}

.doc-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.doc-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.doc-action {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
}

/* 响应式补充 */
@media (max-width: 768px) {
  .about-section .section-desc {
    white-space: normal;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .process-step:nth-child(even) .process-content {
    text-align: center;
  }

  .process-step-design .process-visual {
    transform: none;
  }

  .process-line {
    display: none;
  }

  .process-dot {
    display: none;
  }

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

  .process-card:nth-child(3),
  .process-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-arrow {
    display: none;
  }

  .create-cta-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .apply-form-wrapper {
    padding: 24px;
  }

  .teacher-login-panel {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }

  .teacher-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .teacher-steps {
    grid-template-columns: 1fr;
  }
}
