/* Global styles */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f7fa;
    color: #333;
}

/* Top navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Breadcrumb Navigation */
.breadcrumb {
    max-width: 1160px;
    margin: 10px auto 0;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li[aria-current="page"] {
    color: white;
    font-weight: 500;
}

/* Hamburger Menu Button (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    margin: 3px 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: white;
    background: rgba(255,255,255,0.15);
}


/* Logo styles */
header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 128px;
    height: auto;
}

header .logo a {
    color: inherit;
    text-decoration: none;
}

/* Search box container */
.search-container {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    max-width: 400px;
    align-items: center;
}

/* Home button container */
.home-button {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    max-width: 200px;
}

/* Home button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .home-button {
        max-width: 150px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Search box styles */
#search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Search box focus styles */
#search-input:focus {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
    outline: none;
}

/* Main content area */
main {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    margin-top: 80px; /* Space for fixed navigation bar */
}

/* Small screen adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c3e50;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    nav {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .search-container {
        max-width: calc(100% - 140px); /* More space for logo */
        margin-left: 20px; /* Add spacing between logo and search box */
        margin-top: 0;
    }

    #search-input {
        width: 100%;
        box-sizing: border-box;
    }

    /* Styles when logo is hidden */
    .logo-hidden .search-container {
        max-width: 100%;
        margin-left: 0;
    }
}

/* Content section styles */
.content-section {
    max-width: 900px;
    margin: 100px auto 40px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #3498db;
    font-weight: 700;
    position: relative;
}

.content-section h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.content-section h2 {
    font-size: 1.8em;
    color: #34495e;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.content-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #3498db, #2ecc71);
    margin-right: 12px;
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.content-section ul li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: white;
    border-left: 4px solid #3498db;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 45px;
}

.content-section ul li::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2em;
}

.content-section ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    border-left-color: #2ecc71;
}

.content-section ul li::before:hover {
    color: #2ecc71;
}

.content-section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.content-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.content-section a:hover {
    color: #2ecc71;
    background: rgba(52, 152, 219, 0.05);
}

.content-section a:hover::after {
    width: 100%;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin: 25px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.content-section section {
    margin-bottom: 35px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.content-section section:first-of-type {
    margin-top: 20px;
}

.content-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.content-section i {
    color: #3498db;
    font-style: italic;
}

/* Info box for important information */
.content-section .info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid #3498db;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.content-section .warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive design for content sections */
@media (max-width: 768px) {
    .content-section {
        margin: 80px 15px 30px;
        padding: 25px;
    }
    
    .content-section h1 {
        font-size: 2em;
    }
    
    .content-section h2 {
        font-size: 1.5em;
    }
    
    .content-section h3 {
        font-size: 1.2em;
    }
    
    .content-section p {
        font-size: 1em;
    }
    
    .content-section ul li {
        padding: 10px 15px;
        padding-left: 40px;
    }
    
    .content-section section {
        padding: 18px;
    }
    
    .activities-content {
        padding: 30px 20px;
    }
    
    .activities-content h1 {
        font-size: 2em;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -28px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        padding: 20px;
        margin-left: 10px;
    }
    
    .timeline-date {
        font-size: 1em;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .content-section {
        margin: 70px 10px 20px;
        padding: 20px;
    }
    
    .content-section h1 {
        font-size: 1.7em;
    }
    
    .content-section h2 {
        font-size: 1.3em;
    }
    
    .activities-section {
        padding: 80px 10px 40px;
    }
    
    .activities-content {
        padding: 25px 15px;
    }
    
    .timeline-content a {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}

/* Filter styles */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px 0;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-item {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: #3498db;
    color: white;
}

.filter-item:hover {
    background: #2980b9;
    color: white;
}

.filter-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.filter-item-drop-down {
    position: relative;
}

.filter-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-option:hover {
    background: #f5f7fa;
}

.reset-filter {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.reset-filter:hover,
.reset-filter:active {
    background: #c0392b;
    color: white;
}

@media (min-width: 768px) {
    .reset-filter {
        margin-left: auto;
    }
}

/* Software list */
#software-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.software-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.software-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.software-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.software-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
}

.software-info {
    flex: 1;
}

.software-info h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #2c3e50;
}

.software-description {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

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

.pricing-model {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.model-name {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.price-info {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.discounted-price {
    color: #e74c3c;
    font-weight: bold;
}

.discount {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.buy-button:hover {
    background-color: #2980b9;
}

/* Pagination buttons */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: #2980b9;
}

#page-info {
    font-size: 14px;
    color: #555;
}

/* Error message */
.error-message {
    text-align: center;
    color: #e74c3c;
    padding: 20px;
}

/* Footer — 4-column grid layout (mirrors CN site) */
footer {
    background-color: #2c3e50;
    color: white;
    margin-top: 40px;
    text-align: left;
}

.footer-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #f1c40f;
}

.footer-col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom a,
.footer-bottom a.beian {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-bottom a.beian:hover {
    color: #fff;
}

/* Back to top button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgba(85, 85, 85, 0.8);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#back-to-top:hover {
    background-color: rgba(85, 85, 85, 1);
}

/* 主标题样式 */
.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 80px 20px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .cta-btn {
    background: #e67e22;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .cta-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
  }

  /* 快速导航链接样式 */
  .quick-links {
    margin-top: 25px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .quick-links a {
    color: #fff;
    text-decoration: none;
    padding: 6px 14px;
    margin: 0 5px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
  }

  .quick-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .quick-links a:active {
    transform: translateY(0);
  }

  
  /* 产品推荐样式 */
  .featured-products {
    padding: 60px 20px;
    background: #f8f9fa;
  }
  
  .featured-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* 分类页增加卡片行间距，避免视觉拥挤（.category-content 提升优先级覆盖 inline gap） */
  .category-content .product-grid {
    row-gap: 40px;
  }

  .product-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  
  .product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  /* 首页热门推荐：覆盖通用 product-card 高度问题（height:100%导致同行等高，内容溢出行间距） */
  #featured-products.product-grid .product-card {
    text-decoration: none;
    color: inherit;
    height: auto;
    align-items: center;
    padding: 16px 12px;
  }

  #featured-products.product-grid .product-card img {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 10px !important;
    display: block;
    flex-shrink: 0;
  }

  #featured-products.product-grid .product-card h3 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.3;
  }

  #featured-products.product-grid .product-card .product-desc {
    display: none;
  }

  #featured-products.product-grid .product-card .price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    gap: 2px;
  }

  #featured-products.product-grid .product-card .price-info .original-price {
    margin-right: 0;
    margin-bottom: 2px;
    font-size: 0.85rem;
  }

  #featured-products.product-grid .product-card .price-info .discount-price {
    font-size: 1.1rem;
  }

  #featured-products.product-grid .product-card .buy-btn {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }



  .product-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .price-info {
    margin-top: auto;
    margin-bottom: 15px;
  }
  
  .original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
  }
  
  .discount-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .buy-btn {
    display: block;
    text-align: center;
    background: #27ae60;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: auto;
  }
  
  .buy-btn:hover {
    background: #2ecc71;
  }
  
  /* 用户评价样式 */
  .testimonials {
    padding: 60px 20px;
  }
  
  .testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
  }
  
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .rating {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .user-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
  }
  
  .user-info .name {
    font-weight: bold;
    margin-right: 10px;
  }
  
  /* 信任标志样式 */
  .trust-badges {
    padding: 60px 20px;
    background: #f8f9fa;
  }
  
  .trust-badges h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
  }
  
  .badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .badge-item {
    text-align: center;
  }
  
  .badge-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  
  .badge-item p {
    font-size: 1rem;
    color: #333;
  }
  

/* FAQ 样式 */
.faq {
  padding: 60px 20px;
  background: white;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #2c3e50;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

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

.faq-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

  /* 响应式设计 */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero .subtitle {
      font-size: 1rem;
    }
    
    .product-grid {
      grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
      grid-template-columns: 1fr;
    }
    
    .badges-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Activities Page */
.activities-section {
    padding: 100px 20px 60px;
    min-height: calc(100vh - 200px);
}

.activities-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.activities-content h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #3498db;
    font-weight: 700;
    position: relative;
}

.activities-content h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.activities-content p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.activities-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.activities-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.activities-content a:hover {
    color: #2ecc71;
    background: rgba(52, 152, 219, 0.05);
}

.activities-content a:hover::after {
    width: 100%;
}

/* Old Promotions Grid Styles - Deprecated */
/*
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px 0;
}

.promotion-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.promotion-card:hover::before {
    transform: scaleX(1);
}

.promotion-card.featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #ffffff 100%);
    border: 2px solid #3498db;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.25);
    grid-column: 1 / -1;
    min-height: 320px;
}

.promotion-card.featured::before {
    transform: scaleX(1);
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
}

.promotion-card.featured:hover {
    box-shadow: 0 16px 50px rgba(52, 152, 219, 0.35);
    transform: translateY(-10px) scale(1.02);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header h3 {
    margin: 10px 0 0;
    font-size: 1.6em;
    color: #2c3e50;
    font-weight: 700;
}

.card-date {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.promotion-card.featured .card-date {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.card-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-body p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95em;
    margin: 0;
}

.card-body a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.card-body a:hover {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

.card-footer {
    padding: 20px 25px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.promotion-card.featured .cta-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.promotion-card.featured .cta-button:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

@media (max-width: 768px) {
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promotion-card {
        min-height: auto;
    }
    
    .promotion-card.featured {
        grid-column: 1;
    }
    
    .card-header {
        padding: 20px 20px 12px;
    }
    
    .card-header h3 {
        font-size: 1.4em;
    }
    
    .card-body {
        padding: 15px 20px;
    }
    
    .card-footer {
        padding: 15px 20px 20px;
    }
    
    .card-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .activities-content {
        padding: 25px 15px;
    }
    
    .promotions-grid {
        gap: 15px;
        margin-top: 25px;
    }
    
    .card-header h3 {
        font-size: 1.3em;
    }
    
    .card-body h3 {
        font-size: 1.2em;
    }
    
    .card-body p {
        font-size: 0.9em;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}
*/

/* Timeline Styles - Simplified */
.timeline {
    position: relative;
    padding-left: 40px;
    margin: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3498db;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #3498db;
}

.timeline-date {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 10px;
    font-size: 0.95em;
}

/* Timeline Card - Simple White Card */
.timeline-card {
    background: white;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.timeline-card h3 {
    color: #2c3e50;
    margin: 0 0 12px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.timeline-card p {
    color: #555;
    line-height: 1.7;
    margin: 0 0 15px 0;
    font-size: 0.95em;
}

.timeline-card a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.timeline-card a:hover {
    color: #3498db;
}

/* Timeline Link Button */
.timeline-link {
    display: inline-block;
    padding: 8px 18px;
    background: #3498db;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.timeline-link:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* Responsive Design for Timeline */
@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -28px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-card {
        padding: 18px 20px;
    }
    
    .timeline-card h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding-left: 25px;
    }
    
    .timeline::before {
        left: 8px;
    }
    
    .timeline-item::before {
        left: -25px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-card {
        padding: 15px 18px;
    }
    
    .timeline-card h3 {
        font-size: 1.1em;
    }
    
    .timeline-card p {
        font-size: 0.9em;
    }
    
    .timeline-link {
        padding: 7px 16px;
        font-size: 0.85em;
    }
}

/* =============================================
   Footer Popular Software Section
   ============================================= */
.footer-popular {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px;
    padding-top: 20px;
}

.footer-popular-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.footer-popular-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.footer-popular-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-popular-item:hover {
    color: #3498db;
    padding-left: 4px;
}

.footer-popular-icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* =============================================
   Products Page Hero
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 56px 20px 48px;
    text-align: center;
    margin-bottom: 32px;
    border-radius: 0 0 16px 16px;
}

.page-hero .container {
    max-width: 720px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.page-hero-sub {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-hero-hint {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.page-hero-hint a {
    color: #f1c40f;
    text-decoration: underline;
}

.page-hero-btn {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.page-hero-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* Hero Search Box */
.hero-search-box {
  max-width: 600px;
  margin: 24px auto 0;
}

.hero-search-box #search-input {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.hero-search-box #search-input:focus {
  border-color: #f1c40f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.2);
}

.hero-search-box #search-input::placeholder {
  color: #999;
}

/* =============================================
   Footer Responsive
   ============================================= */
@media (max-width: 768px) {
    .footer-popular-links {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 40px 16px 36px;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-search-box {
        margin-top: 20px;
    }
    
    .hero-search-box #search-input {
        padding: 12px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 12px 32px;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-search-box #search-input {
        padding: 10px 16px;
        font-size: 14px;
    }
}
