/* B-P0 extracted from index.html (block 10) */
.back-to-top {
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    left: max(2rem, env(safe-area-inset-left, 0px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #60a5fa;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.35);
    transition: opacity 0.3s, transform 0.2s, background 0.2s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        left: max(1.5rem, env(safe-area-inset-left, 0px));
        width: 44px;
        height: 44px;
    }
}

/* ========== C1: inline style cleanup ========== */

/* --- brand video --- */
#brand-video .section-video-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 380px;
}
#brand-video .section-video-col-media {
    flex: 1 1 54%;
    min-width: min(90vw, 560px);
    max-width: 720px;
    position: relative;
}
#brand-video .section-video-wrapper {
    position: relative;
    width: 100%;
    transition: box-shadow 0.4s;
}
#brand-video .play-glow {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(26, 115, 232, 0.5);
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    z-index: 1;
}
#brand-video .section-video-col-text {
    flex: 1;
    min-width: 320px;
    color: #334155;
}
#brand-video .section-video-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0 0 1.5rem;
    color: #0f172a;
}
#brand-video .section-video-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0 0 2rem;
    color: #475569;
}
#brand-video .section-video-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 0 0 2rem;
    color: #475569;
}
#brand-video .section-video-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    font-size: 1.15rem;
}
#brand-video .section-video-points li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 500;
    color: #475569;
}
#brand-video .section-video-points li span {
    font-size: 2rem;
    color: #64748b;
}
#brand-video .section-video-hint {
    font-size: 1.1rem;
    color: #64748b;
    font-style: italic;
}

/* --- services / pricing --- */
#services .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
#services .services-section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin: 0;
    color: #0f172a;
}
#services .services-section-subtitle {
    font-size: 1.4rem;
    margin: 1rem 0 0;
    color: #475569;
}
#services .pricing-subsection h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #0f172a;
}
#services .pricing-subsection .pricing-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #475569;
    margin: 0 0 2.5rem;
}
#services .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}
#services .pricing-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
}
#services .pricing-card-recommended {
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
    border: 2px solid #1a73e8;
}
#services .recommended-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: #1a73e8;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.5);
}
#services .card-image {
    height: 160px;
    position: relative;
    background: center/cover no-repeat;
}
#services .card-image--equipment {
    background-image: url('../../images/services/equipment.jpg');
}
#services .card-image--consulting {
    background-image: url('../../images/services/consulting.jpg');
}
#services .card-image--ecology {
    background-image: url('../../images/services/ecology.jpg');
}
#services .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}
#services .card-content {
    padding: 1.5rem;
    text-align: center;
}
#services .card-content h3 {
    font-size: 1.8rem;
    margin: 0 0 1rem;
    color: #0f172a;
    font-weight: 700;
}
#services .pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 1rem 0;
}
#services .pricing-price-unit {
    font-size: 1.1rem;
    color: #64748b;
}
#services .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    text-align: left;
    color: #475569;
}
#services .pricing-features li {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
#services .pricing-features li span:first-child {
    color: #22c55e;
}
#services .pricing-features li.feat-no span:first-child {
    color: #94a3b8;
}
#services .pricing-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border-radius: 999px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}
#services .pricing-btn--primary {
    background: #1a73e8;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}
#services .pricing-btn--highlight {
    background: #60a5fa;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.5);
}

/* --- company pics --- */
#company-pics-section .company-pics-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}
#company-pics-section .company-pics-title {
    text-align: center;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 900;
    margin: 0 0 1rem;
    color: #0f172a;
    letter-spacing: 0.02em;
}
#company-pics-section .company-pics-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #475569;
    margin: 0 0 3rem;
}
#company-pics-section .company-pics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* --- patents --- */
#patents .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
#patents .patents-section-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    margin: 0;
    color: #0f172a;
    letter-spacing: 0.02em;
}
#patents .patents-section-subtitle {
    font-size: 1.4rem;
    margin: 1rem 0 0;
    color: #475569;
}
#patents .patents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}
#patents .patent-card.patent-card-dark {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}
#patents .patent-card .service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
#patents .patent-card .service-icon.icon-primary { color: #1a73e8; }
#patents .patent-card .service-icon.icon-accent { color: #07d96c; }
#patents .patent-card h3 {
    font-size: 1.8rem;
    margin: 0 0 1rem;
    color: #0f172a;
    font-weight: 700;
}
#patents .patent-card p {
    font-size: 1.05rem;
    color: #475569;
    margin: 0.5rem 0;
    line-height: 1.6;
}
#patents .patent-card p strong {
    color: #0f172a;
}
#patents .patent-view-hint {
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#patents .patent-view-hint i {
    color: #1a73e8;
}
.patent-fullscreen {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.patent-fullscreen .fullscreen-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.patent-fullscreen .fullscreen-inner img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 60px rgba(26, 115, 232, 0.6);
    border-radius: 12px;
}
.patent-fullscreen .fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.5);
}
.patent-fullscreen .patent-fullscreen-hint {
    color: #94a3b8;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* --- founder --- */
#founder-intro {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
    color: #e2e8f0;
}
#founder-intro .founder-bg {
    position: absolute;
    inset: 0;
    background: url('../../images/company_pics/5ee28ea4bfcfab49843d1a1ca7b5b49f.jpg') center/cover no-repeat;
    opacity: 0.22;
    filter: brightness(0.85) contrast(1.15);
}
#founder-intro .founder-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.12), rgba(30, 41, 59, 0.18));
    z-index: 1;
}
#founder-intro .founder-intro-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
#founder-intro .founder-intro-container > h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    margin: 0 0 2rem;
    color: #ffffff;
}
#founder-intro .founder-intro-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}
#founder-intro .founder-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}
#founder-intro .founder-avatar-wrap img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 60px rgba(26, 115, 232, 0.5);
    border: 4px solid rgba(26, 115, 232, 0.3);
    transition: all 0.5s;
}
#founder-intro .founder-ai-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    padding: 6px 16px;
    background: #1a73e8;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 30px rgba(26, 115, 232, 0.6);
    animation: founder-breath 4s infinite;
    white-space: nowrap;
}
#founder-intro .founder-quote {
    flex: 1;
    min-width: 280px;
    max-width: 520px;
    text-align: left;
}
#founder-intro .founder-quote blockquote {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 300;
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    padding-left: 1.5rem;
}
#founder-intro .founder-quote .founder-byline {
    margin: 0;
    font-style: italic;
    color: #60a5fa;
    font-size: 1.35rem;
    font-weight: 700;
}
#founder-intro .founder-quote .founder-byline-name {
    font-size: 1.6rem;
    color: #1e40af;
}
#founder-intro .founder-quote .founder-credentials {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #ffffff;
}

/* --- ai views / ai team headers --- */
#ai-views .ai-views-bg {
    position: absolute;
    inset: 0;
    background: url('../../images/生成特定风格的篮子图片.png') center/cover no-repeat;
    opacity: 0.04;
    filter: brightness(0.98);
}
#ai-views .section-inner,
#ai-team .section-inner {
    text-align: center;
    padding: 0 1.5rem;
}
#ai-views .ai-views-heading,
#ai-team .ai-team-heading {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 900;
    margin: 0 0 1rem;
    color: #0f172a;
}
#ai-views .ai-views-subtitle,
#ai-team .ai-team-subtitle {
    font-size: 1.2rem;
    margin: 0 0 2.5rem;
    color: #475569;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#ai-team .ai-team-subtitle {
    margin-bottom: 1.5rem;
}
#ai-views .team-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
#ai-views .team-member.person {
    position: relative;
    width: 200px;
    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    border: none;
    background: transparent;
    /* 覆盖 index-ai-carousel 的白色圆角卡片外框 */
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    flex: none;
    opacity: 1;
    transform: none;
    animation: none;
}
#ai-views .team-member.person::before {
    display: none;
}
#ai-views .team-member.person:hover,
#ai-views .team-member.person:focus,
#ai-views .team-member.person:focus-visible,
#ai-views .team-member.person.active {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    transform: none;
    filter: none;
}
#ai-views .avatar-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 0.8rem;
}
#ai-views .avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(26, 115, 232, 0.2);
    transition: transform 0.4s;
}
#ai-views .ring-glow {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(26, 115, 232, 0.3);
    border-radius: 50%;
    animation: ai-views-breath 5s infinite;
}
#ai-views .team-member h3 {
    font-size: 1.4rem;
    margin: 0 0 0.3rem;
    color: #0f172a;
}
#ai-views .team-member p {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}
#ai-views.has-quote-open .quote-flow {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    min-height: 0;
    height: auto;
}
#ai-views #aiViewsQuoteText {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    line-height: 1.7;
    font-weight: 300;
    min-height: 0;
    height: auto;
    color: #334155;
}
#ai-views #aiViewsQuoteAuthor {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 1rem;
    min-height: 0;
}
#aiViewsResetBtn {
    margin-top: 2rem;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a73e8, #60a5fa);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
    transition: all 0.3s;
}

/* --- brands --- */
#brands-partners .brands-bg {
    position: absolute;
    inset: 0;
    background: url('../../images/qqq.png') center 38% / cover no-repeat;
    opacity: 0.12;
    z-index: 0;
}
#brands-partners .brands-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
#brands-partners .brands-wrapper--hero {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
}
#brands-partners .brands-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #1e293b;
    white-space: nowrap;
}
#brands-partners .brands-name-highlight {
    background: none;
    -webkit-text-fill-color: #0f172a;
    color: #0f172a;
}
#brands-partners .brands-ai-highlight {
    background: none;
    -webkit-text-fill-color: #e11d48;
    color: #e11d48;
}
#brands-partners .brands-subtitle {
    font-size: 1.5rem;
    margin: 0 0 2.5rem;
    color: #1e293b;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
#brands-partners .brands-china-highlight { color: #db2777; }
#brands-partners .brands-ai-yellow-highlight { color: #d97706; }
