:root {
  --purple: #8f176f;
  --pink: #d62983;
  --coral: #f29a5d;
  --blue: #5f96cf;
  --navy: #25306f;
  --yellow: #ffc45c;
  --teal: #31cfd0;
  --muted: #555a70;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(50, 32, 78, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: linear-gradient(125deg, var(--coral) 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple);
}

.nav-shell {
  width: min(1560px, calc(100% - 120px));
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 29px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 48px;
  display: inline-grid;
  place-items: start center;
  position: relative;
  color: #ffc457;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 12px;
  height: 26px;
  border: 3px solid var(--teal);
  border-top: 0;
}

.brand-mark::before {
  left: 7px;
  transform: rotate(20deg);
}

.brand-mark::after {
  right: 7px;
  transform: rotate(-20deg);
}

.brand-mark span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 4px solid var(--teal);
  border-radius: 50%;
  background: #9f2a8b;
  font-size: 14px;
  line-height: 1;
  box-shadow: inset 0 0 0 3px #ffbd4a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 50px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: #fff;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: linear-gradient(125deg, var(--coral) 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
}

.hero-inner {
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
  padding: 0 0 132px;
  text-align: center;
}

.hero h1,
.section-header h2,
.operate-title h2 {
  font-family: Amaranth, Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(44px, 4.7vw, 76px);
  line-height: 1.03;
}

.hero p {
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(21px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.35;
}

.btn {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 54px;
  color: #fff;
  background: var(--yellow);
  font-size: 23px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.btn.full {
  width: 100%;
}

.section {
  padding: 76px 0;
}

.section-header {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 108px;
  text-align: center;
}

.section-header h2,
.operate-title h2 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(50px, 4.4vw, 72px);
  line-height: 0.98;
}

.section-header p {
  color: rgba(85, 90, 112, 0.66);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.features-section {
  min-height: 900px;
  background: linear-gradient(125deg, var(--coral) 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
}

.feature-grid {
  width: min(1480px, calc(100% - 120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.feature-card {
  min-height: 580px;
  padding: 38px 36px 36px;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  max-width: 235px;
  height: 235px;
  object-fit: contain;
  margin: 0 auto 64px;
}

.feature-card h3,
.plan h3,
.step h3 {
  font-family: Amaranth, Montserrat, sans-serif;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.08;
}

.feature-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.58;
}

.operate-title {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ffd15a 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
  overflow: hidden;
}

.operate-title h2 {
  margin: -10px 0 0;
  color: #fff;
  font-size: clamp(52px, 5vw, 84px);
}

.operate-section {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, var(--coral) 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
}

.operate-section::before {
  content: "";
  position: absolute;
  left: -12%;
  bottom: 10%;
  width: 80%;
  height: 115%;
  border-radius: 50%;
  border: 140px solid rgba(62, 48, 117, 0.28);
}

.operate-section::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 20%;
  width: 140px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(63deg);
}

.step {
  position: absolute;
  z-index: 1;
  width: min(500px, 40vw);
  text-align: center;
}

.step h3 {
  color: #fff;
  font-size: 30px;
}

.step p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.78;
}

.step-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  position: absolute;
  right: -98px;
  top: -26px;
  border-radius: 8px;
  color: #c9348e;
  background: var(--yellow);
  font-size: 36px;
  font-weight: 800;
}

.step-one {
  left: 16%;
  top: 20%;
}

.step-one::after,
.step-two::after {
  content: "";
  position: absolute;
  right: -66px;
  top: 46px;
  width: 0;
  height: 205px;
  border-left: 4px dashed var(--yellow);
}

.step-two {
  left: 54%;
  top: 47%;
  text-align: left;
}

.step-two .step-icon {
  left: -128px;
  right: auto;
  top: -4px;
}

.step-two::after {
  left: -94px;
  right: auto;
  top: 64px;
}

.step-three {
  left: 28%;
  bottom: 4%;
}

.step-three .step-icon {
  right: -110px;
  top: -18px;
  border-radius: 50%;
}

.plans-section {
  padding-top: 0;
  min-height: 1040px;
  background: linear-gradient(125deg, var(--pink) 0%, #8e3e97 58%, var(--blue) 100%);
}

.plans-section .section-header {
  padding-top: 0;
  margin-bottom: 94px;
}

.section-header.invert h2,
.section-header.invert p {
  color: #fff;
}

.plan-grid {
  width: min(1540px, calc(100% - 120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.plan {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 58px 28px 28px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  text-align: center;
  box-shadow: 0 18px 45px rgba(67, 43, 98, 0.16);
}

.plan img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 58px;
}

.plan h3 {
  min-height: 62px;
  color: #fff;
  font-size: 27px;
}

.plan strong {
  display: block;
  margin: 14px 0 34px;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
}

.plan ul {
  min-height: 270px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.plan li {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.faq-section {
  min-height: 800px;
  background: linear-gradient(125deg, #ffc85b 0%, #df5e73 18%, var(--pink) 48%, #8e3e97 72%, var(--blue) 100%);
}

.faq-section .section-header {
  margin-bottom: 92px;
}

.faq-heading h2,
.faq-heading p {
  color: #fff;
}

.faq-heading h2 {
  color: var(--navy);
}

.faq-heading a {
  color: #fff;
  text-decoration: underline;
}

.faq-card-grid {
  width: min(1320px, calc(100% - 120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 68px 34px;
}

.faq-card {
  min-height: 126px;
  padding: 22px 30px 24px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
}

.faq-card button {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-card button span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.faq-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
}

.faq-card p {
  display: none;
  margin: 6px 0 0 52px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
}

.faq-card.open p {
  display: block;
}

.standalone-page {
  min-height: calc(100vh - 98px);
  position: relative;
  overflow: hidden;
  padding: 92px 20px 110px;
  background: linear-gradient(125deg, #ffc85b 0%, #df5e73 18%, var(--pink) 48%, #8e3e97 72%, var(--blue) 100%);
}

.standalone-page::before {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 3%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 120px solid rgba(62, 48, 117, 0.16);
}

.standalone-page::after {
  content: "";
  position: absolute;
  right: 9%;
  top: 10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 150px solid rgba(62, 48, 117, 0.16);
}

.page-heading {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  margin: 0 auto 70px;
  text-align: center;
}

.page-heading h1 {
  margin-bottom: 22px;
  color: #fff;
  font-family: Amaranth, Montserrat, sans-serif;
  font-size: clamp(58px, 5vw, 76px);
  line-height: 1;
}

.page-heading p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-card {
  width: min(690px, 100%);
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.19);
  color: #fff;
}

.contact-card label {
  display: block;
  margin-bottom: 23px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-card input {
  height: 50px;
  padding: 0 14px;
}

.contact-card textarea {
  min-height: 152px;
  resize: vertical;
  padding: 12px 14px;
}

.contact-card .btn {
  min-height: 72px;
  margin-top: 4px;
}

.shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.slash {
  width: 8px;
  height: 112px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(35deg);
}

.slash.one {
  left: 24%;
  top: 13%;
}

.slash.two {
  right: 10%;
  top: 47%;
  background: #ff715f;
}

.ring {
  left: 12%;
  bottom: 15%;
  width: 150px;
  height: 150px;
  border: 24px solid var(--teal);
  border-radius: 50%;
}

.dot {
  right: 22%;
  top: 8%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
}

.plus {
  right: 29%;
  bottom: 11%;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
}

.checkout-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  width: min(520px, calc(100% - 32px));
  padding: 18px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 18px 45px rgba(37, 48, 111, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.checkout-notice[data-type="error"] {
  background: #8d1f3f;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(43, 11, 63, 0.62);
  backdrop-filter: blur(2px);
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal__panel {
  position: relative;
  width: min(780px, 100%);
  padding: 28px 32px 24px;
  border-radius: 8px;
  color: #252638;
  background: #fff;
  box-shadow: 0 28px 70px rgba(23, 24, 45, 0.28);
}

.checkout-modal__panel h2 {
  margin: 0 0 26px;
  font-size: 28px;
  line-height: 1.1;
}

.checkout-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  color: #8c95b4;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.checkout-summary {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
}

.checkout-summary div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: baseline;
}

.checkout-summary dt {
  color: #7c7f91;
  font-size: 20px;
}

.checkout-summary dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form label {
  font-size: 18px;
  font-weight: 800;
}

.checkout-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d4d7e2;
  border-radius: 4px;
  padding: 0 18px;
  color: #252638;
  font: inherit;
  background: #fff;
}

.checkout-form input::placeholder {
  color: #b8bdd0;
}

.checkout-form p {
  margin: -2px 0 18px;
  color: #b5b5bd;
  font-size: 16px;
}

.checkout-submit {
  width: 100%;
  min-height: 80px;
  border-radius: 999px;
}

.checkout-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(24px, calc((100vw - 1560px) / 2));
  color: #fff;
  background: var(--purple);
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 28px;
}

.status-page,
.policy-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(125deg, var(--coral) 0%, var(--pink) 43%, #8e3e97 69%, var(--blue) 100%);
}

.status-card,
.policy {
  width: min(620px, 100%);
  padding: 38px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-card {
  text-align: center;
}

.policy .brand {
  color: var(--navy);
}

@media (max-width: 1300px) {
  .feature-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan {
    min-height: 820px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    width: min(100% - 32px, 720px);
    min-height: 78px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
  }

  .hero {
    min-height: 660px;
  }

  .hero-inner {
    width: min(100% - 34px, 680px);
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero p {
    font-size: 23px;
  }

  .btn {
    min-height: 64px;
    padding: 0 36px;
    font-size: 20px;
  }

  .section-header {
    margin-bottom: 54px;
  }

  .section-header h2,
  .operate-title h2 {
    font-size: 48px;
  }

  .feature-grid,
  .plan-grid,
  .faq-card-grid {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .operate-section {
    min-height: auto;
    padding: 72px 20px;
  }

  .operate-section::before,
  .operate-section::after,
  .step-one::after,
  .step-two::after {
    display: none;
  }

  .step {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 620px;
    margin: 0 auto 54px;
    text-align: center;
  }

  .step-two {
    text-align: center;
  }

  .step-icon,
  .step-two .step-icon,
  .step-three .step-icon {
    position: static;
    margin: 0 auto 20px;
  }

  .plan {
    min-height: auto;
  }

  .checkout-modal {
    align-items: end;
    padding: 16px;
  }

  .checkout-modal__panel {
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
  }

  .checkout-modal__panel h2 {
    font-size: 25px;
  }

  .checkout-summary div {
    grid-template-columns: 76px 1fr;
  }

  .checkout-summary dt,
  .checkout-summary dd {
    font-size: 18px;
  }

  .checkout-submit {
    min-height: 66px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .standalone-page {
    padding-top: 64px;
  }

  .contact-card {
    padding: 24px;
  }

  .shape {
    display: none;
  }
}
