/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at center, #001a20 0%, #000 100%);
  color: #f5f5f5;
  line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* === Header Navigation === */
.navbar { background: radial-gradient(circle at top left, #001f2f, #000); padding: 24px 0; }
.navbar.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 30px; }
.logo-link img { height: 40px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 24px; list-style: none; }
.main-nav a { color: #f5f5f5; text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .3s; }
.main-nav a:hover { color: #00ffe0; }
.main-nav a.active { color: #00ffe0; position: relative; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: #00ffe0; border-radius: 2px;
}
.nav-cta {
  background: rgba(0,255,224,.1);
  color: #00ffe0 !important;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 600;
  border: 1.5px solid rgba(0,255,224,.5);
  text-transform: uppercase;
  transition: all .3s ease;
}
.nav-cta:hover {
  background: rgba(0,255,224,.15);
  box-shadow: 0 0 12px 2px rgba(0,255,224,.6), 0 0 20px rgba(0,255,224,.3);
  color: #fff !important;
  border-color: #00ffe0;
}

/* === Blog Detail Hero === */
.post-hero { padding: 60px 0 40px; background: radial-gradient(circle at top left, #001f2f, #000); }
.breadcrumbs { margin-bottom: 16px; color: #9ad; font-size: .95rem; }
.breadcrumbs a { color: #9ad; text-decoration: none; }
.breadcrumbs a:hover { color: #00ffe0; }
.post-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 14px;
  background: linear-gradient(to right, #00ffe0, #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.post-meta { display: flex; align-items: center; gap: 10px; color: #97abb0; font-size: .9rem; margin-bottom: 20px; }
.meta-badge {
  background: rgba(0,255,224,.12);
  color: #00ffe0;
  border: 1px solid rgba(0,255,224,.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.post-hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,255,224,.08);
}

/* === Blog Content === */
.post-content { padding: 60px 0; }
.post-article {
  background: #0c1c1c;
  border: 1px solid rgba(0,255,224,.12);
  border-radius: 16px;
  padding: 34px 28px;
  box-shadow: 0 0 16px rgba(0,255,224,.05);
}
.post-article p { margin: 14px 0; color: #cfcfcf; }
.post-article h2 {
  font-size: 1.6rem;
  margin: 28px 0 14px;
  color: #00ffe0;
}
.post-article ul { margin: 12px 0 20px 20px; }
.post-article li { margin: 6px 0; }
.post-article blockquote {
  border-left: 3px solid #00ffe0;
  background: rgba(0,255,224,.06);
  padding: 14px 18px;
  border-radius: 8px;
  color: #dff;
  margin: 20px 0;
  font-style: italic;
}

/* Tags */
.post-tags { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: .85rem;
  color: #9bd;
  text-decoration: none;
  background: rgba(0,255,224,.06);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,224,.18);
}
.tag:hover { color: #00ffe0; border-color: rgba(0,255,224,.45); }

/* === Newsletter Section === */
.newsletter {
  background: radial-gradient(circle at center, #001a20 0%, #000 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.newsletter h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 700;
  background: linear-gradient(to right, #00ffe0, #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.newsletter p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px; color: #ccc; }
.cta-gradient-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(to right, #00ffe0, #00b8ff);
  color: #111;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,255,224,.2);
  transition: all .3s;
}
.cta-gradient-button:hover { background: #00ffe0; color: #000; }

/* Footer */
.footer {
  background: radial-gradient(circle at top left, #001f2f, #000);
  color: #ccc;
  padding: 60px 20px 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 240px;
}

.footer-title {
  font-size: 1.2rem;
  color: #00ffe0;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #00ffe0;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #aaa;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ffe0;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 255, 224, 0.1);
  color: #00ffe0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(0, 255, 224, 0.3);
}

.social-icons a:hover {
  background-color: #00ffe0;
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0, 255, 224, 0.5);
}

.footer-newsletter {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 30px;
  border: none;
  background: #111;
  color: #fff;
}

.footer-newsletter input::placeholder {
  color: #888;
}

.footer-newsletter button {
  padding: 10px 20px;
  background: #00ffe0;
  color: #111;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: #00b8ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  color: #777;
  font-size: 0.85rem;
}

.footer-bottom hr {
  border: 0;
  height: 1px;
  background: rgba(0, 255, 224, 0.15);
  margin-bottom: 20px;
}

/* Chatbase bubble button */
#chatbase-bubble-button {
  background: radial-gradient(circle at top left, #001f2f, #000) !important;
  border: 2px solid #00ffe0 !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.2) !important;
  transition: all 0.3s ease !important;
  z-index: 9999 !important;
}

#chatbase-bubble-button:hover {
  transform: scale(1.1);
  background: radial-gradient(circle at center, #003f48, #000) !important;
  box-shadow: 0 0 30px rgba(0, 255, 224, 0.4) !important;
}

/* Make inner SVG icon glow slightly */
#chatbase-bubble-button svg {
  filter: drop-shadow(0 0 5px #00ffe0);
  width: 32px;
  height: 32px;
}

/* Chat bubble container (optional if you want to tweak that) */
#chatbase-message-bubbles {
  background: #001f2f !important;
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.15) !important;
  color: #fff !important;
  font-family: 'Open Sans', sans-serif;
}

/* Close button on chat bubble */
#chatbase-message-bubbles > div {
  background-color: #00ffe0 !important;
  color: #111 !important;
  font-weight: bold;
  font-size: 12px !important;
}

@media (max-width: 768px) {
  #chatbase-bubble-button {
    width: 72px !important;
    height: 72px !important;
  }

  #chatbase-bubble-button svg {
    width: 40px !important;
    height: 40px !important;
  }
}

/* === Mobile Nav === */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; background: none; border: none; }
.menu-toggle .bar { width: 24px; height: 2px; background: #00ffe0; transition: all .3s ease; }
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Responsive === */
@media (max-width: 992px) {
  .post-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .nav-container { flex-wrap: wrap; }
  .menu-toggle { display: flex; z-index: 1001; }
  .main-nav {
    position: fixed; top: 0; right: 0;
    height: 100%; width: 100%; max-width: 320px;
    background: #000;
    padding: 80px 24px 40px;
    box-shadow: -2px 0 10px rgba(0,255,224,.2);
    transform: translateX(100%);
    transition: transform .4s ease;
    flex-direction: column; align-items: flex-start;
    z-index: 1000; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; width: 100%; gap: 20px; margin-bottom: 40px; }
  .nav-cta { width: 100%; text-align: center; border: 2px solid #00ffe0; background: transparent; }
}


.post-gallery {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.post-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,255,224,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.post-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,255,224,.2);
}
