/* ============================================================
   建站接单业务介绍单页 - 样式表
   设计风格：温暖亲民 · 大字体 · 移动端优先
   配色：橙色 #FF6B35 / 暖红 #E63946 / 金色 #F4A261
   ============================================================ */

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #2d3436;
    background-color: #fff8f0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 动画 ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo {
    color: #e63946;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle {
    color: #2d3436;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #2d3436;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    background-color: rgba(255, 107, 53, 0.12);
    color: #e63946;
}

/* ---------- Hero 首屏 ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 50%, #f4a261 100%);
    color: #fff;
    padding: 100px 20px 60px;
    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(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(5%, 5%);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.85;
    line-height: 1.8;
}

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

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background-color: #fff;
    color: #e63946;
    border-color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background-color: #fff;
    color: #e63946;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 28px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

/* ---------- 通用区块样式 ---------- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #2d3436;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 48px;
}

/* ---------- 关于我 ---------- */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #e63946);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.3);
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3436;
}

.about-text p {
    font-size: 1.05rem;
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    background-color: #fff0e8;
    color: #e63946;
    font-size: 0.85rem;
    border-radius: 15px;
    font-weight: 500;
}

.about-promise {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #2d3436;
}

.promise-icon {
    width: 24px;
    height: 24px;
    background-color: #2ecc71;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- 服务项目 ---------- */
.services {
    background-color: #fff8f0;
}

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

.service-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.08);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2d3436;
}

.service-brief {
    font-size: 0.95rem;
    color: #636e72;
    margin-bottom: 20px;
}

.service-features {
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
    position: relative;
    padding-left: 22px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: 700;
}

.service-price {
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 4px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e63946;
}

.service-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.industry-tag {
    padding: 3px 12px;
    background-color: #fff0e8;
    color: #ff6b35;
    font-size: 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

/* ---------- 案例展示 ---------- */
.cases {
    background-color: #fff;
}

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

.case-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.case-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ff6b35, #f4a261);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.case-info {
    padding: 16px 20px;
}

.case-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d3436;
}

.case-info p {
    font-size: 0.9rem;
    color: #636e72;
}

/* ---------- 联系方式 ---------- */
.contact {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact .section-desc {
    color: rgba(255, 255, 255, 0.85);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-wechat {
    text-align: center;
}

.wechat-qr-placeholder {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-wechat p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.contact-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* 表单 */
.contact-form {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
}

.form-group input:-internal-autofill-selected {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.contact-form .btn-primary {
    background-color: #fff;
    color: #e63946;
    border: none;
    margin-top: 8px;
}

.contact-form .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #e63946;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- AI优势：对比模块 ---------- */
.why-ai {
    background: linear-gradient(135deg, #fff8f0, #fff0e8);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-card {
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compare-card-user {
    background: #fff;
    border: 2px solid #ffe0d0;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.06);
}

.compare-card-pro {
    background: #fff;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.12);
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.compare-icon {
    font-size: 2rem;
}

.compare-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3436;
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.compare-num {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.compare-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.compare-item p {
    font-size: 0.88rem;
    color: #636e72;
    line-height: 1.5;
}

.compare-card-pro .compare-item p {
    color: #555;
}

.why-ai-cta {
    text-align: center;
    margin-top: 40px;
}

.why-ai-cta p {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 16px;
}

/* ---------- 页脚 ---------- */
.footer {
    background-color: #2d3436;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 24px 0;
    font-size: 0.9rem;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #e63946;
    transform: translateY(-3px);
}

/* ============================================================
   响应式设计
   ============================================================ */

/* 平板 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .compare-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* 手机 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 16px 16px;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        color: #2d3436;
        padding: 12px 16px;
        font-size: 1.05rem;
        border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(230, 57, 70, 0.08);
        color: #e63946;
    }

    .hero {
        min-height: 90vh;
        padding: 80px 16px 40px;
    }

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

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

    .hero-desc {
        font-size: 0.95rem;
    }

    .section {
        padding: 56px 0;
    }

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

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-tags {
        justify-content: center;
    }

    .about-promise {
        align-items: center;
    }

    .avatar-placeholder {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }

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

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

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

    .contact-form {
        padding: 24px 20px;
    }

    .wechat-qr-placeholder {
        width: 150px;
        height: 150px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* 小屏手机 */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }
}