/* 基础样式 */
:root {
  --primary: 35 80% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 4.8% 95.9%;
  --secondary-foreground: 240 5.9% 10%;
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 10% 3.9%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 35 80% 95%;
  --accent-foreground: 35 80% 35%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --ring: 35 80% 45%;
  --radius: 0.25rem;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --orange-600: #ea580c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#main {
  font-size: 0.5rem;
}

/* 容器 */
#main .container {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 0.4rem;
}

/* 文本样式 */
#main .text-gradient {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.2rem;
}

/* 按钮 */
#main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.3rem 0.35rem;
  border-radius: 0.3rem;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  /* cursor: pointer; */
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#main .btn-primary {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  color: white;
  box-shadow: 0 0.1rem 0.375rem rgba(245, 158, 11, 0.25);
  padding: 0.45rem 0.75rem;
}


#main .btn-hero {
  composes: btn btn-primary;
  padding: 0.275rem 0.4rem;
  font-size: 0.45rem;
  border-radius: 0.35rem;
}

#main .btn-outline {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: #374151;
  padding: 0.4rem 0.8rem;
  font-size: 0.45rem;
}


#main .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(0.1rem);
}


#main .btn-block {
  width: 100%;
}

/* 图标 */
#main .icon-sm {
  width: 0.55rem;
  height: 0.55rem;
}

#main .icon-md {
  width: 0.6rem;
  height: 0.6rem;
}

#main .icon-lg {
  width: 0.8rem;
  height: 0.8rem;
}

/* 导航栏 */
#main .navbar {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
  background: #0000002e;
  display: none;
}

#main .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.3rem);
  box-shadow: 0 0.1rem 0.15rem -1px rgba(0, 0, 0, 0.1);
  padding: 0.3rem 0;
}

#main .nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

#main .logo-icon {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(0.1rem);
}

#main .navbar.scrolled .logo-icon {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

#main .logo-svg {
  width: 0.5rem;
  height: 0.5rem;
  color: white;
}

#main .logo-text {
  font-size: 0.45rem;
  font-weight: 700;
  color: white;
}

#main .navbar.scrolled .logo-text {
  color: #111827;
}

#main .desktop-nav {
  width: 90%;
  display: grid;
  align-items: center;
  gap: 0.1rem;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
}

#main .nav-link {
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}


#main .navbar.scrolled .nav-link {
  color: #6b7280;
}


#main .cta-button-desktop {
  display: none;
}

#main .mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

#main .menu-icon {
  width: 0.6rem;
  height: 0.6rem;
  color: white;
}

#main .navbar.scrolled .menu-icon {
  color: #111827;
}

/* 移动端菜单 */
#main .mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: white;
  display: none;
}

#main .mobile-menu.active {
  display: block;
}

#main .mobile-menu-content {
  padding: 2rem 0.6rem 0.8rem;
}

#main .mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
}

#main .mobile-nav-link {
  width: 100%;
  padding: 0.3rem 0.4rem;
  text-align: left;
  font-size: 0.45rem;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}



/* Hero 区域 */
#main .hero {
  position: relative;
  height: 15.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#main .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-dubai.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#main .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

#main .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.4rem 0 0;
  max-width: 32rem;
  margin: 0 auto;
}

#main .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  font-size: 0.35rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  animation: fade-in 0.8s ease-out forwards;
}

#main .hero-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

#main .hero-description {
  font-size: 0.5rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  max-width: 16.8rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

#main .hero-buttons {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.425rem;
}

#main .btn-icon {
  width: 0.5rem;
  height: 0.5rem;
  /* margin-right: 0.2rem; */
}

#main .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  max-width: 19.2rem;
  margin: 0 auto;
}

#main .stat-item {
  text-align: center;
}

#main .stat-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.1rem;
}

#main .stat-label {
  font-size: 0.5rem;
  color: #d1d5db;
}

#main .scroll-indicator {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

#main .scroll-icon {
  width: 0.8rem;
  height: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 区块样式 */
#main .section {
  padding: 1rem 0;
}

#main .section-light {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(254, 243, 199, 0.3) 100%
  );
}

#main .section-header {
  text-align: center;
  margin-bottom: 0.9rem;
}

#main .section-label {
  color: var(--amber-600);
  font-weight: 600;
  font-size: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#main .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-top: 0.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

#main .section-description {
  font-size: 0.5rem;
  color: #6b7280;
  margin: 0 auto;
  line-height: 1.75;
}

/* 优势卡片 */
#main .advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  position: relative;
  padding-bottom: 1.2rem;
}

/* Swiper分页器样式 */
#main .advantages-grid .swiper-pagination {
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

#main .advantages-grid .swiper-pagination-bullet {
  width: 0.2rem;
  height: 0.2rem;
  display: inline-block;
  border-radius: 9999px;
  background: #d1d5db;
  opacity: 0.5;
  margin: 0 0.1rem;
  transition: all 0.3s ease;
}

#main .advantages-grid .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--orange-500);
  width: 0.4rem;
}

#main .advantage-card {
  position: relative;
  background: white;
  border-radius: 0.6rem;
  padding: 0.4rem;
  box-shadow: 0 0.1rem 0.1rem -2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

#main .advantage-top{
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

#main .advantage-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-right: .4rem;
}

#main .icon-lg {
  width: 0.7rem;
  height: 0.7rem;
  color: white;
}

#main .card-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
}

#main .card-description {
  color: #6b7280;
  line-height: 1.75;
}

#main .card-effect {
  position: absolute;
  inset: 0;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}



/* 大学卡片 */
#main .universities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

#main .university-card {
  background: white;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 0.1rem 0.15rem -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

#main .university-header {
  height: 0.2rem;
}

#main .header-blue {
  background: linear-gradient(90deg, #2563eb, #1e40af);
}

#main .header-red {
  background: linear-gradient(90deg, #dc2626, #991b1b);
}

#main .header-emerald {
  background: linear-gradient(90deg, #059669, #065f46);
}

#main .header-amber {
  background: linear-gradient(90deg, #d97706, #92400e);
}

#main .header-purple {
  background: linear-gradient(90deg, #9333ea, #6b21a8);
}

#main .header-teal {
  background: linear-gradient(90deg, #0d9488, #115e59);
}

#main .university-content {
  padding: 0.4rem 0.225rem;
}

#main .university-badge {
  display: inline-flex;
  align-items: center;
  /* gap: 0.1rem; */
  padding: 0 0.2rem;
  border-radius: 9999px;
  font-size: 0.45rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.2rem;
  height: .8rem;
  line-height: .8rem;
}

#main .university-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.1rem;
}

#main .university-english {
  font-size: 0.45rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

#main .university-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

#main .info-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.45rem;
  color: #6b7280;
}

#main .money-icon {
  margin-right: 0.1rem;
}

#main .university-features {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
  margin-top: 0.125rem;
}

#main .feature-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.45rem;
  color: #6b7280;
}

#main .dot {
  width: 0.15rem;
  height: 0.15rem;
  border-radius: 9999px;
  background-color: #fbbf24;
}

/* 专业卡片 */
#main .majors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  align-content: center;
  position: relative;
  padding-bottom: 1.2rem;
}

/* Swiper分页器样式 */
#main .majors-grid .swiper-pagination {
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

#main .majors-grid .swiper-pagination-bullet {
  width: 0.2rem;
  height: 0.2rem;
  display: inline-block;
  border-radius: 9999px;
  background: #d1d5db;
  opacity: 0.5;
  margin: 0 0.1rem;
  transition: all 0.3s ease;
}

#main .majors-grid .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--orange-500);
  width: 0.4rem;
}

#main .major-card {
  background: #f9fafb;
  border-radius: 0.6rem;
  padding: 0.375rem 0.15rem;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}
#main .major-top {
    align-items: center;
  margin-bottom: 0.5rem;
}


#main .major-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.35rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .3rem;
}

#main .major-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  color: white;
}



#main .icon-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

#main .icon-rose {
  background: linear-gradient(135deg, #f43f5e, #be123c);
}

#main .icon-amber {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

#main .icon-purple {
  background: linear-gradient(135deg, #a855f7, #6b21a8);
}

#main .icon-sky {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

#main .icon-emerald {
  background: linear-gradient(135deg, #10b981, #047857);
}

#main .major-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
}

#main .major-english {
  font-size: 0.35rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

#main .major-description {
  color: #6b7280;
  font-size: 0.35rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

#main .major-careers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}
#main .career-name {
  font-size: 0.4rem;
  color: #6b7280;
  font-size: 0.5rem;
  line-height: 1.75;
  margin-bottom: 0.25rem;
  font-weight: bold;
}
#main .career-tag {
  padding: 0.2rem 0.2rem;
  background: white;
  border-radius: .2rem;
  font-size: 0.45rem;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  line-height: .45rem;
}

#main .major-schools {
  margin-top: 0.4rem;
}

#main .schools-label {
  font-size: 0.3rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#main .schools-list {
  font-size: 0.35rem;
  color: #374151;
  margin-left: 0.2rem;
}

/* 签证区域 */
#main .visa-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

#main .visa-info-card {
  background: white;
  border-radius: 0.35rem;
  padding: 0.5rem;
  box-shadow: 0 0.1rem 0.15rem -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  text-align: center;
}

#main .visa-info-value {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 0.1rem;
}

#main .visa-info-label {
  font-size: 0.35rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.1rem;
}

#main .visa-info-note {
  font-size: 0.3rem;
  color: #6b7280;
}

#main .visa-content {
  display: grid;
  gap: 0rem;
  grid-template-columns: repeat(1, 1fr);
}
#main .visa-content > div {
}

/* 签证标签页切换 */
#main .visa-tabs {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid #e5e7eb;
}

#main .tab-btn {
  flex: 1;
  padding: 0.3rem 0.2rem;
  border: none;
  background: transparent;
  font-size: 0.55rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

#main .tab-btn.active {
  color: var(--orange-600);
  border-bottom-color: var(--orange-500);
  font-weight: 600;
}

#main .tab-content {
  display: none;
}

#main .tab-content.active {
  display: block;
}

#main .visa-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.8rem;
}

#main .step-item {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

#main .step-number {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

#main .step-content {
  flex: 1;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f3f4f6;
}

#main .step-item:last-child .step-content {
  padding-bottom: 0;
  border-bottom: none;
}

#main .step-header {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}

#main .step-title {
  font-size: .55rem;
  font-weight: 700;
  color: #111827;
}

#main .step-description {
  color: #6b7280;
  font-size: 0.45rem;
  line-height: 1.75;
}

#main .requirements-card {
  background: white;
  border-radius: 0.6rem;
  padding: 0.6rem .4rem;
  box-shadow: 0 0.1rem 0.15rem -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

#main .requirements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#main .requirement-item {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 0.4rem;
}

#main .requirement-item:last-child {
  margin-bottom: 0;
}

#main .text-green {
  color: #10b981;
}

#main .requirement-text {
  color: #374151;
  line-height: 1.75;
}

#main .visa-tip {
  margin-top: 0.6rem;
  padding: 0.4rem;
  background: #fef3c7;
  border-radius: 0.35rem;
  border: 1px solid #fbbf24;
  display: flex;
  gap: 0.3rem;
  align-items: flex-start;
}

#main .text-amber {
  color: #d97706;
}

#main .tip-title {
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.1rem;
}

#main .tip-text {
  font-size: 0.45rem;
  color: #b45309;
}

/* 生活指南 */
#main .life-banner {
  position: relative;
  border-radius: 0.6rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
  height: 8rem;
}

#main .life-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main .life-banner-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0.8rem;
}

#main .life-banner-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
}

#main .life-banner-text {
  color: #e5e7eb;
  max-width: 9.6rem;
}

#main .life-aspects {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

#main .aspect-card {
  background: #f9fafb;
  border-radius: 0.2rem;
  padding: 0.4rem 0.3rem;
}

#main .aspect-header {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

#main .aspect-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#main .aspect-icon svg {
  width: 0.5rem;
  height: 0.5rem;
  color: white;
}

#main .aspect-title {
  font-size: 0.55rem;
  font-weight: 700;
  color: #111827;
}

#main .aspect-items {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

#main .aspect-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.4rem;
}

#main .aspect-label {
  color: #374151;
}

#main .aspect-desc {
  font-size: 0.35rem;
  color: #6b7280;
  text-align: right;
  max-width: 60%;
}

#main .emergency-contacts {
  background: linear-gradient(90deg, #ef4444, #e11d48);
  border-radius: 0.6rem;
  padding: 0.6rem;
  color: white;
}

#main .contacts-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

#main .contacts-title {
  font-size: 0.45rem;
  font-weight: 700;
}

#main .contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

#main .contact-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.2rem;
  padding: 0.3rem;
  text-align: center;
  backdrop-filter: blur(0.1rem);
}

#main .contact-number {
  font-size: 0.6rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

#main .contact-name {
  font-size: 0.35rem;
  color: #fecaca;
}

/* 动画 */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-0.25rem);
  }
  60% {
    transform: translateX(-50%) translateY(-0.125rem);
  }
}

#main #apply .ztform {
  display: grid;
  background: #f9fafb;
  border-radius: 0.3rem;
  padding: 0.6rem .6rem 2rem;
  flex-wrap: wrap;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
  position: relative;
}
#main #apply .ztform .item {
  /* width: 49%; */
  /* margin-right: 0.375rem; */
  flex-shrink: 0;
  height: 1.425rem;
  position: relative;
}
#main #apply .ztform input,
#main #apply .ztform select {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  padding-left: 1.2rem;
}
#main #apply .ztform .input-icon {
  position: absolute;
  left: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.65rem;
  height: 0.65rem;
  pointer-events: none;
  z-index: 1;
}
#main #apply .ztform .submit {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  color: white;
  box-shadow: 0 0.1rem 0.375rem rgba(245, 158, 11, 0.25);
  font-weight: bold;
  width: 3.5rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  line-height: 1.125rem;
  text-align: center;
  /* cursor: pointer; */
  margin: 0 auto;
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
}

/* 预约顾问弹窗 */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.consult-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.2rem);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 0.6rem;
  width: 90%;
  max-width: 16rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.2);
  animation: modal-slide-in 0.3s ease-out;
  z-index: 1001;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem 0.4rem;
  border-bottom: 1px solid #f3f4f6;
}

.modal-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #111827;
}

.modal-close {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0.1rem;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 0.8rem;
}

.modal-description {
  font-size: 0.5rem;
  color: #6b7280;
  /* margin-bottom: 0.8rem; */
  text-align: center;
  line-height: 1.75;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.4rem;
  background: #f9fafb;
  border-radius: 0.3rem;
  padding: 0.6rem 0.4rem 2rem;
  position: relative;
  /* margin-bottom: 0.4rem; */
}

.consult-form .item {
  height: 1.425rem;
  position: relative;
}

.consult-form input,
.consult-form select {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  padding-left: 1.2rem;
  font-size: 0.5rem;
}

.consult-form .input-icon {
  position: absolute;
  left: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.65rem;
  height: 0.65rem;
  pointer-events: none;
  z-index: 1;
}

.consult-form .submit {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  color: white;
  box-shadow: 0 0.1rem 0.375rem rgba(245, 158, 11, 0.25);
  font-weight: bold;
  width: 4.5rem;
  height: 1.425rem;
  border-radius:1.425rem;
  line-height: 1.425rem;
  text-align: center;
  margin: 0 auto;
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .55rem;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 点击预约按钮时的点击效果 */
.YueYuPop {
  position: relative;
  overflow: hidden;
}

.YueYuPop::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.YueYuPop:active::after {
  width: 3rem;
  height: 3rem;
}
