/* ================================================================
   企业首页 — index_page 专属样式
   依赖：shared/shared.css（由 render.php 注入 wp_head）
================================================================ */

/* ---- Hero ---- */
.acp-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    background: linear-gradient(135deg, #34217a 0%, #24211c 55%, #1a1030 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}
.acp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52,33,122,.92) 0%, rgba(36,33,28,.85) 100%);
    pointer-events: none;
}
/* 背景装饰几何形 */
.acp-hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.acp-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    animation: acp-float 12s ease-in-out infinite;
}
.acp-hero__shape--1 {
    width: 600px; height: 600px;
    background: #e83f1e;
    top: -150px; right: -150px;
    animation-delay: 0s;
}
.acp-hero__shape--2 {
    width: 400px; height: 400px;
    background: #ffffff;
    bottom: -100px; left: -100px;
    animation-delay: -4s;
}
.acp-hero__shape--3 {
    width: 250px; height: 250px;
    background: #e83f1e;
    top: 40%; left: 55%;
    animation-delay: -8s;
    opacity: 0.05;
}
@keyframes acp-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%        { transform: translateY(-30px) scale(1.04); }
}

.acp-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.acp-hero__content {}
.acp-hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e83f1e;
    margin: 0 0 16px;
}
.acp-hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 18px;
    letter-spacing: -0.03em;
    color: #ffffff;
}
.acp-hero__title em {
    font-style: normal;
    background: linear-gradient(90deg, #e83f1e, #ff7a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.acp-hero__subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255,255,255,.8);
    margin: 0 0 12px;
}
.acp-hero__desc {
    font-size: 15px;
    color: rgba(255,255,255,.55);
    margin: 0 0 36px;
    line-height: 1.75;
}
.acp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.acp-hero__actions .acp-btn {
    font-size: 15px;
    padding: 13px 30px;
}

/* Hero 右侧统计数字 */
.acp-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 36px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}
.acp-hero__stat {}
.acp-hero__stat-num {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
}
.acp-hero__stat-num sup {
    font-size: 20px;
    font-weight: 700;
    color: #e83f1e;
    vertical-align: super;
}
.acp-hero__stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}

/* 向下滚动箭头 */
.acp-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    animation: acp-bounce 2.5s ease-in-out infinite;
}
.acp-hero__scroll:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
@keyframes acp-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%        { transform: translateX(-50%) translateY(6px); }
}

/* ---- 右侧锚点导航 ---- */
.acp-anchor-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.acp-anchor-nav__dot {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(52,33,122,.25);
    border: 2px solid rgba(52,33,122,.4);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    cursor: pointer;
}
.acp-anchor-nav__dot::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #34217a;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.acp-anchor-nav__dot:hover::after { opacity: 1; }
.acp-anchor-nav__dot.is-active {
    background: #e83f1e;
    border-color: #e83f1e;
    transform: scale(1.5);
}
.acp-anchor-nav__dot:hover {
    background: #34217a;
    border-color: #34217a;
}

/* ---- 通用网格 ---- */
.acp-grid {
    display: grid;
    gap: 24px;
}
.acp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.acp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.acp-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- 图标卡片 ---- */
.acp-icon-card {
    padding: 32px 28px;
    text-align: left;
}
.acp-section--brand .acp-icon-card,
.acp-section--dark .acp-icon-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}
.acp-icon-card__icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 18px;
}
.acp-icon-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--acp-text);
    letter-spacing: -0.01em;
}
.acp-section--brand .acp-icon-card__title,
.acp-section--dark .acp-icon-card__title { color: #ffffff; }
.acp-icon-card__desc {
    font-size: 14px;
    color: var(--acp-text-muted);
    margin: 0;
    line-height: 1.7;
}
.acp-section--brand .acp-icon-card__desc,
.acp-section--dark .acp-icon-card__desc { color: rgba(255,255,255,.6); }

/* ---- 新闻卡片 ---- */
.acp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.acp-news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform 0.22s, box-shadow 0.22s;
}
.acp-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.11);
}
.acp-news-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.acp-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.acp-news-card:hover .acp-news-card__img img { transform: scale(1.04); }
.acp-news-card__body { padding: 20px 22px; }
.acp-news-card__date {
    font-size: 12px;
    color: var(--acp-text-muted);
    margin: 0 0 8px;
}
.acp-news-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--acp-text);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.acp-news-card__excerpt {
    font-size: 13px;
    color: var(--acp-text-muted);
    margin: 0 0 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.acp-news-card__more {
    font-size: 13px;
    color: #e83f1e;
    font-weight: 600;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .acp-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .acp-hero__stats { flex-direction: row; justify-content: space-around; }
    .acp-anchor-nav { display: none; }
    .acp-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .acp-hero { min-height: auto; }
    .acp-hero__inner { padding: 60px 20px; }
    .acp-hero__actions { flex-direction: column; }
    .acp-hero__actions .acp-btn { text-align: center; justify-content: center; }
    .acp-hero__stats { flex-direction: row; gap: 20px; padding: 20px; }
    .acp-hero__stat-num { font-size: 28px; }
    .acp-grid--3,
    .acp-grid--2 { grid-template-columns: 1fr; }
    .acp-grid--4 { grid-template-columns: 1fr 1fr; }
    .acp-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .acp-hero__stats { flex-direction: column; gap: 16px; }
    .acp-grid--4 { grid-template-columns: 1fr; }
}
