/*
Theme Name: SMTasker GeneratePress
Theme URI: http://127.0.0.1:8888
Description: SMTasker GeneratePress child theme.
Author: SMTasker
Version: 2.2.28
Template: generatepress
Text Domain: smtasker-generatepress
*/

@import url("assets/smtasker-blog.css");

:root {
  --smt-page-ink: #151523;
  --smt-page-muted: #74768d;
  --smt-page-line: #ece5ff;
  --smt-page-purple: #6d3bea;
  --smt-page-purple-dark: #543593;
  --smt-page-cyan: #24b7dd;
  --smt-page-shadow: 0 28px 90px rgba(76, 49, 145, 0.12);
}

body:has(.smt-static-page),
body:has(.smt-contact-page) {
  background:
    radial-gradient(circle at 8% 12%, rgba(109, 59, 234, 0.07), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(36, 183, 221, 0.06), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fbf9ff 48%, #fff 100%) !important;
  color: var(--smt-page-ink);
}

body:has(.smt-static-page) .site-content,
body:has(.smt-static-page) .content-area,
body:has(.smt-static-page) .site-main,
body:has(.smt-static-page) .inside-article,
body:has(.smt-contact-page) .site-content,
body:has(.smt-contact-page) .content-area,
body:has(.smt-contact-page) .site-main,
body:has(.smt-contact-page) .inside-article {
  background: transparent !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body:has(.smt-static-page) .entry-header,
body:has(.smt-static-page) .page-header,
body:has(.smt-static-page) .inside-article > header,
body:has(.smt-contact-page) .entry-header,
body:has(.smt-contact-page) .page-header,
body:has(.smt-contact-page) .inside-article > header {
  display: none !important;
}

body:has(.smt-static-page) .gb-element-f0594603,
body:has(.smt-contact-page) .gb-element-f0594603,
body:has(.smt-static-page) .site-footer,
body:has(.smt-contact-page) .site-footer {
  display: none !important;
}

body:has(.smt-static-page) .header-wrap {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(141, 92, 255, 0.08);
  box-shadow: 0 18px 48px rgba(42, 34, 74, 0.05);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 50;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body.admin-bar:has(.smt-static-page) .header-wrap {
  top: 32px;
}

body:has(.smt-static-page) .header-wrap .site-header,
body:has(.smt-static-page) #site-navigation,
body:has(.smt-static-page) #site-navigation .inside-navigation {
  background: transparent !important;
}

body:has(.smt-static-page) .inside-header {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin: 0 auto;
  min-height: 92px;
  padding: 0 !important;
  position: relative;
  width: min(1120px, calc(100% - 64px));
}

body:has(.smt-static-page) .site-branding {
  flex: 0 0 auto;
  left: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

body:has(.smt-static-page) .main-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-transform: none;
}

body:has(.smt-static-page) .main-title a {
  align-items: center;
  color: #202033 !important;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

body:has(.smt-static-page) .main-title a::before {
  align-items: center;
  background:
    url("assets/smtasker-robot-logo-mark.svg") center / 39px auto no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 255, 0.92));
  border-radius: 14px;
  box-shadow:
    0 18px 44px rgba(124, 58, 237, 0.18),
    0 8px 18px rgba(91, 54, 217, 0.10),
    inset 0 0 0 1px rgba(124, 58, 237, 0.08);
  color: transparent;
  content: "";
  display: inline-flex;
  font-size: 0;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 54px;
}

body:has(.smt-static-page) #site-navigation {
  flex: 1 1 100%;
  pointer-events: none;
  width: 100%;
  z-index: 1;
}

body:has(.smt-static-page) #site-navigation .inside-navigation,
body:has(.smt-static-page) #primary-menu {
  min-height: 0;
  padding: 0 !important;
  pointer-events: none;
  width: 100%;
}

body:has(.smt-static-page) #primary-menu a {
  pointer-events: auto;
}

body:has(.smt-static-page) #primary-menu > ul {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: center;
  min-height: 42px;
  position: relative;
  width: 100%;
}

body:has(.smt-static-page) .main-navigation .main-nav ul li a {
  background: transparent !important;
  color: var(--smt-page-muted) !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

body:has(.smt-static-page) .main-navigation .main-nav ul li:not(.nav-button) a:hover,
body:has(.smt-static-page) .main-navigation .main-nav ul li:not(.nav-button) a:focus,
body:has(.smt-static-page) .main-navigation .main-nav ul li.current-menu-item:not(.nav-button) > a {
  color: var(--smt-page-purple) !important;
}

body:has(.smt-static-page) #menu-item-2575 {
  order: 1;
}

body:has(.smt-static-page) #menu-item-2576 {
  order: 2;
}

body:has(.smt-static-page) #menu-item-2577 {
  order: 3;
}

body:has(.smt-static-page) #menu-item-2754 {
  order: 4;
}

body:has(.smt-static-page) #menu-item-2578 {
  order: 5;
}

body:has(.smt-static-page) #menu-item-2579 {
  order: 7;
}

body:has(.smt-static-page) .main-navigation .main-nav ul li.nav-button {
  margin-left: 0;
  pointer-events: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

body:has(.smt-static-page) .main-navigation .main-nav ul li.nav-button a {
  align-items: center;
  background: #fff !important;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(62, 45, 96, 0.08), inset 0 0 0 1px rgba(98, 73, 146, 0.08);
  color: #252238 !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  height: 42px;
  justify-content: center;
  padding: 0 18px;
}

body:has(.smt-static-page) .main-navigation .main-nav ul li.nav-button a::after {
  border-right: 1.8px solid currentColor;
  border-top: 1.8px solid currentColor;
  content: "";
  display: inline-block;
  height: 8px;
  transform: rotate(45deg);
  width: 8px;
}

body:has(.smt-static-page) #mobile-menu-control-wrapper {
  background: transparent;
}

body:has(.smt-static-page) .menu-toggle {
  background: #fff !important;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(98, 73, 146, 0.08);
  color: var(--smt-page-ink) !important;
}

.smt-static-page,
.smt-static-page *,
.smt-contact-page,
.smt-contact-page * {
  box-sizing: border-box;
}

.smt-static-page,
.smt-contact-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  padding: 130px 24px 72px;
}

.smt-static-wrap {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}

.smt-static-hero {
  margin: 0 auto 38px;
  max-width: 920px;
  position: relative;
  text-align: center;
}

.smt-static-hero::before {
  background-image: radial-gradient(circle, rgba(109, 59, 234, 0.12) 1.15px, transparent 1.15px);
  background-size: 32px 32px;
  content: "";
  height: 310px;
  inset: -62px -120px auto;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 28%, #000, transparent 72%);
}

.smt-static-kicker {
  background: #f3efff;
  border: 1px solid #e6dcff;
  border-radius: 999px;
  color: var(--smt-page-purple);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
  padding: 12px 18px;
  position: relative;
  z-index: 1;
}

.smt-static-hero h1 {
  color: var(--smt-page-ink);
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  position: relative;
  z-index: 1;
}

.smt-static-hero p {
  color: var(--smt-page-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  margin: 24px auto 0;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.smt-static-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 30px;
  max-width: 1080px;
}

.smt-static-summary div {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--smt-page-line);
  border-radius: 22px;
  box-shadow: 0 18px 52px rgba(76, 49, 145, 0.08);
  padding: 22px;
}

.smt-static-summary strong {
  color: var(--smt-page-ink);
  display: block;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 7px;
}

.smt-static-summary span {
  color: var(--smt-page-muted);
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.smt-static-card,
.smt-contact-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--smt-page-line);
  border-radius: 30px;
  box-shadow: var(--smt-page-shadow);
  margin: 0 auto;
  max-width: 960px;
  padding: clamp(28px, 4vw, 52px);
}

.smt-static-card {
  color: var(--smt-page-muted);
  font-size: 18px;
  line-height: 1.72;
}

.smt-static-card h2 {
  border-bottom: 1px solid var(--smt-page-line);
  color: var(--smt-page-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 2.1em 0 0.65em;
  padding-bottom: 0.35em;
}

.smt-static-card h2:first-child {
  margin-top: 0;
}

.smt-static-card p,
.smt-static-card li {
  margin-bottom: 0.72em;
}

.smt-static-card ul,
.smt-static-card ol {
  padding-left: 1.35em;
}

.smt-static-card a {
  color: var(--smt-page-purple);
  font-weight: 800;
}

.smt-policy-content {
  margin: 0 auto;
  max-width: 820px;
}

.smt-policy-content > div:first-child {
  margin: 0;
}

.smt-policy-content h2:first-child,
.smt-policy-content > div:first-child h2:first-child {
  margin-top: 0;
}

.smt-policy-content [style] {
  color: inherit !important;
  font-family: inherit !important;
}

.smt-static-note {
  background: #f7f3ff;
  border: 1px solid #e3d8ff;
  border-radius: 20px;
  color: #4a3d6d;
  margin: 0 0 28px;
  padding: 18px 20px;
}

.smt-static-note-danger {
  background: #fff7fb;
  border-color: #f2d2e7;
  color: #5e3151;
}

.smt-static-note p:last-child {
  margin-bottom: 0;
}

.smt-contact-grid-simple {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
}

.smt-contact-page + .smt-blog-footer {
  margin-top: clamp(48px, 6vw, 96px);
}

body:has(.smt-static-page) .smt-scroll-top {
  align-items: center;
  background: linear-gradient(135deg, var(--smt-page-purple), var(--smt-page-purple-dark)) !important;
  border: 0;
  border-radius: 999px;
  bottom: 26px;
  box-shadow: 0 20px 46px rgba(76, 49, 145, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  transform: translateY(14px);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  width: 52px;
  z-index: 60;
}

body:has(.smt-static-page) .smt-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body:has(.smt-static-page) .smt-scroll-top:hover,
body:has(.smt-static-page) .smt-scroll-top:focus {
  box-shadow: 0 24px 56px rgba(76, 49, 145, 0.3);
  outline: 0;
}

body:has(.smt-static-page) .smt-scroll-top:focus-visible {
  outline: 3px solid rgba(109, 59, 234, 0.28);
  outline-offset: 4px;
}

body:has(.smt-static-page) .smt-scroll-top span {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  height: 13px;
  margin-top: 6px;
  transform: rotate(45deg);
  width: 13px;
}

.smt-contact-card h2 {
  color: var(--smt-page-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 16px;
}

.smt-contact-card p {
  color: var(--smt-page-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.smt-contact-card .wpcf7-form p {
  margin-bottom: 16px;
}

.smt-contact-card input[type="text"],
.smt-contact-card input[type="email"],
.smt-contact-card input[type="tel"],
.smt-contact-card textarea {
  background: #fbf9ff;
  border: 1px solid var(--smt-page-line);
  border-radius: 18px;
  box-shadow: none;
  color: var(--smt-page-ink);
  font: inherit;
  min-height: 54px;
  padding: 14px 16px;
  width: 100%;
}

.smt-contact-card textarea {
  min-height: 150px;
  resize: vertical;
}

.smt-contact-card input[type="submit"],
.smt-static-button {
  background: linear-gradient(135deg, var(--smt-page-purple), var(--smt-page-purple-dark)) !important;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(109, 59, 234, 0.22);
  color: #fff !important;
  display: inline-flex;
  font-weight: 900;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
}

.smt-contact-side-card {
  background:
    radial-gradient(circle at 18% 12%, rgba(109, 59, 234, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid var(--smt-page-line);
  border-radius: 30px;
  box-shadow: var(--smt-page-shadow);
  padding: 30px;
}

.smt-contact-side-card h3 {
  color: var(--smt-page-ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 12px;
}

.smt-contact-side-card p,
.smt-contact-side-card li {
  color: var(--smt-page-muted);
  font-size: 15px;
  line-height: 1.5;
}

.smt-contact-side-card ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

@media (max-width: 900px) {
  .smt-static-summary,
  .smt-contact-grid-simple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  body:has(.smt-static-page) #site-navigation {
    display: none;
  }

  body:has(.smt-static-page) .inside-header {
    justify-content: space-between;
    min-height: 74px;
    width: min(1120px, calc(100% - 36px));
  }

  body:has(.smt-static-page) .site-branding {
    position: static;
    transform: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar:has(.smt-static-page) .header-wrap {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .smt-static-page,
  .smt-contact-page {
    padding: 110px 18px 70px;
  }

  .smt-static-card,
  .smt-contact-card,
  .smt-contact-side-card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  body:has(.smt-static-page) .smt-scroll-top {
    bottom: 18px;
    height: 46px;
    right: 18px;
    width: 46px;
  }

  .smt-static-hero h1 {
    font-size: 40px;
  }
}
