/* Mobile-First CSS for UPlus Website */

/* 移动端断点 */
@media (max-width: 768px) {
    /* Navbar 移动端优化 */
    #navbar {
        padding: 1rem;
    }

    /* Section 移动端优化 */
    section {
        padding: 4rem 1.5rem;
    }

    /* Hero Logo 移动端优化 */
    .hero-logo {
        font-size: clamp(6rem, 15vw, 12rem);
        margin-bottom: 1.5rem;
    }

    /* Hero Content 移动端优化 */
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Hero Title 移动端优化 */
    .hero-title {
        gap: 0.4em;
        row-gap: 0.8em;
    }

    /* Title Word 移动端优化 */
    .title-word {
        font-size: clamp(1.2rem, 3.5vw, 2rem);
        line-height: 1.6;
        margin-bottom: 0.3em;
    }

    /* Title Word 下划线移动端优化 */
    .title-word::after {
        bottom: -12px;
    }

    /* Hero Subtitle 移动端优化 */
    .hero-subtitle span {
        font-size: clamp(0.8rem, 2vw, 1.2rem);
    }

    /* Scroll Indicator 移动端优化 */
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-arrow {
        height: 25px;
    }

    /* Case Grid 移动端优化 */
    .case-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Contact Container 移动端优化 */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    /* Creators Grid 移动端优化 */
    .creators-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Service List Item 移动端优化 */
    .service-list-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .service-item-image {
        width: 100%;
        height: auto;
    }

    /* About Section 移动端优化 */
    .about-container {
        padding: 0 20px;
    }

    .about-content {
        gap: 40px;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

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

    .about-feature {
        padding: 30px 20px;
    }

    .about-feature i {
        font-size: 2.5rem;
    }

    .about-feature h3 {
        font-size: 1.3rem;
    }

    .about-feature p {
        font-size: 0.95rem;
    }

    /* About Footer 移动端优化 */
    .about-footer {
        margin-top: 40px;
        padding-top: 40px;
    }

    .about-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .about-footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .about-footer-section p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .about-footer-copyright {
        padding-top: 15px;
    }

    .about-footer-copyright p {
        font-size: 0.85rem;
    }

    /* Footer 移动端优化 */
    .footer {
        padding: 4rem 0 4rem;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    /* Company Section 移动端优化 */
    .company-container {
        padding: 0 20px;
    }

    /* Company Profile Table 移动端优化 */
    .company-profile-table {
        border-radius: 6px;
    }

    .profile-row {
        flex-direction: column;
        min-height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .profile-label {
        width: 100%;
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.05);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.95rem;
        color: #fff;
    }

    .profile-value {
        padding: 15px 20px;
        font-size: 0.95rem;
        gap: 6px;
        color: #fff;
    }

    .map-link {
        font-size: 0.85rem;
        color: #64b5f6;
    }

    .company-main-info {
        padding: 30px 20px;
    }

    .company-logo-section h3 {
        font-size: 2rem;
    }

    .company-english {
        font-size: 1rem;
    }

    .company-description p:first-child {
        font-size: 1.1rem;
    }

    .company-detail {
        gap: 15px;
        margin: 20px 0;
    }

    .company-detail span {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .company-address {
        font-size: 0.9rem;
        padding: 12px;
    }

    .company-partners {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    #company h2 {
        font-size: 2.5rem;
    }

    #company h2::after {
        width: 50px;
        height: 2px;
        bottom: -12px;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .hero-title {
        gap: 0.3em;
        row-gap: 0.6em;
    }

    .title-word {
        font-size: clamp(1rem, 3vw, 1.5rem);
        line-height: 1.5;
    }

    .title-word::after {
        bottom: -10px;
        height: 1px;
    }

    .hero-logo-image {
        width: clamp(6rem, 18vw, 12rem);
    }

    .company-container {
        padding: 0 15px;
    }

    .company-main-info {
        padding: 25px 15px;
    }

    .company-logo-section h3 {
        font-size: 1.8rem;
    }

    #company h2 {
        font-size: 2rem;
    }
}

/* 超小屏手机优化 */
@media (max-width: 360px) {
    .hero-title {
        gap: 0.2em;
        row-gap: 0.5em;
    }

    .title-word {
        font-size: clamp(0.9rem, 2.8vw, 1.3rem);
    }

    .company-container {
        padding: 0 10px;
    }

    .company-main-info {
        padding: 20px 10px;
    }
}

/* Creator Item 移动端间距优化 */
@media (max-width: 768px) {
    .creators-pyramid {
        gap: 32px;
    }

    .creators-row {
        gap: 24px;
    }

    .creator-item {
        padding: 2rem;
        margin-bottom: 1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .creator-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .creator-item:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 
            0 16px 48px rgba(0, 0, 0, 0.3),
            0 8px 24px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .creator-item:hover::before {
        opacity: 1;
    }

    .creator-avatar {
        margin-top: -2.5rem;
        width: 90px;
        height: 90px;
        border: 4px solid rgba(255, 255, 255, 0.95);
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
    }

    .creator-item:hover .creator-avatar {
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 1);
        box-shadow: 
            0 12px 32px rgba(0, 0, 0, 0.4),
            0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .creator-name {
        margin-bottom: 8px;
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
    }

    .creator-followers {
        margin-bottom: 8px;
        font-size: 1rem;
        color: #e5e7eb;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.1);
        padding: 4px 12px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
    }

    .creator-description {
        margin-bottom: 15px;
        line-height: 1.6;
        color: #d1d5db;
        text-align: center;
        font-size: 0.9rem;
        padding: 0 8px;
    }

    .creator-tiktok {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        padding: 8px 16px;
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .creator-tiktok:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .creators-pyramid {
        gap: 28px;
    }

    .creators-row {
        gap: 20px;
    }

    .creator-item {
        padding: 1.8rem;
        margin-bottom: 0.8rem;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    }

    .creator-item:hover {
        transform: translateY(-6px) scale(1.01);
    }

    .creator-avatar {
        margin-top: -2rem;
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .creator-name {
        font-size: 1.1rem;
    }

    .creator-followers {
        font-size: 0.9rem;
        padding: 3px 10px;
    }

    .creator-description {
        font-size: 0.85rem;
        padding: 0 6px;
    }

    .creator-tiktok {
        padding: 6px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .creators-pyramid {
        gap: 24px;
    }

    .creators-row {
        gap: 18px;
    }

    .creator-item {
        padding: 1.5rem;
        margin-bottom: 0.6rem;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    }

    .creator-item:hover {
        transform: translateY(-4px) scale(1.005);
    }

    .creator-avatar {
        margin-top: -1.5rem;
        width: 70px;
        height: 70px;
        border-width: 2px;
    }

    .creator-name {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }

    .creator-followers {
        font-size: 0.8rem;
        padding: 2px 8px;
        border-radius: 15px;
    }

    .creator-description {
        font-size: 0.8rem;
        padding: 0 4px;
        line-height: 1.5;
    }

    .creator-tiktok {
        padding: 5px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
}
