/*
Theme Name: WantToPay RU
Theme URI: https://wanttopay.net/
Author: OpenAI
Author URI: https://openai.com/
Description: Лёгкая адаптивная тема WordPress для русскоязычного сайта WantToPay.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wanttopay-ru
*/

:root {
  --wtp-bg: #f6f8fc;
  --wtp-surface: #ffffff;
  --wtp-surface-2: #f0f4fb;
  --wtp-text: #0f172a;
  --wtp-muted: #5b657a;
  --wtp-line: #dbe4f0;
  --wtp-primary: #2f80ed;
  --wtp-primary-2: #4da2ff;
  --wtp-accent: #17c3b2;
  --wtp-danger: #ef4444;
  --wtp-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  --wtp-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --wtp-radius: 22px;
  --wtp-radius-sm: 14px;
  --wtp-container: 1240px;
  --wtp-header-h: 84px;
  --wtp-transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--wtp-text);
  background: linear-gradient(180deg, #f7fbff 0%, #f6f8fc 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
}

a {
  color: var(--wtp-primary);
  text-decoration: none;
  transition: color var(--wtp-transition), opacity var(--wtp-transition), transform var(--wtp-transition);
}

a:hover {
  color: #1967d2;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.15;
  color: var(--wtp-text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

small,
.wtp-small {
  font-size: 0.92rem;
  color: var(--wtp-muted);
}

.wtp-container {
  width: min(calc(100% - 32px), var(--wtp-container));
  margin: 0 auto;
}

.wtp-section {
  padding: 88px 0;
}

.wtp-section--tight {
  padding: 24px 0;
}

.wtp-section__head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.wtp-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.1);
  color: var(--wtp-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.wtp-section__lead {
  font-size: 1.08rem;
  color: var(--wtp-muted);
  margin: 0 auto;
}

.wtp-card {
  background: var(--wtp-surface);
  border: 1px solid rgba(219, 228, 240, 0.8);
  border-radius: var(--wtp-radius);
  box-shadow: var(--wtp-shadow-soft);
}

.wtp-grid {
  display: grid;
  gap: 24px;
}

.wtp-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wtp-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wtp-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wtp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: transform var(--wtp-transition), box-shadow var(--wtp-transition), background var(--wtp-transition), border-color var(--wtp-transition), color var(--wtp-transition);
}

.wtp-btn:hover {
  transform: translateY(-2px);
}

.wtp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--wtp-primary) 0%, var(--wtp-primary-2) 100%);
  box-shadow: 0 16px 40px rgba(47, 128, 237, 0.25);
}

.wtp-btn--ghost {
  color: var(--wtp-text);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--wtp-line);
}

.wtp-btn--dark {
  color: #fff;
  background: #0f172a;
}

.wtp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--wtp-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.wtp-list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wtp-checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.wtp-checks li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wtp-accent) 0%, var(--wtp-primary) 100%);
  box-shadow: 0 0 0 6px rgba(23, 195, 178, 0.12);
}

.wtp-site {
  overflow: clip;
}

.wtp-header {
  position: static;
  top: 0;
  z-index: 70;
  background: rgba(247, 251, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}

.admin-bar .wtp-header {
  top: 32px;
}

.wtp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--wtp-header-h);
}

.wtp-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wtp-text);
  font-weight: 800;
  font-size: 1.1rem;
}

.wtp-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wtp-primary) 0%, var(--wtp-accent) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 26px rgba(47, 128, 237, 0.28);
}

.wtp-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wtp-nav .menu,
.wtp-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wtp-nav li {
  position: relative;
}

.wtp-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--wtp-text);
  font-weight: 600;
  border-radius: 999px;
}

.wtp-nav a:hover,
.wtp-nav .current-menu-item > a,
.wtp-nav .current_page_item > a {
  background: #eef5ff;
  color: var(--wtp-primary);
}

.wtp-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtp-burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--wtp-line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  position: relative;
}

.wtp-burger span,
.wtp-burger::before,
.wtp-burger::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--wtp-text);
  border-radius: 2px;
  transition: transform var(--wtp-transition), opacity var(--wtp-transition), top var(--wtp-transition);
}

.wtp-burger span {
  top: 23px;
}

.wtp-burger::before {
  top: 16px;
}

.wtp-burger::after {
  top: 30px;
}

.wtp-burger.is-active span {
  opacity: 0;
}

.wtp-burger.is-active::before {
  top: 23px;
  transform: rotate(45deg);
}

.wtp-burger.is-active::after {
  top: 23px;
  transform: rotate(-45deg);
}

.wtp-mobile {
  display: none;
  padding: 0 0 18px;
}

.wtp-mobile.is-open {
  display: block;
}

.wtp-mobile__panel {
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--wtp-line);
  box-shadow: var(--wtp-shadow);
}

.wtp-mobile__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wtp-mobile__nav li + li {
  margin-top: 8px;
}

.wtp-mobile__nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: #f7faff;
  color: var(--wtp-text);
  font-weight: 600;
}

.wtp-mobile__cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.wtp-hero {
  position: relative;
  padding: 22px 0 40px;
}

.wtp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.wtp-hero__content {
  position: relative;
  z-index: 2;
}

.wtp-hero__lead {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--wtp-muted);
  font-size: 1.08rem;
}

.wtp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.wtp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wtp-hero__visual {
  position: relative;
}

.wtp-hero__mock {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid rgba(219, 228, 240, 0.9);
  box-shadow: var(--wtp-shadow);
}

.wtp-hero__glow {
  position: absolute;
  inset: auto -40px -30px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,195,178,0.24) 0%, rgba(23,195,178,0) 70%);
  pointer-events: none;
}

.wtp-app {
  display: grid;
  gap: 18px;
}

.wtp-app__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wtp-app__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtp-app__avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--wtp-primary), var(--wtp-accent));
}

.wtp-app__title {
  font-weight: 800;
  font-size: 1.08rem;
}

.wtp-app__sub {
  color: var(--wtp-muted);
  font-size: 0.94rem;
}

.wtp-app__balance {
  padding: 16px 18px;
  border-radius: 22px;
  background: #0f172a;
  color: #fff;
}

.wtp-app__balance small {
  color: rgba(255, 255, 255, 0.72);
}

.wtp-app__sum {
  margin-top: 6px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.wtp-app__cards {
  display: grid;
  gap: 14px;
}

.wtp-plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--wtp-line);
}

.wtp-plan__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,128,237,0.12), rgba(23,195,178,0.16));
}

.wtp-plan__name {
  font-weight: 800;
  margin-bottom: 2px;
}

.wtp-plan__meta {
  color: var(--wtp-muted);
  font-size: 0.94rem;
}

.wtp-plan__tag {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--wtp-primary);
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.wtp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.wtp-stat {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--wtp-line);
  box-shadow: var(--wtp-shadow-soft);
}

.wtp-stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.wtp-feature {
  padding: 26px;
}

.wtp-feature__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(47,128,237,0.12), rgba(23,195,178,0.16));
}

.wtp-feature p {
  color: var(--wtp-muted);
}

.wtp-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.wtp-product {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.wtp-product::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,128,237,0.12) 0%, rgba(47,128,237,0) 70%);
}

.wtp-product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wtp-product__label {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--wtp-primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.wtp-product__price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.wtp-product__price span {
  font-size: 1rem;
  color: var(--wtp-muted);
  font-weight: 600;
}

.wtp-product__meta {
  color: var(--wtp-muted);
  margin-bottom: 16px;
}

.wtp-product ul {
  margin-bottom: 18px;
}

.wtp-compare {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--wtp-line);
  border-radius: 26px;
  box-shadow: var(--wtp-shadow-soft);
}

.wtp-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.wtp-table th,
.wtp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--wtp-line);
  text-align: left;
  vertical-align: top;
}

.wtp-table th {
  background: #f7faff;
  font-size: 0.95rem;
}

.wtp-table tr:last-child td {
  border-bottom: 0;
}

.wtp-steps {
  counter-reset: steps;
  display: grid;
  gap: 22px;
}

.wtp-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.wtp-step__num {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--wtp-primary), var(--wtp-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(47, 128, 237, 0.22);
}

.wtp-step p,
.wtp-step li {
  color: var(--wtp-muted);
}

.wtp-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wtp-service {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--wtp-line);
  box-shadow: var(--wtp-shadow-soft);
  font-weight: 700;
}

.wtp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.wtp-note {
  padding: 18px 20px;
  border-radius: 18px;
  background: #eef7ff;
  border: 1px solid rgba(47, 128, 237, 0.12);
  color: #29405f;
}

.wtp-faq {
  display: grid;
  gap: 16px;
}

.wtp-faq__item {
  overflow: hidden;
}

.wtp-faq__question {
  position: relative;
  width: 100%;
  padding: 22px 60px 22px 22px;
  text-align: left;
  border: 0;
  background: #fff;
  color: var(--wtp-text);
  font-weight: 800;
}

.wtp-faq__question::before,
.wtp-faq__question::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--wtp-primary);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform var(--wtp-transition), opacity var(--wtp-transition);
}

.wtp-faq__question::after {
  transform: translateY(-50%) rotate(90deg);
}

.wtp-faq__item.is-open .wtp-faq__question::after {
  opacity: 0;
}

.wtp-faq__answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--wtp-muted);
}

.wtp-faq__item.is-open .wtp-faq__answer {
  display: block;
}

.wtp-cta {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #123d82 55%, #17c3b2 120%);
  border-radius: 30px;
  box-shadow: var(--wtp-shadow);
}

.wtp-cta h2,
.wtp-cta h3,
.wtp-cta p {
  color: #fff;
}

.wtp-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 70%);
}

.wtp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.wtp-cta .wtp-btn--ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}

.wtp-page-hero {
  padding: 62px 0 26px;
}

.wtp-page-hero__box {
  padding: 34px;
}

.wtp-page-hero__meta {
  max-width: 820px;
  color: var(--wtp-muted);
}

.wtp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--wtp-muted);
  font-size: 0.94rem;
}

.wtp-breadcrumbs a {
  color: var(--wtp-muted);
}

.wtp-page-content {
  padding-bottom: 80px;
}

.wtp-content-card {
  padding: 28px;
}

.wtp-content-card p,
.wtp-content-card li {
  color: var(--wtp-muted);
}

.wtp-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(219, 228, 240, 0.85);
  background: #f7faff;
}

.wtp-footer__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  gap: 24px;
  padding: 24px 0 28px;
}

.wtp-footer__title {
  margin-bottom: 12px;
  font-size: 1rem;
}

.wtp-footer__text,
.wtp-footer li,
.wtp-footer a {
  color: var(--wtp-muted);
}

.wtp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wtp-footer li + li {
  margin-top: 10px;
}

.wtp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--wtp-line);
  color: var(--wtp-muted);
  font-size: 0.95rem;
}

.wtp-single,
.wtp-404 {
  padding: 60px 0 90px;
}

.wtp-post {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
}

.wtp-post p,
.wtp-post li {
  color: var(--wtp-muted);
}

.wtp-404__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
}

.wtp-404__code {
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--wtp-primary);
  margin-bottom: 12px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.alignwide,
.alignfull {
  width: 100%;
}

@media (max-width: 1180px) {
  .wtp-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wtp-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wtp-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wtp-nav,
  .wtp-header__actions .wtp-btn--ghost {
    display: none;
  }

  .wtp-burger {
    display: inline-block;
  }

  .wtp-mobile {
    display: none;
  }

  .wtp-hero__grid,
  .wtp-split,
  .wtp-grid--2,
  .wtp-grid--3,
  .wtp-grid--4 {
    grid-template-columns: 1fr;
  }

  .wtp-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wtp-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-bar .wtp-header {
    top: 46px;
  }

  .wtp-section {
    padding: 22px 0;
  }

  .wtp-hero {
    padding-top: 22px;
  }

  .wtp-hero__mock,
  .wtp-page-hero__box,
  .wtp-cta,
  .wtp-post,
  .wtp-content-card,
  .wtp-step,
  .wtp-404__box {
    padding: 16px;
  }

  .wtp-products,
  .wtp-services,
  .wtp-footer__top {
    grid-template-columns: 1fr;
  }

  .wtp-step {
    grid-template-columns: 1fr;
  }

  .wtp-step__num {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .wtp-header__inner {
    min-height: 74px;
  }

  .wtp-logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .wtp-header__actions {
    gap: 10px;
  }

  .wtp-header__actions .wtp-btn--primary {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.94rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .wtp-container {
    width: min(calc(100% - 22px), var(--wtp-container));
  }

  .wtp-hero__actions,
  .wtp-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wtp-btn {
    width: 100%;
  }

  .wtp-header__actions .wtp-btn--primary {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .wtp-burger {
  min-width: 47px;
        height: 46px;
  }

  .wtp-burger span {
    top: 21px;
  }

  .wtp-burger::before {
    top: 14px;
  }

  .wtp-burger::after {
    top: 28px;
  }
}


@media (max-width: 360px) {
	.wtp-container {
        width: min(calc(100% - 18px), var(--wtp-container));
    }
	.wtp-logo img {
		width: 45px;
	}
	.wtp-header__actions .wtp-btn--primary {
		        padding: 0 10px;
	}
	.wtp-hero__visual {
		display: none;
	}
}