/* style.css - Premium Edition */
:root {
    /* 核心色彩 */
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    --primary-glow: rgba(26, 115, 232, 0.3);
    --text-main: #1f2937;
    --text-secondary: #6b7280;
    --bg-color: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e5e7eb;
    
    /* 高级阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 30px 60px -12px rgba(0, 0, 0, 0.12), 0 18px 36px -18px rgba(0, 0, 0, 0.08);
    
    /* 圆角系统 */
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* 现代字体栈 */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    
    /* 玻璃拟物特效 */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 动画系统 --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotateX(2deg) rotateY(-5deg); }
    50% { transform: translateY(-16px) rotateX(4deg) rotateY(-3deg); }
    100% { transform: translateY(0px) rotateX(2deg) rotateY(-5deg); }
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* --- 导航栏 (毛玻璃高级感) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-main);
    text-decoration: none;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- 主视觉区 --- */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-glow.glow-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(52,168,83,0.05) 0%, rgba(255,255,255,0) 70%);
    bottom: -200px;
    right: -200px;
    top: auto;
    left: auto;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 580px;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #000;
}

.hero-text h1 strong {
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 400;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

/* 高级按钮设计 */
.btn-primary {
    background-color: var(--primary-color);
    background: linear-gradient(180deg, #1a73e8 0%, #1557b0 100%);
    color: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-pill);
    padding: 18px 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: fit-content;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #1c79f2 0%, #1760c4 100%);
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.btn-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-subtext {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 4px;
}

.terms {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 16px;
}

.terms a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- 浏览器 Mockup (重构质感) --- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    perspective: 1200px;
}

.browser-mockup {
    width: 100%;
    max-width: 600px;
    height: 420px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.browser-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.4);
    pointer-events: none;
    z-index: 10;
}

.browser-header {
    height: 48px;
    background: rgba(241, 245, 249, 0.8);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.traffic-lights {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    height: 30px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.browser-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

.browser-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mockup-logo-wrapper {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
    animation: pulse-glow 4s ease-in-out infinite;
}

.mockup-search {
    width: 340px;
    height: 46px;
    border-radius: 24px;
    border: 1px solid #dfe1e5;
    background: #fff;
    box-shadow: 0 1px 6px rgba(32,33,36,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    transition: box-shadow 0.3s ease;
}

/* --- 功能特性区 (高级卡片) --- */
.features {
    padding: 120px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.card-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.feature-card:hover .card-bg-gradient {
    opacity: 1;
}

.icon-circle {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- SEO 富文本区 (排版优化) --- */
.seo-article {
    padding: 100px 0;
    background: var(--bg-gray);
    position: relative;
}

.seo-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.article-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26,115,232,0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}

/* --- 高级页脚 --- */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #9ca3af;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 80px;
    }
    
    .hero-text {
        max-width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-wrapper {
        align-items: center;
    }

    .terms {
        margin-left: 0;
    }
    
    .browser-mockup {
        animation: none;
        transform: perspective(1000px) rotateX(5deg);
        box-shadow: var(--shadow-lg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-text h1 {
        font-size: 46px;
    }
    
    .hero-text p {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }
    
    .article-content {
        padding: 40px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
