/* ===================================
   首页样式 - index.css
   青岛青铜器科技有限公司 BROIT
   =================================== */

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0d0d0d;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    transform: scale(1.05);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.16); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.35) 45%, rgba(13,13,13,0.9) 100%),
        radial-gradient(circle at 18% 28%, rgba(187,27,33,0.32), transparent 46%),
        radial-gradient(circle at 82% 72%, rgba(0,154,192,0.26), transparent 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 960px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 15px;
    letter-spacing: 6px;
    color: var(--brand-gold);
    margin-bottom: 22px;
    font-weight: 500;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 3px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 25px;
    margin-bottom: 22px;
    color: #ffffff;
    font-weight: 500;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    animation: bounce 2.2s infinite;
}

.hero-scroll span {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== 核心数据 ===== */
.stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1416 100%);
    padding: 56px 0;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 14px;
    font-family: "Arial Black", Arial, sans-serif;
}

.stat-number span {
    background: linear-gradient(90deg, #ffffff, var(--brand-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 公司简介 ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro-text .eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 16px;
}

.intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.intro-text p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--text-medium);
    margin-bottom: 18px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.intro-tags span {
    font-size: 13.5px;
    padding: 7px 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-dark);
}

.intro-visual {
    position: relative;
}

.intro-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    display: block;
}

.intro-badge {
    position: absolute;
    right: -18px;
    bottom: -26px;
    background: var(--brand-red);
    color: #ffffff;
    padding: 22px 26px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(187, 27, 33, 0.38);
}

.intro-badge strong {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    font-family: "Arial Black", Arial, sans-serif;
}

.intro-badge span {
    font-size: 13.5px;
    line-height: 1.5;
}

/* ===== 六大领域 ===== */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.field-card {
    display: block;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 6px 22px var(--shadow-light);
    transition: all 0.38s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.field-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.38s ease;
}

.field-card:hover::before { transform: scaleX(1); }

.field-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px var(--shadow-medium);
    border-color: var(--border-color);
}

.field-icon {
    font-size: 44px;
    margin-bottom: 22px;
    line-height: 1;
}

.field-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.field-card p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.field-more {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-red);
    transition: all 0.3s ease;
}

.field-card:hover .field-more {
    color: var(--brand-red-dark);
    letter-spacing: 1px;
}

/* ===== 核心优势 ===== */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.strength-item {
    padding: 36px 36px 36px 92px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    position: relative;
    transition: all 0.35s ease;
}

.strength-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-6px);
}

.strength-num {
    position: absolute;
    left: 32px;
    top: 34px;
    font-size: 34px;
    font-weight: 800;
    font-family: "Arial Black", Arial, sans-serif;
    color: var(--brand-red);
    opacity: 0.9;
}

.strength-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.strength-item p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.66);
}

/* ===== 合作伙伴 Logo 墙 ===== */
.partners-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo {
    --lc: #bb1b21;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 96px;
    padding: 0 26px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow-light);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

/* 悬停浮现的外链箭头，仅可跳转的 <a> 卡片显示 */
a.partner-logo::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3zM19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

a.partner-logo:hover::after {
    opacity: 0.55;
    transform: translate(0, 0);
}

/* 无官网卡片：默认光标，不显示可点击暗示 */
div.partner-logo { cursor: default; }

.partner-logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--lc);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s ease;
}

.partner-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px var(--shadow-medium);
    border-color: transparent;
}

.partner-logo:hover::before {
    transform: scaleY(1);
}

/* 徽记图标 */
.partner-mark {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-light);
    transition: background 0.35s ease;
}

.partner-mark svg {
    width: 30px;
    height: 30px;
    fill: #8c8c8c;
    transition: fill 0.35s ease, transform 0.35s ease;
}

.partner-logo:hover .partner-mark {
    background: var(--lc);
}

.partner-logo:hover .partner-mark svg {
    fill: #ffffff;
    transform: scale(1.08);
}

/* 文字字标 */
.partner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.partner-text strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.partner-text em {
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-light);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.35s ease;
}

.partner-logo:hover .partner-text strong {
    color: var(--lc);
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 88px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #951116 100%);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(0,154,192,0.25), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(192,160,98,0.2), transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .hero-title { font-size: 48px; }
    .fields-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 21px; }
    .intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .intro-badge { right: 20px; }
    .strength-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 42px; }
    .partners-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: 540px; }
    .hero-title { font-size: 31px; letter-spacing: 1px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 15px; }
    .hero-desc br { display: none; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 22px; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .stat-number { font-size: 38px; }

    .intro-text h2 { font-size: 27px; }
    .fields-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-wall { grid-template-columns: 1fr; gap: 14px; }
    .partner-logo { height: 84px; padding: 0 20px; gap: 14px; }
    .partner-mark { width: 50px; height: 50px; }
    .partner-mark svg { width: 26px; height: 26px; }
    .cta-content h2 { font-size: 26px; }
    .intro-badge strong { font-size: 36px; }
}
