/* =============== PREMIUM STYLES FOR WORLD-CLASS BRAND =============== */

:root {
  /* 高级配色方案 - 更明亮 */
  --premium-primary: #1e88e5;
  --premium-primary-dark: #1565c0;
  --premium-primary-light: #64b5f6;
  --premium-gold: #ffc107;
  --premium-gold-light: #ffdf80;
  --premium-gold-dark: #ffa000;
  --premium-silver: #e0e0e0;
  --premium-dark: #34495e;
  --premium-gray-dark: #546e7a;
  --premium-gray: #90a4ae;
  --premium-gray-light: #cfd8dc;
  --premium-white: #ffffff;
  
  /* 优化阴影效果 */
  --premium-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --premium-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --premium-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --premium-shadow-xl: 0 15px 60px rgba(26, 43, 60, 0.15);
  
  /* 高级过渡效果 */
  --premium-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =============== 全局高级样式增强 =============== */
body.premium-theme {
  background: linear-gradient(to right, #2980b9 0%, #3498db 25%, #4aa3df 50%, #5dade2 75%, #5dade2 100%);
  font-family: 'Roboto', 'Noto Sans SC', 'Noto Sans Arabic', sans-serif;
  line-height: 1.7;
  color: #ffffff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.premium-theme .container {
  max-width: 1280px;
}

/* 高级标题样式 */
.premium-theme h1, 
.premium-theme h2, 
.premium-theme h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.premium-theme p {
  line-height: 1.8;
  color: #f5f5f5;
}

/* 顶部导航栏高级化 */
.premium-theme .site-header {
  background-color: rgba(30, 136, 229, 0.85);
  box-shadow: var(--premium-shadow-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.premium-theme .logo a {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.premium-theme .logo a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, var(--premium-gold), var(--premium-gold-light));
}

/* 导航菜单高级化 */
.premium-theme .main-nav a {
  font-weight: 500;
  padding: 5px 2px;
  margin: 0 15px;
  transition: var(--premium-transition);
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.premium-theme .main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--premium-gold), var(--premium-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.premium-theme .main-nav a:hover::after,
.premium-theme .main-nav a.active::after {
  transform: scaleX(1);
}

.premium-theme .main-nav a:hover,
.premium-theme .main-nav a.active {
  color: #ffffff;
}

/* 语言选择器高级化 */
.premium-theme .language-selector select {
  padding: 10px 30px 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--premium-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.premium-theme .language-selector select:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--premium-shadow-sm);
  background-color: rgba(255, 255, 255, 0.25);
}

.premium-theme .language-selector select:focus {
  outline: none;
  border-color: var(--premium-gold);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

/* =============== 英雄区域高级化 =============== */
.premium-theme .hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--premium-white);
  text-align: center;
  padding: 0;
  overflow: hidden;
  margin-bottom: 0;
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-theme .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 86, 179, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.premium-theme .hero .container {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.premium-theme .hero h1 {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(120deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 1.2s ease forwards 0.3s, gradientShift 8s ease-in-out infinite alternate;
  opacity: 0;
  transform: translateY(30px);
}

.premium-theme .hero p {
  font-size: 26px;
  max-width: 800px;
  margin: 0 auto 55px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards 0.6s;
}

.premium-theme .hero-cta {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(to right, var(--premium-gold), var(--premium-gold-light));
  color: var(--premium-dark);
  font-size: 18px;
  font-weight: 600;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transition: var(--premium-transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards 0.9s;
}

.premium-theme .hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* =============== 特色区域高级化 =============== */
.premium-theme .features {
  position: relative;
  padding: 100px 0;
  background-color: var(--premium-white);
  overflow: hidden;
}

.premium-theme .features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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='%230056b3' fill-opacity='0.03'%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");
}

.premium-theme .features h2 {
  text-align: center;
  margin-bottom: 70px;
  font-size: 36px;
  position: relative;
  padding-bottom: 20px;
  color: var(--premium-dark);
}

.premium-theme .features h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--premium-primary), var(--premium-gold));
}

.premium-theme .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.premium-theme .feature {
  background-color: var(--premium-white);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--premium-shadow);
  transition: var(--premium-transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.premium-theme .feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--premium-gold-light), var(--premium-gold));
  z-index: 2;
}

.premium-theme .feature:hover {
  transform: translateY(-15px);
  box-shadow: var(--premium-shadow-lg);
}

.premium-theme .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--premium-primary-light), var(--premium-primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 25px;
  font-size: 32px;
  position: relative;
  z-index: 2;
}

.premium-theme .feature-icon::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border: 1px dashed var(--premium-primary-light);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}

.premium-theme .feature h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--premium-dark);
}

.premium-theme .feature p {
  color: var(--premium-gray);
  font-size: 16px;
}

/* =============== 工具卡片高级化 =============== */
.premium-theme .tools {
  position: relative;
  padding: 100px 0;
  background: transparent;
}

.premium-theme .tools::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.premium-theme .tools-grid {
  gap: 40px;
}

.premium-theme .tool-card {
  background-color: var(--premium-white);
  border-radius: 12px;
  padding: 45px 30px;
  text-align: center;
  box-shadow: var(--premium-shadow);
  transition: var(--premium-transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.premium-theme .tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 86, 179, 0.03) 0%, transparent 70%);
  z-index: 0;
}

.premium-theme .tool-card:hover {
  transform: translateY(-20px);
  box-shadow: var(--premium-shadow-xl);
}

.premium-theme .tool-icon {
  width: 90px;
  height: 90px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  margin: 0 auto 30px;
  font-size: 36px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.2);
  z-index: 1;
}

.premium-theme .tool-card h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--premium-dark);
  position: relative;
  z-index: 1;
}

.premium-theme .tool-card p {
  margin-bottom: 30px;
  color: var(--premium-gray);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.premium-theme .button, 
.premium-theme .btn {
  display: inline-block;
  background: linear-gradient(to right, var(--premium-primary), var(--premium-primary-dark));
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--premium-transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.premium-theme .button::before, 
.premium-theme .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
  z-index: -1;
}

.premium-theme .button:hover, 
.premium-theme .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 86, 179, 0.3);
}

.premium-theme .button:hover::before, 
.premium-theme .btn:hover::before {
  left: 100%;
}

/* =============== 页脚高级化 =============== */
.premium-theme footer {
  position: relative;
  padding: 0 0 30px 0;
  background: linear-gradient(60deg, #283442 0%, #85a0a7 100%);
  color: var(--premium-white);
  margin-top: 0;
  overflow: hidden;
}

.premium-theme footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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='%23ffffff' fill-opacity='0.05'%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");
  z-index: 1;
}

.premium-theme .footer-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  z-index: 2;
  padding-top: 50px;
}

.premium-theme .footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0;
  background: linear-gradient(to right, #ffffff, var(--premium-silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.premium-theme .footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.premium-theme .footer-links h3,
.premium-theme .footer-contact h3 {
  margin-bottom: 25px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
  color: var(--premium-white);
}

.premium-theme .footer-links h3::after,
.premium-theme .footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--premium-gold), var(--premium-gold-light));
}

.premium-theme .footer-links li {
  margin-bottom: 12px;
}

.premium-theme .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--premium-transition);
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.premium-theme .footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--premium-transition);
}

.premium-theme .footer-links a:hover {
  color: var(--premium-white);
  padding-left: 20px;
}

.premium-theme .footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.premium-theme .footer-contact p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
}

.premium-theme .footer-contact i {
  margin-right: 15px;
  color: var(--premium-gold-light);
  font-size: 18px;
}

.premium-theme .footer-bottom {
  position: relative;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

/* =============== 动画效果 =============== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  }
  100% {
    background-position: 100% 50%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

/* =============== 响应式设计 =============== */
@media (max-width: 992px) {
  .premium-theme .hero h1 {
    font-size: 48px;
  }
  
  .premium-theme .hero p {
    font-size: 22px;
    margin-bottom: 40px;
  }
  
  .premium-theme .features h2,
  .premium-theme .tools h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .premium-theme .hero {
    padding: 120px 0 80px;
    height: 100vh;
  }
  
  .premium-theme .hero h1 {
    font-size: 36px;
  }
  
  .premium-theme .hero p {
    font-size: 18px;
    margin-bottom: 35px;
  }
  
  .premium-theme .hero-cta {
    padding: 14px 30px;
    font-size: 16px;
  }
  
  .premium-theme .features,
  .premium-theme .tools {
    padding: 70px 0;
  }
  
  .premium-theme .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .premium-theme .feature-icon::after {
    width: 78px;
    height: 78px;
  }
  
  .premium-theme .tool-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .premium-theme .hero h1 {
    font-size: 32px;
  }
  
  .premium-theme .hero p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .premium-theme .hero-cta {
    padding: 12px 28px;
    font-size: 14px;
  }
  
  .premium-theme .tools-grid,
  .premium-theme .features-grid {
    gap: 30px;
  }
  
  .premium-theme .feature,
  .premium-theme .tool-card {
    padding: 30px 20px;
  }
  
  .premium-theme .feature h3,
  .premium-theme .tool-card h3 {
    font-size: 20px;
  }
}

=============== RTL支持 ===============
[dir="rtl"].premium-theme .logo a::after {
  left: auto;
  right: 0;
}

[dir="rtl"].premium-theme .main-nav a::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

[dir="rtl"].premium-theme .footer-links h3::after,
[dir="rtl"].premium-theme .footer-contact h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"].premium-theme .footer-contact i {
  margin-right: 0;
  margin-left: 15px;
}

[dir="rtl"].premium-theme .footer-links a {
  padding-left: 0;
  padding-right: 0;
}

[dir="rtl"].premium-theme .footer-links a::before {
  content: "←";
  left: auto;
  right: -20px;
}

[dir="rtl"].premium-theme .footer-links a:hover {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"].premium-theme .footer-links a:hover::before {
  left: auto;
  right: 0;
}

/* =============== 特定语言优化 =============== */
.premium-theme:lang(zh) {
  font-family: 'Noto Sans SC', 'Roboto', sans-serif;
}

.premium-theme:lang(ar) {
  font-family: 'Noto Sans Arabic', 'Roboto', sans-serif;
}

.premium-theme .hero h1:lang(ar),
.premium-theme .hero p:lang(ar) {
  line-height: 1.8;
}

/* 添加新的淡入动画类 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }

/* 确保可见元素不会再触发动画 */
.fade-in.visible {
  animation: none !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#btn {
  width: 300px;
  height: 100px;
  font-size: 40px;
  border-radius: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 253, 253, 0.776);
  border-right: 2px solid  rgba(255, 253, 253, 0.7);
  border-bottom: 2px solid rgba(255, 253, 253, 0.7);
  display: block;
  margin: 48px auto 0 auto;
  position: static;
  top: auto;
  left: auto;
  transform: none;
  background-color: #808080;
  box-shadow: 8px 0px 40px rgba(0, 0, 0, 0.8);
  font-weight: bold;
  text-shadow: 0px 1px 1px #ffffff, 0px 1px 1px #000000ba;
  color: rgba(14, 14, 14, 0.915);
  z-index: 10;
} 