/* 福礼未来 - 主页样式 */
:root {
    --primary: #e85d24;
    --primary-dark: #c44a18;
    --primary-light: #fff4ed;
    --text: #1a1a2e;
    --text-secondary: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 18px;
    font-size: 15px;
    color: var(--text);
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active {
    background: var(--primary-light);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-ghost {
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-primary {
    color: #fff;
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 93, 36, 0.35);
}

.btn-outline {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(232, 93, 36, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f59e0b, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(20px);
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.hero-stat-card .number {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-card .number span {
    color: var(--primary);
}

.hero-stat-card .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Stats bar */
.stats-bar {
    background: var(--bg);
    padding: 48px 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 8px;
}

.stat-item .value {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-item .value small {
    font-size: 24px;
}

.stat-item .desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Section common */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Products */
.products {
    background: var(--bg-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #f59e0b);
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.product-icon.orange { background: #fff4ed; color: var(--primary); }
.product-icon.blue { background: #eff6ff; color: #3b82f6; }
.product-icon.green { background: #ecfdf5; color: #10b981; }
.product-icon.purple { background: #f5f3ff; color: #8b5cf6; }

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-link:hover {
    gap: 10px;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.value-card:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.value-en {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.value-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.value-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.about-visual {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
}

.about-visual h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.timeline {
    list-style: none;
}

.timeline li {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 24px;
    margin-left: 8px;
    position: relative;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline .year {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    min-width: 48px;
}

.timeline .event {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-box .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.cta-box .btn-white {
    background: #fff;
    color: var(--primary);
}

.cta-box .btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text h1 {
    color: #fff;
}

.footer-brand .logo-text span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: #fff;
}

/* Sub pages */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    text-align: center;
}

.page-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

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

.service-icon-large {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.service-icon-large.orange { background: #fff4ed; }
.service-icon-large.blue { background: #eff6ff; }
.service-icon-large.green { background: #ecfdf5; }
.service-icon-large.purple { background: #f5f3ff; }

.service-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-row,
    .service-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: center;
    }

    .service-features {
        text-align: left;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }

    .product-grid,
    .values-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-box {
        padding: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
