/* ============================================
   赋昇科技 Fusen Tech - 官网样式表
   文件名: css/style.css
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #1E293B; line-height: 1.6; overflow-x: hidden; background: #fff; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --deep-blue: #03045E;
  --mid-blue: #0077B6;
  --bright-blue: #00B4D8;
  --neon-cyan: #22D3EE;
  --sky-blue: #38BDF8;
  --slate-dark: #0B0F19;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --cool-gray: #94A3B8;
  --light-gray: #F8FAFC;
  --mid-gray: #E2E8F0;
  --radius: 8px;
}

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
@media (min-width: 1280px) { .container { padding: 0 80px; } }

/* ===== TEXT UTILITIES ===== */
.text-gradient-blue {
  background: linear-gradient(135deg, #38BDF8, #22D3EE, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.font-mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; }
.en-blue { color: var(--bright-blue); }
.en-gray { color: #8B8B8B; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; transition: all 0.3s ease; }
.btn-primary { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: var(--sky-blue); }
.btn-primary:hover { background: rgba(56, 189, 248, 0.2); border-color: rgba(56, 189, 248, 0.5); }
.btn-primary svg, .btn-secondary svg { width: 18px; height: 18px; }
.btn-secondary { border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); }
.btn-secondary:hover { border-color: rgba(34, 211, 238, 0.5); color: #fff; }

/* ===== GLASS CARD ===== */
.glass { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes scrollDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes tickerLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tickerRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: var(--mid-blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--slate-800); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-subtitle { color: var(--cool-gray); max-width: 640px; margin: 0 auto; font-size: 1rem; }
@media (min-width: 1024px) { .section-subtitle { font-size: 1.125rem; } }

/* ============================================
   NAVBAR
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; transition: all 0.3s ease; }
.navbar.scrolled { background: rgba(3, 4, 94, 0.88); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-brand-text { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: 3px; }

.nav-links { display: none; gap: 2px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { position: relative; padding: 8px 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--neon-cyan); border-radius: 1px; transition: width 0.3s; }
.nav-links a:hover::after { width: 40%; }

.menu-btn { display: block; padding: 8px; color: rgba(255, 255, 255, 0.8); }
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-menu { display: none; background: rgba(3, 4, 94, 0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.mobile-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; width: 100%; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #03045E 0%, #0B0F19 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.3; z-index: 1; }
.hero-glow { position: absolute; top: 33%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%); z-index: 1; }
.hero-content { position: relative; z-index: 10; width: 100%; padding-top: 80px; text-align: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 32px; }
.hero-badge svg { width: 16px; height: 16px; color: var(--neon-cyan); flex-shrink: 0; }

.hero h1 { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
@media (min-width: 640px) { .hero h1 { font-size: 3.2rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.2rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 5rem; } }

.hero-subtitle { font-size: 1.05rem; color: var(--cool-gray); max-width: 600px; margin: 0 auto 40px; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 520px; margin: 56px auto 32px; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat-value { font-size: 1.6rem; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
@media (min-width: 768px) { .hero-stat-value { font-size: 2.2rem; } }
.hero-stat-label { font-size: 0.75rem; color: var(--cool-gray); margin-top: 4px; }

.scroll-indicator { position: absolute; bottom: 28px; left: 50%; z-index: 10; text-align: center; animation: scrollDown 2s ease-in-out infinite; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.scroll-indicator span { font-size: 0.7rem; color: rgba(148, 163, 184, 0.5); display: block; }
.scroll-indicator svg { width: 16px; height: 16px; color: rgba(148, 163, 184, 0.5); display: block; }

/* ============================================
   ABOUT
   ============================================ */
.about { padding: 100px 0; background: var(--light-gray); position: relative; overflow: hidden; }
.about-glow-1 { position: absolute; top: 0; right: 0; width: 400px; height: 400px; border-radius: 50%; background: rgba(56, 189, 248, 0.04); filter: blur(80px); }
.about-glow-2 { position: absolute; bottom: 0; left: 0; width: 300px; height: 300px; border-radius: 50%; background: rgba(34, 211, 238, 0.04); filter: blur(80px); }
.about .section-title { color: var(--slate-800); }

.about-grid { display: grid; gap: 40px; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

.about-card { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(12px); border: 1px solid rgba(226, 232, 240, 0.5); border-radius: 16px; padding: 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; height: 100%; }
@media (min-width: 1024px) { .about-card { padding: 40px; } }
.about-card-body { color: #475569; line-height: 1.75; font-size: 0.9rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.about-card-body p { margin-bottom: 0; }
.about-indent { text-indent: 2em; }

.about-stats { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--mid-gray); }
.about-stat-value { font-size: 1.4rem; font-weight: 700; color: var(--mid-blue); font-family: 'JetBrains Mono', monospace; }
.about-stat-label { font-size: 0.7rem; color: var(--cool-gray); }
.about-stat-divider { width: 1px; height: 36px; background: var(--mid-gray); }

.feature-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; height: 100%; }
.feature-card { background: #fff; border: 1px solid rgba(226, 232, 240, 0.5); border-radius: 12px; padding: 24px; transition: all 0.3s ease; }
.feature-card:hover { border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 10px 40px rgba(56, 189, 248, 0.06); }
.feature-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(0, 119, 182, 0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background 0.3s; }
.feature-card:hover .feature-icon { background: rgba(0, 119, 182, 0.15); }
.feature-icon svg { width: 22px; height: 22px; color: var(--mid-blue); }
.feature-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--slate-800); margin-bottom: 6px; }
.feature-card p { font-size: 0.82rem; color: var(--cool-gray); line-height: 1.6; }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 100px 0; background: var(--deep-blue); position: relative; overflow: hidden; }
.services-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.2; }
.services-glow { position: absolute; top: 25%; left: 0; width: 500px; height: 500px; border-radius: 50%; background: rgba(56, 189, 248, 0.04); filter: blur(80px); }
.services .section-title { color: #fff; }
.services .section-subtitle { color: var(--cool-gray); }

.service-cards { display: grid; gap: 20px; }
@media (min-width: 768px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }

.service-card { position: relative; border-radius: 16px; border: 1px solid; padding: 32px; transition: all 0.3s ease; overflow: hidden; }
.service-card:hover { box-shadow: 0 0 30px rgba(56, 189, 248, 0.12), 0 0 80px rgba(56, 189, 248, 0.06); }

.sc-1 { border-color: rgba(56, 189, 248, 0.2); background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(34, 211, 238, 0.06)); }
.sc-1:hover { border-color: rgba(56, 189, 248, 0.4); }
.sc-2 { border-color: rgba(0, 119, 182, 0.2); background: linear-gradient(135deg, rgba(0, 119, 182, 0.15), rgba(56, 189, 248, 0.06)); }
.sc-2:hover { border-color: rgba(0, 119, 182, 0.4); }
.sc-3 { border-color: rgba(34, 211, 238, 0.2); background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(0, 119, 182, 0.06)); }
.sc-3:hover { border-color: rgba(34, 211, 238, 0.4); }
.sc-4 { border-color: rgba(56, 189, 248, 0.2); background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(34, 211, 238, 0.06)); }
.sc-4:hover { border-color: rgba(56, 189, 248, 0.4); }

.service-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sc-1 .service-icon { background: rgba(56, 189, 248, 0.1); }
.sc-2 .service-icon { background: rgba(0, 119, 182, 0.1); }
.sc-3 .service-icon { background: rgba(34, 211, 238, 0.1); }
.sc-4 .service-icon { background: rgba(56, 189, 248, 0.1); }
.sc-1 .service-icon svg, .sc-4 .service-icon svg { color: var(--sky-blue); }
.sc-2 .service-icon svg { color: var(--mid-blue); }
.sc-3 .service-icon svg { color: var(--neon-cyan); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.service-sub { font-size: 0.7rem; font-family: 'JetBrains Mono', monospace; color: rgba(255, 255, 255, 0.35); margin-bottom: 14px; }
.service-desc { font-size: 0.85rem; color: var(--cool-gray); line-height: 1.6; margin-bottom: 20px; }

.service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 9px; }
.service-list li svg { width: 15px; height: 15px; color: var(--neon-cyan); margin-top: 2px; flex-shrink: 0; }

.service-corner { position: absolute; top: 0; right: 0; width: 80px; height: 80px; overflow: hidden; opacity: 0.15; }
.service-corner div { position: absolute; top: -40px; right: -40px; width: 80px; height: 80px; background: rgba(255, 255, 255, 0.05); transform: rotate(45deg); }

/* ============================================
   TECH ADVANTAGES
   ============================================ */
.tech { padding: 100px 0; background: var(--light-gray); position: relative; overflow: hidden; }
.tech-glow { position: absolute; top: 50%; right: 0; width: 400px; height: 400px; border-radius: 50%; background: rgba(0, 119, 182, 0.04); filter: blur(80px); transform: translateY(-50%); }
.tech-glow-2 { position: absolute; bottom: 0; left: 25%; width: 300px; height: 300px; border-radius: 50%; background: rgba(56, 189, 248, 0.04); filter: blur(80px); }
.tech .section-title { color: var(--slate-800); }

.tech-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .tech-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-cards { grid-template-columns: repeat(3, 1fr); } }

.tech-card { position: relative; background: #fff; border: 1px solid rgba(226, 232, 240, 0.5); border-radius: 12px; padding: 24px; transition: all 0.3s ease; }
.tech-card:hover { border-color: rgba(0, 119, 182, 0.2); box-shadow: 0 10px 40px rgba(0, 119, 182, 0.06); }

.tech-stat { position: absolute; top: 16px; right: 16px; text-align: right; }
.tech-stat-value { font-size: 1.2rem; font-weight: 700; color: var(--mid-blue); font-family: 'JetBrains Mono', monospace; }
.tech-stat-label { font-size: 0.6rem; color: var(--cool-gray); text-transform: uppercase; letter-spacing: 1px; }

.tech-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(0, 119, 182, 0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background 0.3s; }
.tech-card:hover .tech-icon { background: rgba(0, 119, 182, 0.15); }
.tech-icon svg { width: 22px; height: 22px; color: var(--mid-blue); }

.tech-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--slate-800); margin-bottom: 6px; }
.tech-card p { font-size: 0.82rem; color: var(--cool-gray); line-height: 1.6; }


/* ============================================
   INTEGRATED TOOLS
   ============================================ */
.tools { padding: 100px 0; background: var(--deep-blue); position: relative; overflow: hidden; }
.tools-glow { position: absolute; top: 30%; right: 0; width: 500px; height: 400px; border-radius: 50%; background: rgba(34, 211, 238, 0.04); filter: blur(80px); }
.tools .section-title { color: #fff; }
.tools .section-subtitle { color: var(--cool-gray); }

.tools-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }

.tool-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 32px; transition: all 0.3s ease; }
.tool-card:hover { border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 0 30px rgba(56, 189, 248, 0.1); background: rgba(255, 255, 255, 0.06); }

.tool-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tool-icon svg { width: 26px; height: 26px; }
.tool-crg { background: rgba(56, 189, 248, 0.12); color: var(--sky-blue); }
.tool-vlink { background: rgba(34, 211, 238, 0.12); color: var(--neon-cyan); }
.tool-reg { background: rgba(0, 119, 182, 0.12); color: var(--mid-blue); }
.tool-pin { background: rgba(14, 165, 233, 0.12); color: #0EA5E9; }

.tool-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tool-sub { font-size: 0.72rem; font-family: 'JetBrains Mono', monospace; color: rgba(255, 255, 255, 0.4); margin-bottom: 12px; }
.tool-desc { font-size: 0.85rem; color: var(--cool-gray); line-height: 1.65; margin-bottom: 18px; }

.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span { padding: 4px 12px; font-size: 0.7rem; font-family: 'JetBrains Mono', monospace; border-radius: 999px; background: rgba(56, 189, 248, 0.08); color: var(--sky-blue); border: 1px solid rgba(56, 189, 248, 0.15); }

/* ============================================
   CASES
   ============================================ */
.cases { padding: 100px 0; background: var(--slate-dark); position: relative; overflow: hidden; }
.cases-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.12; }
.cases-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 350px; border-radius: 50%; background: rgba(56, 189, 248, 0.04); filter: blur(80px); }
.cases .section-title { color: #fff; }
.cases .section-subtitle { color: var(--cool-gray); }

.case-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .case-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-cards { grid-template-columns: repeat(4, 1fr); } }

.case-cards-all { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .case-cards-all { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-cards-all { grid-template-columns: repeat(4, 1fr); } }

.case-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; }
.case-card:hover { border-color: rgba(56, 189, 248, 0.25); box-shadow: 0 0 30px rgba(56, 189, 248, 0.1); }

.case-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.case-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-img-wrap img { transform: scale(1.05); }
.case-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 4, 94, 0.75), rgba(3, 4, 94, 0.15), transparent); }
.case-img-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; transition: opacity 0.3s; background: rgba(56, 189, 248, 0.08); }
.case-card:hover .case-img-overlay { opacity: 1; }
.case-img-overlay div { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.case-img-overlay svg { width: 16px; height: 16px; color: #fff; }

.case-card-body { padding: 18px; }
.case-card-body h3 { font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 8px; transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-card:hover .case-card-body h3 { color: var(--sky-blue); }
.case-card-body p { font-size: 0.78rem; color: var(--cool-gray); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags span { padding: 2px 8px; font-size: 0.6rem; font-family: 'JetBrains Mono', monospace; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: rgba(34, 211, 238, 0.8); border: 1px solid rgba(255, 255, 255, 0.08); }

.case-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.case-page-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.5); transition: all 0.3s; background: transparent; }
.case-page-btn:hover:not(:disabled) { color: #fff; border-color: rgba(56, 189, 248, 0.3); }
.case-page-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.case-page-btn svg { width: 16px; height: 16px; }
.case-dots { display: flex; gap: 8px; }
.case-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.case-dot:hover { background: rgba(255, 255, 255, 0.4); }
.case-dot.active { background: var(--sky-blue); width: 28px; border-radius: 4px; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none; }
.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal { position: relative; width: 100%; max-width: 640px; background: var(--slate-900); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.active .modal { transform: scale(1); }

.modal-img { position: relative; aspect-ratio: 16/9; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--slate-900), transparent 60%); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); font-size: 20px; z-index: 10; cursor: pointer; border: none; transition: color 0.2s; }
.modal-close:hover { color: #fff; }

.modal-body { padding: 28px; margin-top: -40px; position: relative; z-index: 2; }
.modal-body h3 { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.modal-body > p { color: var(--cool-gray); line-height: 1.7; margin-bottom: 18px; font-size: 0.9rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-tags span { padding: 4px 12px; font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; border-radius: 999px; background: rgba(56, 189, 248, 0.08); color: var(--sky-blue); border: 1px solid rgba(56, 189, 248, 0.15); }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 100px 0; background: var(--deep-blue); position: relative; overflow: hidden; }
.contact-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.12; }
.contact-glow { position: absolute; bottom: 0; left: 0; width: 500px; height: 400px; border-radius: 50%; background: rgba(56, 189, 248, 0.04); filter: blur(80px); }
.contact .section-title { color: #fff; }
.contact .section-subtitle { color: var(--cool-gray); }

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }

.contact-map { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); }
.contact-map img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

.contact-info-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 32px; }
.contact-info-card h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 24px; }

.contact-item { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-label { font-size: 0.72rem; color: var(--cool-gray); margin-bottom: 4px; }
.contact-value { font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--slate-900); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer > .container { padding-top: 56px; padding-bottom: 28px; }

/* Top area: brand left, nav right */
.footer-top { display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; text-decoration: none; transition: opacity 0.2s; }
.footer-logo:hover { opacity: 0.85; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand-name { font-size: 1.05rem; font-weight: 800; color: var(--mid-blue); letter-spacing: 2px; }
.footer-desc { font-size: 0.82rem; color: var(--cool-gray); line-height: 1.7; max-width: 340px; }

/* Nav columns side by side */
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.footer-links h4 { font-size: 0.8rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 0.8rem; color: var(--cool-gray); margin-bottom: 9px; transition: color 0.2s; }
.footer-links a:hover { color: var(--sky-blue); }

/* Bottom: copyright center, beian below */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 24px; text-align: center; }
.footer-bottom > p { font-size: 0.72rem; color: rgba(148, 163, 184, 0.45); margin-bottom: 8px; }
.footer-beian { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.68rem; color: rgba(148, 163, 184, 0.4); flex-wrap: wrap; }
.footer-beian a { color: rgba(148, 163, 184, 0.4); transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.footer-beian a:hover { color: var(--sky-blue); }
.footer-beian span { color: rgba(148, 163, 184, 0.2); }
.beian-icon { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 639px) {
  .section-title { font-size: 1.7rem !important; }
  .about-stats { flex-wrap: wrap; gap: 12px; }
  .about-stat-divider { display: none; }
  .hero-stats { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
