/* 工业企业风格 - 参考武钢集团 */

:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --accent-color: #c53030;
    --accent-hover: #9b2c2c;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部信息栏 */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-left .divider {
    opacity: 0.5;
}

.top-bar-right {
    display: flex;
    gap: 25px;
}

.top-bar-right a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.top-bar-right a:hover {
    opacity: 1;
    color: #63b3ed;
}

/* 主导航 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 36px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo:hover .logo-icon svg {
    color: var(--accent-color);
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.header-search input {
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    width: 150px;
    outline: none;
}

.header-search button {
    border: none;
    background: var(--bg-light);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button svg {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 48, 48, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 轮播横幅 */
.hero-banner {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner::before {
    display: none;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 54, 93, 0.65);
    z-index: 0;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide[data-slide="0"] {
    background-image: url('/images/index/01.png');
}

.banner-slide[data-slide="1"] {
    background-image: url('/images/index/03.png');
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(15, 39, 68, 0.8) 100%);
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.banner-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-slide.active .banner-content h2,
.banner-slide.active .banner-content p,
.banner-slide.active .banner-content .btn {
    animation: fadeInUp 0.8s ease forwards;
}

.banner-slide.active .banner-content h2 {
    animation-delay: 0s;
}

.banner-slide.active .banner-content p {
    animation-delay: 0.2s;
}

.banner-slide.active .banner-content .btn {
    animation-delay: 0.4s;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    width: 36px;
    border-radius: 6px;
    border-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    animation: progress 3s linear infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* 快捷入口 */
.quick-links {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

.quick-link-item:hover {
    background: var(--bg-light);
    transform: translateY(-5px);
}

.quick-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
}

.quick-link-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-subtitle {
    font-size: 14px;
    color: var(--accent-color);
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title-wrapper {
    margin-bottom: 30px;
}

.section-title-wrapper .section-subtitle {
    text-align: left;
}

.section-title-wrapper .section-title {
    text-align: left;
}

/* 关于我们区块 */
.about-section {
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats-horizontal {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-unit {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
}

.stat-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.about-image {
    height: 400px;
    background: var(--bg-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 48px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    color: var(--text-light);
}

.image-placeholder span {
    font-size: 16px;
    color: var(--text-light);
}

/* 业务领域 */
.business-section {
    background: var(--bg-light);
}

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

.business-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-color);
}

.business-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.business-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.business-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.business-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.business-link:hover {
    color: var(--accent-hover);
}

/* 产品中心 */
.products-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-showcase-item.reverse {
    direction: rtl;
}

.product-showcase-item.reverse > * {
    direction: ltr;
}

.product-info h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
}

.product-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 15px;
}

.product-visual {
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visual-placeholder .placeholder-icon {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.6);
}

.visual-placeholder span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* 新闻中心 */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.news-featured {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.news-featured .news-image {
    height: 240px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-featured .news-content {
    padding: 30px;
}

.news-date {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 500;
}

.news-featured h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 15px 0;
    line-height: 1.4;
}

.news-featured p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.news-item:hover {
    border-left-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-item .news-date {
    display: block;
    margin-bottom: 8px;
}

.news-item .news-title {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition);
}

.news-item:hover .news-title {
    color: var(--accent-color);
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* 投资者关系 */
.investor-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.investor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stock-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stock-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stock-name {
    font-size: 24px;
    color: var(--white);
    font-weight: 700;
}

.stock-code {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.stock-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.stock-price .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
}

.stock-price .currency {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.stock-price .change {
    font-size: 18px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
}

.stock-price .change.up {
    background: #48bb78;
    color: var(--white);
}

.stock-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.investor-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.investor-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.investor-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.link-icon {
    font-size: 28px;
}

.investor-link span:last-child {
    font-size: 16px;
    font-weight: 500;
}

/* 合作伙伴 */
.partners-section {
    background: var(--bg-light);
}

.partners-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-item {
    padding: 20px 40px;
    background: var(--white);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/* 联系我们 */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    padding-right: 40px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 15px;
}

.contact-form-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.contact-form-box h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text h3 {
    color: var(--white);
}

.footer-brand .logo-text span {
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-left a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-left a:hover {
    color: var(--white);
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-wrapper,
    .investor-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .product-showcase-item {
        grid-template-columns: 1fr;
    }
    
    .product-showcase-item.reverse {
        direction: ltr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .investor-links {
        grid-template-columns: 1fr;
    }
    
    .about-stats-horizontal {
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1 1 40%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-left {
        flex-wrap: wrap;
        justify-content: center;
    }
}
