@charset "UTF-8";

/* ================= Section ================= */
.section {
    padding: 140px 8vw 120px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #0b0b0f;
    color: #eaeaea;
}
@media screen and (max-width:768px) {
    .section {
        padding: 40px 4vw 20px;
    }
}
    .section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .section h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .section p {
        font-size: 18px;
        line-height: 1.8;
        max-width: 900px;
        opacity: 0.9;
    }

.section-divider {
    position: relative;
    height: 40px;
    margin: 10px 0;
}

    /* 主品牌光线 */
    .section-divider::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255, 195, 0, 0.8), rgba(230, 0, 73, 0.7), transparent );
        filter: blur(0.5px);
    }

    /* 柔光扩散层 */
    .section-divider::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: 80px;
        background: radial-gradient( ellipse, rgba(255, 195, 0, 0.12), transparent 70% );
        filter: blur(35px);
    }
/*==Compliance & Safety Standards块==*/
.compliance-members .compliance-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 40px;
    justify-content: center;
}
@media screen and (max-width:768px) {
    .compliance-members .compliance-container {
        gap: 30px;
    }
}
/* 左侧原有内容 */
.compliance-left {
    flex: 1;
}

/* 右侧会员展示 */
.compliance-right {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
}
@media screen and (max-width:768px) {
    .compliance-right {
        padding: 5px;
    }
}
    .compliance-right h3 {
        color: #ffc300;
        font-size: 26px;
        margin-bottom: 20px;
        font-weight: 600;
    }

/* 四个成员网格 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media screen and (max-width:768px) {
    .member-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
}
.member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 15px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

    .member-card img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .member-card p {
        font-size: 16px;
        color: #eaeaea;
        margin: 0;
    }

    .member-card:hover {
        transform: translateY(-4px);
    }

/* ===== OEM SECTION LAYOUT ===== */
.oem-container {
    display: flex;
    align-items: center; /* ⭐ 垂直居中关键 */
    justify-content: space-between;
    gap: 60px;
}

/* LEFT TEXT ANIMATION */

.oem-text {
    flex: 1;
    opacity: 0;
    transform: translateY(80px);
    transition: 1s ease;
}

    .oem-text.show {
        opacity: 1;
        transform: translateY(0);
    }


.oem-showcase {
    text-align: center;
    padding: 120px 0;
}
@media screen and (max-width:768px) {
    .oem-showcase {
        padding: 20px 0;
    }
}
.oem-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

.oem-subtitle {
    max-width: 680px;
    margin: 0 auto 70px;
    font-size: 18px;
    color: #aaa;
    line-height: 1.6;
}
@media screen and (max-width:768px) {
    .oem-subtitle {
        margin: 0 auto 35px;
        padding: 0 10px;
    }
}
.oem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 5px;
}

.oem-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.5s ease;
    backdrop-filter: blur(18px);
}

    .oem-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: 0.6s ease;
    }

    .oem-card h3 {
        font-size: 22px;
        margin: 25px 20px 10px;
    }

    .oem-card p {
        color: #aaa;
        padding: 0 20px 30px;
        line-height: 1.6;
    }
@media screen and (max-width:768px) {
    .oem-card p {
        padding: 0 10px 15px;
    }
}
    /* Hover Apple效果 */
    .oem-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    }

        .oem-card:hover img {
            transform: scale(1.05);
        }

@media (max-width:768px) {
    .oem-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .oem-title {
        font-size: 32px;
    }
}

/* ================= Hero ================= */
.about-hero {
    height: 80vh;
    min-height: 480px;
    padding-top: 90px;
    display: flex;
    align-items: center;
    position: relative;
}

    .about-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top right, rgba(255, 195, 0, 0.18), transparent 40% ), radial-gradient( circle at bottom left, rgba(230, 0, 73, 0.18), transparent 40% );
        z-index: -1;
    }

    .about-hero h1 {
        font-size: 56px;
        font-weight: 800;
    }

.dynamic-text {
    font-size: 26px;
	font-weight: bolder;
    color: #FFC300;
    min-height: 36px; 
    line-height: 36px; 
    overflow: hidden; 
    position: relative;
}

    .dynamic-text span {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        animation: textLoop 9s infinite;
    }

        /* 每段文字延迟 */
        .dynamic-text span:nth-child(1) {
            animation-delay: 0s;
        }

        .dynamic-text span:nth-child(2) {
            animation-delay: 3s;
        }

        .dynamic-text span:nth-child(3) {
            animation-delay: 6s;
        }

/* ⭐ 关键动画 */
@keyframes textLoop {
    0% {
        opacity: 0;
        filter: blur(6px);
    }

    10% {
        opacity: 1;
        filter: blur(0);
    }

    30% {
        opacity: 1;
        filter: blur(0);
    }

    40% {
        opacity: 0;
        filter: blur(6px);
    }
}

/* ===== About Hero 视频背景 ===== */

.about-hero {
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* 视频遮罩，保证文字清晰 */
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* 确保文字在最上层 */
.about-hero > div {
    position: relative;
    z-index: 2;
}

/* ================= Story / Services ================= */
.story {
    background: #0f1016;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.service-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

    .service-box h3 {
        font-size: 26px;
        margin-bottom: 14px;
        color: #ffc300;
    }

    .service-box:hover {
        transform: translateY(-4px);
    }

/* ================= Brands ================= */
.section .brands {
    display: flex; /* 使用 flex 布局 */
    justify-content: center; /* 居中显示 */
    gap: 40px; /* 每个品牌之间的间距 */
    flex-wrap: wrap; /* 不强制一行显示 */
}

section .brand-card {
	position: relative; /* 确保按钮的绝对定位相对于品牌卡片 */
    flex: 1; /* 每个品牌等分容器宽度 */
	width: 100%; /* 在小屏幕上占满整个宽度 */
	margin: 10px 0; /* 每行之间的间距 */
	box-sizing: border-box; /* 确保内边距和边框计算在宽度内 */
    max-width: 460px; /* 可选：最大宽度限制 */
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background-color: #272727; /* 背景颜色 */
    transition: transform 0.3s ease;
}

    section .brand-card img {
        height: 100px;
        margin-bottom: 20px;
    }

    /* Hover Apple效果 */
    section .brand-card:hover {
        transform: translateY(-8px);
    }

/* 小屏幕响应式 */
@media (max-width: 900px) {
    section .brands {
        flex-direction: column; /* 垂直排列 */
        align-items: center;
        gap: 30px;
    }

    section .brand-card {
        max-width: 90%; /* 小屏幕限制宽度 */
    }
}

section .brand-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #ffc300;
}

/* Brothers 品牌悬停光效容器 */
section .brand-card.brothers {
    position: relative;
    overflow: hidden;
    /*cursor: pointer;*/
    transition: transform 0.3s ease;
}

    section .brand-card.brothers:hover {
        transform: translateY(-8px);
    }

    /* 光效效果 */
    section .brand-card.brothers::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle, rgba(255, 195, 0, 0.25) 0%, transparent 60% );
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
        transition: all 0.5s ease;
        pointer-events: none;
    }

    section .brand-card.brothers:hover::before {
        transform: translate(25%, 25%) scale(1);
        opacity: 1;
    }

/* VIEW 按钮 */
section .brand-card .view-btn {
    position: absolute;
    bottom: 10px; /* 距底部距离，可保持现有或调整 */
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 25px;
    background: linear-gradient(90deg, #ffc300, #ff6a00);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    /* ⭐ 增加说明文字与按钮间距 */
    margin-top: 60px; /* 或者根据需要调整为 40px */
    z-index: 2; /* 确保按钮位于其他元素上方 */
    opacity: 0; /* 默认隐藏按钮 */
    visibility: hidden; /* 隐藏按钮 */
}

section .brand-card.brothers:hover .view-btn {
    opacity: 1; /* 鼠标悬停时显示按钮 */
    visibility: visible; /* 显示按钮 */
    box-shadow: 0 5px 20px rgba(255, 195, 0, 0.6); /* 按钮的阴影效果 */
}
.brand-card:hover img {
    transform: scale(1.05); /* 鼠标悬停时放大logo */
}

.view-btn:hover {
    color: #631b87 !important;  /* 强制应用这个颜色 */
    transform: translateX(-50%) scale(1.1); /* 放大按钮 */
}

/* 控制下方文字的层级，确保它不被按钮遮挡 */
.brand-card p {
    z-index: 1; /* 设置文字在按钮下方 */
    margin-top: 20px; /* 给文字添加一些顶部间距，避免和按钮重叠 */
}

/* ================= Values ================= */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value h4 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #ffc300;
}

/* ================= CTA ================= */
.cta {
    text-align: center;
    background: radial-gradient( circle at top, rgba(255, 195, 0, 0.12), transparent 50% ), #0b0b0f;
}

.btn-primary {
    padding: 14px 36px;
    border-radius: 40px;
    background: linear-gradient(90deg, #ffc300, #ffd966);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
}

    .btn-primary:hover {
        transform: translateY(-3px);
    }

/* ================= Responsive ================= */
@media (max-width: 900px) {
    .services-grid,
    .brands,
    .values {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 40px;
    }
}

/* ================= APPLE HERO CTA ================= */

.cta-hero {
    position: relative;
    padding: 180px 8vw;
    text-align: center;
    overflow: hidden;
    background: #050507;
}

/* 内容层 */
.cta-content {
    position: relative;
    z-index: 2;
}

/* ===== 大标题 ===== */

.cta-title {
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* 渐变流光文字 */
.gradient-text {
    background: linear-gradient(90deg, #ffc300, #ff6a00, #e60049, #ffc300);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

/* ===== 副标题 ===== */

.cta-sub {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 40px;
    opacity: 0.85;
    line-height: 1.7;
}

/* ===== 按钮 ===== */

.cta-btn {
    display: inline-block;
    padding: 16px 44px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: linear-gradient(90deg, #ffc300, #ffd966);
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

    .cta-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(255, 195, 0, 0.4);
    }

/* ===== Apple式背景辉光 ===== */

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 20% 30%, rgba(255, 195, 0, 0.18), transparent 40% ), radial-gradient( circle at 80% 70%, rgba(230, 0, 73, 0.18), transparent 40% );
    z-index: 1;
    pointer-events: none;
}

/* ===== 粒子 Canvas ===== */
#fireworksCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
