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

:root {
    --brand-red: #E02020;
    --brand-red-hover: #C41A1A;
    --brand-red-light: #FFF1F1;
    --text-primary: #1A1A2E;
    --text-secondary: #555;
    --text-light: #888;
    --bg-white: #FFFFFF;
    --bg-gray: #F7F8FA;
    --bg-dark: #1A1A2E;
    --border-color: #E8E8E8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ========== Header ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: 72px;
}
.header .container {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: 40px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--brand-red); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 15px; color: var(--text-primary); font-weight: 500;
    transition: color var(--transition); position: relative;
}
.nav-links a:hover { color: var(--brand-red); }
.nav-links a.active { color: var(--brand-red); }
.nav-links a.active::after { width: 100%; background: var(--brand-red); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--brand-red); transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600;
    transition: all var(--transition); cursor: pointer; border: none;
}
.btn-ghost {
    background: transparent; color: var(--text-primary); border: 1px solid var(--border-color);
}
.btn-ghost:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--brand-red); border: 1px solid var(--brand-red); }
.btn-outline:hover { background: var(--brand-red); color: #fff; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 6px 0; transition: var(--transition); }

/* ========== Hero ========== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 50%, #F0F4FF 100%);
    overflow: hidden;
}
.hero .container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: var(--brand-red-light); color: var(--brand-red);
    font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
    font-size: 48px; font-weight: 800; line-height: 1.2;
    color: var(--text-primary); margin-bottom: 8px;
}
.hero h1 span { color: var(--brand-red); }
.hero-subtitle {
    font-size: 20px; color: var(--text-secondary); margin-bottom: 16px;
    font-weight: 400;
}
.hero-desc {
    font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; }
.hero-actions .btn-outline svg { margin-right: 6px; vertical-align: -2px; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 600px; width: 100%; mix-blend-mode: multiply; }

/* ========== Challenges ========== */
.challenges { padding: 100px 0; background: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-header h2 span { color: var(--brand-red); }
.section-header p { font-size: 16px; color: var(--text-light); }

.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.challenge-card {
    background: var(--bg-gray); border-radius: var(--radius-lg);
    padding: 48px 36px; transition: all var(--transition);
    border: 1px solid transparent; text-align: center;
}
.challenge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(224,32,32,0.1); }
.challenge-card img { width: 200px; height: 200px; max-width: 100%; object-fit: contain; margin-bottom: 28px; }
.challenge-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.challenge-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; text-align: left; }

/* ========== Platform ========== */
.platform { padding: 100px 0; background: var(--bg-gray); }
.platform .container { text-align: center; }
.platform h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.platform-features {
    display: flex; justify-content: center; gap: 40px; margin-bottom: 48px;
    flex-wrap: wrap;
}
.platform-features span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; color: var(--text-secondary); font-weight: 500;
}
.platform-features span::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    background: var(--brand-red); border-radius: 50%;
}
.platform-image {
    max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.platform-image img { width: 100%; }

/* ========== Products ========== */
.products { padding: 100px 0; background: var(--bg-white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); padding: 36px 28px;
    transition: all var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card.featured { border-color: var(--brand-red); }
.product-badge {
    position: absolute; top: -1px; right: 24px; background: var(--brand-red);
    color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.product-card img { width: 80px; height: 80px; margin-bottom: 20px; }
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.product-card .product-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.product-price-list { margin-bottom: 24px; }
.product-price-list li {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--text-secondary); padding: 6px 0;
    border-bottom: 1px solid #F5F5F5;
}
.product-price-list li:last-child { border-bottom: none; }
.product-price-list li .check { color: var(--brand-red); font-weight: 700; }
.product-price-list li .cross { color: #ccc; }
.product-card .btn { width: 100%; }

/* ========== Partners ========== */
.partners { padding: 80px 0; background: var(--bg-white); }
.partners h3 { text-align: left; font-size: 28px; font-weight: 700; margin-bottom: 48px; color: var(--text-primary); }

/* ========== Cases ========== */
.cases { padding: 100px 0; background: var(--bg-white); }
.partner-intro { padding: 140px 0 80px; background: var(--bg-white); }
.partner-intro .container { display: flex; align-items: center; gap: 60px; }
.partner-intro-text { flex: 1; }
.partner-intro-text h2 { font-size: 32px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: var(--text-primary); }
.partner-intro-text h2 span { color: var(--brand-red); }
.partner-intro-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.partner-intro-image { flex: 1; text-align: center; }
.partner-intro-image img { max-width: 100%; height: auto; }

.case-category-title {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin: 56px 0 32px; padding-left: 16px;
    border-left: 4px solid var(--brand-red);
}
.case-category-title:first-of-type { margin-top: 0; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card {
    background: var(--bg-gray); border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); border: 1px solid transparent;
    scroll-margin-top: 88px;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(224,32,32,0.08); }
.case-card-img { height: 200px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 28px; }
.case-num {
    font-size: 32px; font-weight: 800; color: rgba(224,32,32,0.15); line-height: 1;
}
.case-card-body h4 { font-size: 18px; font-weight: 700; margin: 8px 0 12px; color: var(--text-primary); }
.case-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 80px; }
.testimonial-card {
    background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 28px;
}
.testimonial-img {
    height: 420px; width: auto; object-fit: contain; flex-shrink: 0;
    border-radius: var(--radius-md);
}
.testimonial-body { flex: 1; min-width: 0; }
.testimonial-text { font-size: 16px; color: var(--text-primary); line-height: 2; font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-size: 14px; color: var(--text-light); font-weight: 600; }
.partner-logos {
    display: grid; grid-template-columns: repeat(4, 1fr);
    align-items: center; gap: 56px 24px;
}
.partner-logos img {
    max-width: 100%; max-height: 56px; width: auto; height: auto;
    justify-self: center;
}

/* ========== Newsletter ========== */
.newsletter { padding: 80px 0; background: var(--bg-white); text-align: center; }
.newsletter h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.newsletter p { font-size: 15px; color: var(--text-light); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
    flex: 1; padding: 14px 20px; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); font-size: 14px; transition: border-color var(--transition);
}
.newsletter-form input:focus { outline: none; border-color: var(--brand-red); }

/* ========== Sub Page Hero ========== */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2D1B4E 100%);
    color: #fff;
    text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 700; margin-bottom: 14px; }
.page-hero h1 span { color: var(--brand-red); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; line-height: 1.8; }

/* ========== Product Info Sections ========== */
.products-page { padding: 80px 0 60px; background: var(--bg-white); }
.cases-page { padding: 0 0 100px; background: var(--bg-white); }

.info-section { padding: 80px 0; background: var(--bg-white); }
.info-section-gray { background: var(--bg-gray); }
.info-block { display: flex; align-items: center; gap: 60px; }
.info-block-reverse { flex-direction: row-reverse; }
.info-text { flex: 1; }
.info-item { margin-bottom: 32px; }
.info-item:last-child { margin-bottom: 0; }
.info-item h3 { font-size: 19px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; line-height: 1.5; }
.info-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.9; }
.info-image { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.info-image img { max-width: 100%; width: auto; max-height: 460px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.info-figure { margin: 0; width: 100%; text-align: center; }
.info-figure img { max-width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.info-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--text-light); }
.info-solo { max-width: 860px; margin: 0 auto; }
.info-solo .info-item { background: var(--bg-gray); border-radius: var(--radius-md); padding: 28px 32px; }


.help-page { padding: 140px 0 100px; background: var(--bg-gray); min-height: 100vh; }
.help-header { text-align: center; margin-bottom: 60px; }
.help-header .help-icon { margin-bottom: 16px; }
.help-header h2 { font-size: 32px; font-weight: 700; color: var(--text-primary); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.help-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 32px; border: 1px solid var(--border-color);
    transition: all var(--transition); display: flex; flex-direction: column;
}
.help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.help-card-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: #EBF3FF; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.help-card-body { flex: 1; margin-bottom: 20px; }
.help-card-body h4 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.help-card-body p { font-size: 14px; color: var(--text-light); }
.btn-download {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: var(--radius-sm);
    background: #2B7AE0; color: #fff; font-size: 14px; font-weight: 600;
    transition: all var(--transition); border: none; cursor: pointer;
}
.btn-download:hover { background: #1A6BC8; }
.btn-download.disabled {
    background: #ccc; color: #999; cursor: default;
}
.btn-download.disabled:hover { background: #ccc; }

/* ========== Footer ========== */
.footer {
    padding: 60px 0 0; background: var(--bg-dark); color: rgba(255,255,255,0.6);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: 36px; }
.footer-logo span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-contact { margin-top: 16px; }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col a {
    display: block; font-size: 13px; color: rgba(255,255,255,0.6);
    padding: 6px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--brand-red); }
.footer-case-grid { display: grid; grid-template-columns: repeat(2, auto); gap: 0 36px; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px 24px;
    padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--brand-red); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 36px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
    .info-block, .info-block-reverse { flex-direction: column; gap: 40px; }
    .info-image img { max-height: none; }
    .partner-intro .container { flex-direction: column; gap: 40px; text-align: center; }
    .partners h3 { font-size: 24px; }
    .partner-logos { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
    .partner-logos img { max-height: 48px; }
    .testimonial-img { height: 340px; }
}

@media (max-width: 768px) {
    .nav-links, .header-actions { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px 24px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border-color); gap: 0; }
    .nav-links.active > a { padding: 12px 0; font-size: 16px; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 280px; }
    .hero h1 { font-size: 30px; }
    .hero-subtitle { font-size: 16px; }
    .challenge-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .testimonial-card { flex-direction: column; text-align: center; gap: 24px; padding: 28px; }
    .testimonial-img { height: 300px; max-width: 100%; margin: 0 auto; }
    .product-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .product-card:last-child { max-width: 100%; }
    .partner-intro-text h2 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; text-align: center; }
    .footer-desc { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-header h2 { font-size: 26px; }
    .newsletter-form { flex-direction: column; }
    .help-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 26px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
}
