/* ===== Enovi Studios — Blog / article styling ===== */
:root {
  --black: #050505;
  --black-2: #0a0a0c;
  --white: #f4f2ff;
  --muted: rgba(244, 242, 255, 0.62);
  --c-cyan: #22d3ee;
  --c-fuchsia: #e879f9;
  --holo: linear-gradient(100deg, #22d3ee 0%, #818cf8 16%, #e879f9 33%, #fb7185 50%, #fbbf24 66%, #a3e635 83%, #22d3ee 100%);
  --border: rgba(244, 242, 255, 0.1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--white);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--c-cyan); color: #05141a; }
@keyframes holoShift { to { background-position: 220% center; } }

.grad, .art-cat, .insight-cat {
  background: var(--holo); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holoShift 9s linear infinite;
}

/* Nav */
.bnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(5,5,5,0.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.bnav-logo img { height: 28px; display: block; }
.bnav-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.bnav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; transition: color 0.3s;
}
.bnav-links a:hover { color: var(--white); }
.bbtn {
  font-family: var(--font-display); font-weight: 600; color: #06121a !important;
  background: var(--holo); background-size: 220% auto; animation: holoShift 9s linear infinite;
  padding: 0.6rem 1.3rem; border-radius: 100px; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: 0.06em;
}
.bbtn.big { display: inline-block; padding: 0.95rem 2.1rem; font-size: 0.85rem; margin-top: 1.4rem; }
@media (max-width: 620px) { .bnav-links a:not(.bbtn) { display: none; } }

/* Article */
.article, .bloglist { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2rem) 3rem; }
.crumbs { font-size: 0.78rem; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-cyan); }
.art-cat, .insight-cat {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
}
.article h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08; letter-spacing: -0.02em; margin: 0.8rem 0 1rem;
}
.art-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.art-body p { margin: 0 0 1.3rem; color: rgba(244,242,255,0.86); }
.art-body h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 2.4rem 0 1rem; letter-spacing: -0.01em;
}
.art-body ul, .art-body ol { margin: 0 0 1.5rem 1.3rem; color: rgba(244,242,255,0.86); }
.art-body li { margin-bottom: 0.6rem; }
.art-body a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: var(--c-fuchsia); }
.art-body strong { color: var(--white); }
.art-body em { color: rgba(244,242,255,0.92); }
.art-body code { background: rgba(244,242,255,0.08); padding: 0.1em 0.4em; border-radius: 5px; font-size: 0.9em; }
.art-cover { width: 100%; border-radius: 16px; border: 1px solid var(--border); margin: 0 0 2rem; }
.art-body figure { margin: 1.8rem 0; }
.art-body figure img { width: 100%; border-radius: 14px; border: 1px solid var(--border); display: block; }
.art-body figcaption { color: var(--muted); font-size: 0.82rem; text-align: center; margin-top: 0.6rem; }
.art-body blockquote {
  margin: 1.8rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--c-cyan);
  background: rgba(34,211,238,0.05); border-radius: 0 12px 12px 0; font-size: 1.1rem; font-style: italic;
}
.art-body blockquote cite { display: block; margin-top: 0.6rem; font-size: 0.9rem; font-style: normal; color: var(--muted); }
.art-cta {
  margin: 2.2rem 0; padding: 1.6rem 1.8rem; border: 1px solid var(--border); border-radius: 16px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(34,211,238,0.08), transparent 70%); text-align: center;
}
.art-cta p { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem !important; color: var(--white); }

/* FAQ */
.faq { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.faq h2, .related h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.faq-item { margin-bottom: 1.6rem; }
.faq-item h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--muted); font-size: 0.96rem; }

/* Related + blog list */
.related { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related-links { display: flex; flex-direction: column; gap: 0.8rem; }
.related-links a { color: var(--c-cyan); text-decoration: none; font-family: var(--font-display); font-weight: 500; }
.related-links a:hover { color: var(--c-fuchsia); }

.bloglist-head { margin-bottom: 2.6rem; }
.bloglist-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.7rem 0 1rem; letter-spacing: -0.02em; }
.bloglist-head p { color: var(--muted); max-width: 640px; }
.post-grid { display: flex; flex-direction: column; gap: 1.1rem; }
.post-card {
  border: 1px solid var(--border); border-radius: 18px; background: var(--black-2);
  padding: 1.8rem; transition: transform 0.3s, border-color 0.3s; position: relative; overflow: hidden;
}
.post-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--holo); background-size: 220% auto; animation: holoShift 9s linear infinite; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); }
.post-card h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 0.7rem 0 0.6rem; line-height: 1.2; }
.post-card h2 a { color: var(--white); text-decoration: none; }
.post-card h2 a:hover { color: var(--c-cyan); }
.post-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1rem; }
.post-more { color: var(--c-cyan); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; text-decoration: none; }

/* Footer */
.bfooter { border-top: 1px solid var(--border); background: var(--black-2); margin-top: 4rem; }
.bfooter-cta {
  max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 2rem); text-align: center;
  background: radial-gradient(60% 100% at 50% 0%, rgba(34,211,238,0.08), transparent 70%);
}
.bfooter-cta h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.02em; }
.bfooter-cta p { color: var(--muted); margin-top: 0.9rem; }
.bfooter-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  max-width: 1100px; margin: 0 auto; padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.78rem;
}
.bfooter-meta a { color: var(--muted); text-decoration: none; }
.bfooter-meta a:hover { color: var(--c-cyan); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; z-index: 120; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .grad, .art-cat, .insight-cat, .bbtn, .post-card::before, .wa-float::before { animation: none; } }
