/* App Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  width: 100%;
  min-height: 500px;
  padding: 100px 20px 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-phone {
  text-align: right;
  margin-bottom: 35px;
}

.hero-phone span {
  font-size: 17px;
  font-weight: bold;
  color: #eee196;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 25px;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.hero-content {
  text-align: left;
  color: white;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 3px 6px rgba(0,0,0,0.12);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
  opacity: 0.95;
  font-weight: 400;
}

.hero-note {
  font-size: 13px;
  margin: 12px 0;
  opacity: 0.92;
  font-weight: 500;
}

.hero-registration {
  font-size: 13px;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 25px;
}

.btn-register {
  display: inline-block;
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  color: white;
  padding: 14px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}

.btn-register:hover {
  background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
  box-shadow: 0 10px 28px rgba(46, 204, 113, 0.48);
}

.btn-register > .btn-shift {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-register:hover > .btn-shift {
  transform: translateY(-3px);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.98);
  color: #4A90E2;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  letter-spacing: 0.2px;
}

.btn-download:hover {
  background: white;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
  border-color: white;
}

.btn-download > .btn-shift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.btn-download:hover > .btn-shift {
  transform: translateY(-3px);
}

.btn-download i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-download:hover i {
  transform: scale(1.15);
}

.app-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.app-store-icon {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 10px;
  padding: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.app-store-icon:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

.app-store-icon > .btn-shift {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.app-store-icon:hover > .btn-shift {
  transform: translateY(-3px);
}

/* Section Common Styles */
.section {
  width: 100%;
  padding: 90px 20px;
}

.section-white {
  background: white;
}

.section-gray {
  background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
  position: relative;
}

.section-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(53, 122, 189, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title {
  font-size: 44px;
  color: #1A2332;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #95A5A6;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #4A90E2, #357ABD);
  margin: 25px auto 0;
  border-radius: 3px;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #4A90E2;
  border-radius: 50%;
  left: -12px;
  top: -2px;
}

.section-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #357ABD;
  border-radius: 50%;
  right: -12px;
  top: -2px;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #F0F4F8;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFB 100%);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4A90E2, #357ABD);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.feature-card:hover {
  box-shadow: 0 14px 38px rgba(74, 144, 226, 0.18);
  border-color: #D4E7F9;
  background: white;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  width: 150px;
  height: 150px;
  opacity: 0.8;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.feature-content {
  flex: 1;
  padding-top: 5px;
}

.feature-title {
  font-size: 20px;
  color: #1A2332;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-align: left;
}

.feature-description {
  color: #5A6C7D;
  line-height: 1.9;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-align: left;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead {
  background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.comparison-table th {
  padding: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.comparison-table th:first-child {
  text-align: center;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #E8E8E8;
  text-align: center;
  font-size: 15px;
}

.comparison-table tbody tr:hover {
  background: #F8F9FA;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.table-note {
  margin-top: 20px;
  color: #7F8C8D;
  font-size: 14px;
  text-align: center;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #2ECC71;
  color: white;
  border-radius: 50%;
  font-size: 12px;
}

.cross-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #E74C3C;
  color: white;
  border-radius: 50%;
  font-size: 12px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #E8E8E8;
  text-decoration: none;
  display: block;
}

.video-card:hover {
  box-shadow: 0 10px 28px rgba(74, 144, 226, 0.22);
  border-color: #4A90E2;
}

.video-card > .btn-shift {
  display: block;
  transition: transform 0.3s ease;
}

.video-card:hover > .btn-shift {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  overflow: hidden;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(0,0,0,0.3)"/></svg>');
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #4A90E2;
  transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-info {
  padding: 20px;
}

.video-link {
  color: #2C3E50;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
  transition: color 0.3s ease;
}

.video-card:hover .video-link {
  color: #4A90E2;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background: #0095FF;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.8);
  overflow: visible;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top.visible:hover {
  transform: translateY(0) scale(1);
  background: #1AA3FF;
  box-shadow: 0 10px 28px rgba(0, 149, 255, 0.45);
}

.back-to-top.visible:hover > .btn-shift {
  transform: translateY(-5px) scale(1.08);
}

.back-to-top.visible:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 6px 18px rgba(0, 149, 255, 0.35);
}

.back-to-top.visible:active > .btn-shift {
  transform: translateY(-2px) scale(1.02);
}

.back-to-top > .btn-shift {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top svg {
  position: relative;
  z-index: 1;
}

@keyframes back-to-top-ripple {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

.back-to-top::before,
.back-to-top::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 149, 255, 0.5);
  pointer-events: none;
  animation: back-to-top-ripple 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.back-to-top::after {
  animation-delay: 1.2s;
}

/* Contact Icons */
.contact-icons {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-icon.qq {
  background: linear-gradient(135deg, #12B7F5 0%, #0E9FD8 100%);
  color: white;
}

.contact-icon.wechat {
  background: linear-gradient(135deg, #09BB07 0%, #078D05 100%);
  color: white;
}

.contact-icon:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.contact-icon > .btn-shift {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.contact-icon:hover > .btn-shift {
  transform: translateY(-2px);
}

.contact-icon i {
  font-size: 18px;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 35px 40px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background: #F0F4F8;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #5A6C7D;
  font-size: 18px;
}

.modal-close:hover {
  background: #E8E8E8;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A2332;
  margin-bottom: 25px;
  text-align: center;
}

.qq-contact-item {
  background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
  border: 2px solid #E8E8E8;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.qq-contact-item:hover {
  border-color: #12B7F5;
  box-shadow: 0 4px 12px rgba(18, 183, 245, 0.1);
}

.qq-contact-item:last-child {
  margin-bottom: 0;
}

.qq-info {
  flex: 1;
}

.qq-name {
  font-size: 16px;
  font-weight: 600;
  color: #1A2332;
  margin-bottom: 4px;
}

.qq-number {
  font-size: 18px;
  font-weight: 700;
  color: #12B7F5;
  font-family: 'Courier New', monospace;
}

.copy-btn {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: linear-gradient(135deg, #357ABD 0%, #2868A8 100%);
  box-shadow: 0 6px 14px rgba(74, 144, 226, 0.32);
}

.copy-btn > .btn-shift {
  display: inline-block;
  transition: transform 0.3s ease;
}

.copy-btn:hover > .btn-shift {
  transform: translateY(-2px);
}

.copy-btn:active > .btn-shift {
  transform: translateY(0);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.wechat-qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.wechat-qr-item {
  text-align: center;
  flex: 0 0 auto;
}

.wechat-qr-name {
  font-size: 16px;
  font-weight: 600;
  color: #1A2332;
  margin-bottom: 12px;
}

.wechat-qr-image {
  width: 160px;
  height: 160px;
  border: 3px solid #E8E8E8;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 100px 20px 40px;
  }
  
  .hero-phone {
    margin-bottom: 25px;
  }
  
  .hero-phone span {
    font-size: 15px;
    padding: 6px 16px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-header {
    margin-bottom: 50px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature-card {
    flex-direction: row;
    padding: 25px 20px;
  }
  
  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .feature-title {
    font-size: 18px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 90px 15px 35px;
  }
  
  .hero-phone {
    margin-bottom: 20px;
  }
  
  .hero-phone span {
    font-size: 14px;
    padding: 6px 14px;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-description {
    font-size: 14px;
  }
  
  .section {
    padding: 50px 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-register,
  .btn-download {
    padding: 13px 30px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .feature-card {
    padding: 20px 15px;
    gap: 15px;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  
  .feature-title {
    font-size: 17px;
  }
  
  .feature-description {
    font-size: 13px;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }

  .modal-content {
    padding: 25px 20px;
  }
  
  .modal-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .qq-contact-item {
    padding: 15px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  
  .qq-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .qq-name {
    margin-bottom: 0;
  }
  
  .qq-name::after {
    content: ':';
  }
  
  .copy-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
  
  .wechat-qr-container {
    gap: 20px;
  }
  
  .wechat-qr-image {
    width: 140px;
    height: 140px;
  }
}

