/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d5016;
    background: linear-gradient(135deg, #f0f8e8 0%, #e8f5e8 25%, #d4edda 50%, #c3e6cb 75%, #b8e6b8 100%);
    overflow-x: hidden;
    position: relative;
}

/* Spring background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 218, 185, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(240, 248, 232, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(76, 175, 80, 0.1);
}

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

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

.logo-image {
    height: 40px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 24px;
    background: linear-gradient(45deg, #4caf50, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #2d5016;
}

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

.nav-link {
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4caf50;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4caf50, #81c784);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #2d5016;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px 20px; /* 增加上下内边距，为英雄框留出更多空间 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(173, 216, 230, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(144, 238, 144, 0.1) 0%, transparent 50%);
}

.glass-container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transform: translateY(15%);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.1);
}

.hero-logo {
    margin-bottom: 30px;
}

.main-logo {
    height: 80px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #4caf50, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #8b4513;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #4caf50, #81c784);
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2d5016;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.btn-secondary:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
    transform: translateY(-3px);
}

.btn-survey {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.btn-survey:hover {
    background: linear-gradient(45deg, #ff5252, #ff8c00);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
}

.survey-btn-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Survey Link in Navigation */
.survey-link {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white !important;
    border-radius: 20px;
    padding: 8px 16px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.survey-link:hover {
    background: linear-gradient(45deg, #ff5252, #ff8c00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.survey-icon {
    font-size: 16px;
}

/* Spring Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: springFloat 8s ease-in-out infinite;
}

/* Petal falling animation */
.petal {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #ffb6c1, #ffc0cb);
    border-radius: 50% 0 50% 0;
    animation: petalFall 12s linear infinite;
    opacity: 0.7;
}

.petal:nth-child(1) { left: 10%; animation-delay: 0s; }
.petal:nth-child(2) { left: 20%; animation-delay: 2s; }
.petal:nth-child(3) { left: 30%; animation-delay: 4s; }
.petal:nth-child(4) { left: 40%; animation-delay: 6s; }
.petal:nth-child(5) { left: 50%; animation-delay: 8s; }
.petal:nth-child(6) { left: 60%; animation-delay: 10s; }
.petal:nth-child(7) { left: 70%; animation-delay: 1s; }
.petal:nth-child(8) { left: 80%; animation-delay: 3s; }
.petal:nth-child(9) { left: 90%; animation-delay: 5s; }

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes springFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1);
    }
    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.1);
    }
}

@keyframes petalFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0.7;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #4caf50, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: rgba(255, 235, 205, 0.5);
}

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

.about-text p {
    font-size: 1.1rem;
    color: #8b4513;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #8b4513;
    font-weight: 500;
}

/* Technology Section */
.technology {
    background: rgba(255, 218, 185, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d5016;
}

.tech-card p {
    color: #8b4513;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: rgba(255, 235, 205, 0.5);
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d5016;
}

.contact-item p {
    color: #8b4513;
}

.contact-form {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    color: #2d5016;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b4513;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

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

/* Footer */
.footer {
    background: rgba(255, 245, 230, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #2d5016;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #8b4513;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4caf50;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #8b4513;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(240, 248, 232, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

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

    .main-logo {
        height: 60px;
    }

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

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

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

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

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

    .glass-container {
        padding: 40px 20px;
        transform: translateY(10%); /* 移动端稍微向下移动 */
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .glass-container {
        padding: 30px 15px;
        transform: translateY(15%); /* 小屏幕向下移动更多 */
        margin: 0 10px;
    }

    .main-logo {
        height: 50px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Smooth scrolling and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 235, 205, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4caf50, #81c784);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #f7931e, #ff6b35);
} 