/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background:
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(
      2px 2px at 40px 70px,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(
      1px 1px at 130px 80px,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent),
    linear-gradient(
      135deg,
      #0a0a0a 0%,
      #0f0f23 25%,
      #1a1a2e 50%,
      #16213e 75%,
      #0e0e1a 100%
    );
  background-repeat: repeat;
  background-size:
    200px 100px,
    300px 150px,
    250px 120px,
    180px 90px,
    220px 110px,
    100% 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 全局平滑过渡 */
* {
  transition:
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 性能优化 */
.hero,
.floating-card,
.project-card,
.skill-category,
.timeline-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* 页面加载动画 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 9999;
  animation: pageLoad 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes pageLoad {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  70% {
    opacity: 0.3;
    transform: scale(1.01) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: scale(1.02) translateY(-20px);
    visibility: hidden;
  }
}

/* 鼠标跟随效果 */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #00d4ff, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transition: all 0.3s ease;
}

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

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: #00d4ff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #00d4ff;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #00d4ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  gap: 5px;
  margin-right: 20px;
  position: relative;
}

.language-switcher::before {
  content: "🌐";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.7;
}

.lang-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

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

.lang-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
}

.lang-btn.active {
  background: #00d4ff;
  border-color: #00d4ff;
  color: #0a0a0a;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* 首页样式 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(1px 1px at 50px 50px, #fff, transparent),
    radial-gradient(
      1px 1px at 100px 100px,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(1px 1px at 150px 150px, #fff, transparent),
    radial-gradient(
      1px 1px at 200px 200px,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(1px 1px at 250px 250px, #fff, transparent),
    linear-gradient(
      135deg,
      #0a0a0a 0%,
      #0f0f23 25%,
      #1a1a2e 50%,
      #16213e 75%,
      #0e0e1a 100%
    );
  background-repeat: repeat;
  background-size:
    300px 300px,
    400px 400px,
    350px 350px,
    450px 450px,
    500px 500px,
    100% 100%;
  overflow: visible;
  padding: 50px 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(2px 2px at 20px 30px, #00d4ff, transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(0, 212, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #00d4ff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.6), transparent);
  background-repeat: repeat;
  background-size:
    200px 200px,
    300px 300px,
    250px 250px,
    400px 400px;
  animation: starTwinkle 4s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px) translateY(20px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(10px) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.greeting {
  display: block;
  font-size: 1.5rem;
  color: #00d4ff;
  margin-bottom: 10px;
}

.name {
  display: block;
  background: linear-gradient(45deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #b0b0b0;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: #d0d0d0;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.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 ease;
}

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

.btn-primary {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #00d4ff;
  border: 2px solid #00d4ff;
  position: relative;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00d4ff;
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::after {
  width: 100%;
}

.btn-secondary:hover {
  color: #0a0a0a;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.hero-image {
  position: relative;
  animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px) translateY(20px) scale(0.9);
  }
  60% {
    opacity: 0.8;
    transform: translateX(-10px) translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  animation: gentleFloat 6s ease-in-out infinite;
  width: 200px;
  z-index: 2;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-card:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 8%;
  right: 12%;
  animation-delay: 2s;
}

.floating-card:nth-child(3) {
  bottom: 8%;
  left: calc(50% - 100px);
  animation-delay: 4s;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.card-content {
  text-align: center;
}

.card-content i {
  font-size: 2rem;
  color: #00d4ff;
  margin-bottom: 15px;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.card-content p {
  color: #b0b0b0;
  font-size: 0.9rem;
  white-space: pre-line;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #00d4ff;
  border-bottom: 2px solid #00d4ff;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 通用部分样式 */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* 移除意义不明的扫光效果 */

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(45deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  border-radius: 2px;
  animation: underlineExpand 1s ease-out;
}

@keyframes underlineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}

/* 关于我部分 */
.about {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #00d4ff;
}

.about-text p {
  font-size: 1.1rem;
  color: #d0d0d0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 5px;
}

.stat-label {
  color: #b0b0b0;
  font-size: 1rem;
}

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

.image-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

/* 经历部分 */
.experience {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00d4ff, #0099cc);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-marker {
  display: none;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: #00d4ff;
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 15px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  color: #d0d0d0;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.timeline-content li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #00d4ff;
  font-size: 0.8rem;
}

/* 技能部分 */
.skills {
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.skill-category h3 {
  font-size: 1.3rem;
  color: #00d4ff;
  margin-bottom: 20px;
  text-align: center;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* 语言能力部分 */
.languages-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #111627 100%);
}

.languages-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
  color: #d0d0d0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.language-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.language-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.35) 0%,
    rgba(0, 212, 255, 0) 70%
  );
  transition: transform 0.5s ease;
}

.language-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.18);
}

.language-card:hover::after {
  transform: scale(1.2);
}

.language-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.language-header i {
  font-size: 1.8rem;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
}

.language-level {
  display: block;
  margin-top: 6px;
  color: #b8c1d1;
  line-height: 1.6;
}

.language-progress {
  --progress: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.progress-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff 0%, #38f9d7 100%);
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.language-progress.filled .progress-bar {
  width: calc(var(--progress) * 100%);
}

.progress-label {
  color: #ffffff;
  font-weight: 600;
  min-width: 110px;
  text-align: right;
}

/* 项目部分 */
.projects {
  background: linear-gradient(135deg, #0a0a0a 0%, #16213e 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.2);
}

.featured-project {
  position: relative;
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(0, 153, 204, 0.05)
  );
}

.featured-project::before {
  content: "⭐";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 1.5rem;
  z-index: 10;
}

.featured-project .project-image {
  background: linear-gradient(45deg, #00d4ff, #0099cc, #0066aa);
  position: relative;
  overflow: hidden;
}

.featured-project .project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.project-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.project-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-link::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 ease;
}

.project-link:hover::before {
  left: 100%;
}

.project-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ffffff;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #00d4ff;
  margin-bottom: 15px;
}

.project-content p {
  color: #d0d0d0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* 网站展示部分 */
.website-showcase {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 100px 0;
}

.website-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.website-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.website-tagline {
  font-size: 1.2rem;
  color: #00d4ff;
  font-weight: 500;
  margin-bottom: 30px;
}

.website-description p {
  font-size: 1.1rem;
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 40px;
}

.website-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.feature-item i {
  font-size: 1.5rem;
  color: #00d4ff;
}

.feature-item span {
  color: #ffffff;
  font-weight: 500;
}

.website-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.website-stats .stat-item {
  text-align: center;
}

.website-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 5px;
}

.website-stats .stat-label {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.website-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.website-preview {
  position: relative;
}

.preview-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: floatCard 6s ease-in-out infinite;
}

.preview-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
}

.preview-dots span:nth-child(1) {
  background: #ff5f56;
}
.preview-dots span:nth-child(2) {
  background: #ffbd2e;
}
.preview-dots span:nth-child(3) {
  background: #27ca3f;
}

.preview-url {
  color: #ffffff;
  font-family: monospace;
  font-size: 0.9rem;
}

.preview-content {
  padding: 20px;
}

.preview-article {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.preview-article h4 {
  color: #00d4ff;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.preview-article p {
  color: #b0b0b0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 联系部分 */
.contact {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #00d4ff;
  margin-bottom: 20px;
}

.contact-info p {
  color: #d0d0d0;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #d0d0d0;
}

.contact-item i {
  font-size: 1.2rem;
  color: #00d4ff;
  width: 20px;
}

.contact-item a {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}

/* 页脚 */
.footer {
  background: #0a0a0a;
  padding: 30px 0;
  text-align: center;
  color: #b0b0b0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .language-switcher {
    margin-right: 10px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats {
    justify-content: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px !important;
    padding-right: 0 !important;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .website-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .website-features {
    grid-template-columns: 1fr;
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .language-progress {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .progress-label {
    text-align: left;
  }

  .website-stats {
    justify-content: center;
  }

  .website-actions {
    justify-content: center;
  }

  .floating-card {
    position: relative;
    margin: 20px;
    animation: none;
    width: auto;
    max-width: 300px;
  }

  .hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}
