:root {
  --bg: #06070d;
  --bg-soft: #0b0f1a;
  --panel: rgba(20, 24, 38, 0.78);
  --panel-border: rgba(198, 166, 255, 0.18);
  --text: #f3f2ff;
  --text-dim: #b7b5c7;
  --accent: #b889ff;
  --accent-strong: #8f5cff;
  --accent-warm: #ff69d7;
  --accent-cool: #39d6ff;
  --success: #6ff0b7;
  --shadow: 0 26px 60px rgba(4, 7, 15, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(143, 92, 255, 0.24), transparent 40%),
    radial-gradient(circle at 92% 2%, rgba(255, 105, 215, 0.14), transparent 36%),
    radial-gradient(circle at 88% 90%, rgba(57, 214, 255, 0.13), transparent 36%),
    linear-gradient(180deg, #05060b 0%, #090d17 52%, #06070d 100%);
  letter-spacing: 0.02em;
}

a {
  color: var(--accent-cool);
  text-decoration: none;
}

a:hover {
  color: #8be4ff;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.site-shell::before {
  top: -12rem;
  left: -14rem;
  background: rgba(143, 92, 255, 0.26);
}

.site-shell::after {
  bottom: -16rem;
  right: -14rem;
  background: rgba(255, 105, 215, 0.18);
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(8, 10, 18, 0.82);
  border-bottom: 1px solid rgba(184, 137, 255, 0.17);
  transition: all 0.2s ease;
}

.navbar.scrolled {
  background: rgba(5, 7, 13, 0.94);
  border-bottom-color: rgba(57, 214, 255, 0.2);
}

.navbar-toggler {
  border: 1px solid rgba(184, 137, 255, 0.38) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(57, 214, 255, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.4);
}

.navbar-brand {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text) !important;
}

.brand-dot {
  color: var(--accent-warm);
}

.nav-link {
  color: var(--text-dim) !important;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text) !important;
}

.section {
  padding: 7rem 0;
}

.hero {
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.hero h1,
.page-title {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(184, 137, 255, 0.32);
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #d8ccff;
  background: rgba(24, 29, 44, 0.7);
  letter-spacing: 0.09em;
}

.lead {
  color: var(--text-dim);
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent-cool), #c5a3ff 45%, var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-brand {
  border: none;
  background: linear-gradient(110deg, var(--accent-strong), var(--accent-warm));
  color: #fdfdff;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  box-shadow: 0 14px 24px rgba(143, 92, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid rgba(189, 159, 255, 0.55);
  color: #f6f4ff;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  background:
    linear-gradient(rgba(8, 11, 20, 0.74), rgba(8, 11, 20, 0.74)) padding-box,
    linear-gradient(120deg, rgba(184, 137, 255, 0.74), rgba(57, 214, 255, 0.62)) border-box;
  box-shadow: 0 14px 24px rgba(14, 20, 37, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-outline-brand:hover {
  color: #fff;
  border-color: rgba(57, 214, 255, 0.86);
  background:
    linear-gradient(rgba(12, 18, 31, 0.85), rgba(12, 18, 31, 0.85)) padding-box,
    linear-gradient(120deg, rgba(255, 105, 215, 0.7), rgba(57, 214, 255, 0.76)) border-box;
  box-shadow: 0 18px 28px rgba(57, 214, 255, 0.2);
  transform: translateY(-1px);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
}

.stat {
  padding: 1.4rem;
}

.stat .value {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

.stat .label {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.service-card,
.blog-card,
.contact-card,
.post-shell {
  padding: 1.5rem;
  height: 100%;
  border-radius: 1rem;
  background: rgba(18, 23, 38, 0.76);
  border: 1px solid rgba(198, 166, 255, 0.16);
}

.service-card h3,
.blog-card h3 {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.service-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, rgba(143, 92, 255, 0.28), rgba(255, 105, 215, 0.22));
  color: #fff;
  font-weight: 700;
}

.bullet-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.bullet-list li {
  margin-bottom: 0.5rem;
  color: #ddd9ee;
}

.process-step {
  position: relative;
  padding-left: 2.1rem;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent-warm));
  box-shadow: 0 0 0 7px rgba(143, 92, 255, 0.18);
}

.badge-soft {
  display: inline-block;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6f4ff;
  border: 1px solid rgba(57, 214, 255, 0.32);
  background: rgba(57, 214, 255, 0.12);
}

.blog-card .meta,
.post-meta,
.small-muted {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.form-control,
.form-select {
  color: var(--text);
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid rgba(184, 137, 255, 0.24);
}

.form-control:focus,
.form-select:focus {
  background: rgba(9, 12, 22, 0.95);
  border-color: rgba(57, 214, 255, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(57, 214, 255, 0.15);
  color: var(--text);
}

.form-control::placeholder {
  color: #8f8ca6;
}

.footer {
  border-top: 1px solid rgba(184, 137, 255, 0.2);
  background: rgba(4, 6, 11, 0.86);
}

.footer a {
  color: #cbc5e4;
}

.footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.callout {
  border-left: 4px solid var(--accent-cool);
  padding: 1rem 1.1rem;
  border-radius: 0.6rem;
  background: rgba(57, 214, 255, 0.12);
}

/* BlogHandy dark theme overrides for template-list-id-9 */
#bh-posts #bh-template-t9 {
  max-width: 100%;
  color: var(--text);
}

#bh-posts #bh-template-t9 .bh-homepage-title {
  display: none !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post {
  margin: 0 0 0.85rem !important;
  padding: 1rem 1.15rem !important;
  border-radius: 0.95rem !important;
  border: 1px solid rgba(198, 166, 255, 0.22) !important;
  background: rgba(14, 19, 33, 0.92) !important;
  box-shadow: 0 14px 28px rgba(4, 7, 15, 0.35) !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post:hover {
  background: rgba(20, 27, 45, 0.98) !important;
  border-color: rgba(57, 214, 255, 0.42) !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box,
#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .content {
  width: 100%;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-title-box {
  width: auto !important;
  display: block !important;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-title-box .post-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #f2efff !important;
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-extra-details {
  width: auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 0.65rem;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-extra-details .post-category {
  margin: 0 !important;
  padding: 0.25rem 0.62rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(184, 137, 255, 0.45) !important;
  background: rgba(143, 92, 255, 0.2) !important;
  color: #e5ddff !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1 !important;
  text-transform: uppercase;
}

#bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-extra-details .post-publish-date {
  margin: 0 !important;
  color: #bcb8d1 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.03em;
}

#bh-posts #bh-template-t9 .bh-pagination {
  margin: 1.1rem 0 0 !important;
  color: #bcb8d1;
}

#bh-posts #bh-template-t9 .bh-pagination a {
  border: 1px solid rgba(189, 159, 255, 0.55);
  color: #f6f4ff;
  border-radius: 0.6rem;
  background: rgba(8, 11, 20, 0.72);
  padding: 0.3rem 0.7rem;
}

#bh-posts #bh-template-t9 .bh-pagination a:hover {
  color: #fff;
  border-color: rgba(57, 214, 255, 0.8);
  background: rgba(57, 214, 255, 0.14);
}

@media (max-width: 768px) {
  #bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  #bh-posts #bh-template-t9 .bh-post-wrap .bh-post .post-box a .post-extra-details {
    justify-content: flex-start !important;
    gap: 0.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 8rem;
  }

  .section {
    padding: 5.6rem 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .page-title {
    font-size: 1.9rem;
  }

  .panel,
  .service-card,
  .blog-card,
  .contact-card,
  .post-shell {
    border-radius: 0.9rem;
  }
}
