:root {
  --indigo: #4f46e5;
  --blue: #2563eb;
  --teal: #0ea5e9;
  --purple: #a855f7;
  --slate: #0f172a;
  --glass: rgba(255, 255, 255, 0.08);
  --glow: 0 10px 40px rgba(79, 70, 229, 0.3);
}

* { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  transition: opacity 0.2s ease;
}
body.app-loading {
  opacity: 0;
  visibility: hidden;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-chip {
  padding: 0.55rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.05), rgba(168, 85, 247, 0.05));
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--blue); transform: translateY(-1px); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue); font-weight: 700; }

.site-header { box-shadow: 0 10px 50px rgba(15, 23, 42, 0.08); border-bottom: 1px solid #e2e8f0; }
.top-ribbon { text-align: center; background: linear-gradient(90deg, rgba(37,99,235,0.15), rgba(168,85,247,0.15)); color: #312e81; font-weight: 700; letter-spacing: 0.01em; padding: 0.4rem 1rem; border-bottom: 1px solid rgba(79, 70, 229, 0.2); }
.logo-glow { display: inline-flex; padding: 0.35rem; border-radius: 16px; background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.14), transparent 50%); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.18); }
.brand-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; background: linear-gradient(120deg, rgba(59,130,246,0.15), rgba(168,85,247,0.18)); border: 1px solid rgba(79, 70, 229, 0.2); border-radius: 9999px; font-size: 0.8rem; color: #4338ca; }

.mobile-menu-panel { position: fixed; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 231, 255, 0.96)); box-shadow: 0 20px 80px rgba(15, 23, 42, 0.15); border-right: 1px solid #e2e8f0; transform: translateX(-100%); transition: transform 0.35s ease, opacity 0.35s ease; opacity: 0; pointer-events: none; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.5rem 2rem; z-index: 60; }
.mobile-menu-panel.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.5rem; border-bottom: 1px solid #e2e8f0; }
.mobile-menu-links { display: grid; gap: 0.5rem; margin-top: 1rem; }
.mobile-link { display: block; padding: 0.95rem 1rem; border-radius: 12px; text-align: left; color: #0f172a; transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.mobile-link:hover { background: linear-gradient(120deg, rgba(37, 99, 235, 0.12), rgba(168, 85, 247, 0.12)); color: var(--blue); transform: translateX(4px); }
.no-scroll { overflow: hidden; }

.btn-primary {
  background: linear-gradient(120deg, var(--blue), var(--purple));
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.3s ease, opacity 0.3s;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 20px 60px rgba(79, 70, 229, 0.35); opacity: 0.95; }
.btn-primary:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.35); outline-offset: 2px; }

.ghost-btn {
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--blue);
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-weight: 600;
  background: white;
  transition: all 0.25s ease;
}
.ghost-btn:hover { background: rgba(79, 70, 229, 0.08); box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15); }

.glass-panel { background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)); border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 15px 80px rgba(15, 23, 42, 0.08); backdrop-filter: blur(10px); }
.shadow-glow { box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25); }

.section-label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 9999px; background: rgba(79, 70, 229, 0.1); color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
.gradient-text { background: linear-gradient(120deg, #38bdf8, #6366f1, #a855f7); -webkit-background-clip: text; color: transparent; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.feature-card { background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95)); border: 1px solid #e0e7ff; border-radius: 18px; padding: 1.5rem; position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15), transparent 40%); opacity: 0; transition: opacity 0.35s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12); }
.feature-card:hover::before { opacity: 1; }

.chart-card { border-radius: 18px; padding: 1.25rem; border: 1px solid #e2e8f0; background: linear-gradient(145deg, #fff, #f8fafc); box-shadow: 0 14px 50px rgba(15, 23, 42, 0.08); }
.chart-canvas {
  width: 360px;
  height: 220px;
  max-width: 100%;
  max-height: 220px;
  display: block;
}
.chart-donut-wrapper {
  width: 200px;
  height: 200px;
  max-width: 100%;
  max-height: 200px;
}
.chart-donut {
  width: 100%;
  height: 100%;
  display: block;
}

.social-link { transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease; color: inherit; }
.social-link:hover { color: #fff; transform: translateY(-2px) scale(1.03); background: linear-gradient(120deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2)); }
.footer-link { color: inherit; transition: color 0.25s ease; }
.footer-link:hover { color: #fff; }
.footer-highlight { padding: 0.85rem 1rem; border-radius: 14px; background: linear-gradient(120deg, rgba(16,185,129,0.16), rgba(56,189,248,0.12)); color: #e0f2fe; font-weight: 700; border: 1px solid rgba(56,189,248,0.3); box-shadow: 0 12px 30px rgba(14,165,233,0.18); }
.fancy-footer::before { content: ""; position: absolute; inset: 18% auto auto 8%; width: 180px; height: 180px; background: radial-gradient(circle, rgba(96,165,250,0.18), transparent 55%); filter: blur(6px); opacity: 0.8; }
.fancy-footer::after { content: ""; position: absolute; inset: auto 8% 10% auto; width: 200px; height: 200px; background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 60%); filter: blur(10px); opacity: 0.75; }

.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.8rem; border-radius: 9999px; background: rgba(15, 23, 42, 0.06); color: #0f172a; font-weight: 700; font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ""; position: absolute; top: 0; left: -150%; width: 120%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent); animation: shine 2.5s infinite; }

@keyframes shine { 0% { left: -150%; } 50% { left: 150%; } 100% { left: 150%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } .feature-card, .btn-primary, .ghost-btn { transition: none; } .shimmer::after { display: none; } }

/* Home page styles */
.hero-title { font-size: clamp(2.8rem, 4vw, 3.8rem); }
.animate-float { animation: floaty 6s ease-in-out infinite; }

.status-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: 14px; border: 1px solid #e2e8f0; background: #f8fafc; }
.status-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; }

.icon-pill { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; margin-bottom: 0.65rem; }

.line-connector { position: absolute; left: 24px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(to bottom, rgba(79,70,229,0.2), rgba(59,130,246,0.15)); }
.step-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #e0e7ff; background: rgba(255, 255, 255, 0.85); position: relative; }
.step-index { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #4f46e5; background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(37, 99, 235, 0.15)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.stat-card { background: linear-gradient(145deg, #fff, #f8fafc); border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.25rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 12px 40px rgba(15,23,42,0.08); color: #0f172a; }
.quote-card { padding: 1.25rem 1.4rem; border-radius: 16px; color: #0f172a; background: linear-gradient(145deg, #fff, #f8fafc); border: 1px solid #e2e8f0; }
.avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #4f46e5, #06b6d4); display: grid; place-items: center; font-weight: 800; color: #fff; }

.logo-chip { border: 1px solid #e2e8f0; border-radius: 14px; padding: 0.85rem 1rem; text-align: center; font-weight: 700; color: #0f172a; background: linear-gradient(145deg, #fff, #f8fafc); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); position: relative; overflow: hidden; }
.logo-chip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.12), transparent 45%); opacity: 0; transition: opacity 0.35s ease; }
.logo-chip:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12); }
.logo-chip:hover::before { opacity: 1; }

.floating-blob { position: absolute; filter: blur(50px); opacity: 0.5; border-radius: 9999px; animation: floaty 8s ease-in-out infinite; }
.blob-one { width: 180px; height: 180px; background: rgba(59, 130, 246, 0.3); top: -30px; right: -50px; animation-delay: 0.4s; }
.blob-two { width: 140px; height: 140px; background: rgba(168, 85, 247, 0.25); bottom: -40px; left: -30px; animation-delay: 1s; }

/* Pricing page styles */
.toggle-thumb { border-radius: 9999px; background: #0ea5e9; color: #fff; padding: 0.5rem 1rem; font-weight: 700; transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease; box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35); }
.toggle-thumb[aria-pressed="true"] { background: linear-gradient(120deg, #22c55e, #0ea5e9); box-shadow: 0 12px 36px rgba(34, 197, 94, 0.35); }
.toggle-thumb:hover { transform: translateY(-1px); }

.price-card { background: linear-gradient(150deg, #fff, #f8fafc); border: 1px solid #e0e7ff; border-radius: 20px; padding: 1.75rem; box-shadow: 0 16px 60px rgba(15, 23, 42, 0.08); display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.12), transparent 45%); opacity: 0; transition: opacity 0.35s ease; }
.price-card:hover::after { opacity: 1; }
.price-card.featured { border: 1px solid rgba(79, 70, 229, 0.4); box-shadow: 0 20px 80px rgba(79, 70, 229, 0.15); transform: translateY(-4px); }
.price-card .price-amount { font-size: 2.6rem; font-weight: 900; color: #0f172a; }
.price-card .per { font-size: 0.9rem; color: #64748b; margin-left: 4px; }
.feature-list { display: grid; gap: 0.5rem; color: #475569; }
.feature-list li { display: flex; gap: 0.5rem; align-items: center; }
.feature-list i { color: #22c55e; }

.comparison-grid { display: grid; gap: 0.75rem; }
.compare-row { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.pill { border-radius: 9999px; padding: 0.45rem 0.9rem; text-align: center; font-weight: 700; }
.pill.on { background: rgba(22, 163, 74, 0.08); color: #15803d; }
.pill.off { background: #e2e8f0; color: #475569; }
.pill.highlight { box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15); border: 1px solid rgba(79, 70, 229, 0.25); }

.faq-item { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.faq-question { width: 100%; text-align: left; padding: 1rem 1.1rem; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '\eae7'; font-family: 'tabler-icons'; transition: transform 0.25s ease; color: #6366f1; }
.faq-question[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-answer { padding: 0 1.1rem 1rem; color: #475569; display: none; }
.faq-answer.open { display: block; }

/* Support page styles */
.status-banner { max-width: 72rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; justify-content: center; padding: 0.75rem 1rem; background: linear-gradient(120deg, rgba(34, 197, 94, 0.12), rgba(14, 165, 233, 0.12)); border: 1px solid rgba(14, 165, 233, 0.2); color: #0f172a; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18); }

.channel-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.25rem; box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.channel-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.12), transparent 45%); opacity: 0; transition: opacity 0.35s ease; }
.channel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 70px rgba(15, 23, 42, 0.12); }
.channel-card:hover::after { opacity: 1; }

.faq-grid { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06); }
.faq-question { width: 100%; text-align: left; padding: 1rem 1.1rem; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '\eae7'; font-family: 'tabler-icons'; transition: transform 0.25s ease; color: #6366f1; }
.faq-question[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-answer { padding: 0 1.1rem 1rem; color: #475569; display: none; }
.faq-answer.open { display: block; }

.form-label { display: block; font-weight: 700; color: #0f172a; margin-bottom: 0.35rem; }
.input-field { width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.75rem 0.85rem; outline: none; transition: border 0.3s ease, box-shadow 0.3s ease; background: #fff; }
.input-field:focus { border-color: #6366f1; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15); }

.toast { position: fixed; bottom: 24px; right: 24px; background: #0f172a; color: #fff; padding: 1rem 1.2rem; border-radius: 14px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25); display: flex; align-items: center; gap: 0.6rem; opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: linear-gradient(135deg, #22c55e, #0ea5e9); }

/* Modal styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 60;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  width: min(520px, 90vw);
  position: relative;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
}

.modal-body {
  display: grid;
  gap: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #475569;
  cursor: pointer;
}

/* Blog styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.3);
}

.blog-image {
  position: relative;
  padding-top: 58%;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
}

.blog-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  align-items: center;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.blog-excerpt {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.55rem;
  background: #eef2ff;
  color: #4338ca;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.blog-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.65rem 0.75rem 0.65rem 0.85rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.blog-search i {
  color: #4338ca;
  font-size: 1.05rem;
}

.blog-search input {
  border: none;
  outline: none;
  font-size: 1rem;
  color: #0f172a;
  padding: 0.35rem;
  width: 100%;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #4338ca;
  background: #4338ca;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.35);
}

.btn.ghost {
  background: #fff;
  color: #4338ca;
  border-color: #cbd5e1;
  box-shadow: none;
}

.search-helper {
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.95rem;
}

.blog-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #475569;
  margin-bottom: 1rem;
}

.blog-status .loader {
  width: 28px;
  height: 28px;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.page-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.page-btn:hover:enabled {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.14);
}

.page-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.page-info {
  font-weight: 800;
  color: #0f172a;
}

@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.empty-state.hidden,
.blog-status.hidden {
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #475569;
}

.breadcrumb-link {
  color: #4338ca;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb-current {
  font-weight: 700;
  color: #0f172a;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
  background: #e0e7ff;
  transform: translateY(-1px);
}

.article-hero {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.article-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.article-body {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-weight: 800;
  color: #0f172a;
  margin: 1.2rem 0 0.5rem;
}

.article-body p {
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-body a {
  color: #4338ca;
  font-weight: 700;
  text-decoration: underline;
}
