﻿:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #ff6b35;
  --accent-light: #fff0eb;
  --text: #333;
  --text-muted: #888;
  --bg-light: #f8f9fc;
  --header-height: 70px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Microsoft Yahei', 'PingFang SC', 'Helvetica Neue', simsun, arial, sans-serif;
  color: var(--text);
}

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

ul, ol {
  list-style: none;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.fl { float: left; }
.fr { float: right; }

/* Header */
.header {
  background: rgba(30, 27, 75, 0.92);
  padding: 0 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  transition: all 0.3s;
  z-index: 99;
  min-width: 1200px;
}

.header-scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.12);
}

.header .logo {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  height: var(--header-height);
  gap: 2px;
}

.header-scrolled .logo {
  color: var(--primary);
}

.header .logo img {
  width: 46px;
  height: 46px;
}

.header ul {
  margin-left: 150px;
  line-height: var(--header-height);
}

.header ul li {
  float: left;
}

.header ul li a {
  color: #fff;
  display: block;
  padding: 0 24px;
  position: relative;
  transition: color 0.3s;
}

.header-scrolled ul li a {
  color: var(--text);
}

.header ul li a.hovera {
  color: var(--accent) !important;
}

.header ul li a.hovera::after {
  width: 100%;
  height: 3px;
  content: '';
  background: linear-gradient(90deg, var(--accent), var(--primary));
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 2px;
}

/* Banner */
.main .index {
  margin-top: var(--header-height);
  min-height: 420px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 45%, #6366f1 70%, #ff6b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 1200px;
}

.main .index::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  right: -100px;
}

.main .index::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.15);
  bottom: -150px;
  left: -80px;
}

.banner-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 80px 40px;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.banner-content .tagline {
  font-size: 22px;
  opacity: 0.92;
  margin-bottom: 32px;
}

.banner-content .desc {
  font-size: 15px;
  opacity: 0.8;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.banner-btns a {
  padding: 12px 36px;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #e85a28;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Service Section */
.main, .maxbox, .main .item {
  min-width: 1200px;
}

.main .item {
  padding-top: 20px;
}

.main .item .box-item {
  position: relative;
  width: 100%;
}

.main .item .title-text {
  text-align: center;
  padding-top: 48px;
  font-weight: 600;
}

.main .item .title-text .text-color {
  color: var(--text);
  font-size: 28px;
  position: relative;
}

.main .item .title-text .text-color::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 12px auto 0;
  border-radius: 2px;
}

.main .item .subheading {
  font-size: 14px;
  text-align: center;
  width: 100%;
  margin: 24px 0 56px;
  color: #666;
  line-height: 2;
}

.main .item.service {
  background: var(--bg-light) url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding-bottom: 60px;
}

.main .service .service-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.main .service .service-content .service-item {
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main .service .service-content .service-item .content {
  margin: 20px 10px;
  width: 174px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 34px 28px 0;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  border-top: 3px solid transparent;
}

.main .service .service-content .service-item:nth-child(odd) .content {
  border-top-color: var(--primary);
}

.main .service .service-content .service-item:nth-child(even) .content {
  border-top-color: var(--accent);
}

.main .service .service-content .service-hover .content {
  background: var(--accent-light);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
  transform: translateY(-4px);
}

.main .service .service-content .service-item .content h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.main .service .service-content .service-item p {
  font-size: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.7;
}

.main .service .service-content .service-item .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: #fff;
  transition: all 0.3s;
}

.main .service .service-content .service-hover .icon {
  background: linear-gradient(135deg, var(--accent), #ff8c61);
}

.main .service .service-content .service-item .content .jiao {
  width: 12px;
  height: 12px;
  position: absolute;
  bottom: -6px;
  left: calc(50% - 6px);
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.main .service .service-content .service-hover .content .jiao {
  background: var(--accent-light);
}

/* Price Page */
.main .program_price {
  padding-top: 160px;
  padding-bottom: 100px;
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.main .program_price .price_item {
  width: 460px;
  min-height: 720px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.main .program_price .price_item:hover {
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.18);
  transform: translateY(-6px);
}

.main .program_price .price_item .price_title {
  height: 140px;
  line-height: 140px;
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), #818cf8);
}

.main .program_price .price_item .price_title2 {
  background: linear-gradient(135deg, var(--accent), #ff8c61);
  position: relative;
}

.main .program_price .price_item .price_title2 .hot {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 4px 16px;
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  line-height: 1.6;
}

.main .program_price .price_item .query_price {
  margin: 28px auto;
  width: 160px;
  height: 44px;
  line-height: 44px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 22px;
  font-size: 15px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.main .program_price .price_item .query_price:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.main .program_price .price_item .min_title {
  font-size: 14px;
  line-height: 21px;
  color: #999;
  margin-top: 8px;
}

.main .program_price .price_item a {
  display: block;
}

.main .program_price .price_item ul {
  margin: 0 32px;
  padding: 24px 0 32px;
  border-top: 2px solid #f5f5f5;
  font-size: 14px;
}

.main .program_price .price_item ul li {
  padding-left: 24px;
  line-height: 40px;
  position: relative;
  color: #555;
}

.main .program_price .price_item ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.main .program_price .price_item ul li.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* About Page */
.main .item.aboutUs {
  padding-top: 90px;
  padding-bottom: 40px;
}

.main .item.aboutUs .subheading p {
  position: relative;
  color: var(--primary);
  display: inline-block;
}

.main .aboutUs .about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 46px auto 0;
  gap: 24px;
}

.main .aboutUs .about-content .about-item {
  width: 510px;
  padding: 38px 24px 38px 120px;
  height: 240px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  position: relative;
  transition: all 0.3s;
}

.main .aboutUs .about-content .about-item::before {
  content: attr(data-icon);
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.main .aboutUs .about-content .about-item:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
}

.main .aboutUs .about-content .about-item h4 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--text);
}

.main .aboutUs .about-content .about-item p {
  font-size: 14px;
  line-height: 24px;
  color: #555;
}

/* Contact Section */
.main .item.contactUs {
  padding-bottom: 0;
}

.main .cantactUs_content {
  position: relative;
  margin-top: 40px;
}

.main .cantactUs_content .cantact-bg {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1e1b4b, #6366f1);
}

.main .cantactUs_content .content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}

.main .cantactUs_content .content .cantact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.main .cantactUs_content .content .cantact-item .contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  backdrop-filter: blur(4px);
}

.main .cantactUs_content .content .cantact-item p {
  font-size: 16px;
}

/* Footer */
.footer {
  padding: 32px 0 24px;
  color: #ccc;
  background: #1a1a2e;
  font-size: 13px;
  line-height: 28px;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.footer-logo {
  border-right: 1px solid #444;
  padding-right: 40px;
  flex-shrink: 0;
}

.footer-logo img {
  width: 80px;
  height: 80px;
}

.footer .address h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer .address p {
  color: #aaa;
}

.footer .links a {
  color: #818cf8;
  margin-right: 12px;
}

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

.footer .copyright {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #333;
  color: #666;
  text-align: center;
}

.footer .copyright a {
  color: #666;
}

.footer .copyright a:hover {
  color: var(--accent);
}
