/* ========== 山东易云网络 - 官网样式 ========== */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-secondary: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 24px rgba(13,148,136,.15);
  --radius: 12px;
  --max-width: 1140px;
  --header-h: 60px;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
}
.site-logo:hover { color: var(--primary); }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), #14b8a6); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; font-weight: 800; }
.logo-slogan { font-size: .7rem; font-weight: 400; color: var(--text-secondary); margin-left: 6px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .9rem; color: var(--text-secondary); font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary-light); color: var(--primary);
}
.nav-cta { background: var(--primary) !important; color: #fff !important; }
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 40%, #134e4a 100%);
  color: #fff; padding: 56px 0 64px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 14px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.35; }
.hero p { font-size: 1rem; opacity: .92; max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero-btn {
  display: inline-block; padding: 12px 28px; border-radius: 28px;
  font-weight: 600; font-size: .95rem; transition: all var(--transition);
}
.hero-btn-primary { background: #fff; color: var(--primary); }
.hero-btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.hero-btn-secondary { background: rgba(255,255,255,.2); color: #fff; border: 2px solid rgba(255,255,255,.5); }
.hero-btn-secondary:hover { background: rgba(255,255,255,.3); border-color: #fff; }

/* ========== Section ========== */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 10px; color: var(--text); }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: .98rem; }

/* ========== Service Cards ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px; border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center; transition: all var(--transition);
  background: var(--bg); color: var(--text);
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.cat-card .cat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.cat-card p { font-size: .85rem; color: var(--text-secondary); margin-top: 4px; }
.cat-card-cta { border-color: var(--primary); background: linear-gradient(to bottom, rgba(13,148,136,.06), var(--bg)); }
.cat-card-cta:hover { box-shadow: 0 8px 24px rgba(13,148,136,.2); }

/* ========== Page Banner ========== */
.page-banner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff; padding: 40px 0; text-align: center;
}
.page-banner h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.page-banner p { opacity: .9; font-size: .98rem; }

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 14px 0; font-size: .85rem; color: var(--text-secondary);
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

/* ========== Main Content ========== */
.main-content { padding: 24px 0 48px; }
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 24px 0;
}
.article-body { min-width: 0; }
.article-body h1 { font-size: 1.7rem; margin-bottom: 12px; line-height: 1.35; }
.article-body h2 { font-size: 1.35rem; margin: 28px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.article-body h3 { font-size: 1.1rem; margin: 20px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 12px 0 18px 22px; }
.article-body li { margin-bottom: 6px; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-meta { display: flex; gap: 16px; color: var(--text-secondary); font-size: .85rem; margin-bottom: 20px; flex-wrap: wrap; }

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 16px 20px; text-align: left;
  font-size: .98rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--primary); transition: transform var(--transition); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-item.active .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.active .faq-answer { max-height: 800px; padding: 0 20px 18px; overflow-y: auto; }
.faq-answer p { color: var(--text-secondary); font-size: .9rem; line-height: 1.75; margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ========== Article List ========== */
.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-list-item {
  display: block; padding: 20px 22px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.article-list-item:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.article-list-item h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text); }
.article-list-item .meta { font-size: .82rem; color: var(--text-secondary); margin-bottom: 6px; }
.article-list-item p { font-size: .9rem; color: var(--text-secondary); margin: 0; }

/* ========== Card Grid (contact etc) ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--primary); }
.card p { font-size: .9rem; color: var(--text-secondary); margin-bottom: 4px; }
.card p a { font-weight: 600; }

/* ========== Contact Form ========== */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: .95rem; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn { display: inline-block; padding: 12px 28px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all var(--transition); }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ========== Sidebar ========== */
.sidebar { position: sticky; top: 76px; align-self: start; }
.sidebar-block {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.sidebar-block h3 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.sidebar-block ul li { margin-bottom: 10px; }
.sidebar-block ul li a { font-size: .9rem; color: var(--text-secondary); }
.sidebar-block ul li a:hover { color: var(--primary); }

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff; padding: 48px 0; text-align: center;
}
.cta-section h2 { font-size: 1.5rem; margin-bottom: 10px; }
.cta-section p { opacity: .9; margin-bottom: 22px; font-size: .98rem; }
.btn-primary {
  display: inline-block; background: #fff; color: var(--primary);
  padding: 12px 32px; border-radius: 28px;
  font-weight: 700; font-size: .98rem;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

/* ========== Footer ========== */
.site-footer {
  background: #0f172a; color: #94a3b8; padding: 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col p { font-size: .88rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #94a3b8; font-size: .88rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; text-align: center; font-size: .82rem;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .beian { font-size: .78rem; color: #64748b; margin-top: 6px; }

/* ========== 友情链接 ========== */
.friend-links {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0 6px;
  text-align: center;
}
.friend-links-title {
  color: #cbd5e1;
  font-size: .85rem;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.friend-links-list a {
  color: #94a3b8;
  font-size: .88rem;
}
.friend-links-list a:hover { color: #fff; }

/* ========== ICP / 门户公示（首页域名与定位） ========== */
.portal-domain-notice {
  background: linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 0 auto 20px;
  max-width: 920px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.portal-domain-notice strong { color: var(--primary-dark); font-size: 1.05rem; }
.portal-domain-notice .domain-url { letter-spacing: 0.02em; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; text-align: center; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 36px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.35rem; }
  .hero-buttons { flex-direction: column; }
  .hero-btn { width: 100%; text-align: center; }
}
