/* 首页专用样式 */

/* Hero Section */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.hero-btn {
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #00c4ef 0%, #0089bc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        align-items: center;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: fit-content;
        max-width: 300px;
        flex-shrink: 0;
    }
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(15, 32, 39, 0.4), 
        rgba(44, 83, 100, 0.3)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1400px;
    padding: 0 30px;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-logo {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.3;
    word-spacing: 0.2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 45px;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    line-height: 1.6;
}

.hero-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-button svg {
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(5px);
}

.hero-text {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    line-height: 1.3;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* WHO ARE WE Section */
.who-are-we {
    background: #edebf0;
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #333;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    margin: 20px auto 0;
    border-radius: 2px;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.content-row:last-child {
    margin-bottom: 0;
}

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

.content-row.reverse .text-content {
    order: 2;
}

.content-row.reverse .image-content {
    order: 1;
}

.text-content {
    padding: 0 20px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #f39c12;
    font-weight: 600;
    position: relative;
}

.image-content {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.content-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Subscription Section */
.subscription {
    background: url('./assets/Group_5.png') center/cover no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.subscription-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subscription-content {
    color: white;
}

.subscription-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    white-space: normal;
    word-wrap: break-word;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.subscription-title .highlight {
    color: #f39c12;
    font-weight: 800;
}

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

.subscription-form-inner {
    width: 100%;
    max-width: 600px;
}

.email-input-container {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 25px;
    font-size: 1rem;
    background: transparent;
    color: #666;
    font-weight: 500;
    min-width: 0;
    width: 100%;
}

.email-input::placeholder {
    color: #999;
    font-weight: 400;
}

.subscribe-btn {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 浏览器原生验证样式增强 */
.email-input:invalid {
    border: 1px solid #ccc;
    box-shadow: none;
}

.email-input:valid {
    border: 1px solid #ccc;
    box-shadow: none;
}

/* 成功消息样式 */
.success-message {
    color: #27ae60;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
    padding: 12px 20px;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}



/* Videos Section */
.videos-section {
    background: #edebf0;
    padding: 80px 0;
    position: relative;
}

.videos-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    width: 100%;
    max-width: 900px;
}

.video-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-item {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
    object-fit: cover;
}

/* 响应式设计 - 首页 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 1.2px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 600px;
    }
    
    .who-are-we {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .content-row {
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    
    .subscription-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }
    
    .subscription-container {
        padding: 0 25px;
        max-width: 100%;
    }
    
    .email-input-container {
        max-width: 550px;
    }
    
    .subscription-form-inner {
        max-width: 550px;
    }
    

    
    .videos-section {
        padding: 60px 0;
    }
    
    .videos-container {
        max-width: 800px;
        padding: 0 25px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
        word-spacing: 0.1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        line-height: 1.5;
    }
    
    .hero-button {
        padding: 14px 28px;
        font-size: 0.9rem;
        letter-spacing: 0.6px;
    }
    
    .hero-logo-img {
        height: 100px;
    }
    
    .who-are-we {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .content-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .content-row.reverse .text-content,
    .content-row.reverse .image-content {
        order: 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .text-content {
        padding: 0 10px;
    }
    
    .content-image {
        height: 250px;
    }
    
    .subscription {
        height: 500px;
    }
    
    .subscription-title {
        font-size: 2rem;
        margin-bottom: 35px;
        line-height: 1.4;
        white-space: normal;
    }
    
    .subscription-container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .email-input-container {
        flex-direction: column;
        padding: 12px;
        border-radius: 8px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .email-input {
        padding: 15px 20px;
        text-align: center;
        border-radius: 6px;
        margin-bottom: 8px;
    }
    
    .subscribe-btn {
        padding: 15px 30px;
        border-radius: 6px;
        width: 100%;
    }
    
    .success-message {
        font-size: 0.85rem;
    }
    

    
    .videos-section {
        padding: 50px 0;
    }
    
    .videos-container {
        max-width: 700px;
        gap: 35px;
        padding: 0 20px;
    }
    
    .video-wrapper {
        border-radius: 12px;
        max-width: none;
    }
    
    .video-item {
        border-radius: 12px;
    }

    .hero-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.8px;
        word-spacing: 0.05rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 90%;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-logo-img {
        height: 80px;
    }
    
    .who-are-we {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .content-image {
        height: 200px;
    }
    
    .subscription {
        height: 450px;
    }
    
    .subscription-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        letter-spacing: 0.5px;
    }
    
    .subscription-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .email-input-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .subscription-form-inner {
        max-width: 350px;
    }
    
    .email-input {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
    
    .subscribe-btn {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
    
    .success-message {
        font-size: 0.85rem;
        padding: 8px 12px;
        margin-top: 10px;
    }
    

    
    .videos-section {
        padding: 40px 0;
    }
    
    .videos-container {
        max-width: none;
        padding: 0 15px;
        gap: 30px;
    }
    
    .video-wrapper {
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .video-item {
        border-radius: 10px;
    }

    .hero-text {
        font-size: 1.5rem;
        padding: 0 5px; /* 在小屏幕上减少水平内边距 */
    }
}

/* 针对特别小的屏幕（例如 iPhone SE）的额外优化 */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.6rem;
    }

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

    .hero-text {
        font-size: 1.3rem;
    }

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


/* 大屏幕优化 */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 700px;
    }
    
    .hero-logo-img {
        height: 180px;
    }
}
