/* ============================================================
   思维优创 - 企业官方网站样式表
   设计系统：科技蓝 + 暖橙辅助
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-primary: #0a1f44;
  --color-primary-light: #132d5e;
  --color-blue: #1a5fdc;
  --color-blue-light: #4fc3f7;
  --color-accent: #f47920;
  --color-accent-light: #ffb74d;
  --color-text: #1a1a2e;
  --color-text-medium: #4a4a6a;
  --color-text-light: #7a7a9a;
  --color-bg: #f5f7fa;
  --color-bg-alt: #eef2f7;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-success: #10b981;
  --color-card-shadow: 0 2px 16px rgba(10, 31, 68, 0.06);
  --color-card-shadow-hover: 0 8px 32px rgba(10, 31, 68, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  background: var(--color-bg);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  background: rgba(26, 95, 220, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin: 60px 0 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 12px 28px;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: #1450c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 220, 0.35);
}

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

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px rgba(10, 31, 68, 0.06);
}

.header .container {
  height: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-cn {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-en {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Navigation --- */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--color-blue);
  background: rgba(26, 95, 220, 0.05);
}

.nav-list a.active {
  color: var(--color-blue);
  background: rgba(26, 95, 220, 0.08);
  font-weight: 600;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 140px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--color-card-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 1001;
  overflow: hidden;
}

.nav-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: rgba(26, 95, 220, 0.06);
  color: var(--color-blue);
}

.nav-submenu li + li {
  border-top: 1px solid var(--color-border);
}

/* --- Header Actions --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  border: 1.5px solid var(--color-blue);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* --- Workbench Dropdown --- */
.workbench-dropdown {
  position: relative;
}

.workbench-dropdown .dropdown-arrow {
  transition: transform var(--transition);
}

.workbench-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.workbench-dropdown.active .btn-login {
  background: var(--color-blue);
  color: var(--color-white);
}

.workbench-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--color-card-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1000;
  overflow: hidden;
}

.workbench-dropdown.active .workbench-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto !important;
}

.workbench-menu-item {
  display: block;
  width: 100%;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.workbench-menu-item:hover {
  background: rgba(26, 95, 220, 0.06);
  color: var(--color-blue);
}

.workbench-menu li + li {
  border-top: 1px solid var(--color-border);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, #0a1f44 0%, #132d5e 30%, #1a3a6e 60%, #0d2548 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.15);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 95, 220, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 121, 32, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-slider {
  min-height: 260px;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #c8d6f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero .btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-lg);
}

.hero .btn-primary:hover {
  background: #e06818;
  box-shadow: 0 6px 24px rgba(244, 121, 32, 0.4);
}

.hero-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: 6px;
}

/* --- About Section --- */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.mv-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--color-card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.mv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.mv-card p {
  color: var(--color-text-medium);
  line-height: 1.8;
}

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

.value-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
  border-color: var(--color-blue-light);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 16px 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--color-blue);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  transform: translate(-50%, 0);
  box-shadow: 0 0 0 4px rgba(26, 95, 220, 0.15);
  z-index: 1;
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 6px;
}

.timeline-event {
  font-size: 0.95rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* --- Scene Photos --- */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8edf5 0%, #dce3ef 100%);
  cursor: pointer;
  transition: all var(--transition);
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.photo-placeholder .photo-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.photo-placeholder .photo-add {
  font-size: 0.8rem;
  background: rgba(26, 95, 220, 0.1);
  color: var(--color-blue);
  padding: 4px 14px;
  border-radius: 100px;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  padding: 20px 16px 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Courses Section --- */
.course-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-medium);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.filter-btn.active {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

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

.course-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--color-card-shadow-hover);
}

.course-card-image {
  height: 180px;
  background: linear-gradient(135deg, #1a5fdc 0%, #4fc3f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.course-card-image::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.course-card-image .course-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}

.course-card-body {
  padding: 24px;
}

.course-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.course-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.course-badge.age {
  background: rgba(26, 95, 220, 0.08);
  color: var(--color-blue);
}

.course-badge.level {
  background: rgba(244, 121, 32, 0.08);
  color: var(--color-accent);
}

.course-badge.duration {
  background: rgba(16, 185, 129, 0.08);
  color: var(--color-success);
}

.course-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* --- Course Modal --- */
.course-modal,
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.course-modal.active,
.news-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: calc(100% - 48px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform var(--transition);
}

.course-modal.active .modal-content,
.news-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: sticky;
  top: 16px;
  right: 16px;
  float: right;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--color-text-medium);
  cursor: pointer;
  z-index: 1;
  transition: all var(--transition);
}

.modal-close:hover {
  background: #e8e8e8;
  color: var(--color-text);
}

.modal-body {
  padding: 40px;
}

.modal-course-header {
  margin-bottom: 28px;
}

.modal-course-header .course-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-course-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.modal-course-header .modal-summary {
  color: var(--color-text-medium);
  font-size: 1rem;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--color-blue);
}

.modal-section ul {
  padding-left: 20px;
}

.modal-section ul li {
  list-style: disc;
  color: var(--color-text-medium);
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Teachers Section --- */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.teacher-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--color-card-shadow-hover);
}

.teacher-avatar {
  height: 220px;
  background: linear-gradient(135deg, #e8edf5 0%, #d0d9e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-avatar-icon {
  font-size: 4rem;
  opacity: 0.6;
}

.teacher-info {
  padding: 24px;
}

.teacher-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.teacher-title {
  font-size: 0.85rem;
  color: var(--color-blue);
  font-weight: 500;
  margin-bottom: 12px;
}

.teacher-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-medium);
  margin-bottom: 6px;
}

.teacher-detail .detail-icon {
  font-size: 0.9rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.teacher-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  background: rgba(26, 95, 220, 0.06);
  color: var(--color-blue);
  border-radius: 100px;
}

.teacher-motto {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-accent);
  font-style: italic;
}

.teacher-achievements {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.teacher-achievements h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.teacher-achievements ul {
  padding-left: 16px;
}

.teacher-achievements li {
  font-size: 0.8rem;
  color: var(--color-text-medium);
  margin-bottom: 3px;
  list-style: disc;
}

/* --- Cases Section --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.case-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.case-meta {
  flex: 1;
}

.case-student {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.case-info {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.case-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.case-compare-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.case-compare-item.before h4 {
  color: var(--color-text-light);
}

.case-compare-item.after h4 {
  color: var(--color-success);
}

.case-compare-item p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

.case-achievement {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(244, 121, 32, 0.1), rgba(255, 183, 77, 0.1));
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 14px;
}

.case-quote {
  font-style: italic;
  color: var(--color-text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 12px;
  border-left: 2px solid var(--color-border);
}

/* --- News Section --- */
.news-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

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

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--color-card-shadow-hover);
}

.news-card-image {
  height: 180px;
  background: linear-gradient(135deg, #132d5e 0%, #1a5fdc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.news-card-category.公司动态 {
  background: rgba(26, 95, 220, 0.08);
  color: var(--color-blue);
}

.news-card-category.教研活动 {
  background: rgba(16, 185, 129, 0.08);
  color: var(--color-success);
}

.news-card-category.行业资讯 {
  background: rgba(244, 121, 32, 0.08);
  color: var(--color-accent);
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-summary {
  font-size: 0.88rem;
  color: var(--color-text-medium);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.news-modal-content {
  max-width: 620px;
}

.news-detail-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.news-detail-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.news-detail-body {
  font-size: 1rem;
  color: var(--color-text-medium);
  line-height: 1.9;
}

.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 {
  color: var(--color-primary);
  margin: 1.4em 0 0.6em;
  font-weight: 700;
}
.news-detail-body h2 { font-size: 1.25rem; border-left: 4px solid var(--color-blue); padding-left: 12px; }
.news-detail-body h3 { font-size: 1.1rem; }
.news-detail-body h4 { font-size: 1rem; }

.news-detail-body p {
  margin-bottom: 1em;
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
}
.news-detail-body li {
  margin-bottom: 0.4em;
}

.news-detail-body blockquote {
  margin: 1em 0;
  padding: 10px 16px;
  border-left: 4px solid var(--color-blue);
  background: rgba(26, 95, 220, 0.04);
  border-radius: 0 6px 6px 0;
  color: #555;
}

.news-detail-body code {
  background: #f0f2f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #e74c3c;
}

.news-detail-body pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1em 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.news-detail-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.news-detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.news-detail-body th,
.news-detail-body td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: left;
  font-size: 0.9rem;
}
.news-detail-body th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--color-primary);
}

.news-detail-body a {
  color: var(--color-blue);
  text-decoration: underline;
}

.news-detail-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 0.8em 0;
}

.news-detail-body hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 1.2em 0;
}

.news-detail-body strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* --- Contact Section --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--color-card-shadow);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 95, 220, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
}

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

.social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--color-card-shadow);
  transition: all var(--transition);
}

.social-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--color-card-shadow-hover);
}

.social-icon {
  font-size: 1.3rem;
}

.social-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.social-item span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--color-card-shadow);
  position: relative;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 220, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.form-success.active {
  display: flex;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--color-success);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-medium);
}

/* --- Map --- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
}

.map-placeholder {
  height: 320px;
  background: linear-gradient(135deg, #e8edf5 0%, #dce3ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-content {
  text-align: center;
  padding: 20px;
}

.map-pin {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.map-placeholder-content h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.map-placeholder-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-logo .logo-cn {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-logo .logo-en {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-slogan {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-light);
  margin: 12px 0 8px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--color-accent-light);
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(26, 95, 220, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #1450c0;
  transform: translateY(-3px);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

/* --- Competition Vertical Timeline (matches OA) --- */
.competition-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
}

.comp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.comp-filter-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
  white-space: nowrap;
}

.comp-filter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comp-filter-select {
  padding: 6px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  font-size: 0.85rem;
  background: #fff;
  color: #606266;
  cursor: pointer;
  outline: none;
  min-width: 110px;
}

.comp-filter-select:focus {
  border-color: #409eff;
}

.comp-filter-input {
  padding: 6px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  font-size: 0.85rem;
  background: #fff;
  color: #606266;
  outline: none;
  width: 150px;
}

.comp-filter-input:focus {
  border-color: #409eff;
}

.comp-filter-reset {
  padding: 6px 14px;
  border: 1px solid #409eff;
  border-radius: 6px;
  font-size: 0.85rem;
  background: #fff;
  color: #409eff;
  cursor: pointer;
  transition: all 0.2s;
}

.comp-filter-reset:hover {
  background: #409eff;
  color: #fff;
}

.comp-filter-count {
  font-size: 0.8rem;
  color: #909399;
  white-space: nowrap;
  margin-left: 4px;
}

/* Vertical Timeline */
.vtl-container {
  padding: 10px 0 0;
}

.vtl-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-bottom: 28px;
}

.vtl-item:last-child {
  padding-bottom: 0;
}

.vtl-date {
  width: 80px;
  min-width: 80px;
  text-align: right;
  padding-right: 14px;
  padding-top: 14px;
}

.vtl-date-range {
  font-size: 14px;
  font-weight: 700;
  color: #303133;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.vtl-date-year {
  font-size: 13px;
  color: #606266;
  font-weight: 500;
}
.vtl-date-md {
  font-size: 15px;
  color: #303133;
  font-weight: 700;
}
.vtl-date-full {
  font-size: 14px;
  font-weight: 700;
  color: #303133;
}

.vtl-node-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  min-width: 20px;
  position: relative;
  align-self: stretch;
}

.vtl-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 18px;
  z-index: 1;
  transition: transform 0.2s;
}

.vtl-item:hover .vtl-node {
  transform: scale(1.3);
}

.vtl-line {
  width: 2px;
  background: #e4e7ed;
  flex-grow: 1;
  margin-top: 8px;
  border-radius: 1px;
}

.vtl-card {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  border: 1px solid #ebeef5;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  margin-left: 16px;
}

.vtl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  border-color: #d0d7e2;
}

.vtl-card-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  gap: 0;
}

.vtl-card-title {
  flex: 0 1 auto;
  max-width: 100%;
  font-size: 17px;
  font-weight: 600;
  color: #303133;
  line-height: 1.4;
  min-width: 0;
}

.vtl-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vtl-title-text {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vtl-card-meta-right {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.vtl-card-organizer {
  font-size: 12px;
  color: #909399;
  white-space: nowrap;
  flex-shrink: 0;
  border-left: 1px solid #dcdfe6;
  padding-left: 10px;
  margin-left: 4px;
  display: flex;
  align-items: center;
}

.vtl-season-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.vtl-tag-source {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.vtl-tag-cat {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.vtl-card-subnames {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.vtl-subname {
  font-size: 11px;
  background: #f5f7fa;
  color: #909399;
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid #ebeef5;
}

.vtl-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.vtl-grade {
  font-size: 11px;
  background: #f5f7fa;
  color: #909399;
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid #ebeef5;
}

.vtl-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  align-items: center;
}

.vtl-phases-label {
  font-size: 11px;
  color: #909399;
  font-weight: 600;
  flex-shrink: 0;
  padding-right: 4px;
}

.vtl-phase-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #606266;
  background: #f5f7fa;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid #ebeef5;
}

.vtl-phase-dot em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.7;
}

.vtl-phase-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0c4cc;
  flex-shrink: 0;
}

.vtl-status-enroll::before {
  background: #e6a23c;
}

.vtl-status-active::before {
  background: #67c23a;
}

.vtl-status-upcoming::before {
  background: #409eff;
}

.vtl-status-ended::before {
  background: #909399;
}

.vtl-desc-info {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ecf5ff;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
}

.vtl-desc-label {
  font-weight: 600;
  color: #409eff;
  flex-shrink: 0;
}

.vtl-desc-text {
  flex: 1;
  min-width: 0;
  color: #606266;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vtl-desc-detail-btn {
  font-size: 12px;
  padding: 2px 8px;
  border: none;
  background: none;
  color: #409eff;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.vtl-desc-detail-btn:hover {
  color: #337ecc;
}

.vtl-guide {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fef9e7;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
}

.vtl-guide-label {
  font-weight: 600;
  color: #e6a23c;
  flex-shrink: 0;
}

.vtl-guide-text {
  flex: 1;
  min-width: 0;
  color: #606266;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vtl-no-season {
  background: #fafafa;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #c0c4cc;
  text-align: center;
}

.vtl-empty {
  text-align: center;
  padding: 60px 20px;
  color: #909399;
}

.vtl-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.competition-empty,
.competition-loading {
  text-align: center;
  padding: 60px 20px;
  color: #909399;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .competition-section {
    padding: 14px;
    margin-top: 24px;
  }
  .comp-filter-bar {
    flex-direction: column;
    gap: 8px;
    padding: 0 0 12px;
  }
  .comp-filter-title {
    font-size: 1rem;
  }
  .comp-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }
  .comp-filter-controls select {
    flex: 1 1 calc(50% - 3px);
    max-width: calc(50% - 3px);
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .comp-filter-input {
    flex: 1 1 100%;
    width: 100%;
    font-size: 0.82rem;
    padding: 6px 10px;
  }
  .comp-filter-reset {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  .comp-filter-count {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .vtl-date {
    width: 42px;
    min-width: 42px;
    padding-right: 4px;
  }
  .vtl-date-year {
    font-size: 10px;
  }
  .vtl-date-md {
    font-size: 12px;
  }
  .vtl-date-full {
    font-size: 11px;
  }
  .vtl-date-range {
    font-size: 10px;
  }
  .vtl-card {
    margin-left: 4px;
    padding: 8px 10px;
  }
  .vtl-card-header {
    flex-wrap: wrap;
    gap: 4px;
  }
  .vtl-card-title {
    font-size: 13px;
  }
  .vtl-card-meta-right {
    font-size: 0.7rem;
  }
  .vtl-card-organizer {
    font-size: 0.7rem;
  }
  .vtl-desc-info {
    font-size: 0.75rem;
    gap: 6px;
  }
  .vtl-desc-label {
    min-width: 36px;
  }
  .vtl-guide {
    padding: 8px 10px;
    gap: 4px;
  }
  .vtl-guide-label {
    font-size: 0.72rem;
    min-width: 36px;
  }
  .vtl-guide-text {
    font-size: 0.72rem;
  }
  .vtl-card-tags {
    gap: 4px;
  }
  .vtl-grade {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .vtl-tag-source,
  .vtl-tag-cat {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .competition-loading,
  .competition-empty {
    padding: 40px 20px;
    font-size: 0.85rem;
  }
}

/* --- Competition Detail Modal (matches OA) --- */
.comp-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.comp-detail-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.comp-detail-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.comp-detail-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid #ebeef5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  border-radius: 16px 16px 0 0;
}

.comp-detail-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f7fa;
  font-size: 20px;
  color: #909399;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.comp-detail-close:hover {
  background: #e0e2e6;
  color: #303133;
}

.comp-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #303133;
  margin: 0;
  padding-right: 40px;
  line-height: 1.4;
}

.comp-detail-body {
  padding: 0;
}

/* Meta descriptions table - 2 column OA style */
.comp-meta-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ebeef5;
  table-layout: fixed;
}

.comp-meta-table td {
  padding: 6px 10px;
  border: 1px solid #ebeef5;
  font-size: 13px;
  vertical-align: middle;
}

.comp-meta-label {
  background: #fafafa;
  color: #909399;
  font-weight: 600;
  width: 88px;
  white-space: nowrap;
}

.comp-meta-value {
  color: #606266;
}

.comp-meta-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comp-meta-detail-btn {
  flex-shrink: 0;
  border: none;
  background: none;
  color: #409eff;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.comp-meta-detail-btn:hover {
  color: #337ecc;
}

/* 赛事方向标签 */
.comp-direction-section {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: -2px 28px 12px;
}

.comp-direction-label {
  font-size: 12px;
  color: #606266;
  white-space: nowrap;
}

.comp-direction-tag {
  font-size: 11px;
  background: #f0f2f5;
  color: #909399;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #e4e7ed;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.comp-direction-tag:hover {
  color: #409eff;
  border-color: #409eff;
}

.comp-direction-tag.active {
  background: #67c23a;
  color: #fff;
  border-color: #67c23a;
}

/* Season tabs - pill buttons */
.comp-season-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
  padding: 0 28px 8px;
  border-bottom: 1px solid #ebeef5;
}

.comp-season-tab {
  padding: 6px 16px;
  border-radius: 16px;
  border: 1px solid #d0d7e2;
  background: white;
  cursor: pointer;
  font-size: 13px;
  color: #606266;
  transition: all 0.2s;
}

.comp-season-tab:hover {
  border-color: #409eff;
  color: #409eff;
}

.comp-season-tab.active {
  background: #409eff;
  color: white;
  border-color: #409eff;
}

.comp-season-content {
  padding: 0 28px 24px;
}

.comp-season-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comp-season-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #303133;
}

.comp-season-files {
  margin-top: 16px;
}

.comp-season-files h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #303133;
}

/* Phase cards */
.comp-phase-card {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #ebeef5;
  margin-bottom: 12px;
}

.comp-phase-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comp-phase-name {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
}

.comp-phase-status {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.comp-phase-status-success { background: #f0f9eb; color: #67c23a; }
.comp-phase-status-info { background: #f4f4f5; color: #909399; }
.comp-phase-status-warning { background: #fdf6ec; color: #e6a23c; }
.comp-phase-status-primary { background: #ecf5ff; color: #409eff; }

.comp-phase-field {
  font-size: 13px;
  color: #606266;
  margin-bottom: 2px;
  line-height: 1.6;
}

.comp-phase-grades {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 6px 0;
}

.comp-phase-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 10px;
}

.comp-phase-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #fff;
  color: #409eff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.comp-phase-btn:hover {
  background: #ecf5ff;
}

/* Attachment items - dashed border */
.comp-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #ebeef5;
  font-size: 13px;
  color: #606266;
}

.comp-file-item:last-child {
  border-bottom: none;
}

.comp-file-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comp-file-dl {
  flex-shrink: 0;
  color: #409eff;
  font-size: 12px;
  text-decoration: none;
}

.comp-file-dl:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .comp-detail-content {
    width: 95%;
    max-height: 90vh;
  }
  .comp-detail-header {
    padding: 18px 18px 14px;
  }
  .comp-meta-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .comp-meta-label {
    width: 60px;
  }
  .comp-season-content {
    padding: 12px 18px 20px;
  }
  .comp-season-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* --- Text Detail Modal (赛项简介/比赛须知/备赛指南) --- */

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

@keyframes tdSlideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.text-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  animation: tdFadeIn 0.25s ease;
}

.text-detail-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.text-detail-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 560px;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
  animation: tdSlideUp 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.text-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.text-detail-title {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0.3px;
}

.text-detail-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f7;
  font-size: 18px;
  color: #86868b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
}

.text-detail-close:hover {
  background: #e8e8ed;
  color: #1d1d1f;
}

.text-detail-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: #fff;
}

/* --- Markdown 渲染内容样式（100% 对齐 OA wechat-markdown-content） --- */
.wechat-markdown-content { line-height: 1.85; color: #3a3a3a; letter-spacing: 0.02em; }
.wechat-markdown-content * { max-width: 100%; }
.wechat-markdown-content h2 {
  font-size: 18px; font-weight: 700; color: #222; text-align: center;
  margin: 1.2em 0 0.8em; padding-bottom: 0.5em;
  position: relative;
}
.wechat-markdown-content h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #409eff, #67c23a);
}
.wechat-markdown-content h3 {
  font-size: 16px; font-weight: 600; color: #333;
  margin: 1em 0 0.6em; padding-left: 10px;
  border-left: 3px solid #409eff;
}
.wechat-markdown-content h4 {
  font-size: 14px; font-weight: 600; color: #555;
  margin: 0.8em 0 0.4em;
}
.wechat-markdown-content p { margin: 0.6em 0; text-indent: 0; }
.wechat-markdown-content strong { color: #ff6b2b; }
.wechat-markdown-content em { color: #888; font-style: italic; }
.wechat-markdown-content a {
  color: #409eff; text-decoration: underline; text-underline-offset: 2px;
}
.wechat-markdown-content a:hover { opacity: 0.7; }
.wechat-markdown-content blockquote {
  margin: 1em 0; padding: 12px 16px;
  background: #f0f7ff; border-left: 4px solid #409eff;
  border-radius: 0 8px 8px 0; color: #4a6fa5;
}
.wechat-markdown-content blockquote p { margin: 0.3em 0; }
.wechat-markdown-content blockquote:nth-child(even) {
  background: #fff8e6; border-left-color: #e6a23c; color: #8a6d3b;
}
.wechat-markdown-content hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, #dcdfe6, transparent);
  margin: 1.2em 0;
}
.wechat-markdown-content ul, .wechat-markdown-content ol {
  padding-left: 1.2em; margin: 0.6em 0;
}
.wechat-markdown-content li { margin: 0.35em 0; }
.wechat-markdown-content li::marker { color: #409eff; }
.wechat-markdown-content code {
  background: #f5f7fa; color: #e6a23c;
  padding: 2px 6px; border-radius: 3px; font-size: 0.9em;
}
.wechat-markdown-content pre {
  background: #2d2d2d; color: #f8f8f2; padding: 12px 16px;
  border-radius: 8px; overflow-x: auto; font-size: 13px; line-height: 1.6;
}
.wechat-markdown-content pre code {
  background: none; color: inherit; padding: 0; border-radius: 0;
}
.wechat-markdown-content table {
  width: 100%; border-collapse: collapse; margin: 0.8em 0;
  font-size: 13px; border-radius: 8px; overflow: hidden;
}
.wechat-markdown-content th {
  background: #409eff; color: #fff; padding: 8px 12px; font-weight: 600;
}
.wechat-markdown-content td {
  padding: 8px 12px; border-bottom: 1px solid #ebeef5;
}
.wechat-markdown-content tr:nth-child(even) td { background: #f8f9fb; }
.wechat-markdown-content img { max-width: 100%; border-radius: 6px; }

/* ============================================================
   营地详情页 - 公众号文章风格
   ============================================================ */
.d-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.d-back {
  padding: 20px 0 12px;
}

.d-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: #576b95;
  text-decoration: none;
  transition: color 0.2s;
}

.d-back-link:hover {
  color: #1a5fdc;
}

/* 文章卡片 —— 模拟公众号推文容器 */
.d-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* 文章头部 */
.d-header {
  padding: 36px 40px 20px;
}

.d-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.d-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: #999;
}

.d-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.d-badge {
  display: inline-block;
  padding: 2px 12px;
  background: rgba(26,95,220,0.08);
  color: #1a5fdc;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* 头图 */
.d-hero {
  margin: 0 0 24px;
}

.d-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.d-hero-cap {
  padding: 10px 40px;
  font-size: 0.82rem;
  color: #999;
  text-align: center;
}

/* 文章正文 */
.d-body {
  padding: 0 40px 16px;
  font-size: 1rem;
  color: #333;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.d-body p {
  margin-bottom: 1.2em;
  text-indent: 0;
}

.d-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 1.6em 0 0.8em;
  padding-left: 12px;
  border-left: 4px solid #1a5fdc;
}

/* 信息栏 */
.d-info {
  padding: 20px 40px;
  background: #f8f9fb;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-info-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  align-items: baseline;
}

.d-info-label {
  font-weight: 700;
  color: #1a5fdc;
  white-space: nowrap;
  flex-shrink: 0;
}

.d-info-value {
  color: #555;
  line-height: 1.6;
}

/* === 公众号文章风格：每日行程图文混排 === */
.d-article {
  padding: 16px 40px 32px;
}

.d-day-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px dashed #e8e8e8;
}

.d-day-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.d-day-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.d-day-text {
  font-size: 0.98rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 18px;
}

.d-day-text p {
  margin-bottom: 0.6em;
}

/* 每日配图 —— 公众号文章风格的图片排版 */
.d-day-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}

.d-photo-figure {
  margin: 0;
  text-align: center;
}

.d-photo-figure img {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.d-photo-figure figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #999;
  text-align: center;
  line-height: 1.5;
}

/* 操作栏 */
.d-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 36px;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
}

.d-btn-group {
  display: flex;
  gap: 8px;
}

.d-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.d-btn-outline {
  background: #fff;
  color: #1a5fdc;
  border: 1.5px solid #1a5fdc;
}

.d-btn-outline:hover {
  background: rgba(26,95,220,0.06);
}

.d-btn-disabled {
  background: #f5f5f5;
  color: #bbb;
  border: 1.5px solid #e8e8e8;
  cursor: not-allowed;
  pointer-events: none;
}

.d-pagination {
  display: flex;
  gap: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .d-container {
    padding: 0 0 32px;
  }
  .d-header {
    padding: 20px 16px 14px 16px;
  }

  .d-title {
    font-size: 1.35rem;
  }

  .d-body {
    padding: 0 16px 10px;
    font-size: 0.95rem;
  }

  .d-info {
    padding: 14px 16px;
  }

  .d-article {
    padding: 10px 16px 20px;
  }

  .d-hero-cap {
    padding: 8px 16px;
  }

  .d-action {
    padding: 14px 16px 20px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 10px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
  }
  .nav.active {
    /* JS 控制 */
  }
  .nav-list {
    /* JS 控制 */
  }
  .nav-list a {
    /* JS 控制 */
  }
  .nav-dropdown {
    /* JS 控制 */
  }
  .nav-dropdown-toggle {
    /* JS 控制 */
  }
  .nav-submenu {
    /* JS 控制 */
  }
  .nav-dropdown:hover .nav-submenu {
    /* JS 控制 */
  }
  .nav-submenu a {
    /* JS 控制 */
  }
  .nav-arrow {
    display: none;
  }

  .competition-placeholder {
    min-height: 280px;
  }

  .competition-content {
    padding: 32px 24px;
  }

  .competition-hammer {
    font-size: 3rem;
  }

  .competition-title {
    font-size: 1.1rem;
  }

  .btn-login span {
    display: none;
  }

  .btn-login {
    padding: 8px 12px;
  }

  .hero {
    min-height: calc(100vh - 40px);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 16px;
  }

  .hero-slider {
    min-height: 220px;
  }

  .hero .btn-primary {
    padding: 12px 30px;
    font-size: 0.95rem;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

  .value-card {
    padding: 24px 16px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

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

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

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card-image {
    height: 160px;
  }
  .news-detail-body {
    font-size: 0.92rem;
  }
  .news-detail-body h2 { font-size: 1.1rem; }
  .news-detail-body h3 { font-size: 1rem; }
  .news-detail-body pre { font-size: 0.78rem; padding: 12px; }
  .news-detail-body table { font-size: 0.8rem; }
  .news-detail-body th,
  .news-detail-body td { padding: 6px 8px; }

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

  .case-compare {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .course-filters,
  .news-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-template-columns: 1fr 1fr;
  }

  .modal-body {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-links {
    display: none;
  }
  .footer-icp {
    display: none;
  }

  .footer {
    padding: 24px 0 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 24px;
    padding: 16px 0;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .value-card {
    padding: 20px 12px;
  }

  .value-icon {
    font-size: 2rem;
  }

  .value-card h4 {
    font-size: 0.95rem;
  }

  .value-card p {
    font-size: 0.8rem;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .form-success {
    padding: 24px 16px;
  }
  .form-success h3 {
    font-size: 1.1rem;
  }
  .success-icon {
    font-size: 2rem;
  }
}
