﻿/* Modern Reset & Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --text-main: #0f172a;
    --text-secondary: #475569;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Effect */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.08), transparent 25%);
    pointer-events: none;
}

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

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
}

.logo img {
    height: 32px;
    width: auto;
}

.logo sup {
    font-size: 0.6em;
    top: -0.5em;
}

.nav-btn {
    background: var(--text-main);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s;
}

.nav-btn:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #dbeafe;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 24px;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-main);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.main-card {
    width: 320px;
    height: 240px;
    padding: 20px;
    transform: rotate(-3deg);
    z-index: 1;
}

.card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #22c55e; }

.skeleton-line {
    height: 12px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 12px;
}
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.skeleton-box {
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 20px;
}

.float-card {
    position: absolute;
    bottom: 60px;
    right: 20px;
    padding: 12px 20px;
    transform: rotate(3deg);
    z-index: 2;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

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

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Requirements Grid */
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.req-item {
    position: relative;
    padding-left: 20px;
}

.req-num {
    font-size: 4rem;
    font-weight: 900;
    color: #f1f5f9;
    position: absolute;
    top: -30px;
    left: 0;
    z-index: -1;
    line-height: 1;
}

.req-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.req-item p {
    color: var(--text-secondary);
}

/* Bento Grid Benefits */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
}

.bento-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.bento-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bento-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Grid Spans */
.item-group {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.item-group .bento-content {
    flex: 1;
    padding-right: 20px;
}

.bento-visual-group {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    background: white;
    padding: 8px 12px;
    border-radius: 12px 12px 12px 0;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    align-self: flex-start;
}

.chat-bubble.right {
    background: var(--primary);
    color: white;
    border-radius: 12px 12px 0 12px;
    align-self: flex-end;
}

.item-live {
    grid-column: span 3;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    display: flex;
    align-items: center;
}

.item-live .bento-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.item-live p {
    color: #94a3b8;
}

.item-live .bento-icon {
    margin-bottom: 16px;
    display: inline-block;
}

.item-commission {
    background: linear-gradient(135deg, #fffbeb, #fff);
    border-color: #fcd34d;
}

.item-commission .bento-icon {
    color: #d97706;
}

/* Contact Section */
.contact-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-info {
    flex: 1;
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-steps {
    list-style: none;
    margin-top: 32px;
}

.contact-steps li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.qr-box {
    width: 200px;
    height: 200px;
    background: #f1f5f9;
    border-radius: 16px;
    padding: 10px;
}

.qr-box img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.qr-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.divider {
    margin: 0 8px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .item-group, .item-live {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .contact-steps {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero h1 {
        font-size: 2rem; /* 强制更小 */
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .bento-item {
        padding: 24px;
    }

    .req-num {
        font-size: 3rem;
        top: -20px;
    }
}
