/* 华商研究院官网样式 - 紫色主题 */

:root {
    --primary: #6B2C91;
    --primary-dark: #4A1A64;
    --secondary: #D4AF37;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f8f5f0;
    --white: #fff;
    --max-width: 1200px;
}

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

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #b8962e;
    transform: translateY(-2px);
}

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

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

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img { height: 50px; width: auto; }

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 15px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 700px;
    color: var(--white);
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.hero-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* 统计数据 */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: var(--white);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-left: 3px solid var(--secondary);
}

.stat-item:first-child { border-left: none; }

.stat-icon {
    font-size: 40px;
    color: var(--secondary);
    opacity: 0.9;
}

.stat-content { flex: 1; }

.stat-number {
    font-size: 48px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 通用板块 */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-top: 20px;
}

/* 关于我们 */
.about { background: var(--light-gray); }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text { padding: 40px 0; }

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

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p { color: var(--gray); }

.about-values {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.about-values h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
}

.value-text {
    font-size: 32px;
    font-weight: 700;
}

/* 智力中心 */
.intellect-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.intellect-main {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.intellect-main h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.intellect-main p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

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

.intellect-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s;
}

.intellect-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intellect-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.intellect-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.intellect-item p { color: var(--gray); font-size: 14px; }

/* 宇力科技 */
.tech { background: var(--light-gray); }

.tech-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.tech-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.tech-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.tech-info p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

.tech-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid var(--secondary);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.product-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card p { color: var(--gray); font-size: 14px; }

/* 合作中心 */
.cooperation-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.cooperation-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.cooperation-info p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.cooperation-areas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.area-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.area-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

.area-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.area-card p { color: var(--gray); }

/* 新闻动态 */
.news { background: var(--light-gray); }

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-img {
    height: 250px;
    position: relative;
}

.news-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.news-content { padding: 30px; }

.news-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

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

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

.news-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.news-item:hover {
    border-left-color: var(--primary);
    transform: translateX(10px);
}

.news-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

/* 荣誉墙 */
.honors { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }

.honors .section-title { color: var(--white); }

.honors .section-title::after { background: var(--secondary); }

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

.honor-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.honor-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.honor-item i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.honor-item span {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p { color: var(--gray); }

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

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

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

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img { height: 60px; margin-bottom: 20px; }

.footer-logo h3 { font-size: 20px; margin-bottom: 15px; }

.footer-logo p { color: rgba(255,255,255,0.7); line-height: 1.8; }

.footer-contact h4,
.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i { margin-right: 10px; color: var(--secondary); }

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--secondary); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* 响应式 */
@media (max-width: 992px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 42px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content,
    .intellect-content,
    .tech-content,
    .cooperation-content,
    .news-grid,
    .contact-content,
    .footer-content { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: 500px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .stats-grid { grid-template-columns: 1fr; }
    .about-features,
    .intellect-features,
    .tech-products,
    .cooperation-areas { grid-template-columns: 1fr; }
    .values-grid,
    .honors-grid { grid-template-columns: 1fr; }
}
