/* ========================================
   Landing Page Styles - 考据派官网
   ======================================== */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #39d4ff;
    --secondary-color: #ff57da;
    --dark-bg: #0D131F;
    --card-bg: #171F29;
    --text-light: #C6CEDA;
    --text-white: #ffffff;
    --error-color: #ff4d4d;
    --success-color: #4ade80;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Noto Sans SC', system-ui, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(57, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 87, 218, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(57, 212, 255, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    box-shadow: 0 10px 30px rgba(57, 212, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(57, 212, 255, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: rgba(57, 212, 255, 0.1);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
}

/* Highlights Section */
.highlights-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--card-bg);
    border: 1px solid rgba(57, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(57, 212, 255, 0.2);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.highlight-icon.error {
    background: linear-gradient(135deg, #ff4d4d, #ff8a00);
}

.highlight-icon.success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.highlight-metric {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
}

.highlight-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 4.5em; /* 确保至少有3行的高度 */
}

.highlight-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(57, 212, 255, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.example-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.example-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(57, 212, 255, 0.2), rgba(255, 87, 218, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.about-image-placeholder svg {
    width: 150px;
    height: 150px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(57, 212, 255, 0.1), rgba(255, 87, 218, 0.1));
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(57, 212, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.footer-slogan {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(57, 212, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* AOS Animation Library */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(57, 212, 255, 0.2), rgba(255, 87, 218, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.feature-icon-large svg {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Tech Section */
.tech-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(57, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.tech-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tech-label {
    font-size: 1rem;
    color: var(--text-light);
}

