/* 基础样式 */
: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: 10px;
  --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));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  min-width: 1200px;
}
#main {
  font-size: 16px;
}

/* 容器 */
#main .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 文本样式 */
#main .text-gradient {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 48px;
}

/* 按钮 */
#main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  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 4px 15px rgba(245, 158, 11, 0.25);
  padding: 18px 30px;
}

#main .btn-primary:hover {
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  transform: scale(1.05);
}

#main .btn-hero {
  composes: btn btn-primary;
  padding: 11px 16px;
  font-size: 18px;
  border-radius: 14px;
}

#main .btn-outline {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: #374151;
  padding: 16px 32px;
  font-size: 16px;
}

#main .btn-outline:hover {
  background-color: #fef3c7;
  border-color: #fbbf24;
  color: #b45309;
}

#main .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(4px);
}

#main .btn-outline-white:hover {
  background-color: #ffffff;
  color: black;
}

#main .btn-block {
  width: 100%;
}

/* 图标 */
#main .icon-sm {
  width: 16px;
  height: 16px;
}

#main .icon-md {
  width: 24px;
  height: 24px;
}

#main .icon-lg {
  width: 32px;
  height: 32px;
}

/* 导航栏 */
#main .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 12px 0;
  background: #0000002e;
  display: none;
}

#main .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

#main .nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

#main .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

#main .navbar.scrolled .logo-icon {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

#main .logo-svg {
  width: 20px;
  height: 20px;
  color: white;
}

#main .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

#main .navbar.scrolled .logo-text {
  color: #111827;
}

#main .desktop-nav {
  width: 80%;
  display: grid;
  align-items: center;
  gap: 4px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
}

#main .nav-link {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#main .nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

#main .navbar.scrolled .nav-link {
  color: #6b7280;
}

#main .navbar.scrolled .nav-link:hover {
  color: var(--amber-600);
  background: #fef3c7;
}

#main .cta-button-desktop {
  display: none;
}

#main .mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

#main .menu-icon {
  width: 24px;
  height: 24px;
  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: 80px 24px 32px;
}

#main .mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

#main .mobile-nav-link {
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#main .mobile-nav-link:hover {
  color: var(--amber-600);
  background: #fef3c7;
}

/* Hero 区域 */
#main .hero {
  position: relative;
  height: 622px;
  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: 56px 0 0;
  max-width: 1280px;
  margin: 0 auto;
}

#main .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fade-in 0.8s ease-out forwards;
}

#main .hero-title {
  font-size: 65px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
}

#main .hero-description {
  font-size: 20px;
  color: #e5e7eb;
  margin-bottom: 20px;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

#main .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 17px;
}

#main .btn-icon {
  width: 20px;
  height: 20px;
  /* margin-right: 8px; */
}

#main .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 768px;
  margin: 0 auto;
}

#main .stat-item {
  text-align: center;
}

#main .stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
}

#main .stat-label {
  font-size: 14px;
  color: #d1d5db;
}

#main .scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

#main .scroll-icon {
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.6);
}

/* 区块样式 */
#main .section {
  padding: 40px 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: 64px;
}

#main .section-label {
  color: var(--amber-600);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#main .section-title {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.2;
}

#main .section-description {
  font-size: 18px;
  color: #6b7280;
  margin: 0 auto;
  line-height: 1.75;
}

/* 优势卡片 */
#main .advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#main .advantage-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

#main .advantage-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

#main .advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

#main .advantage-card:hover .advantage-icon {
  transform: scale(1.1);
}

#main .icon-lg {
  width: 28px;
  height: 28px;
  color: white;
}

#main .card-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

#main .card-description {
  color: #6b7280;
  line-height: 1.75;
}

#main .card-effect {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

#main .advantage-card:hover .card-effect {
  opacity: 0.05;
}

/* 大学卡片 */
#main .universities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#main .university-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

#main .university-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

#main .university-header {
  height: 8px;
}

#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: 24px 17px;
}

#main .university-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}

#main .university-name {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

#main .university-english {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

#main .university-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

#main .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

#main .money-icon {
  margin-right: 4px;
}

#main .university-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: 5px;
}

#main .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

#main .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #fbbf24;
}

/* 专业卡片 */
#main .majors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

#main .major-card {
  background: #f9fafb;
  border-radius: 24px;
  padding: 15px;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

#main .major-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

#main .major-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main .major-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

#main .major-card:hover .major-icon {
  transform: scale(1.1);
}

#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: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

#main .major-english {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

#main .major-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
}

#main .major-careers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#main .career-name {
  font-size: 16px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 10px;
  font-weight: bold;
}
#main .career-tag {
  padding: 4px 6px;
  background: white;
  border-radius: 9999px;
  font-size: 12px;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

#main .major-schools {
  margin-top: 16px;
}

#main .schools-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#main .schools-list {
  font-size: 14px;
  color: #374151;
  margin-left: 8px;
}

/* 签证区域 */
#main .visa-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

#main .visa-info-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  text-align: center;
}

#main .visa-info-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 4px;
}

#main .visa-info-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

#main .visa-info-note {
  font-size: 12px;
  color: #6b7280;
}

#main .visa-content {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, 1fr);
}
#main .visa-content > div {
}
#main .visa-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
}

#main .step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

#main .step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  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: 24px;
  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: 8px;
  margin-bottom: 8px;
}

#main .step-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

#main .step-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.75;
}

#main .requirements-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 6px -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: 12px;
  margin-bottom: 16px;
}

#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: 24px;
  padding: 16px;
  background: #fef3c7;
  border-radius: 14px;
  border: 1px solid #fbbf24;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

#main .text-amber {
  color: #d97706;
}

#main .tip-title {
  font-weight: 600;
  color: #92400e;
  margin-bottom: 4px;
}

#main .tip-text {
  font-size: 14px;
  color: #b45309;
}

/* 生活指南 */
#main .life-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 64px;
  height: 320px;
}

#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: 32px;
}

#main .life-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

#main .life-banner-text {
  color: #e5e7eb;
  max-width: 384px;
}

#main .life-aspects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

#main .aspect-card {
  background: #f9fafb;
  border-radius: 24px;
  padding: 24px;
}

#main .aspect-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

#main .aspect-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  display: flex;
  align-items: center;
  justify-content: center;
}

#main .aspect-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

#main .aspect-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

#main .aspect-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#main .aspect-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

#main .aspect-label {
  color: #374151;
}

#main .aspect-desc {
  font-size: 14px;
  color: #6b7280;
  text-align: right;
  max-width: 60%;
}

#main .emergency-contacts {
  background: linear-gradient(90deg, #ef4444, #e11d48);
  border-radius: 24px;
  padding: 24px;
  color: white;
}

#main .contacts-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#main .contacts-title {
  font-size: 18px;
  font-weight: 700;
}

#main .contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

#main .contact-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  backdrop-filter: blur(4px);
}

#main .contact-number {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

#main .contact-name {
  font-size: 14px;
  color: #fecaca;
}

/* 动画 */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

#main #apply .ztform {
  display: flex;
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
}
#main #apply .ztform .item {
  width: 250px;
  margin-right: 15px;
  flex-shrink: 0;
  height: 45px;
  position: relative;
}
#main #apply .ztform input,
#main #apply .ztform select {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding-left: 40px;
}
#main #apply .ztform .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  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 4px 15px rgba(245, 158, 11, 0.25);
  font-weight: bold;
  width: 140px;
  height: 45px;
  border-radius: 45px;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
}
