/* ============================================
   扫雷红包官网 - 样式表
   ============================================ */

/* CSS变量 */
:root {
    --primary: #ff4757;
    --primary-dark: #e84142;
    --primary-light: #ff6b7a;
    --secondary: #ffa502;
    --secondary-dark: #e69500;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --success: #2ed573;
    --danger: #ff4757;
    --warning: #ffa502;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-900: #0f0f23;
    --gray-800: #1a1a2e;
    --gray-700: #2d2d44;
    --gray-600: #404060;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff4757 0%, #ff6b81 50%, #ffa502 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-gold: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(255,71,87,0.3);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
}

/* 重置样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--gray-900);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   动态背景
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-dark);
    overflow: hidden;
}

.floating-shapes span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 71, 87, 0.1);
    animation: float 25s infinite;
    border-radius: 50%;
}

.floating-shapes span:nth-child(1) { left: 10%; width: 80px; height: 80px; animation-delay: 0s; }
.floating-shapes span:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.floating-shapes span:nth-child(3) { left: 25%; width: 60px; height: 60px; animation-delay: 4s; }
.floating-shapes span:nth-child(4) { left: 40%; width: 40px; height: 40px; animation-delay: 0s; animation-duration: 18s; }
.floating-shapes span:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.floating-shapes span:nth-child(6) { left: 75%; width: 100px; height: 100px; animation-delay: 3s; }
.floating-shapes span:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.floating-shapes span:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.floating-shapes span:nth-child(9) { left: 85%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.floating-shapes span:nth-child(10) { left: 90%; width: 120px; height: 120px; animation-delay: 0s; animation-duration: 11s; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 46, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--gray-300);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-size: 1rem;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--primary);
}

/* ============================================
   Hero区域
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 20px;
}

.gradient-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255,71,87,0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(255,71,87,0.5)); }
}

.sub-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-top: 10px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255,71,87,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,71,87,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(255,71,87,0.3); }
    50% { box-shadow: 0 10px 50px rgba(255,71,87,0.5); }
}

/* 手机模型 */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0,0,0,0.5),
        inset 0 0 0 2px rgba(255,255,255,0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-content {
    padding: 50px 15px 15px;
    height: 100%;
}

.app-preview {
    height: 100%;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 15px;
}

.preview-header {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.preview-redpacket {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255,71,87,0.2), rgba(255,165,2,0.1));
    border-radius: 12px;
    border: 1px solid rgba(255,71,87,0.3);
    animation: rpPulse 3s ease-in-out infinite;
}

.rp-item:nth-child(2) { animation-delay: 0.5s; }
.rp-item:nth-child(3) { animation-delay: 1s; }

@keyframes rpPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.rp-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.rp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rp-name {
    font-size: 0.85rem;
    color: var(--gray-300);
}

.rp-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.rp-status {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,71,87,0.3) 0%, transparent 70%);
    z-index: -1;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transform: rotate(45deg);
}

/* ============================================
   通用Section样式
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* ============================================
   功能特色
   ============================================ */
.features {
    background: rgba(255,255,255,0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(255,71,87,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============================================
   下载区域
   ============================================ */
.download {
    position: relative;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.download-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-10px);
}

.download-card .card-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    transition: var(--transition);
}

.download-card.android .card-bg {
    background: linear-gradient(135deg, #3ddc84, #00c853);
}

.download-card.ios .card-bg {
    background: linear-gradient(135deg, #007aff, #5856d6);
}

.download-card:hover .card-bg {
    opacity: 0.2;
}

.download-card .card-content {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card.android .platform-icon svg {
    width: 60px;
    height: 60px;
    color: #3ddc84;
}

.download-card.ios .platform-icon svg {
    width: 60px;
    height: 60px;
    color: #007aff;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.download-card .version {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.requirements {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
}

.requirements li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    margin-bottom: 25px;
}

.download-card.android .download-btn {
    background: linear-gradient(135deg, #3ddc84, #00c853);
    color: var(--white);
}

.download-card.ios .download-btn {
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: var(--white);
}

.download-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-icon svg {
    width: 24px;
    height: 24px;
}

.qr-section {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 8px;
}

.qr-section p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* iOS安装提示 */
.ios-guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(255,165,2,0.1);
    border: 1px solid rgba(255,165,2,0.3);
    border-radius: var(--border-radius);
}

.tip-icon {
    font-size: 1.5rem;
}

.tip-content {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
}

.tip-content strong {
    color: var(--secondary);
}

.tip-content .highlight {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ============================================
   使用教程
   ============================================ */
.guide {
    background: rgba(255,255,255,0.02);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.step-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}

.step-item:hover::before {
    transform: scaleY(1);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    min-width: 80px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,71,87,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* ============================================
   联系我们
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.contact-icon.telegram { background: linear-gradient(135deg, #0088cc, #229ed9); }
.contact-icon.qq { background: linear-gradient(135deg, #12B7F5, #1e88e5); }
.contact-icon.wechat { background: linear-gradient(135deg, #07C160, #1aad19); }

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-card p {
    font-size: 1rem;
    color: var(--gray-300);
    margin-bottom: 20px;
    word-break: break-all;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255,71,87,0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 40px 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
}

.footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-copyright .disclaimer {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ============================================
   弹窗
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--gray-800);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--white);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-body {
    padding: 25px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.95rem;
    color: var(--gray-300);
}

.step-text strong {
    color: var(--white);
}

.modal-actions {
    text-align: center;
}

.modal-actions .btn {
    width: 100%;
}

/* ============================================
   Toast提示
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-700);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-phone {
        order: -1;
    }
    
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .step-number {
        min-width: auto;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 40px;
    }
    
    .gradient-text {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .download-card .card-content {
        padding: 30px 20px;
    }
    
    .ios-guide-tip {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   滚动条美化
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-800);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ============================================
   选择文本颜色
   ============================================ */
::selection {
    background: var(--primary);
    color: var(--white);
}
