/* =====================================================
   合乐网络科技 - 主样式表
   高端科技商务风 | 主色:#1E6FE8 辅色:#00C2FF 渐变:蓝青
   ===================================================== */

:root {
  /* Primary colors */
  --primary: #1E6FE8;
  --primary-dark: #0A4CB8;
  --primary-light: #3B82F6;
  --primary-soft: rgba(30,111,232,0.08);
  /* Accent colors */
  --accent: #00C2FF;
  --accent-soft: rgba(0,194,255,0.1);
  /* Success/Warning */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  /* Text colors */
  --text: #1a1f2e;
  --text-sub: #5a6275;
  --text-light: #8a919e;
  /* Backgrounds */
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-slate: #f0f4f8;
  --bg-dark: #0F172A;
  --bg-dark-lighter: #1E293B;
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E40AF 50%, #00C2FF 100%);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A8A 40%, #0369A1 70%, #0891B2 100%);
  --gradient-text: linear-gradient(90deg, #ffffff 0%, #00C2FF 50%, #60A5FA 100%);
  --gradient-card: linear-gradient(135deg, rgba(30,111,232,0.05) 0%, rgba(0,194,255,0.05) 100%);
  /* Borders */
  --border: #e4e8ef;
  --border-light: #edf0f5;
  /* Navigation */
  --nav-h: 72px;
  /* Radii */
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  /* Shadows */
  --shadow: 0 2px 16px rgba(30,111,232,0.08);
  --shadow-md: 0 4px 32px rgba(30,111,232,0.13);
  --shadow-lg: 0 8px 48px rgba(30,111,232,0.18);
  --shadow-glow: 0 0 40px rgba(0,194,255,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PingFang SC','Segoe UI','Microsoft YaHei',sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; background: var(--primary-soft); padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title { font-size: 36px; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 16px; }
.section-title em { font-style: normal; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 17px; color: var(--text-sub); max-width: 580px; }
.section-header { margin-bottom: 52px; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ===================== BUTTONS ===================== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: all .25s; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; box-shadow: 0 4px 14px rgba(30,111,232,0.25); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,111,232,0.35); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); background: #f0f5ff; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ===================== NAVBAR ===================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.navbar.scrolled { border-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 6px; font-size: 15px; color: var(--text-sub); transition: all .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(21,96,189,.05); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
/* Dropdown */
.nav-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); min-width: 220px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; pointer-events: none; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); transform: translateX(-50%) translateY(-10px) scale(0.95); }
.nav-dropdown::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: rgba(255,255,255,0.98); border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.nav-item.open .nav-link svg { transform: rotate(180deg); }
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; color: var(--text-sub); transition: all .2s; }
.nav-dropdown a:hover { color: var(--primary); background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%); transform: translateX(4px); }
.nav-dropdown a svg { width: 16px; height: 16px; opacity: 0.6; }
.nav-dropdown a:hover svg { opacity: 1; }
/* Lang switch */
.nav-lang { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 20px; overflow: hidden; }
.nav-lang a { padding: 5px 14px; font-size: 13px; font-weight: 600; color: var(--text-sub); transition: all .2s; white-space: nowrap; }
.nav-lang a.active { background: var(--primary); color: #fff; }
.nav-lang a:hover:not(.active) { background: var(--bg-gray); }
/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 999; overflow-y: auto; padding: 20px 24px 40px; transform: translateX(100%); transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-nav.open { display: block; transform: translateX(0); }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--border); transition: all .2s; }
.mobile-nav a:hover { color: var(--primary); padding-left: 8px; background: var(--bg-gray); margin: 0 -24px; padding-right: 24px; padding-left: 32px; }
.mobile-nav a svg { width: 18px; height: 18px; opacity: 0.5; }
.mobile-nav a:hover svg { opacity: 1; color: var(--primary); }
.mobile-nav-lang { display: flex; gap: 12px; padding: 20px 0; }
.mobile-nav-lang a { font-weight: 600; color: var(--text-sub); font-size: 15px; border: none; padding: 8px 16px; border-radius: 20px; background: var(--bg-gray); }
.mobile-nav-lang a:hover { padding-left: 16px; margin: 0; background: var(--bg-gray); }
.mobile-nav-lang a.active { color: #fff; background: var(--primary); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; background: var(--gradient-hero); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('/static/images/hero_index.jpg') center/cover no-repeat; opacity: 0.15; z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: 
    linear-gradient(rgba(0,194,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px; z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow { position: absolute; z-index: 1; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.hero-glow { width: 500px; height: 500px; background: var(--accent); top: 10%; right: -100px; }
.hero-glow::before { content: ''; position: absolute; width: 400px; height: 400px; background: var(--primary-light); border-radius: 50%; filter: blur(100px); top: 50%; left: -300%; }
.hero-dots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-dot { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.6; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.hero .container { position:relative; z-index:2; }
.hero-content { position: relative; z-index: 2; padding: calc(var(--nav-h) + 60px) 0 80px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 6px 16px 6px 8px; margin-bottom: 28px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
.hero-badge span { font-size: 13px; color: rgba(255,255,255,.8); }
.hero h1 { font-size: clamp(38px,5vw,62px); font-weight: 800; line-height: 1.15; margin-bottom: 24px; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero h1 em { font-style: normal; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,.72); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat .num { font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .num span { font-size: 22px; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* Hero floating tags */
.hero-floating-tags { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); z-index: 2; display: none; }
@media (min-width: 1024px) { .hero-floating-tags { display: block; } }
.hero-tag { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px 18px; white-space: nowrap; animation: float-tag 4s ease-in-out infinite; }
.hero-tag svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-tag span { font-size: 14px; font-weight: 600; color: #fff; }
.hero-tag.tag-1 { top: -80px; right: 0; animation-delay: 0s; }
.hero-tag.tag-2 { top: 40px; right: 60px; animation-delay: 1s; }
.hero-tag.tag-3 { top: 160px; right: 20px; animation-delay: 2s; }
.hero-tag.tag-4 { top: 280px; right: 80px; animation-delay: 3s; }
@keyframes float-tag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================== SERVICES OVERVIEW ===================== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: all .3s; 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 .3s; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: all .3s; }
.service-card:hover .service-icon { transform: scale(1.08); box-shadow: 0 4px 16px rgba(30,111,232,0.2); }
.service-icon svg { width: 26px; height: 26px; color: var(--primary); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-sub); line-height: 1.65; }
.service-card .learn-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 16px; transition: gap .25s; }
.service-card:hover .learn-more { gap: 8px; }
.service-card .learn-more svg { width: 14px; height: 14px; }

/* ===================== WHY US ===================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why-item { text-align: center; padding: 36px 24px; border-radius: var(--radius-lg); transition: all .3s; }
.why-item:hover { background: var(--bg-gray); }
.why-num { font-size: 52px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: .6; line-height: 1; margin-bottom: -8px; }
.why-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-desc { font-size: 14px; color: var(--text-sub); line-height: 1.65; }

/* ===================== INDUSTRIES ===================== */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.industry-item { background: var(--bg-gray); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: all .25s; border: 1px solid transparent; }
.industry-item:hover { background: #fff; border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.industry-icon { font-size: 32px; margin-bottom: 10px; }
.industry-item span { font-size: 14px; font-weight: 600; color: var(--text); }

/* ===================== CTA ===================== */
.cta-box { position: relative; background: var(--gradient-primary); border-radius: var(--radius-xl); padding: 70px 60px; text-align: center; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: var(--accent); border-radius: 50%; filter: blur(100px); opacity: .2; }
.cta-box::after { content: ''; position: absolute; bottom: -50%; left: -10%; width: 300px; height: 300px; background: var(--primary-light); border-radius: 50%; filter: blur(80px); opacity: .2; }
.cta-box .container { position: relative; z-index: 1; }
.cta-box h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-box p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.85); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 52px; }
.footer-brand .logo-text { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand .logo-text span { color: var(--accent); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,.75); }
.footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 14px; color: rgba(255,255,255,.75); transition: color .2s; }
.footer ul li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.9); }

/* ===================== PAGE HERO ===================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 80px; text-align: center; overflow: hidden; background: var(--gradient-hero); }
.page-hero::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,.35); z-index:0; }
.page-hero .hero-grid { position: absolute; inset: 0; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 44px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.3); margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; justify-content: center; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,.85); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ===================== ABOUT PAGE ===================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-intro-text p { font-size: 16px; color: var(--text-sub); line-height: 1.8; margin-bottom: 18px; }
.about-card { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 36px; }
.about-card-num { font-size: 48px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.about-card-label { font-size: 15px; color: var(--text-sub); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; }
.value-card .icon { width: 44px; height: 44px; background: rgba(21,96,189,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-card .icon svg { width: 22px; height: 22px; color: var(--primary); }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ===================== SERVICES PAGE ===================== */
.services-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 52px; }
.services-nav a { padding: 9px 22px; border-radius: 24px; font-size: 14px; font-weight: 600; color: var(--text-sub); border: 1.5px solid var(--border); transition: all .2s; }
.services-nav a.active, .services-nav a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; margin-bottom: 80px; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-visual { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 40px; }
.service-list { margin-top: 20px; }
.service-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.detail-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(21,96,189,.07); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin: 8px 6px 8px 0; }

/* ===================== SOLUTIONS PAGE ===================== */
.solution-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 52px; }
.solution-tab { padding: 14px 28px; font-size: 15px; font-weight: 600; color: var(--text-sub); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all .2s; }
.solution-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.solution-panel { display: none; }
.solution-panel.active { display: block; }
.solution-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 24px; }
.solution-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.solution-card p { font-size: 15px; color: var(--text-sub); line-height: 1.7; }
.solution-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.solution-features span { background: var(--bg-gray); padding: 5px 14px; border-radius: 20px; font-size: 13px; color: var(--text-sub); }

/* ===================== KNOWLEDGE ===================== */
.knowledge-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-list { }
.article-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.article-item:last-child { border-bottom: none; }
.article-thumb { width: 140px; height: 100px; background: var(--bg-gray); border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article-thumb svg { width: 36px; height: 36px; color: var(--primary); opacity: .4; }
.article-info .cat { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.article-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.article-info h3 a:hover { color: var(--primary); }
.article-info p { font-size: 14px; color: var(--text-sub); line-height: 1.65; margin-bottom: 12px; }
.article-info .meta { font-size: 13px; color: var(--text-light); }
.knowledge-sidebar { }
.sidebar-box { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.sidebar-box ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a:hover { color: var(--primary); }
.pagination { display: flex; gap: 8px; margin-top: 36px; }
.pagination a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--border); color: var(--text-sub); transition: all .2s; }
.pagination a.active, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* Article detail */
.article-detail-body { max-width: 780px; }
.article-detail-body h1 { font-size: 34px; font-weight: 800; margin-bottom: 20px; line-height: 1.3; }
.article-meta-bar { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 32px; font-size: 14px; color: var(--text-sub); }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content h2 { font-size: 24px; font-weight: 700; margin: 36px 0 14px; }
.article-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 16px 0 18px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 3px solid var(--primary); padding: 14px 20px; background: var(--bg-gray); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(21,96,189,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-info-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.contact-form { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 40px; }
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: all .25s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,111,232,0.1), 0 2px 6px rgba(0,0,0,0.06); transform: translateY(-1px); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #86efac; border-radius: var(--radius); padding: 16px 20px; color: #166534; font-size: 15px; margin-top: 16px; animation: slideIn 0.4s ease-out; }
.form-success.show { display: flex; align-items: center; gap: 12px; }
.form-success svg { width: 24px; height: 24px; color: #16a34a; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Form loading state */
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; margin-left: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Input validation states */
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: var(--danger); }
.form-group.has-error::after { content: ''; position: absolute; bottom: -18px; left: 0; font-size: 13px; color: var(--danger); }
.form-group.has-success input, .form-group.has-success select, .form-group.has-success textarea { border-color: var(--success); }

/* ===================== FAQ ===================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; transition: background .2s; }
.faq-q:hover { background: var(--bg-gray); }
.faq-q svg { width: 18px; height: 18px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--text-sub); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ===================== BACK TO TOP ===================== */
/* ===================== SCROLL PROGRESS BAR ===================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); z-index: 9999; width: 0; transition: width 0.1s linear; }

/* ===================== BACK TO TOP ===================== */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; background: #fff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(30,111,232,0.2); opacity: 0; pointer-events: none; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 900; cursor: pointer; border: none; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 28px rgba(30,111,232,0.3); color: var(--accent); }
.back-top svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.back-top-progress-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-top-progress { stroke: var(--primary); stroke-width: 2.5; fill: none; stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }

/* ===================== FLOATING CARD ===================== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: #0d1b35; color: #fff; padding: 0; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-sidebar-logo { padding: 24px 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-logo h2 { font-size: 16px; color: #fff; font-weight: 700; }
.admin-sidebar-logo p { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 2px; }
.admin-nav { padding: 12px 0; }
.admin-nav-group { padding: 8px 16px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.3); }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 24px; font-size: 14px; color: rgba(255,255,255,.65); transition: all .2s; }
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-nav-item.active { color: #fff; background: var(--primary); }
.admin-nav-item svg { width: 18px; height: 18px; }
.admin-main { margin-left: 250px; flex: 1; background: #f0f2f5; }
.admin-topbar { background: #fff; padding: 0 28px; height: 62px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.admin-topbar h1 { font-size: 18px; font-weight: 700; }
.admin-topbar-right { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-sub); }
.admin-content { padding: 28px; }
.admin-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.admin-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 22px 24px; }
.stat-card .label { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
.stat-card .value { font-size: 32px; font-weight: 800; color: var(--text); }
.stat-card .sub { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-sub); border-bottom: 2px solid var(--border); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-gray); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: #f0fdf4; color: #15803d; }
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-yellow { background: #fefce8; color: #a16207; }
.admin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; border: none; }
.admin-btn-primary { background: var(--primary); color: #fff; }
.admin-btn-primary:hover { background: var(--primary-dark); }
.admin-btn-danger { background: #fee2e2; color: #dc2626; }
.admin-btn-danger:hover { background: #fecaca; }
.admin-btn-sm { padding: 6px 12px; font-size: 12px; }
.admin-form-group { margin-bottom: 20px; }
.admin-form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.admin-form-group input, .admin-form-group select, .admin-form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: inherit; }
.admin-form-group input:focus, .admin-form-group select:focus, .admin-form-group textarea:focus { outline: none; border-color: var(--primary); }
.admin-form-group textarea { resize: vertical; min-height: 120px; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ql-container { font-size: 15px; }
.ql-editor { min-height: 280px; }
.admin-login { min-height: 100vh; background: #f0f2f5; display: flex; align-items: center; justify-content: center; }
.admin-login-card { background: #fff; border-radius: 16px; padding: 48px 44px; width: 100%; max-width: 420px; box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.admin-login-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.admin-login-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 32px; }
.flash-msg { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; }
.flash-success { background: #f0fdf4; color: #166534; }
.flash-error { background: #fef2f2; color: #dc2626; }
.flash-warning { background: #fefce8; color: #a16207; }

/* ===================== AOS ANIMATIONS ===================== */
[data-aos] { opacity: 0; transition-property: opacity, transform; transition-duration: 0.6s; transition-timing-function: ease-out; }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* Fade animations */
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade"] { transform: none; opacity: 0; }

/* Scale animations */
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-out"] { transform: scale(1.1); }

/* Flip animations */
[data-aos="flip-left"] { transform: perspective(2500px) rotateY(-90deg); }
[data-aos="flip-right"] { transform: perspective(2500px) rotateY(90deg); }
[data-aos="flip-up"] { transform: perspective(2500px) rotateX(90deg); }
[data-aos="flip-down"] { transform: perspective(2500px) rotateX(-90deg); }

/* ===================== BUTTON RIPPLE ===================== */
.btn { position: relative; overflow: hidden; }
.btn-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3); transform: scale(0); animation: ripple 0.6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ===================== COUNTER ANIMATION ===================== */
[data-counter] { transition: color 0.3s ease; }
[data-counter].counting { color: var(--accent); }

/* ===================== HOVER LIFT EFFECT ===================== */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* ===================== GLOW ON HOVER ===================== */
.glow-hover { transition: box-shadow 0.3s ease; }
.glow-hover:hover { box-shadow: 0 0 20px rgba(30,111,232,0.3), 0 0 40px rgba(0,194,255,0.2); }

/* ===================== TEXT SHINE EFFECT ===================== */
.text-shine { background: linear-gradient(90deg, var(--text) 0%, var(--accent) 50%, var(--text) 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 3s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ===================== GRADIENT BORDER ===================== */
.gradient-border { position: relative; background: #fff; }
.gradient-border::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ===================== FLOATING CARD ===================== */
.floating-card { animation: float-card 6s ease-in-out infinite; }
@keyframes float-card { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* ===================== TIMELINE ===================== */
.timeline { position: relative; max-width: 960px; margin: 0 auto; padding: 20px 0; }
.timeline::before { 
  content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: 0; bottom: 0; width: 3px; 
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary)); opacity: 0.4; 
  border-radius: 2px;
}
.timeline-item { position: relative; width: 50%; padding: 20px 48px; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot { 
  position: absolute; top: 32px; width: 20px; height: 20px; border-radius: 50%; 
  background: linear-gradient(135deg, #fff, #f0f4ff); border: 4px solid var(--primary); 
  z-index: 1; box-shadow: 0 0 0 6px var(--primary-soft), 0 4px 12px rgba(30,111,232,0.25); 
  transition: all .3s;
}
.timeline-item:hover .timeline-dot { transform: scale(1.2); box-shadow: 0 0 0 8px var(--primary-soft), 0 4px 16px rgba(30,111,232,0.35); }
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.timeline-content { 
  background: #fff; padding: 28px 32px; border-radius: var(--radius-lg); 
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: all .35s; 
  border: 1px solid var(--border-light); position: relative; overflow: hidden;
}
.timeline-content::before { 
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; 
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: opacity .3s;
}
.timeline-item:hover .timeline-content { 
  transform: translateY(-4px); box-shadow: 0 8px 32px rgba(30,111,232,0.15); border-color: var(--primary); 
}
.timeline-item:hover .timeline-content::before { opacity: 1; }
.timeline-year { 
  display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: 1px;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); 
  padding: 6px 16px; border-radius: 24px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(30,111,232,0.3);
}
.timeline-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.timeline-content p { font-size: 15px; color: var(--text-sub); line-height: 1.75; }

@media (max-width: 768px) {
  .timeline::before { left: 20px; width: 2px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding: 15px 0 15px 50px; }
  .timeline-item .timeline-dot { left: 11px !important; right: auto !important; width: 16px; height: 16px; border-width: 3px; }
  .timeline-content { padding: 20px 24px; }
  .timeline-content h3 { font-size: 18px; }
  .timeline-content p { font-size: 14px; }
}

/* ===================== INDEX PARTNERS PREVIEW ===================== */
.section-sub-header { text-align: center; margin-bottom: 20px; }
.section-sub-header h4 { font-size: 15px; font-weight: 600; color: var(--text-sub); position: relative; display: inline-block; }
.section-sub-header h4::before,
.section-sub-header h4::after { content: ''; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--border); }
.section-sub-header h4::before { right: calc(100% + 12px); }
.section-sub-header h4::after { left: calc(100% + 12px); }

.index-partners-operators { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.index-partner-logo-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 140px; transition: all .3s; }
.index-partner-logo-box:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.index-partner-logo-box img { height: 40px; width: auto; object-fit: contain; }
.index-partner-logo-box span { font-size: 13px; font-weight: 600; color: var(--text); }

.index-partners-vendors { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; max-width: 800px; margin: 0 auto; }
.index-partner-logo-box-sm { padding: 12px 16px; min-width: unset; }
.index-partner-logo-box-sm img { height: 28px; }
.index-partner-logo-box-sm span { font-size: 12px; }

@media (max-width: 640px) {
  .index-partners-operators { gap: 12px; }
  .index-partner-logo-box { padding: 12px 16px; min-width: 100px; }
  .index-partner-logo-box img { height: 32px; }
  .index-partners-vendors { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-lang { display: none; }
  .nav-toggle { display: flex; }
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 28px; }
  .hero-stat .num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 48px 28px; }
  .cta-box h2 { font-size: 26px; }
  .values-grid { grid-template-columns: 1fr; }
  .admin-form-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===================== CASE CARDS ===================== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-card-cover { position: relative; height: 200px; background: linear-gradient(135deg, #0d1b35, #1560BD); overflow: hidden; }
.case-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.case-card-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,.3); }
.case-card-overlay { position: absolute; top: 16px; left: 16px; }
.case-industry { display: inline-block; background: rgba(255,255,255,.95); color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.case-card-body { padding: 24px; }
.case-client { margin-bottom: 10px; }
.case-client-name { font-size: 13px; color: var(--text-light); }
.case-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.case-title a { color: var(--text); transition: color .2s; }
.case-title a:hover { color: var(--primary); }
.case-summary { font-size: 14px; color: var(--text-sub); line-height: 1.65; margin-bottom: 16px; }
.case-metrics { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.case-metric { text-align: center; min-width: 70px; }
.case-metric .metric-value { font-size: 18px; font-weight: 700; color: var(--primary); }
.case-metric .metric-key { display: block; font-size: 11px; color: var(--text-light); margin-top: 2px; }
.case-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--primary); transition: gap .2s; }
.case-link:hover { gap: 8px; }
.case-link svg { width: 14px; height: 14px; }
.case-card-compact .case-card-cover { height: 160px; }

/* Case preview cards (for homepage) */
.case-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.case-preview-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all .3s; }
.case-preview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-preview-cover { position: relative; height: 180px; background: linear-gradient(135deg, #0d1b35, #1560BD); }
.case-preview-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.case-preview-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,.25); }
.case-preview-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--primary); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.case-preview-body { padding: 20px; }
.case-preview-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.case-preview-body h3 a { color: var(--text); transition: color .2s; }
.case-preview-body h3 a:hover { color: var(--primary); }
.case-preview-body p { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin-bottom: 12px; }
.case-preview-metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.case-preview-metric { background: rgba(21,96,189,.07); color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.case-preview-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--primary); }
.case-preview-link:hover { gap: 8px; }

/* Case detail page */
.case-detail-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 60px; background: linear-gradient(135deg, #0d1b35 0%, #1560BD 100%); overflow: hidden; }
.case-detail-hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.case-detail-header { position: relative; z-index: 1; }
.case-detail-badge { display: inline-block; background: rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.case-detail-hero h1 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; max-width: 800px; }
.case-detail-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.case-detail-meta span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.8); }
.case-detail-meta svg { width: 16px; height: 16px; }
.case-metrics-section { background: var(--bg-gray); padding: 48px 0; margin-top: -1px; }
.case-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.case-metric-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; text-align: center; border: 1px solid var(--border); }
.case-metric-card .metric-value { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.case-metric-card .metric-label { font-size: 13px; color: var(--text-sub); }
.case-content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.case-section { margin-bottom: 40px; }
.case-section h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.case-section h2 svg { width: 20px; height: 20px; color: var(--primary); }
.case-text { font-size: 15px; color: var(--text-sub); line-height: 1.8; }
.case-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.case-info-card { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.case-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.case-info-list { }
.case-info-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.case-info-item:last-child { border-bottom: none; }
.case-info-label { color: var(--text-light); }
.case-info-value { color: var(--text); font-weight: 600; }
.case-cta-card { background: linear-gradient(135deg, #0d1b35, #1560BD); border-radius: var(--radius-lg); padding: 28px; }
.case-cta-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.case-cta-card p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 20px; }
.case-cta-card .btn { margin-bottom: 12px; }
.case-phone { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.8); margin-top: 8px; }
.case-phone svg { width: 16px; height: 16px; }
.case-industry-tag { display: inline-block; background: rgba(21,96,189,.08); color: var(--primary); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.related-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ===================== PARTNERS PAGE ===================== */
.partners-section { }
.partners-section-header { text-align: center; margin-bottom: 40px; }
.partners-section-icon { width: 48px; height: 48px; background: var(--primary-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.partners-section-icon svg { width: 24px; height: 24px; color: var(--primary); }
.partners-section-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.partners-section-header p { font-size: 13px; color: var(--text-sub); }
.partners-grid { display: grid; gap: 16px; }
.partners-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 700px; margin: 0 auto; }
.partners-grid-4 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: all .3s; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; }
.partner-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partner-logo { width: 100px; height: 60px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; overflow: hidden; flex-shrink: 0; }
.partner-logo img { max-width: 90px; max-height: 50px; width: auto; height: auto; object-fit: contain; }
.partner-card h4 { font-size: 13px; font-weight: 600; color: var(--text); margin: 0; line-height: 1.3; }
.clients-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.client-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all .2s; }
.client-card:hover { border-color: var(--primary); }
.client-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.client-industry { font-size: 12px; color: var(--primary); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat-item { text-align: center; padding: 32px 24px; }
.stat-number { font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-sub); }

/* Partners preview (for homepage) */
.partners-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.partners-preview-section { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.partners-preview-section h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.partners-preview-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.partners-preview-item { background: var(--bg-gray); color: var(--text); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 20px; transition: all .2s; }
.partners-preview-item:hover { background: rgba(21,96,189,.08); color: var(--primary); }

/* Empty state */
.empty-state { text-align: center; padding: 80px 0; color: var(--text-sub); }
.empty-state svg { margin: 0 auto 16px; display: block; opacity: .3; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.empty-state p { font-size: 14px; }

/* Responsive for new sections */
@media (max-width: 1024px) {
  .case-content-layout { grid-template-columns: 1fr; }
  .case-sidebar { position: static; }
  .partners-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .case-detail-hero h1 { font-size: 28px; }
  .case-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
