/* ========== 基础重置与变量 ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #C1354A;
    --primary-dark: #A0283A;
    --primary-light: #FDF0F3;
    --secondary: #E85A6E;
    --accent: #E85A6E;
    --dark: #1A1A2E;
    --dark-2: #2D3436;
    --text: #4A4A5A;
    --text-light: #7B7B8B;
    --bg: #FFFBFA;
    --bg-alt: #FFF5F0;
    --white: #FFFFFF;
    --border: #F0E4DE;
    --shadow-sm: 0 2px 8px rgba(255, 90, 60, 0.06);
    --shadow-md: 0 8px 30px rgba(255, 90, 60, 0.08);
    --shadow-lg: 0 20px 60px rgba(255, 90, 60, 0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 90, 60, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 90, 60, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--dark-2);
    border: 2px solid transparent;
}
.btn-ghost:hover {
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
}

.logo-icon { font-size: 1.5rem; }
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, var(--bg) 0%, var(--bg-alt) 60%, #FFF0E8 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; right: -200px;
    filter: blur(60px);
}

.shape-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    bottom: -100px; left: -100px;
    filter: blur(50px);
}

.shape-3 {
    width: 300px; height: 300px;
    background: var(--accent);
    top: 40%; left: 50%;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-desc strong {
    color: var(--primary);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
}
.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-screen {
    background: #F8F9FA;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #E0E0E0;
}
.mockup-dot:first-child { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:last-child { background: #28CA41; }

.mockup-body { padding: 20px; }

.mockup-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}

.mockup-card-header {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.mockup-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mockup-stat {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.mockup-stat.highlight {
    background: var(--primary-light);
}

.mockup-stat-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}
.mockup-stat.highlight .mockup-stat-val {
    color: var(--primary);
}

.mockup-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-list-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text);
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}

/* ========== Section 通用 ========== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ========== 产品介绍 ========== */
.product {
    background: var(--white);
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: default;
}
.product-card:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 功能亮点 ========== */
.features {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.feature-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 12px;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 适用场景 ========== */
.scenarios {
    background: var(--white);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.scenario-card:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.scenario-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.scenario-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.scenario-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== 关于我们 ========== */
.about {
    background: var(--bg-alt);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--primary);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.value-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========== CTA ========== */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(255, 90, 60, 0.25);
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    max-width: 240px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual { order: -1; }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-title { font-size: 2.6rem; }
    .hero-mockup { max-width: 350px; transform: none; }

    .product-showcase { grid-template-columns: repeat(2, 1fr); }
    .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        gap: 4px;
    }

    .nav-menu.active { right: 0; }
    .nav-menu .nav-link {
        width: 100%;
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    section { padding: 64px 0; }

    .product-showcase { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .scenarios-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-card { padding: 48px 24px; }
    .cta-card h2 { font-size: 1.5rem; }

    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.3rem; }
}
