/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'ABeeZee', 'Days One', Arial, sans-serif;
  background: #181A1B;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(24, 26, 27, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A2F39;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

/* 滚动时的导航栏效果 */
.navbar.scrolled {
  background: rgba(24, 26, 27, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}

/* 移动端滚动效果 */
@media (max-width: 768px) {
  .navbar.scrolled {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .navbar.scrolled {
    padding: 8px 0;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo {
  height: 32px;
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.nav-links a:hover {
  color: #52D6A6;
  transform: translateY(-1px);
}

.nav-links a:active {
  transform: translateY(0);
}

/* 触摸友好的导航链接 */
@media (hover: none) and (pointer: coarse) {
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links a:hover {
    transform: none;
  }
}

.twitter-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(82, 214, 166, 0.1);
  border: 1px solid rgba(82, 214, 166, 0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.twitter-link:hover {
  background: rgba(82, 214, 166, 0.2);
  border-color: #52D6A6;
  transform: translateY(-1px);
}

/* 英雄区 */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.title-line {
  margin-bottom: 8px;
}

.title-line:last-child {
  margin-bottom: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #52D6A6, #4dffbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #B2B2B2;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 500px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

.cta-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #52D6A6;
  color: #181818;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.cta-button:hover {
  background: #4dffbb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 214, 166, 0.3);
}



/* 插件预览 */
.plugin-preview {
  width: 370px;
  background: #181A1B;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.32);
  padding: 16px 24px 18px 24px;
  box-sizing: border-box;
  margin: 0 auto;
  border: 2px solid #2A2F39;
}

/* 插件预览图片 */
.plugin-preview-image {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid #2A2F39;
  transition: all 0.3s ease;
}

.plugin-preview-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(82, 214, 166, 0.2);
  border-color: #52D6A6;
}

.demo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.header-subtitle {
  font-family: 'ABeeZee', sans-serif;
  font-size: 13px;
  color: #888888;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  color: #52D6A6;
  min-width: 36px;
  min-height: 36px;
}

.language-toggle-btn:hover {
  transform: translateY(-1px);
}

.language-toggle-btn:active {
  transform: translateY(0);
}

.language-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.language-toggle-btn:hover svg {
  transform: scale(1.1);
}

/* 触摸友好的语言切换按钮 */
@media (hover: none) and (pointer: coarse) {
  .language-toggle-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .language-toggle-btn:hover {
    transform: none;
  }
  
  .language-toggle-btn:active {
    transform: scale(0.95);
  }
  
  .logo-link {
    min-width: 44px;
    min-height: 44px;
  }
  
  .logo-link:hover {
    transform: none;
  }
  
  .logo-link:active {
    background: rgba(82, 214, 166, 0.2);
    transform: scale(0.95);
  }
}

.popup-header a {
  margin-left: 0;
}

.popup-logo {
  width: 100px;
  height: 30px;
  object-fit: contain;
}

.popup-twitter {
  width: 16px;
  height: 13px;
  cursor: pointer;
  margin-left: 8px;
}

.separator-top {
  border: none;
  height: 1px;
  background: #2A2F39;
  margin: 0 -24px 18px -24px;
}

.platforms-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: start;
  height: auto;
  background: linear-gradient(180deg, rgba(82,214,166,0.08) 0%, rgba(82,214,166,0.18) 100%);
  border: 2px solid #52D6A6;
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 12px;
  margin-left: -2px;
}

.platform-row {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: flex-start;
}

.platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: rgba(0,0,0,0.44);
  color: #fff;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 16px;
  font-family: 'ABeeZee', sans-serif;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  letter-spacing: 1px;
  white-space: nowrap;
}

.platform-btn.selected {
  box-shadow: 0 0 0 3px #52D6A6, 0 0 15px rgba(82,214,166,0.4);
  background: linear-gradient(135deg, rgba(82,214,166,0.25), rgba(82,214,166,0.1));
  color: #fff;
  border: 1px solid rgba(82,214,166,0.5);
}

.platform-logo-wrapper {
  width: 20px;
  height: 20px;
  background: #181A1B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
  flex-shrink: 0;
  overflow: hidden;
}

.platform-logo {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.dex-login-section {
  margin: 18px 0;
  display: flex;
  justify-content: center;
}

.dex-login-btn {
  width: 322px;
  height: 42px;
  background: #52D6A6;
  color: #181818;
  border: none;
  border-radius: 8px;
  font-family: 'ABeeZee', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  letter-spacing: 1px;
}

.dex-login-btn:hover {
  background: #4dffbb;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px 0 rgba(82, 214, 166, 0.3);
}

.dex-login-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px 0 rgba(82, 214, 166, 0.2);
}

.tips-section {
  margin-top: 10px;
}

.tips-title {
  font-family: 'Days One', sans-serif;
  font-size: 16px;
  color: #888888;
  margin-bottom: 5px;
}

.separator-bottom {
  border: none;
  height: 1px;
  background: #2A2F39;
  margin: 0 0 8px 0;
}

.tips-desc {
  color: #B2B2B2;
  font-size: 13px;
  line-height: 1.6;
}

.popup-version {
  text-align: center;
  color: #888888;
  font-size: 13px;
  margin-top: 18px;
  letter-spacing: 1px;
}

/* 功能特性 */
.features {
  padding: 80px 0;
  background: linear-gradient(180deg, #181A1B 0%, rgba(82,214,166,0.02) 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2A2F39;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.feature-card:hover {
  border-color: #52D6A6;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(82, 214, 166, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(82, 214, 166, 0.1), rgba(82, 214, 166, 0.05));
  border: 2px solid rgba(82, 214, 166, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  color: #52D6A6;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(82, 214, 166, 0.2), rgba(82, 214, 166, 0.1));
  border-color: #52D6A6;
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  font-family: 'Days One', sans-serif;
}

.feature-card p {
  color: #B2B2B2;
  line-height: 1.6;
  font-size: 14px;
  flex-grow: 1;
}

/* 使用说明 */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background: #52D6A6;
  color: #181818;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.step-content p {
  color: #B2B2B2;
  line-height: 1.6;
}

/* 支持的平台 */
.platforms {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(82,214,166,0.02) 0%, #181A1B 100%);
}

.platforms-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2A2F39;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: #52D6A6;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(82, 214, 166, 0.1);
}

.platform-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #181A1B;
  padding: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-logo {
  transform: scale(1.1);
}

.platform-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.platform-card p {
  color: #B2B2B2;
  font-size: 14px;
}

/* 底部 */
.footer {
  background: #0F1112;
  border-top: 1px solid #2A2F39;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.footer-left p {
  color: #B2B2B2;
  font-size: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #52D6A6;
}

.email-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #B2B2B2;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2A2F39;
}

.footer-bottom p {
  color: #888888;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .feature-card {
    min-height: 260px;
    padding: 20px 16px;
  }
  
  .plugin-preview {
    width: 320px;
    padding: 12px 20px 16px 20px;
  }
  
  .plugin-preview-image {
    max-width: 350px;
  }
  
  .dex-login-btn {
    width: 280px;
    height: 38px;
    font-size: 14px;
  }
  
  .platform-logo-wrapper {
    width: 19px;
    height: 19px;
  }
  
  .platform-logo {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
  }
  
  .title-line {
    margin-bottom: 6px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  /* 移动端导航栏优化 */
  .navbar {
    padding: 12px 0;
  }
  
  .nav-container {
    padding: 0 16px;
    gap: 16px;
  }
  
  .nav-logo .logo {
    height: 28px;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .nav-links a {
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  
  .nav-links a:hover {
    background: rgba(82, 214, 166, 0.1);
  }
  
  .twitter-link {
    padding: 6px 8px;
    font-size: 13px;
  }
  
  .language-toggle-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  
  .language-toggle-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    min-height: 200px;
    padding: 16px 12px;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    font-size: 12px;
  }
  
  .plugin-preview {
    width: 280px;
    padding: 10px 16px 14px 16px;
  }
  
  .plugin-preview-image {
    max-width: 300px;
  }
  
  .popup-logo {
    width: 80px;
    height: 24px;
  }
  
  .platform-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }
  
  .platform-logo-wrapper {
    width: 18px;
    height: 18px;
  }
  
  .platform-logo {
    width: 48px;
    height: 48px;
  }
  
  .dex-login-btn {
    width: 240px;
    height: 36px;
    font-size: 13px;
  }
  
  .tips-desc {
    font-size: 12px;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .platforms-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .platform-card {
    padding: 20px 16px;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 12px;
  }
  
  .email-text {
    margin-left: 0;
  }
}

/* 中等屏幕优化 */
@media (max-width: 640px) {
  .nav-container {
    padding: 0 14px;
    gap: 12px;
  }
  
  .nav-links {
    gap: 8px;
  }
  
  .nav-links a {
    font-size: 13px;
    padding: 6px 8px;
  }
  
  .twitter-link {
    padding: 5px 6px;
    font-size: 12px;
  }
  
  .language-toggle-btn {
    width: 30px;
    height: 30px;
    padding: 5px;
  }
  
  .language-toggle-btn svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 0em;
  }
  
  .title-line {
    margin-bottom: 4px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .cta-button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* 小屏幕导航栏优化 */
  .navbar {
    padding: 10px 0;
  }
  
  .nav-container {
    padding: 0 12px;
    gap: 8px;
  }
  
  .nav-logo .logo {
    height: 24px;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links {
    gap: 6px;
    flex-wrap: nowrap;
  }
  
  .nav-links a {
    font-size: 12px;
    padding: 5px 8px;
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  
  .twitter-link {
    padding: 4px 6px;
    font-size: 11px;
    min-height: 32px;
  }
  
  .platforms-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  

  
  .platform-card {
    padding: 24px 20px;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    min-height: 200px;
    padding: 16px 12px;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    font-size: 12px;
  }
  
  .plugin-preview {
    width: 260px;
    padding: 8px 12px 12px 12px;
  }
  
  .plugin-preview-image {
    max-width: 280px;
  }
  
  .popup-logo {
    width: 70px;
    height: 20px;
  }
  
  .platform-btn {
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
  
  .platform-logo-wrapper {
    width: 16px;
    height: 16px;
  }
  
  .platform-logo {
    width: 40px;
    height: 40px;
  }
  
  .dex-login-btn {
    width: 220px;
    height: 32px;
    font-size: 12px;
  }
  
  .tips-desc {
    font-size: 11px;
  }
  
  .language-toggle-btn {
    width: 28px;
    height: 28px;
    padding: 4px;
  }
  
  .language-toggle-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
  .navbar {
    padding: 8px 0;
  }
  
  .nav-container {
    padding: 0 10px;
    gap: 6px;
  }
  
  .nav-logo .logo {
    height: 22px;
  }
  
  .nav-links {
    gap: 4px;
  }
  
  .nav-links a {
    font-size: 11px;
    padding: 4px 6px;
    min-height: 28px;
  }
  
  .twitter-link {
    padding: 3px 5px;
    font-size: 10px;
    min-height: 28px;
  }
  
  .language-toggle-btn {
    width: 26px;
    height: 26px;
    padding: 3px;
  }
  
  .language-toggle-btn svg {
    width: 13px;
    height: 13px;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .email-text {
    margin-left: 0;
    font-size: 13px;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #181A1B;
}

::-webkit-scrollbar-thumb {
  background: #52D6A6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4dffbb;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}
