/* ===== 基础重置与变量 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c4a882;
    --primary-dark: #a89070;
    --primary-light: #e8dfd2;
    --accent: #d4836a;
    --bg: #faf7f2;
    --bg-dark: #f0ebe0;
    --text: #3d3226;
    --text-light: #6b5d4f;
    --text-muted: #9b8d7f;
    --white: #ffffff;
    --border: #e0d5c7;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(196, 168, 130, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 168, 130, 0.45);
}

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

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

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* ===== 导航栏 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(196, 168, 130, 0.1);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 120px 24px 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(196, 168, 130, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(212, 131, 106, 0.06) 0%, transparent 60%);
    animation: heroGlow 12s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 1%); }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(196, 168, 130, 0.12);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

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

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-visual {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-visual-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--border);
}

.hero-visual-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.hero-visual-text {
    text-align: left;
}

.hero-visual-text h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 8px;
}

.hero-visual-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual-steps {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hero-visual-step {
    background: var(--bg);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== 区域通用 ===== */
.section {
    padding: 100px 24px;
}

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

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

.section-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(196, 168, 130, 0.1);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== 功能卡片 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: rgba(196, 168, 130, 0.1);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== 流程区域 ===== */
.workflow {
    background: var(--white);
}

.workflow-steps {
    display: flex;
    gap: 24px;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    z-index: 0;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.workflow-step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(196, 168, 130, 0.3);
}

.workflow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== 价格卡片 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: '热门推荐';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.pricing-price-unit {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== 技术栈 ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tech-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.tech-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tech-card p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* ===== CTA 区域 ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    padding: 80px 24px;
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta .btn-white {
    font-size: 1.05rem;
    padding: 14px 40px;
}

/* ===== 关于页 ===== */
.about-hero {
    padding: 120px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

.about-story {
    padding: 80px 24px;
    background: var(--white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-story-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-story-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-story-visual {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    font-size: 6rem;
}

.about-values {
    padding: 80px 24px;
    background: var(--bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
}

.value-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== 联系页 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 24px 32px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
}

.footer-logo-icon {
    font-size: 1.6rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

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

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

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 32px;
    }

    .workflow-steps::before {
        display: none;
    }

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-actions .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 1.7rem;
    }

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

    .hero-visual-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual-text {
        text-align: center;
    }

    .hero-visual-steps {
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section {
        padding: 60px 16px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

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