/* ============================================
   杭州鼎腾实业有限公司 官网
   首页样式 - 创新融合主题
   ============================================ */

/* ========== 英雄区域 ========== */

.hero {
    position: relative;
    padding: calc(var(--spacing-3xl) + var(--spacing-xl)) var(--container-padding) var(--spacing-3xl);
    background: var(--gradient-soft);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -80px;
    left: -120px;
    background: rgba(106, 27, 154, 0.28);
}

.hero::after {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: -80px;
    background: rgba(0, 172, 193, 0.3);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(95deg, var(--color-primary) 0%, rgba(0, 172, 193, 0.9) 55%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    color: var(--color-primary);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: var(--spacing-2xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.metric-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 18px 40px rgba(39, 31, 63, 0.08);
}

.metric-number {
    display: block;
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.metric-label {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-glass {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px rgba(30, 22, 56, 0.18);
}

.hero-glass img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 28px;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: orbit 18s linear infinite;
}

.hero-orbit-1 {
    width: 220px;
    height: 220px;
    top: 15%;
    left: -10%;
}

.hero-orbit-2 {
    width: 160px;
    height: 160px;
    bottom: 12%;
    right: -6%;
    animation-delay: -4s;
}

.hero-orbit-3 {
    width: 280px;
    height: 280px;
    bottom: -18%;
    left: 15%;
    animation-delay: -8s;
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-card {
    width: 100%;
    max-width: 340px;
    background: rgba(31, 27, 44, 0.85);
    color: white;
    padding: var(--spacing-xl);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(18, 12, 38, 0.4);
}

.hero-card h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.hero-card ul {
    margin: 0;
    padding-left: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ========== 业务生态 ========== */

.ecosystem {
    position: relative;
}

.ecosystem::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.6);
    filter: blur(120px);
    z-index: 0;
}

.ecosystem .container {
    position: relative;
    z-index: 1;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.ecosystem-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: 0 22px 48px rgba(36, 28, 66, 0.12);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.ecosystem-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0, 172, 193, 0.2);
    transition: all var(--transition-normal);
}

.ecosystem-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(29, 22, 56, 0.16);
}

.ecosystem-card:hover::after {
    background: rgba(106, 27, 154, 0.25);
}

.ecosystem-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.ecosystem-card p {
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: var(--spacing-xl);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

/* ========== 创新项目 ========== */

.project-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: var(--color-background-secondary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(30, 30, 46, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-body {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 56px rgba(33, 24, 61, 0.16);
}

.project-tag {
    align-self: flex-start;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(106, 27, 154, 0.12);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.project-tag-plan {
    background: rgba(0, 172, 193, 0.15);
    color: var(--color-accent-dark);
}

.project-body h3 {
    margin: 0;
}

.project-body p {
    color: var(--color-text-light);
    line-height: 1.9;
    flex-grow: 1;
}

/* ========== 投资组合 ========== */

.investment-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--spacing-3xl);
    align-items: center;
}

.investment-insights {
    display: grid;
    gap: var(--spacing-xl);
}

.insight-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: 0 24px 48px rgba(27, 21, 47, 0.12);
}

.insight-card ul {
    margin: 0;
    padding-left: var(--spacing-xl);
    color: var(--color-text-light);
    line-height: 1.8;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.performance-item {
    background: rgba(0, 172, 193, 0.12);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.investment-visual {
    position: relative;
}

.investment-visual img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(30, 25, 52, 0.18);
    object-fit: cover;
    height: 420px;
}

.radial-badge {
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 27, 154, 0.9), rgba(74, 15, 111, 0.9));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-md);
    box-shadow: 0 30px 60px rgba(31, 27, 44, 0.28);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
}

/* ========== 新闻快讯 ========== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--color-background-secondary);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: 0 18px 36px rgba(32, 25, 52, 0.12);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px rgba(32, 25, 52, 0.16);
}

.news-card h3 {
    color: var(--color-primary);
}

.news-card p {
    color: var(--color-text-light);
    line-height: 1.9;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--color-text-lighter);
}

.news-meta a {
    color: var(--color-accent-dark);
    font-weight: var(--font-weight-semibold);
}

/* ========== 合作伙伴 ========== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.partner-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: 0 20px 40px rgba(33, 25, 55, 0.14);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.partner-item span {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-size: 1.125rem;
}

.partner-item p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========== CTA 区块 ========== */

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    background: linear-gradient(115deg, rgba(106, 27, 154, 0.92) 0%, rgba(0, 172, 193, 0.88) 100%);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: 32px;
    box-shadow: 0 28px 50px rgba(26, 20, 45, 0.28);
}

.cta-card h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-actions .btn-secondary {
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

.cta-actions .btn-secondary:hover {
    background-color: white;
    box-shadow: 0 18px 36px rgba(31, 27, 44, 0.18);
    transform: translateY(-2px);
}

/* ========== 响应式处理 ========== */

@media (max-width: 1200px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }

    .ecosystem-grid,
    .project-showcase,
    .news-grid,
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .investment-wrapper {
        grid-template-columns: 1fr;
    }

    .investment-visual img {
        height: 360px;
    }

    .radial-badge {
        right: 5%;
        bottom: -8%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--spacing-2xl) + var(--nav-height));
    }

    .hero-inner {
        gap: var(--spacing-2xl);
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-showcase,
    .news-grid,
    .partners-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 100%;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .radial-badge {
        position: static;
        margin-top: var(--spacing-lg);
        width: 140px;
        height: 140px;
        margin-left: auto;
        margin-right: auto;
    }
}
