/* ========================================
   黑速官网 - 主样式文件
   ======================================== */

/* CSS Variables - 统一设计系统 */
:root {
    /* 颜色系统 */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tertiary-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);

    --bg-dark: #0a0a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(102, 126, 234, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;

    --accent: #00d4ff;
    --accent-secondary: #0099cc;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: rgba(102, 126, 234, 0.3);

    /* 间距系统 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* 圆角系统 */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 30px rgba(102, 126, 234, 0.2);
    --shadow-primary-lg: 0 20px 40px rgba(102, 126, 234, 0.3);

    /* 过渡系统 */
    --transition-fast: 0.3s;
    --transition-base: 0.6s;
    --transition-slow: 0.8s;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* 字体大小系统 - 使用clamp实现流体排版 */
    --font-size-h1: clamp(2rem, 5vw, 4rem);
    --font-size-h2: clamp(1.5rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.25rem, 3vw, 1.8rem);
    --font-size-h4: clamp(1rem, 2.5vw, 1.3rem);
    --font-size-body-lg: clamp(1rem, 2vw, 1.125rem);
    --font-size-body: clamp(0.95rem, 1.5vw, 1rem);
    --font-size-body-sm: clamp(0.85rem, 1.2vw, 0.9rem);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        line-height: 1.7;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
}

/* 尊重用户的动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base) var(--ease-in-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-xl);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1920px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 40px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform var(--transition-base) var(--ease-out);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: clamp(28px, 5vw, 36px);
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
    transition: box-shadow var(--transition-base) var(--ease-in-out);
}

.logo:hover .logo-img {
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.6);
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-base) var(--ease-in-out);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-base) var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #667eea;
}

.nav-links a.active::after {
    width: 100%;
    background: #667eea;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all var(--transition-base) var(--ease-in-out);
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all var(--transition-base) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
    top: 12px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 21px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 30px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base) var(--ease-out);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: var(--radius-lg);
    }

    .btn i {
        font-size: 1.2rem;
    }
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-white {
    background: white;
    color: #667eea;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: #667eea;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 15vh, 120px) var(--spacing-md) var(--spacing-sm);
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-full);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    color: var(--accent);
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.8s var(--ease-out);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.hero-buttons .btn {
    width: 170px;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.hero-buttons .btn i {
    font-size: 1.1rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: all var(--transition-base) var(--ease-out);
    backdrop-filter: blur(10px);
}

.hero-feature-item:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.hero-feature-item i {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--accent);
}

.hero-feature-item span {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    margin-bottom: 80px;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow), 0 0 60px rgba(102, 126, 234, 0.3);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-20px); }
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f0f23;
    border-radius: 30px;
    overflow: hidden;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 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: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Chat Demo */
.chat-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.75rem;
    color: var(--accent);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: messageIn 0.5s ease;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.received {
    align-self: flex-start;
}

.message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.message.received .message-content {
    background: rgba(255, 255, 255, 0.1);
}

.message.sent .message-content {
    background: var(--primary-gradient);
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
}

.chat-input input::placeholder {
    color: var(--text-secondary);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-full);
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: clamp(60px, 12vh, 100px) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base) var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-primary-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-base) var(--ease-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* ========================================
   Architecture Section
   ======================================== */
.architecture {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 50%, transparent 100%);
}

.arch-diagram {
    max-width: 800px;
    margin: 0 auto 60px;
}

.arch-layer {
    margin-bottom: 20px;
}

.layer-title {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.layer-items {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.arch-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.arch-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.arch-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.arch-item.wide {
    padding: 20px 60px;
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.connector-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.connector-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-item img {
    width: 50px;
    height: 50px;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.tech-item:hover img {
    filter: grayscale(0%) brightness(1);
}

.tech-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
}

.pricing-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-secondary);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 30px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: linear-gradient(180deg, rgba(10, 10, 20, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: var(--spacing-md);
        border-top: 1px solid rgba(102, 126, 234, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        gap: 8px;
        animation: slideDown 0.3s var(--ease-out);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active li {
        margin: 0;
        width: 100%;
        list-style: none;
    }

    .nav-links.active a {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s var(--ease-out);
        min-height: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }

    .nav-links.active a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, var(--accent) 0%, var(--accent-secondary) 100%);
        transform: scaleY(0);
        transition: transform 0.3s var(--ease-out);
    }

    .nav-links.active a:hover,
    .nav-links.active a.active {
        background: rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.3);
        transform: translateX(4px);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    }

    .nav-links.active a:hover::before,
    .nav-links.active a.active::before {
        transform: scaleY(1);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
        border-color: rgba(102, 126, 234, 0.6);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 380px;
        gap: var(--spacing-md);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
        justify-content: center;
        font-size: 0.95rem;
        padding: 14px 16px;
        min-height: 52px;
    }

    .hero-buttons .btn i {
        font-size: 1.2rem;
    }

    .hero {
        padding: clamp(60px, 10vh, 80px) var(--spacing-md) var(--spacing-md);
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
        margin-bottom: var(--spacing-md);
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .hero-description {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.7;
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
        opacity: 0.95;
    }

    .hero-features {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-feature-item {
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }

    .section-description {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.7;
        opacity: 0.9;
    }

    .features {
        padding: clamp(40px, 8vh, 60px) var(--spacing-md);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .feature-card {
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: var(--spacing-sm);
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .pricing-card {
        padding: var(--spacing-xl);
        border-radius: var(--radius-xl);
    }

    .pricing-card.featured {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.25);
    }

    .pricing-card .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .pricing-features {
        margin-bottom: var(--spacing-xl);
    }

    .pricing-features li {
        padding: var(--spacing-sm) 0;
        font-size: 0.95rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
        text-align: left;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .cta {
        padding: clamp(50px, 10vh, 70px) 0;
    }

    .cta-content {
        padding: var(--spacing-2xl) var(--spacing-md);
        border-radius: var(--radius-xl);
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }

    .cta-description {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.6;
        margin-bottom: var(--spacing-xl);
        opacity: 0.9;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-feature-item {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Animations
   ======================================== */
/* 自定义滚动动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   高端科技感特效
   ======================================== */

/* 鼠标光晕跟随 */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: opacity 0.3s ease;
}

/* 卡片悬停光效 */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(102, 126, 234, 0.15),
        transparent 40%
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Hero元素入场动画 */
.hero-title,
.hero-description,
.hero-buttons,
.hero-features {
    opacity: 0;
    transform: translateY(30px);
}

.hero-title.fade-in,
.hero-description.fade-in,
.hero-buttons.fade-in,
.hero-features.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 打字机光标效果已禁用 */

/* 按钮波纹效果 */
.btn .ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 功能卡片入场动画 */
.feature-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Section标题入场 */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 下载区域入场 */
.download-content {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-content.aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* 渐变边框动画 */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(102, 126, 234, 0.3); }
    50% { border-color: rgba(102, 126, 234, 0.6); }
}

.feature-card:hover {
    animation: borderGlow 2s ease infinite;
}

/* 数字滚动效果 */
[data-count] {
    font-variant-numeric: tabular-nums;
}

/* 统计卡片入场动画 */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Moments Section
   ======================================== */
.moments {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 50%, transparent 100%);
}

.moments-showcase {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.moment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    width: 380px;
    transition: all 0.4s ease;
}

.moment-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.moment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.moment-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.moment-user {
    display: flex;
    flex-direction: column;
}

.moment-name {
    font-weight: 600;
    font-size: 1rem;
}

.moment-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.moment-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.moment-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.moment-img {
    flex: 1;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 12px;
    opacity: 0.7;
}

.moment-actions {
    display: flex;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.moment-actions span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.moment-actions span:hover {
    color: var(--accent);
}

.moment-actions span i {
    font-size: 1rem;
}

/* ========================================
   Download Section
   ======================================== */
.download {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-content {
    text-align: center;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.download-qr {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-image {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 10px;
}

.qr-placeholder-small {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.qr-placeholder-small i {
    font-size: 3rem;
    color: #667eea;
}

.qr-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #333;
}

.qr-placeholder i {
    font-size: 4rem;
    color: #667eea;
}

.qr-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 220px;
}

.download-btn:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.download-btn i {
    font-size: 2rem;
    color: var(--accent);
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.download-btn-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1;
}

.download-btn-large {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}
}

.download-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.download-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
}

.download-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
}

.download-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -100px;
}

.download-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .moments-showcase {
        flex-direction: column;
        align-items: center;
    }

    .moment-card {
        width: 100%;
        max-width: 380px;
    }

    .download-options {
        flex-direction: column;
        gap: 30px;
    }

    .download-qr {
        flex-direction: row;
        gap: 12px;
    }

    .qr-code-item {
        max-width: 48%;
    }

    .qr-image {
        max-width: 130px;
    }

    .download-title {
        font-size: 1.8rem;
    }

    .download-content {
        padding: 40px 20px;
    }
}
