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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* 导航栏 - 根据Figma设计稿 */
.navbar {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1680px;
    max-width: calc(100% - 240px);
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(200px);
    border-radius: 50px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* 主要内容 */
.main-content {
    width: 100%;
    min-height: 100vh;
}

.section {
    display: none;
    min-height: 100vh;
    padding: 0;
    position: relative;
}

.section.active {
    display: block;
}

/* 首页英雄区域 - 根据Figma设计稿 */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 120px;
}

.title-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 54.67px;
}

/* 草帽样式 */
.straw-hat {
    width: 200px;
    height: 120px;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite, riseUp 2s ease-out 3s forwards;
    z-index: 10;
}

.hat-crown {
    width: 120px;
    height: 80px;
    background: #D2691E;
    border-radius: 60px 60px 40px 40px;
    position: absolute;
    top: 10px;
    left: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hat-band {
    width: 120px;
    height: 15px;
    background: #DC143C;
    border-radius: 8px;
    position: absolute;
    top: 70px;
    left: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hat-brim {
    width: 200px;
    height: 15px;
    background: #D2691E;
    border-radius: 100px;
    position: absolute;
    top: 85px;
    left: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }

    100% {
        transform: translateY(-20px) rotate(0deg);
    }
}

@keyframes riseUp {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(0deg);
    }
}

.straw-hat {
    width: 300px;
    height: 200px;
    position: relative;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite, riseUp 2s ease-out 3s forwards;
}

.straw-hat:hover {
    transform: scale(1.05) translateY(-20px);
    animation-play-state: paused;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    margin-bottom: 56px;
    white-space: nowrap;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    margin-bottom: 32px;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.description {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 梦想部分 */
.dream-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 80px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.dream-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dream-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.dream-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.dream-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.dream-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 关于部分 */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.about-text {
    margin-bottom: 60px;
}

.about-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: left;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

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

.contact-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 1920px) {
    .navbar {
        width: calc(100% - 240px);
        max-width: 1680px;
    }
}

@media (max-width: 1200px) {
    .hero {
        padding: 0 60px;
    }

    .main-title {
        font-size: 60px;
    }

    .subtitle {
        font-size: 30px;
    }

    .description {
        font-size: 30px;
    }

    .straw-hat {
        width: 150px;
        height: 90px;
        top: -60px;
    }

    .hat-crown {
        width: 90px;
        height: 60px;
        left: 30px;
    }

    .hat-band {
        width: 90px;
        left: 30px;
        top: 50px;
    }

    .hat-brim {
        width: 150px;
        top: 65px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 40px);
        top: 20px;
        height: 60px;
    }

    .nav-menu {
        gap: 40px;
    }

    .nav-link {
        font-size: 18px;
    }

    .hero {
        padding: 0 20px;
        margin-top: 100px;
    }

    .main-title {
        font-size: 40px;
        white-space: normal;
    }

    .subtitle {
        font-size: 24px;
        white-space: normal;
    }

    .description {
        font-size: 20px;
    }

    .straw-hat {
        width: 120px;
        height: 70px;
        top: -50px;
    }

    .hat-crown {
        width: 70px;
        height: 45px;
        left: 25px;
    }

    .hat-band {
        width: 70px;
        left: 25px;
        top: 40px;
    }

    .hat-brim {
        width: 120px;
        top: 55px;
    }

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

    .dream-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        justify-content: center;
    }

    .about-text p {
        font-size: 18px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        height: 50px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 16px;
    }

    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 20px;
    }

    .description {
        font-size: 18px;
    }

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

    .dream-card {
        padding: 30px 20px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero>* {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation-delay: 0.2s;
}

.main-title {
    animation-delay: 0.4s;
}

.subtitle {
    animation-delay: 0.6s;
}

.description {
    animation-delay: 0.8s;
}