/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #e74c3c;
    font-size: 24px;
    font-weight: bold;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e74c3c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 服务特色 */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 产品预览 */
.product-preview {
    padding: 80px 0;
}

.product-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.product-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

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

.product-features li {
    padding: 10px 0;
    color: #666;
}

.product-features i {
    color: #e74c3c;
    margin-right: 10px;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 最新新闻 */
.latest-news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.news-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #e74c3c;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* 产品页面样式 */
.product-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.product-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.product-features {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

.advantage-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e74c3c;
    line-height: 1;
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

.service-process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* 新闻页面样式 */
.news-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.news-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.news-filter {
    padding: 40px 0;
    background: #f8f9fa;
}

.filter-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}

.category-filter select {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
}

.news-list {
    padding: 60px 0;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.news-date, .news-category {
    font-size: 0.9rem;
    color: #e74c3c;
    font-weight: 600;
}

.news-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a:hover {
    color: #e74c3c;
}

.news-summary {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.news-author {
    color: #999;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 60px 0;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #666;
}

.no-results p {
    color: #999;
    margin-bottom: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* 新闻详情页样式 */
.news-detail {
    padding: 120px 0 80px;
    margin-top: 70px;
}

.news-breadcrumb {
    margin-bottom: 40px;
    color: #666;
}

.news-breadcrumb a {
    color: #e74c3c;
    text-decoration: none;
}

.news-breadcrumb a:hover {
    text-decoration: underline;
}

.news-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.news-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.news-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-link {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: #e74c3c;
}

.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-news h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-news-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.related-news-card h4 {
    margin-bottom: 15px;
}

.related-news-card h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.related-news-card h4 a:hover {
    color: #e74c3c;
}

.related-news-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.related-news-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #999;
}

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

/* 关于我们页面样式 */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.company-intro {
    padding: 80px 0;
}

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

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.our-advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

.company-timeline {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e74c3c;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.company-culture {
    padding: 80px 0;
    background: #f8f9fa;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.culture-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.culture-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.culture-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们页面样式 */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.form-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.form-content p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

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

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #ffe6e6;
    color: #d63031;
    border: 1px solid #fab1a0;
}

.alert-success {
    background: #e6f7e6;
    color: #00b894;
    border: 1px solid #a8e6cf;
}

.contact-sidebar {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

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

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
}

.benefits-list i {
    color: #e74c3c;
}

.quick-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.quick-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.quick-contact i {
    color: #e74c3c;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-preview .container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 40px;
    }
    
    .timeline-date {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin: 0 0 0 20px;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-header h1 {
        font-size: 2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* 小红投产品页面样式 */
.xiaohongshu-logo {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff2442 0%, #ff6b8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.xiaohongshu-logo-small {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff2442 0%, #ff6b8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.xiaohongtou-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.xiaohongtou-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.xiaohongtou-hero .xiaohongshu-logo {
    -webkit-text-fill-color: white;
    background: none;
    color: white;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn-outline:hover {
    background: white;
    color: #333;
}

/* Demo样式 */
.demo-preview {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.demo-header {
    background: #2d2d2d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27ca3f; }

.demo-title {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 10px;
}

.demo-content {
    padding: 30px;
    color: #fff;
}

.ai-agent-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #4ade80;
    font-weight: 600;
}

.demo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.demo-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.demo-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4ade80;
}

.demo-stats .stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

/* 小红投产品页面特定样式 */
.xiaohongtou-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.core-features {
    padding: 80px 0;
    background: #f8f9fa;
}

.demo-section {
    padding: 80px 0;
}

.demo-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    height: fit-content;
}

.demo-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.agent-status {
    margin-bottom: 30px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    color: #666;
    font-size: 0.9rem;
}

.status-value {
    font-weight: 600;
}

.status-value.running {
    color: #4ade80;
}

.status-value.connected {
    color: #3b82f6;
}

.agent-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-main {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.demo-window {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
}

.demo-header {
    background: #2d2d2d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-content {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
}

.log-container {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.log-entry {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    padding: 5px 0;
}

.log-time {
    color: #888;
    min-width: 80px;
}

.log-level {
    min-width: 60px;
    font-weight: bold;
}

.log-level.info {
    color: #3b82f6;
}

.log-level.success {
    color: #4ade80;
}

.log-level.warning {
    color: #f59e0b;
}

.log-level.error {
    color: #ef4444;
}

.log-message {
    color: #fff;
    flex: 1;
}

.tech-architecture {
    padding: 80px 0;
    background: #f8f9fa;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.arch-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.arch-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.arch-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.arch-item ul {
    list-style: none;
    text-align: left;
}

.arch-item ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.arch-item ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.advantages-section {
    padding: 80px 0;
}

/* 后台管理系统样式 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .xiaohongshu-logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
    -webkit-text-fill-color: #ff2442;
    background: none;
    color: #ff2442;
}

.login-form {
    display: grid;
    gap: 20px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.admin-navbar {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.admin-navbar .xiaohongshu-logo-small {
    -webkit-text-fill-color: white;
    background: none;
    color: white;
}

.admin-container {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 250px;
    background: #34495e;
    color: white;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
    background: #2c3e50;
    color: white;
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    margin-left: 250px;
    min-height: calc(100vh - 70px);
}

.admin-section {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.admin-section.active {
    display: block;
}

.admin-section h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e5e7eb;
}

.card-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
}

.card-content .status,
.card-content .number {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-content .status.running {
    color: #4ade80;
}

.card-content .status.stopped {
    color: #ef4444;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.chart-container h3 {
    margin-bottom: 20px;
    color: #333;
}

.chart-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 5px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.settings-form {
    display: grid;
    gap: 30px;
}

.settings-group {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.settings-group h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 20px;
}

.agent-control-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.control-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.control-card h3 {
    margin-bottom: 20px;
    color: #333;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.status-text {
    font-weight: 600;
    color: #333;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.running {
    background: #4ade80;
}

.status-dot.stopped {
    background: #ef4444;
}

.control-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.task-list {
    display: grid;
    gap: 10px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.task-name {
    font-weight: 500;
    color: #333;
}

.task-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.task-status.running {
    background: #dbeafe;
    color: #1d4ed8;
}

.task-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.task-status.completed {
    background: #dcfce7;
    color: #16a34a;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.monitor-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.monitor-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.progress-bar {
    background: #f1f5f9;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
}

.monitor-chart {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.log-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.log-controls select {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 0.9rem;
}

.log-container {
    background: #1e1e1e;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #374151;
}

.log-container .log-entry {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    padding: 5px 0;
    align-items: flex-start;
}

.log-container .log-time {
    color: #888;
    min-width: 150px;
    flex-shrink: 0;
}

.log-container .log-level {
    min-width: 60px;
    font-weight: bold;
    flex-shrink: 0;
}

.log-container .log-level.info {
    color: #3b82f6;
}

.log-container .log-level.success {
    color: #4ade80;
}

.log-container .log-level.warning {
    color: #f59e0b;
}

.log-container .log-level.error {
    color: #ef4444;
}

.log-container .log-message {
    flex: 1;
    word-break: break-word;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
        height: auto;
        order: 2;
    }
    
    .admin-main {
        order: 1;
        margin-left: 0;
    }
    
    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }
    
    .menu-item {
        white-space: nowrap;
        padding: 10px 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .agent-control-panel {
        grid-template-columns: 1fr;
    }
    
    .monitor-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .log-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        order: 2;
    }
    
    .admin-main {
        order: 1;
    }
    
    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }
    
    .menu-item {
        white-space: nowrap;
        padding: 10px 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .agent-control-panel {
        grid-template-columns: 1fr;
    }
    
    .monitor-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .log-controls {
        flex-direction: column;
        align-items: stretch;
    }
} 

/* 产品介绍新样式 */
.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.highlight-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 平台预览样式 */
.platform-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.preview-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e9ecef;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #e74c3c; }
.preview-dot.yellow { background: #f39c12; }
.preview-dot.green { background: #27ae60; }

.preview-content {
    padding: 25px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: #e9ecef;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 2px;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.ai-status i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-highlights {
        grid-template-columns: 1fr;
    }
    
    .preview-stats {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        padding: 20px;
    }
} 