/* Monaco IT Services — Blog stylesheet (standalone) */

:root {
  --bg: #0f1123;
  --bg-soft: #14172e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #e6e9f5;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #00c8ff;
  --accent-2: #005bea;
  --accent-warm: #f59e0b;
  --max-w: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 200, 255, 0.25);
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* ── header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 17, 35, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-logo:hover {
  border: none;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.site-nav a {
  color: var(--text-muted);
  border: none;
}

.site-nav a:hover {
  color: var(--accent);
}

/* ── article container ── */

main.article-wrap,
main.list-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

main.list-wrap {
  max-width: 880px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

article h1 {
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

.meta .tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--text-muted);
}

article p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

article h2 {
  font-size: 1.5em;
  font-weight: 800;
  color: #fff;
  margin: 44px 0 14px;
  letter-spacing: -0.3px;
}

article h3 {
  font-size: 1.15em;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 10px;
}

article ul,
article ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-muted);
}

article li {
  margin-bottom: 8px;
}

article strong {
  color: #fff;
  font-weight: 700;
}

article em {
  color: var(--text-muted);
  font-style: italic;
}

article blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(0, 200, 255, 0.04);
  border-radius: 4px;
  color: #fff;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.55;
}

article code {
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--accent);
}

/* ── CTA box ── */

.cta-box {
  margin: 56px 0 0;
  padding: 32px 28px;
  background: linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.06) 0%,
    rgba(0, 91, 234, 0.04) 100%
  );
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 16px;
}

.cta-box h3 {
  margin: 0 0 8px;
  font-size: 1.15em;
  color: #fff;
}

.cta-box p {
  margin: 0 0 18px;
  font-size: 0.97em;
  color: var(--text-muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 200, 255, 0.3);
  border: none;
}

/* ── back link ── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
  border: none;
}

.back-link:hover {
  color: var(--accent);
  border: none;
}

/* ── listing ── */

.list-header {
  text-align: center;
  margin-bottom: 56px;
}

.list-header h1 {
  font-size: 2.6em;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
  color: #fff;
}

.list-header h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.post-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.post-card:hover {
  border-color: rgba(0, 200, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.post-card .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.post-card .post-meta .read {
  color: var(--accent);
}

.post-card h2 {
  font-size: 1.4em;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.post-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.97em;
  line-height: 1.6;
}

.post-card .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-card .post-tags span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

.site-footer a {
  border: none;
}

.site-footer .footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  article h1 {
    font-size: 1.9em;
  }
  article h2 {
    font-size: 1.3em;
  }
  main.article-wrap,
  main.list-wrap {
    padding: 40px 18px 60px;
  }
  .site-nav {
    gap: 14px;
    font-size: 12px;
  }
}
