
:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --primary:#2563eb;
  --primary-2:#1d4ed8;
  --navy:#0f172a;
  --code:#0b1220;
  --shadow:0 10px 35px rgba(15,23,42,.06);
  --hover:0 16px 40px rgba(37,99,235,.10);
  --radius:18px;
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;background:linear-gradient(180deg,#f8fafc 0,#f5f7fb 100%);color:var(--text)}
a{text-decoration:none;color:inherit}
.container{width:min(var(--max),calc(100% - 48px));margin:0 auto}
.header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid rgba(229,231,235,.7)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800}
.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);display:grid;place-items:center;color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.25)}
.menu{display:flex;gap:28px;align-items:center}
.menu a{font-size:15px;color:#374151;transition:.25s}
.menu a:hover,.menu a.active{color:var(--primary)}
.search{display:flex;align-items:center;gap:12px}
.searchbox{width:220px;height:42px;border:none;background:#f3f4f6;border-radius:999px;padding:0 18px;color:#6b7280}
.hero{padding:34px 0 26px}
.hero-card{background:linear-gradient(135deg,#f6f9ff 0,#eef4ff 100%);border:1px solid #e8eefb;border-radius:28px;padding:52px;display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:center;overflow:hidden;box-shadow:var(--shadow)}
.hero h1{font-size:52px;line-height:1.1;margin:0 0 14px;letter-spacing:-1px}
.hero p{margin:0 0 28px;color:#4b5563;font-size:18px;line-height:1.8;max-width:650px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{height:46px;padding:0 22px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 14px 30px rgba(37,99,235,.20)}
.btn-secondary{background:#fff;border:1px solid #dbe2f1;color:#111827}
.btn:hover,.card:hover,.feature:hover,.related-item:hover,.comment-box:hover,.footer-panel:hover{transform:translateY(-4px);box-shadow:var(--hover)}
.hero-visual{position:relative;min-height:300px}
.gridline,.cube,.glow{position:absolute}
.gridline{inset:auto -10% -14% 10%;height:180px;background:radial-gradient(circle at center,rgba(59,130,246,.18),transparent 60%);filter:blur(6px)}
.cube{right:10%;top:18px;width:320px;height:240px;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(224,234,255,.72));border:1px solid rgba(147,197,253,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 20px 40px rgba(59,130,246,.10)}
.cube:before,.cube:after{content:"";position:absolute;border-radius:20px;background:linear-gradient(145deg,#dbeafe,#eff6ff);border:1px solid rgba(96,165,250,.25)}
.cube:before{left:22px;top:34px;width:118px;height:72px}
.cube:after{right:26px;bottom:28px;width:154px;height:98px;box-shadow:0 18px 40px rgba(59,130,246,.16)}
.glow{right:0;bottom:10px;width:220px;height:220px;background:radial-gradient(circle,rgba(96,165,250,.35),transparent 66%)}
.section{padding:20px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.section-title{font-size:28px;margin:0}
.section-link{color:var(--primary);font-weight:700}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);transition:transform .22s ease,box-shadow .22s ease}
.thumb{height:200px;display:grid;place-items:center;font-size:60px;font-weight:800;color:#fff;letter-spacing:-2px}
.thumb.k8s{background:linear-gradient(135deg,#0f4eea,#3b82f6)}
.thumb.docker{background:linear-gradient(135deg,#dff3ff,#bfdbfe);color:#0f172a}
.thumb.prom{background:linear-gradient(135deg,#f97316,#ef4444)}
.thumb.linux{background:linear-gradient(135deg,#0b1220,#111827)}
.thumb.helm{background:linear-gradient(135deg,#dbeafe,#c7d2fe);color:#1e3a8a}
.thumb.ansible{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#0f172a}
.thumb.kafka{background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#312e81}
.thumb.grafana{background:linear-gradient(135deg,#fff7ed,#ffedd5);color:#c2410c}
.thumb.cicd{background:linear-gradient(135deg,#ecfeff,#cffafe);color:#155e75}
.thumb.sre{background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#166534}
.card-body{padding:20px 20px 22px}
.tag{display:inline-flex;height:28px;padding:0 12px;border-radius:999px;background:#eef2ff;color:#3b82f6;align-items:center;font-size:12px;font-weight:800}
.card h3{margin:14px 0 10px;font-size:22px;line-height:1.35}
.card p{margin:0;color:#6b7280;line-height:1.8;font-size:15px}
.meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;color:#9ca3af;font-size:13px}
.feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:26px}
.feature{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow);transition:.22s}
.feature h4{margin:14px 0 8px;font-size:18px}.feature p{margin:0;color:#6b7280;line-height:1.7;font-size:14px}
.two-col{display:grid;grid-template-columns:1fr 360px;gap:22px;align-items:start}
.side-box,.comment-box,.author-box,.article-box{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.article-box{padding:26px 30px}
.breadcrumb{font-size:14px;color:#6b7280;margin-bottom:18px}
.article-title{font-size:44px;line-height:1.15;margin:0 0 14px;letter-spacing:-.8px}
.article-meta{display:flex;gap:16px;flex-wrap:wrap;color:#6b7280;font-size:14px;margin-bottom:22px}
.article-cover{height:280px;border-radius:22px;background:linear-gradient(135deg,#0f172a,#2563eb);display:grid;place-items:center;color:#fff;font-size:88px;font-weight:900;margin-bottom:24px}
.article-box p{font-size:17px;line-height:1.95;color:#374151;margin:0 0 18px}
.article-box h2{font-size:28px;margin:30px 0 14px}
.article-box h3{font-size:22px;margin:22px 0 12px}
.code{background:linear-gradient(180deg,#0b1220,#111827);color:#dbeafe;padding:18px 20px;border-radius:18px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto;font-size:14px;line-height:1.7;border:1px solid rgba(96,165,250,.12);margin:16px 0 20px}
.list{padding-left:22px;color:#374151;line-height:1.95;font-size:16px}
.side-box{padding:20px 20px 16px;position:sticky;top:98px}
.side-box h4,.comment-box h4,.author-box h4{margin:0 0 14px;font-size:20px}
.toc a{display:block;padding:10px 0;color:#4b5563;border-bottom:1px dashed #edf2f7;font-size:14px}
.toc a:last-child{border-bottom:none}
.related-list{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.related-item{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;padding:10px;border-radius:16px;transition:.22s}
.related-thumb{height:54px;border-radius:14px;background:linear-gradient(135deg,#dbeafe,#93c5fd)}
.related-item strong{font-size:14px;line-height:1.5}
.author-box,.comment-box{padding:20px 22px;margin-top:22px}
.author-line{display:flex;align-items:center;justify-content:space-between;gap:16px}
.avatar{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#bfdbfe,#dbeafe);display:grid;place-items:center;font-size:26px}
.comment{padding:16px 0;border-bottom:1px solid #eef2f7}.comment:last-child{border-bottom:none;padding-bottom:0}
.comment-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.comment-name{font-weight:800}
.comment-meta{color:#9ca3af;font-size:13px}
.form input,.form textarea{width:100%;border:1px solid #dbe2ea;background:#f8fafc;border-radius:14px;padding:14px 16px;font:inherit;margin-bottom:14px}
.form textarea{min-height:130px;resize:vertical}
.footer{padding:28px 0 34px}
.footer-panel{background:linear-gradient(180deg,#111827,#0f172a);border:1px solid rgba(59,130,246,.08);color:#d1d5db;border-radius:26px;padding:28px 30px 20px;box-shadow:0 20px 40px rgba(15,23,42,.20);transition:.22s}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .9fr 1fr 1fr;gap:28px}
.footer-title{font-size:17px;font-weight:800;color:#fff;margin-bottom:14px}.footer-text,.footer-links a,.footer-copy{color:#9ca3af;font-size:14px;line-height:1.9}
.footer-links{display:flex;flex-direction:column;gap:8px}.footer-bottom{margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-copy a{color:#c7d2fe}
.subscribe{display:flex;gap:10px}.subscribe input{flex:1;border:none;background:#1f2937;color:#d1d5db;border-radius:14px;padding:0 14px;height:44px}
.badge-list{display:flex;flex-wrap:wrap;gap:8px}.badge{padding:6px 10px;background:#1f2937;border-radius:999px;color:#cbd5e1;font-size:12px}
@media (max-width:1100px){.hero-card,.two-col,.footer-grid{grid-template-columns:1fr}.post-grid{grid-template-columns:repeat(2,1fr)}.feature-row{grid-template-columns:repeat(2,1fr)}.side-box{position:static}.hero h1{font-size:42px}}
@media (max-width:760px){.container{width:min(var(--max),calc(100% - 28px))}.menu,.search{display:none}.hero-card{padding:28px}.hero h1{font-size:34px}.post-grid,.feature-row{grid-template-columns:1fr}.article-box{padding:20px}.article-title{font-size:32px}.article-cover{height:220px;font-size:72px}.footer-bottom{justify-content:center}}
