/* ============================================
   ProClips 营销官网样式 — 霓虹短视频工坊
   ============================================ */

/* CSS 变量 */
:root {
  --cyan: #00d2ff;
  --magenta: #ff6b9d;
  --purple: #a855f7;
  --amber: #ffb547;
  --rose: #f43f5e;
  --bg-deep: #0f0f1e;
  --bg-card: rgba(26, 26, 46, 0.65);
  --bg-card-hover: rgba(34, 34, 58, 0.75);
  --bg-elev: rgba(38, 38, 64, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #b8b8d4;
  --text-muted: #6e6e8f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --gradient-main: linear-gradient(135deg, var(--cyan), var(--magenta), var(--purple));
  --gradient-warm: linear-gradient(135deg, var(--magenta), var(--amber));
  --gradient-cool: linear-gradient(135deg, var(--cyan), var(--purple));
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.35);
  --transition: 0.3s ease;
}

/* 重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  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;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25), 0 4px 12px rgba(168, 85, 247, 0.25);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 210, 255, 0.35), 0 6px 18px rgba(168, 85, 247, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--magenta);
  background: var(--bg-elev);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 16px;
}

.btn-icon {
  width: 22px;
  height: 22px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25), 0 4px 12px rgba(168, 85, 247, 0.25);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 210, 255, 0.4), 0 4px 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(255, 107, 157, 0.2);
  }
}

/* Hero 区域 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 20% 20%, rgba(0, 210, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 85% 80%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(800px 500px at 50% 50%, rgba(255, 107, 157, 0.08), transparent 60%),
    var(--bg-deep);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 10px var(--rose);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 浮动短视频卡片 */
.video-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.video-card {
  position: absolute;
  width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.video-card:nth-child(1) {
  top: 14%;
  right: 3%;
  transform: rotate(8deg);
  animation-delay: 0s;
}

.video-card:nth-child(2) {
  top: 48%;
  right: 9%;
  transform: rotate(-6deg);
  animation-delay: 1.5s;
  width: 140px;
}

.video-card:nth-child(3) {
  bottom: 14%;
  left: 3%;
  transform: rotate(-10deg);
  animation-delay: 3s;
}

.video-card:nth-child(4) {
  top: 18%;
  left: 7%;
  transform: rotate(5deg);
  animation-delay: 4.5s;
  width: 140px;
}

.video-thumb {
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, rgba(0,210,255,0.25), rgba(255,107,157,0.25), rgba(168,85,247,0.25));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.video-info {
  padding: 10px 6px 6px;
}

.video-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.video-stats span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.video-stats svg {
  width: 12px;
  height: 12px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-18px) rotate(var(--rot, 0deg));
  }
}

/* Section 通用 */
.section-title {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* 功能特性 */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0.8;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 210, 255, 0.12);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 210, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(255, 107, 157, 0.1);
  color: var(--magenta);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.15);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(255, 181, 71, 0.1);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(255, 181, 71, 0.15);
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* 平台分发区 */
.platforms {
  padding: 100px 0;
  background:
    radial-gradient(800px 400px at 30% 50%, rgba(255, 107, 157, 0.08), transparent 60%),
    radial-gradient(700px 400px at 70% 50%, rgba(0, 210, 255, 0.08), transparent 60%),
    transparent;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.platform-badge:hover {
  transform: translateY(-4px) scale(1.03);
}

.platform-badge .platform-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.platform-douyin { background: linear-gradient(135deg, #1a1a2e, #000000); border: 1px solid rgba(255,255,255,0.1); }
.platform-kuaishou { background: linear-gradient(135deg, #ff7a1a, #ff4d00); }
.platform-xiaohongshu { background: linear-gradient(135deg, #ff4d6d, #ff2e4d); }
.platform-video { background: linear-gradient(135deg, #1ad06d, #07c160); }
.platform-bilibili { background: linear-gradient(135deg, #3dc3f0, #23ade5); }

.platform-cta {
  text-align: center;
}

.platform-cta h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.platform-cta p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* 使用流程 */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.steps {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.step {
  text-align: center;
  max-width: 300px;
  flex: 1;
  min-width: 220px;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 30px rgba(0, 210, 255, 0.2);
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 12px;
  font-weight: 700;
}

.step p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* 下载区域 */
.download {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(168, 85, 247, 0.1), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(255, 107, 157, 0.08), transparent 60%),
    transparent;
}

.download-desc {
  color: var(--text-secondary);
  font-size: 19px;
  margin-bottom: 44px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.coming-soon {
  color: var(--text-secondary);
  font-size: 16px;
  padding: 16px 28px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

/* 联系我们 */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.contact-info {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  padding: 18px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--magenta);
}

/* 页脚 */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-muted);
  font-size: 14px;
}

/* 演示版说明 */
.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.section-notice {
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links a:hover { color: var(--cyan); }

.footer-legal,
.footer-icp {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-item a { color: var(--text-primary); }
.contact-item a:hover { color: var(--cyan); }

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 992px) {
  .hero .container { max-width: 620px; }
  .video-card {
    width: 120px;
    opacity: 0.4;
  }

  .video-card:nth-child(1) { right: 1%; top: 12%; }
  .video-card:nth-child(2) { right: 4%; top: 56%; width: 105px; }
  .video-card:nth-child(3) { left: 1%; bottom: 12%; }
  .video-card:nth-child(4) { left: 2%; top: 16%; width: 105px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 18px;
    background: rgba(15, 15, 30, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
    padding: 10px 0;
  }

  .hero {
    padding: 130px 20px 50px;
    flex-direction: column;
  }

  .hero h1 {
    letter-spacing: -0.5px;
  }

  /* 手机端不再隐藏竖屏样片，改为按钮下方的横向展示 */
  .hero .container { max-width: 100%; }
  .video-cards {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }
  .video-card,
  .video-card:nth-child(2),
  .video-card:nth-child(4) {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 118px;
    opacity: 1;
    transform: none !important;
    animation: none;
  }
  .video-card:nth-child(n+3) { display: none; }
  .video-info { padding: 8px 5px 5px; }
  .video-title { font-size: 11px; }
  .video-stats { display: none; }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .platform-badge {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 18px;
  }

  .hero {
    padding: 120px 16px 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .feature-card {
    padding: 28px 22px;
  }
}
