/* 移除 @import，改为在 HTML 中引入以提升速度 */
/* @import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap"); */
/* @import url("https://fonts.googleapis.com/css2?family=Righteous&display=swap"); */

/* 自定义字体 */
@font-face {
    font-family: "QinPlayTitle";
    src: url("shanhaihuaxiaxingbangw.ttf") format("truetype");
    font-display: swap;
}

:root {
    /* 核心色调 - 新配色方案 */
    --bg-dark: #f3f4f9; /* 主背景浅灰蓝 */
    --bg-card: #FFFFFF; /* 卡片纯白 */
    --bg-card-hover: #F9FAFB; /* 悬浮时极浅灰 */

    --primary: #8692f7; /* 品牌主色 */
    --primary-gradient: linear-gradient(135deg, #8692f7 0%, #a5aeff 100%);
    --accent: #8692f7; /* 强调色 */
    --accent-gradient: linear-gradient(135deg, #8692f7 0%, #a5aeff 100%);

    --text-main: #2e2e2e; /* 主文字深灰 */
    --text-muted: #5f6b7a; /* 次要文字灰蓝 */
    --text-dark: #000000;

    --glass-border: rgba(134, 146, 247, 0.18);
    --glass-highlight: rgba(255, 255, 255, 0.2);

    --shadow-glow: 0 0 20px rgba(134, 146, 247, 0.3);
    --shadow-card: 0 10px 30px -15px rgba(134, 146, 247, 0.2);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* 设备和屏幕背景 */
    --bg-device: #F5F5F7;
    --bg-screen-content: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
    --bg-floating-card: #FFFFFF;
}


.download-link {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.download-link:hover {
    background: #EFF6FF;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 背景氛围灯效 - 日间模式不显示光晕 */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: transparent;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: transparent;
    z-index: -1;
}


@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* 标题通用样式 */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    text-align: center;
    margin-bottom: 16px;
    color: #8692f7;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: #9CA3AF;
    font-size: 16px;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== 下载按钮动画样式 ===== */
.download-label {
  background-color: transparent;
  border: 2px solid #8692f7;
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.download-label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  border-radius: 100%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

.download-label .download-input {
  display: none;
}

.download-label .download-title {
  font-size: 17px;
  color: #000;
  transition: all 0.4s ease;
  position: absolute;
  right: 18px;
  bottom: 14px;
  text-align: center;
  margin: 0;
}

.download-label .download-title:last-child {
  opacity: 0;
  visibility: hidden;
}

.download-label .download-circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: #8692f7;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.download-label .download-circle .download-icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.download-label .download-circle .download-square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.download-label .download-circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #5A6FE6;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.download-label:has(.download-input:checked) {
  width: 57px;
  animation: installed 0.4s ease 3.5s forwards;
}

.download-label:has(.download-input:checked)::before {
  animation: rotate 3s ease-in-out 0.4s forwards;
}

.download-label .download-input:checked + .download-circle {
  animation:
    pulse 1s forwards,
    circleDelete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.download-label .download-input:checked + .download-circle::before {
  animation: installing 3s ease-in-out forwards;
}

.download-label .download-input:checked + .download-circle .download-icon {
  opacity: 0;
  visibility: hidden;
}

.download-label .download-input:checked ~ .download-circle .download-square {
  opacity: 1;
  visibility: visible;
}

.download-label .download-input:checked ~ .download-title {
  opacity: 0;
  visibility: hidden;
}

.download-label .download-input:checked ~ .download-title:last-child {
  animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
  0% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    scale: 1;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes installing {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(-90deg) translate(27px) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  99% {
    transform: rotate(270deg) translate(27px) rotate(270deg);
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes installed {
  100% {
    width: 150px;
    border-color: #8692f7;
  }
}

@keyframes circleDelete {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showInstalledMessage {
  100% {
    opacity: 1;
    visibility: visible;
    right: 50%;
    transform: translateX(50%);
  }
}

/* ===== 漂浮音符动画 ===== */
.music-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.note {
    position: absolute;
    font-size: 24px;
    color: var(--primary);
    opacity: 0;
    animation: floatNote 8s linear infinite;
    filter: blur(1px);
}

.note:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 20px; }
.note:nth-child(2) { left: 30%; animation-delay: 2s; font-size: 32px; }
.note:nth-child(3) { left: 50%; animation-delay: 4s; font-size: 24px; }
.note:nth-child(4) { left: 70%; animation-delay: 1s; font-size: 28px; }
.note:nth-child(5) { left: 90%; animation-delay: 3s; font-size: 22px; }
.note:nth-child(6) { left: 20%; animation-delay: 5s; font-size: 30px; }

@keyframes floatNote {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    /* 高级背景光效 */
    background: 
        radial-gradient(circle at 10% 20%, rgba(134, 146, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(165, 174, 255, 0.08) 0%, transparent 40%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.brand-badge {
    display: inline-block;
    font-family: "QinPlayTitle", var(--font-heading);
    font-size: 24px;
    /* 波纹流光效果 - 更清晰的金色流光 */
    background: linear-gradient(120deg, #8692f7 0%, #ffb86c 30%, #8692f7 60%, #ffb86c 85%, #8692f7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    position: relative;
    animation: shineWave 4s linear infinite;
}

@keyframes shineWave {
    to {
        background-position: 200% center;
    }
}

.brand-badge::after {
    content: 'APP';
    position: absolute;
    top: -8px;
    right: -24px;
    font-size: 10px;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--font-body);
    -webkit-text-fill-color: var(--text-muted);
}

.hero-title {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(134, 146, 247, 0.1);
}

.hero-title span {
    color: #8692f7;
}

.hero-subtitle {
    font-size: 18px;
    color: #3C3C43;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 24px rgba(112, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.15);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* 信任徽章 */
.trust-badges {
    display: flex;
    gap: 24px;
    list-style: none;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3C3C43;
    font-size: 14px;
}

.trust-badges li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* 3D 设备展示 */
.hero-device-wrapper {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.hero-device {
    position: relative;
    width: 300px;
    height: 600px;
    background: var(--bg-device);
    border-radius: 48px;
    border: 8px solid #1e1e1e;
    box-shadow: 
        0 0 0 2px #333,
        0 20px 50px -12px rgba(0,0,0,0.5),
        0 0 100px -20px rgba(112, 0, 255, 0.2);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-device:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: var(--bg-screen-content);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 32px;
}

/* 模拟APP界面 */
.app-header {
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px;
    background: rgba(15,23,42,0.03);
}

.app-piano-area {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    position: relative;
}

/* 屏幕内的内容占位元素，让画面更丰富 */
.app-title-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-title-line-main {
    width: 120px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5, #38bdf8);
}

.app-title-line-sub {
    width: 80px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148,163,184,0.55);
}

.app-tag-row {
    display: flex;
    gap: 8px;
}

.app-tag-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148,163,184,0.16);
    border: 1px solid rgba(148,163,184,0.35);
}

.app-tag-pill span {
    display: block;
    width: 48px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148,163,184,0.8);
}

/* 钢琴键动画效果 */
.piano-keys {
    display: flex;
    gap: 4px;
    padding: 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.piano-key {
    width: 30px;
    height: 100px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    position: relative;
    animation: keyPress 2s infinite;
}

.piano-key:nth-child(2) { animation-delay: 0.3s; height: 90px; background: #1a1a1a; margin: 0 -10px; z-index: 2; width: 20px; border-radius: 0 0 2px 2px; }
.piano-key:nth-child(3) { animation-delay: 0.6s; }
.piano-key:nth-child(4) { animation-delay: 0.9s; height: 90px; background: #1a1a1a; margin: 0 -10px; z-index: 2; width: 20px; border-radius: 0 0 2px 2px; }
.piano-key:nth-child(5) { animation-delay: 1.2s; }

@keyframes keyPress {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); background: var(--accent); box-shadow: 0 0 15px var(--accent); }
}

/* 悬浮元素 */
.floating-card {
    position: absolute;
    padding: 12px 20px;
    background: var(--bg-floating-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 10;
}

.floating-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.floating-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.floating-card-desc {
    font-size: 12px;
    color: #3C3C43;
}


.fc-1 { top: 20%; left: -40px; animation-delay: 0s; }
.fc-2 { bottom: 20%; right: -40px; animation-delay: 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== 特性区域 ===== */
 .features {
    padding: 80px 0;
    position: relative;
    background: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
}

 .feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(134, 146, 247, 0.2);
    border-radius: 24px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 
        0 10px 30px -10px rgba(134, 146, 247, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(134, 146, 247, 0.5);
    box-shadow: 
        0 20px 40px -10px rgba(134, 146, 247, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

 .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #8692f7 0%, #8A9EF3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(106, 134, 232, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 28px rgba(106, 134, 232, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #8692f7;
    letter-spacing: -0.01em;
}


.feature-desc {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== 步骤 + 下载左右布局 ===== */
.steps-download-layout {
    padding: 80px 0 96px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.steps-download-inner {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

.steps-column {
    flex: 1;
    max-width: 520px;
}

.download-column {
    flex: 0.85;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
    top: 100px;
}

.download-column .section-title {
    margin-bottom: 8px;
    text-align: left;
    font-size: 22px;
    color: #8692f7;
}

.download-subtitle {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.steps-column .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 24px;
    color: #8692f7;
}

.steps-subtitle {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.steps-wrapper {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    position: relative;
    padding: 24px 24px 24px 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    border: 1px solid rgba(134, 146, 247, 0.2);
    box-shadow: 0 8px 24px rgba(134, 146, 247, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item:hover {
    background: #ffffff;
    border-color: rgba(134, 146, 247, 0.5);
    box-shadow: 0 16px 32px rgba(134, 146, 247, 0.15);
    transform: translateX(8px);
}

.step-number {
    position: absolute;
    left: 18px;
    top: 24px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #8692f7 0%, #8A9EF3 100%);
    box-shadow: 0 8px 20px rgba(106, 134, 232, 0.40), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(106, 134, 232, 0.50), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #8692f7;
    letter-spacing: -0.01em;
}

.step-desc {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.6;
}

/* 步骤连接线 */
 .steps-wrapper::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.06), transparent);
    z-index: 0;
    display: block;
}

/* ===== 下载区域 ===== */
 .download-section {
    padding: 96px 0;
    text-align: center;
    background: #ffffff;
}

 .download-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(134, 146, 247, 0.15);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 48px rgba(134, 146, 247, 0.12), 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
    box-shadow: 0 28px 64px rgba(134, 146, 247, 0.18), 0 1px 3px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
    border-color: rgba(134, 146, 247, 0.3);
}

 .download-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 0%, rgba(134, 146, 247, 0.15), transparent 60%);
    opacity: 0.8;
    transform: translate3d(0,0,0);
    animation: downloadGlow 12s ease-in-out infinite alternate;
    z-index: 0;
}

 .download-card > * {
    position: relative;
    z-index: 1;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    padding: 18px 28px;
    border: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #8692f7 0%, #8A9EF3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(106, 134, 232, 0.30), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.download-link span {
    filter: brightness(1.2);
}

.download-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #5A6FE6 0%, #7A8FF7 100%);
    box-shadow: 0 12px 32px rgba(106, 134, 232, 0.40), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
}

.download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-link:hover::before {
    left: 100%;
}

.download-link:active {
    transform: translateY(-2px) scale(0.98);
}


/* ===== Footer ===== */

.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 0 40px;
    background: #F5F5F7;
    backdrop-filter: blur(10px);
}

.footer-content {
    text-align: center;
    color: #3C3C43;
    font-size: 14px;
}

.footer-content a {
    color: #000000;
    transition: color 0.3s;
    text-decoration: underline;
}

.footer-content a:hover {
    color: var(--primary);
}


/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8692f7 0%, #5A6FE6 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 8px 24px rgba(106, 134, 232, 0.35);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5A6FE6 0%, #4A5FD6 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(106, 134, 232, 0.45);
}

@keyframes downloadGlow {
    0% {
        transform: translate3d(-10%, -6%, 0) scale(1);
        opacity: 0.65;
        background: radial-gradient(circle at 0% 0%, rgba(134, 146, 247, 0.10), transparent 55%);
    }
    50% {
        transform: translate3d(8%, 4%, 0) scale(1.05);
        opacity: 0.9;
        background: radial-gradient(circle at 80% 20%, rgba(52, 199, 89, 0.09), transparent 55%);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1.02);
        opacity: 0.7;
        background: radial-gradient(circle at 20% 80%, rgba(134, 146, 247, 0.08), transparent 55%);
    }
}

/* 弹窗样式优化 */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(15, 23, 42, 0.10);
    padding: 48px 40px;
    border-radius: 28px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.2), 0 0 1px rgba(15, 23, 42, 0.1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.06);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(15, 23, 42, 0.12);
    transform: rotate(90deg);
}

/* 响应式适配优化 */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }
    
    .hero-device-wrapper {
        order: 2;
        margin-top: 60px;
        transform: scale(0.9);
    }

    .steps-wrapper {
        grid-template-columns: 1fr;
    }
    
    .steps-wrapper::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .brand-badge {
        font-size: 20px;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .download-label {
        width: 160px;
    }

    .hero-device-wrapper {
        margin-top: 40px;
        transform: scale(0.85);
    }
    
    .floating-card {
        transform: scale(0.9);
    }
    
    .fc-1 { top: 10%; left: -20px; }
    .fc-2 { bottom: 10%; right: -20px; }

    .section-title {
        font-size: 28px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-card {
        padding: 40px 20px;
        border-radius: 32px;
    }

    .download-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .steps-wrapper::before {
        display: none;
    }

    .step-item {
        width: 100%;
        margin: 0 auto !important;
        padding: 56px 20px 20px 20px;
        text-align: center;
    }

    .step-number {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
    }
}

@media (max-width: 960px) {
    .steps-download-inner {
        flex-direction: column;
    }

    .steps-column .section-title {
        text-align: center;
    }

    .download-column {
        width: 100%;
    }
}

/* 超小屏幕适配 */
@media (max-width: 380px) {
    .hero-title {
        font-size: 32px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-device-wrapper {
        transform: scale(0.75);
        margin-bottom: -50px; 
    }
}

/* Loading 状态 */
.loading .icon-download {
    display: none;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 动画类 - 配合 scripts.js 使用 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
