/* ===== <?=$GLOBALS['site_r']['d1']?> 科技新闻APP官网样式 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 10px rgba(37,99,235,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(37,99,235,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--dark); }
.logo-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 800; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--text-light); position: relative; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 3px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-outline { border: 1.5px solid var(--border); color: var(--dark); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 10px; }

.hero { position: relative; padding-top: 72px; min-height: 100vh; overflow: hidden; }
.hero-slider { position: relative; height: calc(100vh - 72px); min-height: 620px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-1 { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #ecfeff 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #eff6ff 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 40%, #cffafe 100%); }
.hero-slide::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%); top: -100px; right: -100px; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px; background: #fff; box-shadow: 0 4px 15px rgba(37,99,235,0.08); font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 24px; }
.hero-badge .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero-text h1 { font-size: 54px; font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px; }
.hero-text h2 { font-size: 54px; font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px; }
.hero-text h1 .highlight { color: var(--primary); }
.hero-text h2 .highlight { color: var(--primary); }
.hero-text h1 .highlight-cyan { color: var(--accent-dark); }
.hero-text h2 .highlight-cyan { color: var(--accent-dark); }
.hero-text p { font-size: 18px; color: var(--text-light); margin-bottom: 36px; max-width: 480px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-features { display: flex; gap: 28px; }
.hero-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); font-weight: 500; }
.hero-feature .check { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.news-phone { width: 310px; height: 600px; background: #0f172a; border-radius: 42px; padding: 12px; box-shadow: 0 30px 70px rgba(37,99,235,0.2); position: relative; z-index: 2; }
.news-phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg-light); display: flex; flex-direction: column; }
.news-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0f172a; border-radius: 0 0 16px 16px; z-index: 3; }
.np-topbar { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 30px 16px 14px; display: flex; align-items: center; justify-content: space-between; }
.np-topbar h4 { color: #fff; font-size: 17px; font-weight: 700; }
.np-topbar .np-search { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.np-tabs { display: flex; gap: 4px; padding: 10px 12px; background: #fff; overflow-x: auto; border-bottom: 1px solid var(--border); }
.np-tab { padding: 4px 12px; border-radius: 16px; font-size: 12px; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.np-tab.active { background: var(--primary); color: #fff; }
.np-feed { flex: 1; overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.np-card { background: #fff; border-radius: 10px; padding: 12px; display: flex; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.np-card-thumb { width: 70px; height: 70px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.npt-1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.npt-2 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.npt-3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.npt-4 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.np-card-body { flex: 1; min-width: 0; }
.np-card-body .np-tag { font-size: 10px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.np-card-body h5 { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np-card-body .np-meta { font-size: 10px; color: var(--text-muted); display: flex; gap: 8px; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); display: flex; align-items: center; gap: 10px; animation: float 3s ease-in-out infinite; z-index: 3; }
.float-card-1 { top: 12%; left: -8%; }
.float-card-2 { bottom: 15%; right: -8%; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card .fc-icon { font-size: 24px; }
.float-card .fc-text p { font-size: 11px; color: var(--text-muted); margin: 0; }
.float-card .fc-text h4 { font-size: 15px; color: var(--dark); margin: 0; }

.slider-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(37,99,235,0.25); cursor: pointer; transition: var(--transition); }
.slider-dots .dot.active { background: var(--primary); width: 30px; border-radius: 5px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: var(--primary); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); border: none; }
.slider-arrow:hover { background: var(--primary); color: #fff; }
.slider-prev { left: 30px; }
.slider-next { right: 30px; }

.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; padding: 7px 20px; border-radius: 50px; background: #eff6ff; color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.section-header h2 { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

.features { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid transparent; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #dbeafe; }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.fi-blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.fi-cyan { background: linear-gradient(135deg, #cffafe, #a5f3fc); }
.fi-purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.fi-green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.fi-orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.fi-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.feature-card h3 { font-size: 21px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.8; }

.channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.channel-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; border: 1px solid var(--border); }
.channel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.channel-cover { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; }
.cc-1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.cc-2 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.cc-3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.cc-4 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.cc-5 { background: linear-gradient(135deg, #059669, #34d399); }
.cc-6 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.cc-7 { background: linear-gradient(135deg, #db2777, #f472b6); }
.cc-8 { background: linear-gradient(135deg, #475569, #94a3b8); }
.channel-cover .cc-count { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.3); padding: 3px 10px; border-radius: 12px; color: #fff; font-size: 11px; font-weight: 600; }
.channel-body { padding: 18px; }
.channel-body h4 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.channel-body p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.6; }

.stats-band { background: linear-gradient(135deg, var(--primary-dark), #1e3a8a); padding: 80px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(6,182,212,0.15), transparent 50%); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; position: relative; z-index: 2; }
.stat-item h3 { font-size: 52px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.stat-item h3 span { font-size: 24px; }
.stat-item p { font-size: 16px; color: rgba(255,255,255,0.75); }

.testimonials { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #fbbf24; font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.ta-1 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.ta-2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.ta-3 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.testimonial-author h4 { font-size: 15px; color: var(--dark); }
.testimonial-author p { font-size: 13px; color: var(--text-muted); margin: 0; }

.download-section { background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0e7490 100%); padding: 100px 0; position: relative; overflow: hidden; }
.download-section::before { content: ''; position: absolute; top: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.3), transparent 70%); border-radius: 50%; }
.download-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.download-inner h2 { font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.download-inner p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 40px; }
.download-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.download-btn { display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: #fff; border-radius: 14px; transition: var(--transition); }
.download-btn:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.download-btn .icon { font-size: 28px; }
.download-btn .text { text-align: left; }
.download-btn .text p { font-size: 11px; color: var(--text-muted); margin: 0; }
.download-btn .text h4 { font-size: 17px; color: var(--dark); margin: 0; }

.footer { background: #0f172a; padding: 70px 0 30px; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 700; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--primary-light); }

.page-header { padding-top: 140px; padding-bottom: 60px; text-align: center; background: linear-gradient(135deg, #eff6ff, #dbeafe); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,0.1), transparent 70%); top: -50px; right: 10%; }
.page-header h1 { font-size: 44px; font-weight: 800; color: var(--dark); margin-bottom: 16px; position: relative; z-index: 1; }
.page-header h2 { font-size: 44px; font-weight: 800; color: var(--dark); margin-bottom: 16px; position: relative; z-index: 1; }
.page-header p { font-size: 18px; color: var(--text-light); position: relative; z-index: 1; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-muted); position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--primary); }

.news-section { padding: 70px 0; }
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
.news-featured { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.news-featured-img { min-height: 300px; display: flex; align-items: center; justify-content: center; font-size: 70px; background: linear-gradient(135deg, #2563eb, #60a5fa); }
.news-featured-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-content .tag { display: inline-block; padding: 5px 16px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 16px; width: fit-content; }
.news-featured-content h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 16px; line-height: 1.4; }
.news-featured-content p { font-size: 15px; color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.news-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.news-meta span { display: flex; align-items: center; gap: 6px; }
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.news-item-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.ni-1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.ni-2 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.ni-3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ni-4 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ni-5 { background: linear-gradient(135deg, #059669, #34d399); }
.ni-6 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.news-item-content { padding: 20px 24px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.news-item-content .cat { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.news-item-content h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-item-content p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-content .news-meta { font-size: 12px; }

.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.sidebar-widget h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--primary); }
.category-list li { margin-bottom: 10px; }
.category-list li a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-light); padding: 8px 12px; border-radius: 8px; transition: var(--transition); }
.category-list li a:hover { background: #eff6ff; color: var(--primary); }
.category-list li a .count { background: var(--bg-gray); padding: 2px 10px; border-radius: 10px; font-size: 12px; color: var(--text-muted); }
.hot-news li { margin-bottom: 16px; display: flex; gap: 12px; }
.hot-news .num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; background: var(--bg-gray); color: var(--text-muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hot-news li:nth-child(1) .num { background: #ef4444; color: #fff; }
.hot-news li:nth-child(2) .num { background: #f97316; color: #fff; }
.hot-news li:nth-child(3) .num { background: #eab308; color: #fff; }
.hot-news h4 { font-size: 14px; color: var(--text); line-height: 1.5; font-weight: 600; }
.hot-news h4:hover { color: var(--primary); }
.hot-news p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-cloud a { padding: 6px 14px; border-radius: 20px; background: var(--bg-gray); font-size: 13px; color: var(--text-light); transition: var(--transition); }
.tags-cloud a:hover { background: var(--primary); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-light); background: #fff; border: 1px solid var(--border); transition: var(--transition); }
.pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.article-section { padding: 60px 0 80px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 50px; }
.article-main { background: transparent; }
.article-header { margin-bottom: 36px; }
.article-cat { display: inline-block; padding: 6px 18px; border-radius: 4px; background: #eff6ff; color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.article-header h1 { font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.article-meta .author-info { display: flex; align-items: center; gap: 10px; }
.article-meta .author-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; }
.article-cover { width: 100%; height: 400px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #2563eb, #60a5fa); margin-bottom: 40px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.article-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15), transparent 50%); }
.article-cover .cover-icon { font-size: 80px; position: relative; z-index: 1; }
.article-body { font-size: 16px; line-height: 2; color: var(--text); }
.article-body h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin: 40px 0 20px; padding-left: 16px; border-left: 4px solid var(--primary); }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 30px 0 16px; }
.article-body p { margin-bottom: 20px; }
.article-body .article-img { width: 100%; height: 280px; border-radius: var(--radius); margin: 28px 0; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.ai-1 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.ai-2 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.article-body blockquote { background: var(--bg-light); border-left: 4px solid var(--primary); padding: 24px 28px; border-radius: 0 12px 12px 0; margin: 28px 0; font-style: italic; color: var(--text-light); font-size: 17px; }
.article-body ul { margin: 20px 0; }
.article-body ul li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; }
.article-body ul li::before { content: '▸'; position: absolute; left: 0; top: 8px; color: var(--primary); font-weight: 700; }
.article-tags { display: flex; gap: 10px; margin: 40px 0; flex-wrap: wrap; align-items: center; }
.article-tags a { padding: 7px 16px; border-radius: 20px; background: var(--bg-gray); font-size: 13px; color: var(--text-light); transition: var(--transition); }
.article-tags a:hover { background: var(--primary); color: #fff; }
.article-share { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article-share p { font-size: 14px; color: var(--text-muted); margin: 0; }
.share-buttons { display: flex; gap: 10px; }
.share-buttons a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.share-buttons a:hover { background: var(--primary); color: #fff; }
.related-articles { margin-top: 50px; }
.related-articles h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-card { background: var(--bg-light); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.related-card-body { padding: 20px; }
.related-card-body h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.related-card-body p { font-size: 13px; color: var(--text-muted); margin: 0; }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 36px; }
  .hero-buttons, .hero-features { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .float-card { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .channels-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .news-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .news-featured { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 36px; }
.hero-text h2 { font-size: 36px; }
  .section-header h2 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item-img { height: 180px; }
  .news-item-content { padding: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item h3 { font-size: 38px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .slider-arrow { display: none; }
}
/* ==== 移动端导航 mnav ==== */
.mnav{display:none;position:fixed;inset:0;z-index:1200;background:#fff;padding:84px 28px 28px;overflow:auto}
.mnav.open{display:block}
.mnav>a{display:block;font-size:19px;font-weight:600;padding:15px 0;border-bottom:1px solid rgba(0,0,0,.08);color:inherit}
.mnav .m-cta{margin-top:24px;display:flex;flex-direction:column;gap:12px}
.mnav-burger{display:none;width:42px;height:42px;align-items:center;justify-content:center;border:0;background:none;cursor:pointer;color:inherit}
.mnav-burger span{display:block;width:22px;height:2px;background:currentColor;position:relative}
.mnav-burger span::before,.mnav-burger span::after{content:"";position:absolute;left:0;width:22px;height:2px;background:currentColor}
.mnav-burger span::before{top:-7px}.mnav-burger span::after{top:7px}
@media(max-width:860px){.mnav-burger{display:inline-flex}}
.news-item-img{overflow:hidden;position:relative}.news-item-img img{width:100%;height:100%;object-fit:cover;display:block}.news-item-content{min-width:0}
.article-body img{max-width:100%;height:auto;border-radius:12px;margin:12px 0}.article-cover{width:100%;min-height:260px;background-size:cover!important;background-position:center!important;border-radius:16px;margin:20px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.pagination .epages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.pagination .epages a[href="#"]{opacity:.4;pointer-events:none}.pagination .epages a{width:auto;min-width:42px;padding:0 12px;box-sizing:border-box;white-space:nowrap;text-decoration:none}
