:root {
  color-scheme: light;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

#siteHeader {
  background: linear-gradient(180deg, rgba(27, 14, 61, .42), rgba(27, 14, 61, 0));
  transition: background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}

#siteHeader.header-scrolled {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 44px rgba(31, 21, 71, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(105, 52, 203, .08);
}

.nav-link {
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .18);
  transition: color .25s ease;
}

#siteHeader.header-scrolled .nav-link {
  color: #1b0e3d;
  text-shadow: none;
}

.nav-link:hover {
  color: #33e2a0;
}

.nav-link.is-current {
  color: #fff;
}

#siteHeader.header-scrolled .nav-link:hover {
  color: #6934cb;
}

#siteHeader.header-scrolled .nav-link.is-current {
  color: #6934cb;
}

#siteHeader.header-scrolled #menuButton {
  border-color: rgba(105, 52, 203, .16);
  color: #1b0e3d;
  background: rgba(105, 52, 203, .06);
}

#menuButton {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: relative;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 4px; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: #33e2a0;
  color: #1b0e3d;
  padding: 0 28px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(51, 226, 160, .28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  background: #5df0b7;
  box-shadow: 0 18px 40px rgba(51, 226, 160, .38);
}

.btn-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .34);
  padding: 0 28px;
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  line-height: 1;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .56);
  transform: translateY(-2px);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(124, 96, 213, .12);
  color: #6934cb;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
}

.hero-copy {
  max-width: 780px;
  color: rgba(255, 255, 255, .78);
}

.hero-title-mobile,
.hero-copy-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    min-height: auto;
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .hero-title {
    max-width: 720px;
    font-size: clamp(3rem, 7vw, 3.5rem);
    line-height: 1.07;
  }

  .hero-copy {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 5rem;
  }

  .home-hero-inner {
    max-width: 100%;
    gap: 1.75rem;
    padding-top: 1.35rem;
    padding-right: 24px;
    padding-bottom: 4.5rem;
    padding-left: 24px;
  }

  .hero-title-desktop,
  .hero-copy-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: block;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .hero-copy-mobile {
    display: block;
    margin-top: 1rem;
    max-width: calc(100% - 18px);
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.6;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    height: 48px;
    width: 48px;
  }

  .whatsapp-float svg {
    height: 21px;
    width: 21px;
  }
}

.premium-card {
  border: 1px solid #ebeef6;
  background: rgba(255,255,255,.86);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(31, 21, 71, .07);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.text-readable {
  color: #686b78;
}

.premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 96, 213, .35);
  box-shadow: 0 24px 70px rgba(31, 21, 71, .12);
}

.icon-box {
  display: grid;
  height: 46px;
  width: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124,96,213,.12), rgba(51,226,160,.16));
  color: #6934cb;
}

.mockup-window {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow: 0 30px 90px rgba(9, 5, 28, .28);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid #e8ebf4;
  padding: 10px 16px;
  color: #666978;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #6934cb;
  border-color: #6934cb;
  color: #fff;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: -28px;
  width: 1px;
  background: #e4e7f2;
}

.timeline-step:last-child::before {
  display: none;
}

.footer-title {
  color: #1b0e3d;
  font-weight: 700;
  margin-bottom: 18px;
}

footer a {
  display: block;
  margin-top: 10px;
  color: #686b78;
  font-size: 14px;
  transition: color .2s ease;
}

footer a:hover {
  color: #6934cb;
}

.contact-link,
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #686b78;
  font-size: 14px;
  line-height: 1.6;
}

.contact-link svg,
.contact-line svg {
  color: #6934cb;
}

.social {
  display: grid;
  height: 38px;
  width: 38px;
  place-items: center;
  border-radius: 999px;
  background: #f3f5fa;
  color: #6934cb;
  margin-top: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social:hover {
  background: #6934cb;
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  height: 54px;
  width: 54px;
  place-items: center;
  border-radius: 999px;
  background: #33e2a0;
  color: #1b0e3d;
  box-shadow: 0 18px 45px rgba(51, 226, 160, .38);
}

.whatsapp-float svg {
  height: 24px;
  width: 24px;
}

.admin-body {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 82% 0%, rgba(124, 96, 213, .13), transparent 28rem),
    #f3f5fa;
  color: #686b78;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 96, 213, .35), transparent 18rem),
    #1b0e3d;
  box-shadow: 18px 0 60px rgba(27, 14, 61, .16);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 34px 18px 28px;
}

.admin-nav-label {
  margin: 22px 12px 8px;
  color: rgba(255, 255, 255, .42);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-nav-label:first-child {
  margin-top: 0;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 13px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, .09);
  color: #fff;
  transform: translateX(2px);
}

.admin-nav-link.is-active {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: inset 3px 0 0 #33e2a0;
}

.admin-main {
  min-width: 0;
}

.admin-kicker {
  color: #6934cb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-page-title {
  margin-top: 5px;
  color: #1b0e3d;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.admin-btn-primary {
  background: #33e2a0;
  color: #1b0e3d;
  box-shadow: 0 16px 38px rgba(51, 226, 160, .26);
}

.admin-btn:hover {
  transform: translateY(-1px);
}

.admin-dashboard-card {
  display: block;
  border: 1px solid #e8ebf4;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  padding: 24px;
  box-shadow: 0 18px 45px rgba(31, 21, 71, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-dashboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 96, 213, .32);
  box-shadow: 0 24px 60px rgba(31, 21, 71, .11);
}

.admin-dashboard-card span {
  color: #6934cb;
  font-size: 13px;
  font-weight: 600;
}

.admin-dashboard-card strong {
  display: block;
  margin-top: 10px;
  color: #1b0e3d;
  font-size: 30px;
  font-weight: 600;
}

.admin-table-wrap {
  border: 1px solid #e7eaf3;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(31, 21, 71, .07);
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.admin-table th {
  padding: 15px 18px;
  background: #f8f9fd;
  color: #1b0e3d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-table td {
  border-top: 1px solid #edf0f6;
  padding: 16px 18px;
  color: #686b78;
}

.admin-table tbody tr {
  transition: background .16s ease;
}

.admin-table tbody tr:hover {
  background: #fafbff;
}

.admin-table strong {
  color: #1b0e3d;
  font-weight: 600;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge.is-success {
  background: rgba(51, 226, 160, .15);
  color: #08784f;
}

.admin-badge.is-muted {
  background: #eef1f7;
  color: #6d7180;
}

.admin-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(105, 52, 203, .08);
  color: #6934cb;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.admin-action:hover {
  background: #6934cb;
  color: #fff;
}

.admin-action.is-danger {
  border: 0;
  background: rgba(225, 69, 92, .09);
  color: #c52742;
}

.admin-action.is-danger:hover {
  background: #c52742;
  color: #fff;
}

.admin-badge.is-scheduled {
  background: rgba(124, 96, 213, .13);
  color: #6934cb;
}

.admin-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #1b0e3d;
  font-size: 13px;
  font-weight: 600;
}

.admin-label small {
  color: #8a8d9b;
  font-weight: 500;
}

.admin-label small.is-over {
  color: #c52742;
}

.admin-panel {
  border: 1px solid #e8ebf4;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.admin-panel h2 {
  margin-bottom: 14px;
  color: #1b0e3d;
  font-size: 15px;
  font-weight: 600;
}

.admin-panel > * + * {
  margin-top: 14px;
}

.seo-preview {
  border: 1px solid #e8ebf4;
  border-radius: 8px;
  background: #fafbff;
  padding: 14px;
}

.seo-preview p {
  color: #1a0dab;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.seo-preview span {
  display: block;
  margin-top: 4px;
  color: #006621;
  font-size: 13px;
  word-break: break-all;
}

.seo-preview small {
  display: block;
  margin-top: 7px;
  color: #545454;
  font-size: 13px;
  line-height: 1.55;
}

.image-preview img,
.admin-panel img {
  max-width: 100%;
  height: auto;
}

.ck-editor__editable {
  min-height: 460px;
}

.blog-editor-form .ck.ck-editor {
  position: relative;
  z-index: 1;
}

.blog-editor-form .ck.ck-editor__editable {
  pointer-events: auto;
}

.blog-editor-form .ck.ck-editor__editable_inline {
  overflow: auto;
}

.admin-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e2e6f1;
  padding: 12px 14px;
  outline: none;
  background: #fff;
  color: #1b0e3d;
  caret-color: #6934cb;
  font-size: 14px;
  font-weight: 400;
}

.admin-input::placeholder {
  color: #8f92a3;
  opacity: 1;
}

.admin-input:focus {
  border-color: #7c60d5;
  box-shadow: 0 0 0 4px rgba(124, 96, 213, .12);
}

.icon-picker {
  position: relative;
  border: 1px solid #e2e6f1;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.icon-picker:focus-within {
  border-color: #7c60d5;
  box-shadow: 0 0 0 4px rgba(124, 96, 213, .10);
}

.icon-picker-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.icon-picker-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f4f1ff;
  color: #6934cb;
}

.icon-picker-search {
  min-height: 44px;
  border-radius: 10px;
}

.icon-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  max-height: 260px;
  margin-top: 10px;
  overflow: auto;
  padding-right: 4px;
}

.icon-picker-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid #edf0f6;
  border-radius: 9px;
  background: #fafbff;
  padding: 9px 10px;
  color: #575b6b;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.icon-picker-option:hover {
  border-color: rgba(124, 96, 213, .35);
  background: #f6f2ff;
  color: #1b0e3d;
  transform: translateY(-1px);
}

.icon-picker-option.is-selected {
  border-color: #7c60d5;
  background: #6934cb;
  color: #fff;
  box-shadow: 0 10px 24px rgba(105, 52, 203, .18);
}

.icon-picker-option-svg {
  display: inline-flex;
  flex: 0 0 auto;
}

.icon-picker-option span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body .admin-input,
.admin-body .btn-cta {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

.admin-body .btn-cta {
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 38px rgba(51, 226, 160, .24);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
