/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* 通用容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用部分样式 */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #2E8B57;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: #2E8B57;
    color: #fff;
}

.primary-btn:hover {
    background-color: #3CB371;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: transparent;
    color: #2E8B57;
    border: 2px solid #2E8B57;
}

.secondary-btn:hover {
    background-color: #2E8B57;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E8B57;
    text-decoration: none;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2E8B57;
    transition: width 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2E8B57;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2E8B57;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* 首页概览 */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
}

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

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.skill-tag {
    background-color: rgba(46, 139, 87, 0.1);
    color: #2E8B57;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.hero-text .description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.profile-image {
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 项目背景 */
.background-section {
    background-color: #fff;
}

.background-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.target-users h3,
.pain-points h3,
.project-goals h3 {
    font-size: 1.8rem;
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
}

.user-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.user-group {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.user-group i {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.user-group h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.user-group p {
    color: #666;
}

.pain-list {
    list-style: none;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.pain-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.pain-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pain-list li i {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-right: 15px;
}

.pain-list li span {
    font-size: 1.1rem;
    color: #555;
}

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

.goal {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.goal i {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.goal h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.goal p {
    color: #666;
}

/* 功能架构图 */
.architecture-section {
    background-color: #f1f8e9;
}

.architecture-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.system-block {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.system-block h3 {
    font-size: 1.8rem;
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
}

.system-list {
    list-style: none;
}

.system-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.system-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.system-list li i {
    color: #2E8B57;
    font-size: 1.2rem;
    margin-right: 15px;
}

.app-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.app-module {
    margin-bottom: 20px;
}

.app-module h4 {
    font-size: 1.3rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.app-module ul {
    list-style: none;
}

.app-module ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.app-module ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2E8B57;
}

.architecture-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.note {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.note i {
    font-size: 2rem;
    color: #2E8B57;
    margin-right: 20px;
}

.note-content h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.note-content p {
    color: #666;
}

/* 用户流程图 */
.flow-section {
    background-color: #fff;
}

.flow-diagram {
    text-align: center;
    margin-bottom: 50px;
}

.flow-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #2E8B57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
}

/* 低保真原型 */
.wireframes-section {
    background-color: #f1f8e9;
    padding: 60px 20px;
}

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

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

.section-header h2 {
    font-size: 2.4rem;
    color: #2E8B57;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.wireframes-content {
    text-align: center;
}

/* 大图容器 */
.wireframe-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.wireframe-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    user-select: none;
}

/* 图片悬浮放大效果 */
.wireframe-image:hover img {
    transform: scale(1.03);
}

.wireframe-info {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 10px;
}

.wireframes-link {
    text-align: center;
}

.wireframes-link a {
    display: inline-block;
    background-color: #2E8B57;
    color: #fff;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.wireframes-link a:hover {
    background-color: #246c44;
}

/* 响应式布局调整 */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    .wireframe-info {
        font-size: 1rem;
        padding: 0 5px;
        max-width: 100%;
    }
    .wireframes-link a {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* 高保真原型 */
.prototypes-section {
    background-color: #fff;
}

.color-scheme {
    margin-bottom: 50px;
}

.color-scheme h3 {
    font-size: 1.8rem;
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
}

.colors {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.color-item {
    text-align: center;
}

.color-block {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.color-item p {
    font-weight: 700;
    margin-bottom: 5px;
}

.color-item span {
    color: #666;
    font-size: 0.9rem;
}

.prototypes-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.prototype-item {
    text-align: center;
}

.prototype-image {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prototype-item:hover .prototype-image {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.prototype-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.prototype-item h4 {
    font-size: 1.2rem;
    color: #333;
}

.design-highlights h3 {
    font-size: 1.8rem;
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
}

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

.highlight {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight i {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.highlight h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.highlight p {
    color: #666;
}

/* 交互演示 */
.demo-section {
    background-color: #f1f8e9;
    padding: 50px 0;
}

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

.demo-video {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.demo-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.demo-video h4 {
    margin-top: 15px;
    text-align: center;
}

.demo-video p {
    text-align: center;
    color: #555;
    font-size: 14px;
}

.video-wrapper {
    position: relative;
}

.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* 联系部分 */
.contact-section {
    background-color: #f1f8e9;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
}

.qrcode {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    display: block;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #2E8B57;
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2E8B57;
    outline: none;
}

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

.btn-submit {
    background-color: #2E8B57;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.btn-submit:hover {
    background-color: #3CB371;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
.footer {
    background-color: #2E8B57;
    color: #fff;
    padding: 40px 0;
}

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

.copyright p {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .user-groups,
    .goals,
    .highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-diagram {
        grid-template-columns: 1fr;
    }

    .app-modules {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0 0 20px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column-reverse;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 40px;
        text-align: center;
    }

    .skills {
        justify-content: center;
    }

    .user-groups,
    .goals,
    .architecture-notes,
    .highlights {
        grid-template-columns: 1fr;
    }

    .wireframes-gallery,
    .demo-videos,
    .demo-gifs {
        grid-template-columns: 1fr;
    }

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

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

    .copyright {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 占位图样式 */
.placeholder-image {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}