/* About Page Styles */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #f8f9fa;
  --accent-color: #e3f2fd;
  --text-color: #333;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --card-border: rgba(226, 232, 240, 0.8);
  --grid-gap: 24px;
  --card-radius: 16px;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --accent-primary: #7c3aed;
  --accent-secondary: #2563eb;
  --accent-tertiary: #059669;
  --accent-quaternary: #dc2626;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #f8fafc;
  color: var(--text-color);
  line-height: 1.6;
  background-image: radial-gradient(
      at 1% 1%,
      rgba(124, 58, 237, 0.03) 0,
      transparent 50%
    ),
    radial-gradient(at 99% 99%, rgba(37, 99, 235, 0.03) 0, transparent 50%);
}

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

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

/* 添加卡片内容区域的微妙动画 */
.usage-item,
.features-card > div > div {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.usage-item:hover,
.features-card > div > div:hover {
  transform: translateY(-3px);
}

/* 添加Hero卡片的特殊动画效果 */
.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-card:hover::after {
  opacity: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  animation: fadeIn 0.8s ease-out;
}

.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 48px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  border: 1px solid var(--card-border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.hero-card {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--card-bg);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-card h1 {
  background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-card p {
  color: var(--text-secondary);
}

.contact-card {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--card-bg);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px;
  position: relative;
}

.social-link-card {
  position: absolute;
  top: 2px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.social-link-card:hover {
  transform: translateY(-2px);
}

.social-icon-img {
  width: 60px;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
}
.contact-content {
  margin-bottom: auto;
}
.usage-card,
.features-card {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--card-bg);
  color: #333;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-card {
  grid-column: span 4;
  grid-row: span 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: var(--card-bg);
}

/* Typography & Elements */
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.1);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-box:hover {
  transform: scale(1.05);
  background: rgba(30, 41, 59, 0.1);
}

.tech-stack {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tech-item {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
  border-radius: 8px;
}

.tech-item:hover {
  color: var(--text-primary);
  transform: scale(1.15) translateY(-3px);
  background: rgba(30, 41, 59, 0.05);
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  margin-bottom: 16px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-tertiary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-link {
  font-size: 1.75rem;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.social-link:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(30, 41, 59, 0.05);
}

.social-link span {
  font-size: 1rem;
  margin-left: 5px;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

/* 添加微妙的动画效果 */
.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.back-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.5s;
}

.back-btn:hover::before {
  left: 100%;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

/* Brand and Logo styles */
.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.logo-full {
  height: 50px;
  display: block;
}

/* Logo shine effect - 已禁用 */
.brand::after {
  display: none;
}

/* Card animation delays */
.hero-card {
  animation-delay: 0.1s;
}

.features-card {
  animation-delay: 0.4s;
}

.contact-card {
  animation-delay: 0.5s;
}

.tech-card {
  animation-delay: 0.5s;
}

/* Usage card specific styles */
.usage-card h3 i {
  color: var(--accent-secondary);
  margin-right: 10px;
}

.usage-card > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  height: calc(100% - 40px);
}

.usage-item {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usage-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.usage-item p {
  font-size: 0.9rem;
}

.features-card h3 i {
  color: var(--accent-primary);
  margin-right: 10px;
}

.features-card > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.features-card > div > div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.features-card > div > div > div:first-child {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.features-card > div > div > div:last-child > div:first-child {
  font-weight: 600;
  margin-bottom: 8px;
}

.features-card > div > div > div:last-child > div:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Feature icon colors */
.feature-icon-primary {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-primary);
}

.feature-icon-secondary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-secondary);
}

.feature-icon-tertiary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-tertiary);
}

.feature-icon-quaternary {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Contact card specific styles */
.contact-card h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-card h3 i {
  color: #ef4444;
}

.contact-card .feedback-box {
  background: rgba(248, 250, 252, 0.5);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  margin-bottom: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card .feedback-box:hover {
  background: rgba(248, 250, 252, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-card .support-box-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card .support-box-link:hover {
  transform: translateY(-2px);
}

.contact-card .support-box-link:hover .support-box {
  background: linear-gradient(
    to right,
    rgba(236, 72, 153, 0.2),
    rgba(248, 250, 252, 0.8)
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-card .support-box {
  background: linear-gradient(
    to right,
    rgba(236, 72, 153, 0.1),
    rgba(248, 250, 252, 0.5)
  );
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(236, 72, 153, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card .feedback-box p:first-child {
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-card .support-box p:first-child {
  margin-bottom: 8px;
  font-weight: 500;
  color: #db2777;
}

/* Tech card specific styles */

.tech-card .tech-item {
  font-size: 1.4rem;
}
@media (max-width: 900px) {
  .container {
    padding: 15px;
  }

  header {
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-card,
  .contact-card,
  .usage-card {
    grid-column: span 1;
  }

  .feature-card,
  .stats-card,
  .large-feature-card,
  .tech-card {
    grid-column: span 1;
  }

  .card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    padding: 24px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .large-feature-card {
    flex-direction: column;
    text-align: center;
  }

  /* 使用场景卡片在小屏幕下单列排列 */
  .usage-card > div {
    grid-template-columns: 1fr !important;
  }

  .usage-card .usage-item h4 {
    margin-bottom: 6px !important;
  }

  /* 技术栈卡片在移动端居中显示 */
  .tech-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  p {
    font-size: 0.95rem;
  }

  .tech-item {
    font-size: 1.3rem;
    padding: 6px;
  }

  .social-link {
    font-size: 1.8rem;
  }

  .back-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
