@charset "utf-8";

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

html {
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  overflow-x: hidden;
}

.essaybye-main {
  min-height: 100vh;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #667eea 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.head-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  padding: 20px 0 !important;
  transition: all 0.3s ease !important;
  height: auto !important;
  background: #fff !important;
}

.head-nav.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  padding: 12px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.head-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  width: 100% !important;
}

.head-nav .nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: auto !important;
}

.head-nav .nav .nav-left {
  display: flex !important;
  align-items: center !important;
  gap: 40px;
}

.head-nav .nav .site-logo {
  display: inline-block !important;
  height: auto !important;
  cursor: pointer;
}

.head-nav .nav .site-logo img {
  height: 40px !important;
  width: auto !important;
  display: block !important;
}

.head-nav .nav .login-btn {
  /* padding: 12px 28px; */
  /* background: rgba(255, 255, 255, 0.95) !important; */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.head-nav .nav .login-btn:hover {
  background: #fff;
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.head-nav.scrolled .nav .login-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #fff;
}

.head-nav.scrolled .nav .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: #fff;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #fff;
  color: #667eea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.features-section {
  padding: 120px 24px;
  background: #f8fafc;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #64748b;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #fff;
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

.detail-section {
  padding: 120px 24px;
  background: #fff;
}

.detail-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 32px;
  padding: 60px;
  overflow: hidden;
}

.detail-card .flex-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.detail-content {
  padding-right: 20px;
}

.detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 16px;
}

.detail-subtitle {
  font-size: 18px;
  color: #3b82f6;
  margin-bottom: 24px;
}

.detail-list {
  list-style: none;
  margin-bottom: 32px;
}

.detail-list li {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: 700;
}

.detail-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.detail-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 155, 228, 0.4);
}

.detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.faq-section {
  padding: 120px 24px;
  background: #f8fafc;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 24px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #667eea;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #667eea;
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 2px;
  height: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 16px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
}

.footer-section {
  background: #1e293b;
  padding: 80px 24px 0;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 60px;
}

.contact-item {
  text-align: center;
}

.contact-label {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-item img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 32px 24px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.8;
}

.footer-content .beian {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
}

.footer-content .beian:hover {
  color: #fff;
}

.user-center {
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 9;
  width: 280px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: none;
}

.user-center p,
.user-center div {
  padding: 12px 16px;
  color: #475569;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.user-center p:hover {
  background: #f1f5f9;
  color: #667eea;
}

.user-center p a {
  color: inherit;
  text-decoration: none;
  display: block;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .detail-card .flex-box {
    grid-template-columns: 1fr;
  }
  
  .detail-content {
    padding-right: 0;
  }
  
  .detail-image {
    order: -1;
  }
}

/* 覆盖common.css中的冲突样式 */
.head-nav-list {
  display: none !important;
  height: auto !important;
  margin: 0 !important;
}

.head-nav-list li {
  display: none !important;
}

.nav-right {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  right: auto !important;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .detail-card {
    padding: 32px 24px;
  }
  
  .detail-title {
    font-size: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    gap: 32px;
  }
  
  .contact-item img {
    width: 100px;
    height: 100px;
  }
}
