/* ============================================
   Modern Hero Section - Pastel Fluid Design
   优化版：超细字体 + Pastel 莫兰迪按钮 + 移动端优化
   ============================================ */

:root {
    /* Pastel/Morandi Colors */
    --pastel-pink: #F8C8DC;
    --pastel-lavender: #E6E6FA;
    --pastel-peach: #FFD4C6;
    --pastel-mint: #D4E8E0;
    --pastel-sky: #D4E5F7;
    --pastel-coral: #FFB8A3;

    /* Soft Gradients */
    --gradient-aurora: linear-gradient(135deg, #F8C8DC 0%, #E6E6FA 50%, #D4E5F7 100%);
    --gradient-warm: linear-gradient(120deg, #FFD4C6 0%, #F8C8DC 100%);
    --gradient-cool: linear-gradient(120deg, #E6E6FA 0%, #D4E5F7 100%);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(248, 200, 220, 0.2);
    --shadow-float: 0 16px 48px rgba(230, 230, 250, 0.25);
}

/* Hero Container */
.hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FDFBF9 0%, #F9F5FC 50%, #F5F9FC 100%);
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
}

/* WebGL Canvas Container */
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Floating Language Particles (Fallback for non-WebGL) */
.language-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

.particle {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pastel-pink);
    animation: float-particle 15s infinite ease-in-out;
    opacity: 0.7;
    text-shadow: 0 2px 8px rgba(248, 200, 220, 0.3);
    font-family: 'Poppins', sans-serif;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
        opacity: 0.7;
    }

    50% {
        transform: translate(-15px, -60px) rotate(-3deg);
        opacity: 1;
    }

    75% {
        transform: translate(30px, -40px) rotate(7deg);
        opacity: 0.6;
    }
}

/* Hero Content Container */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

/* Glassomorphism Title Card - 优化版 */
.hero-title-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    padding: 50px 42px;
    box-shadow:
        0 12px 40px rgba(248, 200, 220, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    animation: titleCardFloat 6s ease-in-out infinite;
}

@keyframes titleCardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* 标题优化：超轻盈、简洁、优雅 */
.hero-content-wrapper h1 {
    font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei Light", "Helvetica Neue", sans-serif;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    font-weight: 300;
    /* 超细字重，去除廉价PPT感 */
    color: #3A3A52;
    /* 优雅的深灰色 */
    margin-bottom: 20px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    /* 增加字间距，透气优雅 */
}

.hero-content-wrapper p {
    font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: #5A5A72;
    line-height: 1.75;
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* 按钮优化：Pastel 背景 + 深色文字 */
.hero-cta-liquid {
    position: relative;
    display: inline-block;
    padding: 18px 48px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3A3A52;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #F5D7E3 0%, #E8D9F0 100%);
    box-shadow: 0 8px 24px rgba(245, 215, 227, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.5);
}

.hero-cta-liquid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta-liquid:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(232, 217, 240, 0.5);
    background: linear-gradient(135deg, #F0CAD9 0%, #DDD0E8 100%);
}

.hero-cta-liquid:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta-liquid:active {
    transform: translateY(-2px) scale(1.02);
}

/* Sub Text with Flowing Animation */
.hero-sub-text {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #8A8AA8;
    font-weight: 500;
    animation: subtextFlow 3s ease-in-out infinite;
}

@keyframes subtextFlow {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Ambient Glow Effects */
.hero-ambient-glow {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    top: 10%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(248, 200, 220, 0.3) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.glow-2 {
    bottom: 15%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 230, 250, 0.25) 0%, transparent 70%);
    animation: pulseGlow 10s ease-in-out infinite reverse;
}

.glow-3 {
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 229, 247, 0.2) 0%, transparent 70%);
    animation: pulseGlow 12s ease-in-out infinite;
    transform: translate(-50%, -50%);
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ===================================
   Responsive Design - 移动端优化
   =================================== */

/* 平板 */
@media (max-width: 768px) {
    .hero-new {
        min-height: 80vh;
    }

    .hero-content-wrapper {
        padding: 40px 24px;
    }

    .hero-title-card {
        padding: 36px 28px;
        border-radius: 24px;
    }

    .hero-content-wrapper h1 {
        font-weight: 400;
        font-size: clamp(2rem, 6vw, 2.8rem);
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero-content-wrapper p {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-cta-liquid {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .particle {
        font-size: 1rem;
    }
}

/* 手机 */
@media (max-width: 480px) {
    .hero-content-wrapper h1 {
        font-size: 1.75rem;
        font-weight: 400;
        line-height: 1.3;
        letter-spacing: 0.01em;
    }

    .hero-content-wrapper p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-title-card {
        padding: 28px 20px;
    }

    .hero-cta-liquid {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .hero-sub-text {
        font-size: 0.85rem;
    }
}

/* 超小屏幕 (iPhone SE, 小型手机) */
@media (max-width: 375px) {
    .hero-content-wrapper h1 {
        font-size: 1.6rem;
        line-height: 1.35;
    }

    .hero-title-card {
        padding: 24px 18px;
    }
}

