/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --accent: #00ff88;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.1em;
    background: var(--accent);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.qrcode-container {
    text-align: center;
}

.qrcode-placeholder {
    width: 180px;
    height: 180px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: var(--transition);
}

.qrcode-placeholder:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.qrcode-placeholder svg {
    width: 100%;
    height: 100%;
}

.qrcode-placeholder img {
    width: 90%;
    height: 90%;
    border-radius: var(--border-radius);
    object-fit: contain;
}

.qrcode-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-text {
    text-align: left;
}

.search-hint {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.app-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

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

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--bg-secondary);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Use Cases Section */
.use-cases {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.case-card {
    padding: 40px;
    border-left: 4px solid var(--accent);
    background: rgba(0, 255, 136, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-30px);
}

.case-card.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.case-card:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(8px);
}

.case-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.case-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.cta-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.qrcode-placeholder.large {
    width: 240px;
    height: 240px;
    border: 3px solid var(--accent);
}

.cta-hint {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cta-hint strong {
    color: var(--accent);
    font-weight: 700;
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--bg-secondary);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 8px;
}

.footer-api a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-api a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 32px;
    }

    .cta-text {
        text-align: center;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .qrcode-placeholder {
        width: 160px;
        height: 160px;
    }

    .qrcode-placeholder.large {
        width: 200px;
        height: 200px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
