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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SF Pro Display", "Helvetica Neue", "Arial", sans-serif;
    background: #fff;
    color: #333;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer; 
}

/* ===== Navigation Bar Styles ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: "PingFang SC", "Microsoft YaHei", "PingFang TC", "Microsoft JhengHei", "SF Pro Display", "Helvetica Neue", "Arial", sans-serif;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    transition: color 0.3s ease;
    color: #fff;
}

.site-header.scrolled .logo {
    color: #1a1a1a;
}

.main-nav {
    display: flex;
    align-items: center; /* Align items vertically */
    list-style: none;
    gap: 50px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 16px;
    height: 80px;
    line-height: 80px;
    display: block;
    transition: color 0.3s ease;
    color: #fff;
    cursor: pointer;
}

.site-header.scrolled .nav-link {
    color: #333;
}

.nav-link:hover {
    color: #0052d9;
}

.site-header:not(.scrolled) .nav-link:hover {
    color: rgba(255,255,255,0.8);
}

/* ===== Language Selector Styles ===== */
.lang-selector-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    margin-left: 20px;
}
.lang-selector-inline a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    padding: 4px;
}
.lang-selector-inline a:hover { color: #fff; }
.lang-selector-inline a.active {
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.lang-selector-inline span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}
.site-header.scrolled .lang-selector-inline a { color: #666; }
.site-header.scrolled .lang-selector-inline a:hover { color: #000; }
.site-header.scrolled .lang-selector-inline a.active { color: #1a1a1a; }
.site-header.scrolled .lang-selector-inline span { color: #ccc; }


/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== Section General ===== */
.section-title {
    text-align: center; 
    font-size: 36px; 
    font-weight: 700; 
    margin-bottom: 50px; 
    color: #1a1a1a; 
}

/* ===== Products Section ===== */
.products-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.products-title-group h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.products-title-group h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #0052d9;
    border-radius: 2px;
}

.products-title-group p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin-top: 20px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #1a1a1a;
    color: white;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.btn-more:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.products-tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.tab-item {
    padding: 16px 0;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    font-weight: 500;
    border: none;
    background: none;
}

.tab-item:hover { color: #0052d9; }
.tab-item.active {
    color: #0052d9;
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0052d9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    transition: opacity 0.3s;
    min-height: 400px; /* Adjust as needed */
}

.service-card, .app-card, .merch-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.service-card:hover, .app-card:hover, .merch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.service-visual, .app-visual, .merch-visual {
    height: 160px;
    background-color: #343a40;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-visual::after, .app-visual::after, .merch-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background-color 0.3s;
}

.service-card:hover .service-visual::after,
.app-card:hover .app-visual::after,
.merch-card:hover .merch-visual::after {
    background-color: rgba(0, 0, 0, 0.4);
}

.app-visual { height: 180px; }
.merch-visual { height: 180px; }

.platform-tags {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.platform-tag {
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 11px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.service-content, .app-content, .merch-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.app-content, .merch-content { padding: 20px; }

.service-name, .app-name, .merch-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.service-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    min-height: 28px;
}

.service-card .service-name {
    margin-bottom: 0;
}

.service-desc, .app-desc, .merch-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.service-tag, .app-tag, .merch-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 500;
    width: fit-content;
}

.service-tag { background: #e8f0fe; color: #0052d9; }
.app-tag { background: #fff2e8; color: #ff6b35; }
.merch-tag { background: #e6f7f2; color: #00875a; }

.service-card .service-tag {
    margin-bottom: 0;
    margin-left: 10px;
}

.service-btn, .app-btn, .merch-btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.service-btn.primary { background: #1a1a1a; color: white; }
.service-btn.primary:hover { background: #333; }
.app-btn { background: #0052d9; color: white; }
.app-btn:hover { background: #0043b5; }
.disabled-btn {
     background: #e0e0e0;
     color: #999;
     cursor: not-allowed;
}

.pagination-dots { display: flex; justify-content: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s; }
.dot.active { background: #0052d9; width: 24px; border-radius: 4px; }

/* ===== Latest News ===== */
.news-section { padding: 80px 0; background: #fff; }
.news-grid { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; cursor: pointer; }
.news-card:hover { transform: translateY(-5px); }
.news-image { 
    height: 240px; 
    background-color: #343a40; 
    background-size: cover; 
    background-position: center; 
    color: white; 
    font-size: 20px; 
    font-weight: 600;
    position: relative;
}
.news-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}
.news-content { padding: 30px; }
.news-date { color: #0052d9; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.news-title { font-size: 20px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.news-desc { color: #666; font-size: 15px; line-height: 1.6; }

/* ===== Explore Hongzhuo ===== */
.business-section { padding: 100px 0; background: white; }
.business-grid { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.business-card { height: 300px; position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; }
.business-card-bg { 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background-color: #343a40; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.5s; 
}
.business-card:hover .business-card-bg { transform: scale(1.1); }
.business-card-overlay { 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0,0,0,0.4); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 28px; 
    font-weight: 700; 
    transition: background 0.3s; 
}
.business-card:hover .business-card-overlay { background: rgba(0,0,0,0.6); }
.business-card.is-disabled { cursor: default; }
.business-card.is-disabled:hover .business-card-bg { transform: none; }
.business-card.is-disabled .business-card-overlay { opacity: 0.7; }

/* ===== Talent & Development Section ===== */
.talent-section {
    padding: 100px 0;
    background: #fff;
}

.talent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.talent-container .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.talent-container .section-title p {
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.talent-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.talent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.talent-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.talent-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.talent-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.join-us-cta p {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
}

/* ===== Footer ===== */
.site-footer { background: #0a0a0a; color: #666; padding: 60px 0 30px; border-top: 1px solid #222; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand h3 { color: white; font-size: 24px; margin-bottom: 20px; }
.footer-brand p { line-height: 1.8; font-size: 14px; }
.footer-col h4 { color: white; font-size: 16px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #666; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #222; font-size: 13px; color: #444; }

@media (max-width: 1024px) { 
    .products-grid { grid-template-columns: repeat(2, 1fr); } 
    .talent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { 
    .products-grid { grid-template-columns: 1fr; } 
    .products-header { flex-direction: column; gap: 20px; }
}
