/* =============================================
   远辰智联 官方网站 - 主样式
   ============================================= */

:root {
    --primary: #0a66c2;
    --primary-dark: #004d99;
    --primary-light: #3b8fe8;
    --accent: #ff6b35;
    --accent-dark: #e05520;
    --dark: #0d1117;
    --dark2: #161b22;
    --dark3: #21262d;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-dark: #30363d;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.18);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 首页 body 背景深色，navbar 透明时不露白 */
body.page-home {
    background: var(--dark);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

/* 首页：导航栏初始完全透明 */
.page-home .navbar {
    background: transparent !important;
    box-shadow: none !important;
}
.page-home .navbar.scrolled {
    background: rgba(13, 17, 23, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25) !important;
}

/* 内页：导航栏始终深色 */
.page-inner .navbar {
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

/* 首页 body：hero 顶格，不留 navbar 空白 */
.page-home {
    padding-top: 0;
}

/* 内页 body：.page-hero 内已有 140px padding-top，无需额外留空 */
.page-inner {
    padding-top: 0;
}
.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    letter-spacing: -1px;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.nav-logo-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}
.nav-logo-text span {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-dropdown a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.lang-switcher {
    position: relative;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.80);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.lang-btn:hover {
    background: rgba(255,255,255,0.14);
    color: var(--white);
}
.lang-btn svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.lang-switcher:hover .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
    z-index: 200;
}
.lang-switcher:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.lang-menu a:hover, .lang-menu a.active {
    color: var(--white);
    background: rgba(10,102,194,0.3);
}
.lang-menu a .flag { width: 18px; height: 13px; border-radius: 2px; }

.btn-nav-admin {
    padding: 8px 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-nav-admin:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10,102,194,0.4);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* =============================================
   HERO / SLIDER
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72) 0%,
        rgba(10,102,194,0.22) 60%,
        rgba(255,107,53,0.12) 100%
    );
}
.hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 80px 32px 100px;
    max-width: 1320px;
    margin: 0 auto;
}
.hero-text {
    max-width: 620px;
    animation: heroFadeIn 1s ease forwards;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(10,102,194,0.2);
    border: 1px solid rgba(10,102,194,0.4);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,102,194,0.45);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}
.hero-indicators {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.hero-dot.active {
    width: 28px;
    background: var(--white);
}
.hero-arrows {
    position: absolute;
    bottom: 28px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-arrow {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    color: white;
}
.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

/* =============================================
   SECTIONS
   ============================================= */
section { padding: 96px 0; }
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}
.section-header {
    margin-bottom: 60px;
}
.section-header.center { text-align: center; }
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(10,102,194,0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid rgba(10,102,194,0.15);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}
.section-header.center .section-desc { margin: 0 auto; }

/* =============================================
   ABOUT SECTION (ASYMMETRIC)
   ============================================= */
.about-section { background: var(--gray-50); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about-visual {
    position: relative;
}
.about-img-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
    position: absolute;
    bottom: -28px;
    right: -28px;
    width: 48%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-stats {
    position: absolute;
    top: -20px;
    left: -20px;
    display: flex;
    gap: 12px;
    flex-direction: column;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    min-width: 130px;
}
.stat-card .num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-card .label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}
.about-content { padding-left: 0; }
.about-features { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(10,102,194,0.1), rgba(10,102,194,0.05));
    border: 1px solid rgba(10,102,194,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.about-feature-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.about-feature-text p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--dark); }
.services-section .section-title { color: var(--white); }
.services-section .section-tag { background: rgba(10,102,194,0.2); color: #60a5fa; border-color: rgba(10,102,194,0.3); }
.services-section .section-desc { color: rgba(255,255,255,0.55); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--dark2);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
    border-color: rgba(10,102,194,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(10,102,194,0.2), rgba(10,102,194,0.05));
    border: 1px solid rgba(10,102,194,0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
.service-num {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-section { background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
}
.news-featured {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-900);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}
.news-featured:hover { transform: translateY(-4px); }
.news-featured-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}
.news-featured-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.news-featured-content {
    position: relative;
    z-index: 2;
    padding: 32px;
}
.news-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.news-featured-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 8px;
}
.news-featured-content .meta {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-fast);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 8px; }
.news-item-img {
    width: 80px;
    height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--gray-900);
}
.news-item-text .meta { font-size: 12px; color: var(--text-muted); }
.section-footer { text-align: center; margin-top: 48px; }

/* =============================================
   INNER PAGE
   ============================================= */
.page-hero {
    padding: 140px 0 72px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--gray-900) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(10,102,194,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }
.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.page-content { padding: 72px 0 96px; }

/* Card */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body { padding: 28px; }
.card-header-bar {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header-bar h2 { font-size: 17px; font-weight: 700; }

/* News/notice cards grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.post-meta .cat-tag {
    padding: 2px 8px;
    background: rgba(10,102,194,0.08);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
}
.post-card h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.post-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.post-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-fast);
}
.read-more:hover { gap: 10px; }

/* Detail page */
.article-wrap { max-width: 860px; }
.article-header { margin-bottom: 36px; }
.article-header h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-body { font-size: 15.5px; line-height: 1.9; color: var(--text-primary); }
.article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 36px 0 14px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 6px; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Company Info Table */
.company-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table tr:hover td { background: var(--gray-50); }
.company-table th {
    width: 200px;
    padding: 18px 24px;
    background: var(--gray-50);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: left;
    border-right: 1px solid var(--border);
    vertical-align: top;
}
.company-table td {
    padding: 18px 24px;
    font-size: 14.5px;
    color: var(--text-primary);
    line-height: 1.6;
}
.company-table .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16,185,129,0.1);
    color: #059669;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}
.company-table .status-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* Changelog */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
    position: absolute;
    left: -34px; top: 6px;
    width: 16px; height: 16px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transition: all var(--transition);
}
.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(10,102,194,0.15);
}
.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.timeline-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.timeline-item:hover .timeline-card {
    box-shadow: var(--shadow);
    border-color: rgba(10,102,194,0.2);
    transform: translateX(4px);
}
.timeline-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.timeline-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.timeline-ver {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(10,102,194,0.08);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Legal pages */
.legal-content { max-width: 840px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; color: var(--gray-900); }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; color: var(--gray-800); }
.legal-content p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content li { font-size: 14.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 8px; }
.legal-content .legal-box {
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 22px;
    margin: 24px 0;
}
.legal-content .legal-box p { margin: 0; color: var(--gray-700); }
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p {
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(255,255,255,0.45);
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.social-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    transition: all var(--transition-fast);
}
.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item .icon {
    width: 32px; height: 32px;
    background: rgba(10,102,194,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--primary-light);
}
.footer-contact-item .text { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 56px;
}
.page-btn {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =============================================
   UTILITY
   ============================================= */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* Notice banner */
.notice-banner {
    background: rgba(10,102,194,0.06);
    border: 1px solid rgba(10,102,194,0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.notice-banner .icon { color: var(--primary); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notice-banner p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* Back btn */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-bottom: 28px;
}
.back-btn:hover { background: var(--gray-200); color: var(--gray-900); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 72px 32px;
    color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 16px; opacity: 0.3; }
.empty-state p { font-size: 15px; }

/* Alert boxes */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert-info { background: rgba(10,102,194,0.06); border: 1px solid rgba(10,102,194,0.2); color: var(--primary-dark); }
.alert-success { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); color: #065f46; }
.alert-danger { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); color: #991b1b; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-sub { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .company-table th { width: 130px; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-right .btn-nav-admin { display: none; }
    .nav-hamburger { display: flex; }
    .nav-inner { height: 64px; }
    section { padding: 64px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .container { padding: 0 20px; }
    .hero-content { padding: 80px 20px 80px; }
    .hero-text { max-width: 100%; }
    .hero-arrows { display: none; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .company-table { display: block; overflow-x: auto; }
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 80px 28px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    border: none;
}
.mobile-lang-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.mobile-lang-row a {
    border: none !important;
    padding: 8px 16px !important;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.7) !important;
}
.mobile-lang-row a.active, .mobile-lang-row a:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
