:root {
    --primary: #0A192F;
    --primary-light: #112240;
    --accent: #C2A878;
    --accent-hover: #D4AF37;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-en: 'Outfit', sans-serif;
    --font-cn: 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.cn {
    font-family: var(--font-cn);
    font-size: 0.85em;
    opacity: 0.8;
}

.cn-text {
    font-family: var(--font-cn);
    font-size: 0.9em;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled .nav-links a {
    color: var(--primary);
}

.navbar.scrolled .logo {
    color: var(--primary);
}

.navbar.scrolled .mobile-menu {
    color: var(--accent);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-bx {
    color: var(--accent);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent) !important;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    color: var(--accent);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(17, 34, 64, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #E2E8F0;
}

.hero-cn {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 3rem;
    letter-spacing: 3px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(194, 168, 120, 0.3);
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- About Section --- */
.about-section {
    background-color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-article {
    background: var(--bg-card);
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.info-article p:not(:last-child) {
    margin-bottom: 2rem;
}

.article-en {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
}

.article-cn {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.info-card {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-color: var(--accent);
}

.icon-wrapper {
    background: rgba(194, 168, 120, 0.1);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    width: 24px;
    height: 24px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
}

.info-content p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.status-active {
    color: #10B981 !important;
    font-weight: 600 !important;
}

/* --- Categories Section --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 50%, rgba(10, 25, 47, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.category-card:hover .card-image {
    transform: scale(1.1);
}

.category-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(194, 168, 120, 0.6) 100%);
}

.card-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .card-icon {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-overlay p {
    color: #CBD5E1;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.category-card:hover h4,
.category-card:hover p {
    transform: translateY(0);
}

/* Gradient Backgrounds for cards without images */
.gradient-bg-1 { background: linear-gradient(135deg, #2C3E50, #3498DB); }
.gradient-bg-2 { background: linear-gradient(135deg, #1A2980, #26D0CE); }
.gradient-bg-3 { background: linear-gradient(135deg, #232526, #414345); }
.gradient-bg-4 { background: linear-gradient(135deg, #141E30, #243B55); }
.gradient-bg-5 { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }

.why-choose-section {
    background: var(--white);
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(194, 168, 120, 0.6);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(194, 168, 120, 0.12);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.feature-icon svg,
.feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.feature-card .cn-text {
    margin-bottom: 1rem;
}

.feature-card p:last-child {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}


/* --- Footer --- */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 6rem 0 2rem;
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-desc {
    color: #94A3B8;
    max-width: 400px;
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.footer-heading .cn {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #94A3B8;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94A3B8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748B;
    font-size: 0.9rem;
}

/* --- Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}
