:root {
  --ink: #07143d;
  --muted: #66708c;
  --blue: #0a2a70;
  --violet: #8059ff;
  --pink: #ee4aa2;
  --orange: #ff8b42;
  --green: #19c8a0;
  --line: #e9edf7;
  --soft: #f7f9ff;
  --shadow: 0 26px 70px rgba(28, 48, 98, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  color: var(--ink);
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(126, 91, 255, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 7% 13%,
      rgba(66, 144, 255, 0.09),
      transparent 28%
    ),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.container {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
}

header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.footer-brand .brand-logo {
  height: 44px;
}
.logo-fallback {
  display: none;
}
.cube {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: conic-gradient(
    from 40deg,
    #0b142f,
    #2dd4bf,
    #facc15,
    #ef4444,
    #223bff,
    #0b142f
  );
  box-shadow:
    inset 0 0 0 4px #07143d,
    0 8px 18px rgba(7, 20, 61, 0.18);
  position: relative;
}
.cube::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  background: #fff;
  opacity: 0.9;
}
nav {
  display: flex;
  gap: 54px;
  font-size: 14px;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(27, 43, 87, 0.06);
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(180deg, #123a92, #071a55);
  color: #fff;
  border: 0;
  box-shadow: 0 18px 35px rgba(11, 38, 105, 0.25);
}
.btn.small {
  padding: 14px 22px;
  border-radius: 12px;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  align-items: center;
  padding: 45px 0 48px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(124, 91, 255, 0.08);
  color: #17234d;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 24px;
}
.sparkle {
  color: var(--violet);
  font-size: 18px;
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 0.99;
  letter-spacing: -0.075em;
  font-weight: 900;
}
.gradient-text {
  background: linear-gradient(90deg, #7f5cff, #eb4aa0 52%, #ff8a40);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 510px;
  margin: 0 0 36px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 52px;
}
.micro-grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 24px;
  align-items: center;
}
.micro {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 140px;
}
.micro-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 28px rgba(34, 45, 91, 0.1);
}
.micro strong {
  display: block;
  font-size: 12px;
}
.micro span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.hero-art {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.glow {
  position: absolute;
  width: 610px;
  height: 610px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(143, 91, 255, 0.18),
    rgba(255, 116, 68, 0.08) 42%,
    transparent 70%
  );
  filter: blur(4px);
}
.qr-stage {
  position: relative;
  width: min(510px, 88vw);
  aspect-ratio: 1.16;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
  transform: translateY(-20px);
}
.qr-inner {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  border: 10px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #825cff, #f34fa1, #ff9342) border-box;
  display: grid;
  place-items: center;
  position: relative;
}
.qr-code {
  width: 365px;
  height: 365px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  grid-template-rows: repeat(17, 1fr);
  gap: 7px;
  padding: 8px;
}
.dot {
  border-radius: 50%;
  background: linear-gradient(135deg, #775cff, #f04ca2 55%, #ff8f42);
  opacity: 0.95;
}
.dot.hide {
  opacity: 0;
}
.corner {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 12px solid #8a5cff;
  border-radius: 25px;
  background: #fff;
}
.corner.tl {
  top: 38px;
  left: 42px;
}
.corner.tr {
  top: 38px;
  right: 42px;
  border-color: #ff7f4a;
}
.corner.bl {
  bottom: 38px;
  left: 42px;
}
.corner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background: currentColor;
  color: inherit;
}
.logo-center {
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(8, 22, 61, 0.17);
  display: grid;
  place-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.logo-center .cube {
  width: 56px;
  height: 56px;
  border-radius: 15px;
}
.float-card {
  position: absolute;
  z-index: 6;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(30, 42, 88, 0.13);
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card.add {
  top: 5px;
  left: 45px;
}
.float-card.eye {
  right: 12px;
  bottom: 105px;
}
.float-card.colors {
  left: -35px;
  bottom: 145px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.swatches {
  display: flex;
  gap: 10px;
}
.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet);
}
.swatch:nth-child(2) {
  background: #ea4ba0;
}
.swatch:nth-child(3) {
  background: #ff8b42;
}
.swatch:nth-child(4) {
  background: #24304d;
}
.swatch:nth-child(5) {
  background: #21c6a2;
}
.mini-qrs {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 18px;
  transform: translateY(42px);
}
.mini-qr {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(21, 35, 78, 0.12);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.mini-qr i {
  border-radius: 2px;
  background: #111827;
}
.mini-qr:nth-child(2) i {
  background: #2878ff;
}
.mini-qr:nth-child(3) i {
  background: #6c9b34;
}
.mini-qr:nth-child(4) i {
  background: #ff3f78;
}
.scan {
  position: absolute;
  bottom: -60px;
  left: 55%;
  font-family: "Brush Script MT", cursive;
  font-size: 28px;
  transform: rotate(-5deg);
  color: #263b68;
}

.trusted {
  padding: 36px 0 50px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.trusted p {
  color: #3e4965;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 26px;
}
.logos {
  display: flex;
  justify-content: center;
  gap: 70px;
  align-items: center;
  color: #66708c;
  font-size: 27px;
  font-weight: 800;
  opacity: 0.85;
  flex-wrap: wrap;
}
.logos span:nth-child(3),
.logos span:nth-child(5) {
  font-family: Georgia, serif;
  font-style: italic;
}

section {
  padding: 70px 0;
}
.features {
  background: linear-gradient(180deg, #fff, #f8faff);
}
.feature-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 70px;
  align-items: center;
}
h2 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 0 0 20px;
  font-weight: 900;
}
.section-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 420px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
  min-height: 238px;
}
.big-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: #fff;
  font-size: 28px;
  background: linear-gradient(135deg, #765cff, #a45cff);
  box-shadow: 0 16px 32px rgba(128, 89, 255, 0.26);
}
.card:nth-child(2) .big-icon {
  background: linear-gradient(135deg, #ff4f93, #ff6d77);
}
.card:nth-child(3) .big-icon {
  background: linear-gradient(135deg, #ff5e45, #ff9a42);
}
.card:nth-child(4) .big-icon {
  background: linear-gradient(135deg, #18c79b, #1dcfc5);
}
.card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.moments {
  padding: 48px 0 64px;
  background: #fff;
  text-align: center;
}
.moments h3 {
  margin: 0 0 35px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.moment-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
}
.moment {
  display: grid;
  place-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 13px;
}
.moment-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: #f0eaff;
}

.steps {
  background: linear-gradient(180deg, #fbfcff, #fff);
  padding-top: 70px;
}
.steps-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: center;
}
.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.step {
  position: relative;
  padding: 32px 18px 20px 34px;
  min-height: 160px;
}
.step-num {
  position: absolute;
  left: 0;
  top: -18px;
  font-size: 98px;
  font-weight: 900;
  color: #ecf0fb;
  z-index: 0;
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0eaff;
  color: #7b5cff;
  font-size: 24px;
  margin-bottom: 18px;
}
.step h4 {
  margin: 0 0 10px;
  font-size: 16px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.dark-qr {
  justify-self: center;
  width: 270px;
  height: 270px;
  border-radius: 28px;
  background: linear-gradient(135deg, #201263, #35166f);
  box-shadow: 0 30px 70px rgba(35, 23, 99, 0.25);
  position: relative;
  padding: 30px;
}
.dark-qr .orange-corner {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 8px solid #ff8a42;
  border-radius: 14px;
}
.orange-corner.a {
  top: 28px;
  left: 28px;
}
.orange-corner.b {
  top: 28px;
  right: 28px;
}
.orange-corner.c {
  bottom: 70px;
  left: 28px;
}
.dark-dot-grid {
  position: absolute;
  inset: 42px;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 4px;
}
.dark-dot-grid i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8cdfd;
  opacity: 0.82;
}
.phone {
  position: absolute;
  right: -22px;
  bottom: -20px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #6750cc;
  box-shadow: 0 18px 35px rgba(53, 30, 132, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
}
.qr-caption {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cta {
  padding: 0 0 70px;
}
.cta-box {
  min-height: 160px;
  border-radius: 24px;
  color: #fff;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.7fr;
  align-items: center;
  gap: 30px;
  padding: 28px 48px;
  background: linear-gradient(105deg, #7859ff, #ef4ba1 58%, #ff9142);
  box-shadow: 0 28px 70px rgba(132, 79, 215, 0.22);
  overflow: hidden;
  position: relative;
}
.cta h2 {
  color: #fff;
  font-size: 31px;
  margin: 0 0 10px;
}
.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.cta-qrs {
  display: flex;
  align-items: center;
  transform: rotate(-4deg);
}
.cta .mini-qr {
  position: relative;
  width: 102px;
  height: 102px;
  margin-left: -12px;
  transform: rotate(var(--r));
}
.cta-action {
  justify-self: end;
  text-align: center;
}
.cta-action .btn {
  background: #fff;
  color: var(--ink);
  min-width: 210px;
}
.cta-action small {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
  .hero,
  .feature-layout,
  .steps-layout {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 500px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .moment-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-action {
    justify-self: center;
  }
  .micro-grid {
    grid-template-columns: repeat(2, max-content);
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1220px);
  }
  header {
    gap: 16px;
  }
  .header-actions a:first-child {
    display: none;
  }
  h1 {
    font-size: 48px;
  }
  .lead {
    font-size: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .micro-grid,
  .cards,
  .step-row {
    grid-template-columns: 1fr;
  }
  .moment-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-stage {
    transform: scale(0.82);
  }
  .logos {
    gap: 28px;
    font-size: 22px;
  }
}

html {
  scroll-behavior: smooth;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(233, 237, 247, 0.74);
}

/* Full-width header bar while keeping the nav content aligned with the page container */
header.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(28px, calc((100vw - 1220px) / 2));
  padding-right: max(28px, calc((100vw - 1220px) / 2));
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 35px rgba(27, 43, 87, 0.06);
}
nav a,
.header-actions a:not(.btn) {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
nav a:hover,
.header-actions a:not(.btn):hover {
  color: var(--violet);
  transform: translateY(-1px);
}
.btn {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(27, 43, 87, 0.12);
  border-color: #d8def0;
}
.btn.primary:hover {
  box-shadow: 0 24px 42px rgba(11, 38, 105, 0.31);
}
.hero-art .qr-stage {
  animation: floatUp 5.5s ease-in-out infinite;
}
.float-card.add {
  animation: bob 4.6s ease-in-out infinite;
}
.float-card.eye {
  animation: bob 5s ease-in-out 0.4s infinite;
}
.float-card.colors {
  animation: bob 5.2s ease-in-out 0.8s infinite;
}
.mini-qr {
  transition: transform 0.25s ease;
}
.mini-qr:hover {
  transform: translateY(-6px) rotate(var(--r));
}
.card,
.moment,
.step,
.pricing-card,
.testimonial,
.faq-item,
.resource-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover,
.pricing-card:hover,
.testimonial:hover,
.resource-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 80px rgba(28, 48, 98, 0.16);
  border-color: #d9e0f3;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}
.section-head p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.showcase {
  background: #fff;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}
.window-bar {
  height: 42px;
  border-radius: 16px;
  background: #f6f8ff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 22px;
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
  display: block;
}
.window-bar i:nth-child(2) {
  background: #ffd166;
}
.window-bar i:nth-child(3) {
  background: #20c997;
}
.dash-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
}
.dash-sidebar {
  background: #07143d;
  border-radius: 22px;
  padding: 18px;
  color: #fff;
}
.dash-sidebar span {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  margin: 14px 0;
}
.dash-main {
  display: grid;
  gap: 16px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fbfcff;
}
.stat strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.chart {
  height: 170px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8faff);
  position: relative;
  overflow: hidden;
}
.chart::before {
  content: "";
  position: absolute;
  inset: 34px 24px;
  background: linear-gradient(
    135deg,
    transparent 0 18%,
    rgba(128, 89, 255, 0.12) 18% 100%
  );
  clip-path: polygon(
    0 80%,
    18% 52%,
    38% 62%,
    56% 35%,
    76% 45%,
    100% 18%,
    100% 100%,
    0 100%
  );
}
.chart::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 42px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #8059ff, #ee4aa2, #ff8b42);
}
.showcase-side {
  display: grid;
  gap: 22px;
}
.info-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.info-tile h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.info-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.check-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.check-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
}
.check-list span::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(25, 200, 160, 0.12);
  color: var(--green);
}

.pricing {
  background: linear-gradient(180deg, #fbfcff, #fff);
}
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin: -18px 0 34px;
}
.billing-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 14px 30px rgba(27, 43, 87, 0.08);
}
.billing-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
  color: var(--muted);
  cursor: pointer;
}
.billing-toggle button.active {
  background: linear-gradient(180deg, #123a92, #071a55);
  color: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
}
.pricing-card.popular {
  border: 2px solid rgba(128, 89, 255, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 34px 80px rgba(128, 89, 255, 0.16);
}
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, #8059ff, #ee4aa2);
}
.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.pricing-card p {
  color: var(--muted);
  line-height: 1.65;
  min-height: 52px;
  margin: 0 0 24px;
}
.price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}
.price small {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.features-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #273253;
  font-size: 14px;
  font-weight: 700;
}
.features-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.features-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.testimonials {
  background: #fff;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
  padding: 28px;
}
.stars {
  color: #ff9a42;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testimonial p {
  color: #3e4965;
  line-height: 1.75;
  margin: 0 0 22px;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8059ff, #ee4aa2);
  color: #fff;
  display: grid;
  place-items: center;
}
.person span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.resources {
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.resource-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
  overflow: hidden;
}
.resource-art {
  height: 150px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 139, 66, 0.32),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(128, 89, 255, 0.18), rgba(238, 74, 162, 0.14));
  display: grid;
  place-items: center;
  font-size: 46px;
}
.resource-body {
  padding: 24px;
}
.resource-body small {
  color: var(--violet);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.resource-body h3 {
  margin: 10px 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.resource-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  background: #fff;
  padding-top: 40px;
}
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 48, 98, 0.06);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 22px 24px;
  font: inherit;
  font-weight: 900;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-question span {
  color: var(--violet);
  font-size: 22px;
  transition: transform 0.25s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 150px;
}
.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

footer {
  background: #07143d;
  color: #fff;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 34px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: 18px;
  display: inline-flex;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 340px;
  margin: 0 0 24px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  font-weight: 900;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.footer-col h4 {
  margin: 0 0 18px;
  font-size: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin: 12px 0;
  font-size: 14px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.qr-types {
  background: #fff;
  text-align: center;
}
.qr-types .section-head {
  margin-bottom: 34px;
}
.qr-type-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
}
.qr-type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 14px;
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 12px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(28, 48, 98, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.qr-type-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(28, 48, 98, 0.14);
  border-color: #d9e0f3;
}
.qr-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #7b45e8;
  background: linear-gradient(
    180deg,
    rgba(128, 89, 255, 0.1),
    rgba(238, 74, 162, 0.08)
  );
  font-size: 25px;
  line-height: 1;
}
.qr-type-card span:last-child {
  font-size: 14px;
  color: #273253;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(-34px);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .showcase-grid,
  .pricing-grid,
  .testimonial-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  header.container {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .btn {
    padding: 12px 14px;
  }
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card,
  .dashboard-card,
  .info-tile,
  .testimonial,
  .resource-body {
    padding: 22px;
  }
  .price {
    font-size: 40px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ===== Final responsive/mobile navigation patch ===== */
.site-header {
  isolation: isolate;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(27, 43, 87, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 60;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.nav-panel {
  display: contents;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  header.container,
  header.site-header.container {
    padding-left: 22px;
    padding-right: 22px;
  }

  nav {
    gap: 34px;
  }

  .header-actions {
    gap: 16px;
  }

  h1 {
    font-size: clamp(46px, 7vw, 72px);
  }

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

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

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

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

@media (max-width: 820px) {
  html,
  body,
  .page {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, 1220px);
  }

  section {
    padding: 54px 0;
  }

  header.container,
  header.site-header.container {
    min-height: 68px;
    height: 68px;
    padding: 0 16px;
  }

  .brand {
    font-size: 22px;
    position: relative;
    z-index: 61;
  }

  .brand .cube,
  .cube {
    width: 30px;
    height: 30px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(233, 237, 247, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 90px rgba(7, 20, 61, 0.22);
    backdrop-filter: blur(20px);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    z-index: 55;
  }

  .site-header.menu-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-panel nav {
    display: grid;
    gap: 6px;
  }

  .nav-panel nav a,
  .nav-panel .header-actions a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
  }

  .nav-panel nav a:hover,
  .nav-panel .header-actions a:not(.btn):hover {
    background: #f6f8ff;
    transform: none;
  }

  .nav-panel .header-actions {
    display: grid;
    gap: 10px;
    font-size: 15px;
  }

  .nav-panel .header-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0 34px;
    text-align: left;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.065em;
  }

  h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
    max-width: none;
  }

  .pill {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 30px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .micro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .micro {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-art {
    min-height: 410px;
    overflow: hidden;
  }

  .glow {
    width: 430px;
    height: 430px;
  }

  .qr-stage {
    width: min(360px, 100%);
    padding: 14px;
    border-radius: 26px;
    transform: none;
  }

  .hero-art .qr-stage {
    animation: none;
  }

  .qr-inner {
    border-width: 7px;
    border-radius: 22px;
  }

  .qr-code {
    width: min(260px, 75vw);
    height: min(260px, 75vw);
    gap: 5px;
  }

  .corner {
    width: 60px;
    height: 60px;
    border-width: 8px;
    border-radius: 18px;
  }

  .corner.tl {
    top: 28px;
    left: 28px;
  }
  .corner.tr {
    top: 28px;
    right: 28px;
  }
  .corner.bl {
    bottom: 28px;
    left: 28px;
  }

  .corner::after {
    inset: 12px;
    border-radius: 10px;
  }

  .logo-center {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .logo-center .cube {
    width: 44px;
    height: 44px;
  }

  .float-card {
    padding: 10px 12px;
    font-size: 12px;
    border-radius: 14px;
  }

  .float-card.add {
    top: -5px;
    left: 24px;
  }

  .float-card.colors {
    left: 4px;
    bottom: 82px;
  }

  .float-card.eye {
    right: 0;
    bottom: 76px;
  }

  .swatch {
    width: 18px;
    height: 18px;
  }

  .mini-qrs,
  .scan {
    display: none;
  }

  .trusted {
    padding: 28px 0;
  }

  .logos {
    gap: 18px;
    font-size: 18px;
  }

  .feature-layout,
  .steps-layout,
  .showcase-grid,
  .pricing-grid,
  .testimonial-grid,
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cards,
  .step-row,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .card,
  .pricing-card,
  .dashboard-card,
  .info-tile,
  .testimonial,
  .resource-card {
    border-radius: 22px;
  }

  .card {
    min-height: auto;
    padding: 24px;
  }

  .big-icon {
    margin-bottom: 20px;
  }

  .moment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .qr-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .qr-type-card {
    min-height: 118px;
    padding: 20px 12px;
  }

  .moment {
    padding: 14px 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
  }

  .moment-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .step {
    min-height: auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
  }

  .step-num {
    font-size: 64px;
    right: 16px;
    left: auto;
    top: 8px;
  }

  .dark-qr {
    width: min(270px, 100%);
    margin-top: 10px;
    overflow: hidden;
  }

  .phone {
    right: 12px;
    bottom: 12px;
    width: 58px;
    height: 58px;
  }

  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .chart {
    height: 150px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .badge {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
  }

  .billing-toggle {
    width: 100%;
    justify-content: center;
  }

  .billing-toggle button {
    flex: 1;
    padding: 12px 10px;
  }

  .cta {
    padding-bottom: 50px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    text-align: center;
    border-radius: 22px;
  }

  .cta-qrs {
    justify-content: center;
    transform: none;
  }

  .cta .mini-qr {
    width: 86px;
    height: 86px;
    margin-left: -8px;
  }

  .cta-action {
    justify-self: stretch;
  }

  .cta-action .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1220px);
  }

  header.container,
  header.site-header.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-logo {
    height: 36px;
    max-width: 150px;
  }

  .qr-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-actions .btn {
    padding: 13px 16px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 50px);
  }

  .qr-stage {
    width: min(330px, 100%);
  }

  .qr-code {
    width: min(230px, 72vw);
    height: min(230px, 72vw);
    gap: 4px;
  }

  .float-card.colors {
    display: none;
  }

  .logos span {
    flex: 0 0 calc(50% - 12px);
  }

  .price {
    font-size: 38px;
  }

  .resource-art {
    height: 120px;
  }
}

/* ===== Requested polish patch: pricing comparison, fixed phone icon, FAQ nav, scroll top ===== */
.phone svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing {
  background: #fbf6e6;
}

.pricing .section-head h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  color: #384252;
  letter-spacing: -0.045em;
}

.pricing .section-head p {
  font-size: 17px;
  color: #8c96a8;
}

.pricing-switch {
  width: min(540px, 100%);
  border: 1.5px solid var(--violet);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.pricing-switch button {
  flex: 1;
  border-radius: 0;
  min-height: 52px;
  font-size: 16px;
  color: var(--violet);
}

.pricing-switch button.active {
  background: linear-gradient(90deg, #775cff, #865dff);
  color: #fff;
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-benefits-card,
.pricing-plan-card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 32px 34px 30px;
  box-shadow: 0 20px 44px rgba(30, 42, 88, 0.06);
}

.pricing-plan-card.featured {
  border: 2px solid #8059ff;
  box-shadow: 0 24px 60px rgba(128, 89, 255, 0.13);
}

.pricing-benefits-card h3,
.pricing-plan-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: #29354a;
}

.saving-note {
  margin: 12px 0 28px;
  color: #25324a;
  line-height: 1.55;
}

.plan-head {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.plan-price {
  text-align: right;
  color: #8c96a8;
}

.plan-price strong {
  color: #29354a;
  font-size: 28px;
  line-height: 1;
}

.plan-price span {
  color: #8c96a8;
  margin-left: 4px;
}

.plan-price small {
  display: block;
  margin-top: 8px;
  color: #8c96a8;
  font-size: 14px;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.compare-list li {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #dfe4ed;
  color: #1f2d45;
  font-size: 18px;
}

.compare-labels li {
  justify-content: flex-start;
  font-size: 18px;
}

.info-dot {
  width: 19px;
  height: 19px;
  border: 1px solid #66708c;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  margin-left: 6px;
}

.mobile-label {
  display: none;
}

.plan-btn {
  width: 100%;
  min-height: 46px;
  color: var(--violet);
  border-color: var(--violet);
  box-shadow: none;
}

.plan-btn.primary {
  color: #fff;
  background: linear-gradient(90deg, #775cff, #8059ff);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8059ff, #6f4ee8);
  color: #fff;
  box-shadow: 0 18px 42px rgba(87, 63, 210, 0.34);
  cursor: pointer;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

@media (max-width: 820px) {
  .pricing-compare-grid {
    grid-template-columns: 1fr;
  }

  .pricing-benefits-card {
    display: none;
  }

  .plan-head {
    min-height: auto;
    margin-bottom: 18px;
  }

  .compare-list li {
    justify-content: space-between;
    gap: 16px;
    text-align: right;
    font-size: 16px;
  }

  .mobile-label {
    display: inline;
    color: #66708c;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .pricing-benefits-card,
  .pricing-plan-card {
    padding: 24px 22px;
  }

  .cta .mini-qr {
    width: 78px;
    height: 78px;
  }

  .plan-head {
    flex-direction: column;
    gap: 10px;
  }

  .plan-price {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Final pricing redesign to match Dotbox template ===== */
.pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(128, 89, 255, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 10%,
      rgba(238, 74, 162, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(128, 89, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 89, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.45;
}

.pricing > .container {
  position: relative;
  z-index: 1;
}

.pricing .section-head {
  margin-bottom: 30px;
}

.pricing .section-head h2 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.065em;
}

.pricing .section-head p {
  color: var(--muted);
  font-size: 17px;
}

.pricing-switch {
  width: min(460px, 100%);
  padding: 6px;
  border: 1px solid rgba(128, 89, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
  backdrop-filter: blur(14px);
}

.pricing-switch button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 14px;
  color: #5d6680;
}

.pricing-switch button.active {
  background: linear-gradient(90deg, #8059ff, #ee4aa2 58%, #ff8b42);
  color: #fff;
  box-shadow: 0 14px 30px rgba(128, 89, 255, 0.24);
}

.pricing-compare-grid {
  align-items: stretch;
  gap: 24px;
}

.pricing-benefits-card,
.pricing-plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(233, 237, 247, 0.96);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(28, 48, 98, 0.1);
}

.pricing-benefits-card {
  background:
    radial-gradient(
      circle at 20% 12%,
      rgba(128, 89, 255, 0.12),
      transparent 34%
    ),
    #fff;
}

.pricing-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    rgba(128, 89, 255, 0.35),
    rgba(238, 74, 162, 0.24),
    rgba(255, 139, 66, 0.28)
  );
}

.pricing-plan-card.featured {
  transform: translateY(-12px);
  border: 2px solid rgba(128, 89, 255, 0.55);
  background:
    radial-gradient(
      circle at 82% 4%,
      rgba(128, 89, 255, 0.15),
      transparent 34%
    ),
    #fff;
  box-shadow: 0 34px 90px rgba(128, 89, 255, 0.2);
}

.pricing-plan-card.featured::before {
  height: 7px;
  background: linear-gradient(90deg, #8059ff, #ee4aa2 58%, #ff8b42);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #8059ff, #ee4aa2);
  box-shadow: 0 14px 28px rgba(128, 89, 255, 0.24);
}

.pricing-benefits-card h3,
.pricing-plan-card h3 {
  color: var(--ink);
  font-size: 24px;
}

.saving-note {
  color: var(--muted);
}

.plan-head {
  min-height: 96px;
  padding-top: 4px;
}

.pricing-plan-card.featured .plan-head {
  padding-top: 30px;
}

.plan-price strong {
  color: var(--ink);
  font-size: 34px;
  letter-spacing: -0.055em;
}

.plan-price span,
.plan-price small {
  color: var(--muted);
}

.compare-list li {
  min-height: 45px;
  border-bottom: 1px solid rgba(233, 237, 247, 0.98);
  font-size: 16px;
}

.compare-labels li {
  color: #3e4965;
  font-size: 15px;
  font-weight: 800;
}

.plan-btn {
  border-radius: 14px;
  min-height: 50px;
  border-color: rgba(128, 89, 255, 0.45);
  color: var(--violet);
  background: #fff;
}

.plan-btn.primary {
  border: 0;
  background: linear-gradient(90deg, #8059ff, #ee4aa2 58%, #ff8b42);
  box-shadow: 0 18px 35px rgba(128, 89, 255, 0.24);
}

@media (max-width: 1180px) {
  .pricing-plan-card.featured {
    transform: none;
  }
}

@media (max-width: 820px) {
  .pricing {
    background:
      radial-gradient(
        circle at 20% 8%,
        rgba(128, 89, 255, 0.16),
        transparent 36%
      ),
      linear-gradient(180deg, #fbfcff 0%, #fff 100%);
  }

  .pricing-plan-card.featured .plan-head {
    padding-top: 34px;
  }

  .popular-badge {
    left: 22px;
    right: auto;
  }
}

/* ===== Pricing row alignment fix ===== */
@media (min-width: 821px) {
  .pricing-benefits-card .saving-note {
    min-height: 102px;
    margin: 12px 0 0;
  }

  .pricing-plan-card .plan-head {
    min-height: 144px;
  }

  .pricing-plan-card.featured .plan-head {
    min-height: 144px;
  }

  .pricing-benefits-card .compare-list,
  .pricing-plan-card .compare-list {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .pricing-plan-card .plan-head,
  .pricing-plan-card.featured .plan-head {
    min-height: auto;
  }
}

/* ===== Authentication pages ===== */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(128, 89, 255, 0.16), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(238, 74, 162, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(128, 89, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 89, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}

.auth-shell.compact-auth {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.auth-visual {
  min-height: 660px;
  border-radius: 36px;
  padding: 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 139, 66, 0.42), transparent 28%),
    radial-gradient(circle at 10% 10%, rgba(45, 212, 191, 0.22), transparent 30%),
    linear-gradient(135deg, #07143d 0%, #25165f 48%, #8059ff 100%);
  box-shadow: 0 34px 90px rgba(28, 48, 98, 0.18);
}

.auth-visual::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.auth-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: max-content;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(7, 20, 61, 0.18);
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 9px 13px;
  margin-bottom: 16px;
  color: #8059ff;
  background: rgba(128, 89, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-visual .auth-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.auth-visual h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.auth-visual p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.auth-preview-card,
.auth-benefits {
  position: relative;
  z-index: 2;
}

.auth-preview-card {
  width: min(430px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(7, 20, 61, 0.28);
}

.auth-window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.auth-window-bar i:nth-child(2) {
  background: #ffd166;
}

.auth-window-bar i:nth-child(3) {
  background: #20c997;
}

.auth-preview-grid {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  align-items: center;
}

.auth-qr-mark {
  width: 128px;
  height: 128px;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(90deg, #fff 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#fff 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(135deg, #8059ff, #ee4aa2 58%, #ff8b42);
  position: relative;
}

.auth-qr-mark span {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 6px solid #fff;
  border-radius: 10px;
}

.auth-qr-mark span:nth-child(1) {
  top: 18px;
  left: 18px;
}

.auth-qr-mark span:nth-child(2) {
  top: 18px;
  right: 18px;
}

.auth-qr-mark span:nth-child(3) {
  left: 18px;
  bottom: 18px;
}

.auth-preview-stats strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.auth-preview-stats span {
  display: block;
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.auth-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.auth-meter i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20c997, #ff8b42);
}

.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.auth-benefits span {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.auth-panel {
  display: flex;
  justify-content: center;
}

.solo-auth {
  min-height: 100vh;
  align-items: center;
}

.auth-card {
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(233, 237, 247, 0.96);
  border-radius: 32px;
  padding: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(28, 48, 98, 0.13);
  backdrop-filter: blur(18px);
}

.auth-card-wide {
  max-width: 560px;
}

.auth-card-head {
  margin-bottom: 28px;
}

.auth-mobile-logo {
  display: none;
  width: max-content;
  margin-bottom: 28px;
}

.auth-mobile-logo.visible {
  display: inline-flex;
}

.auth-card h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field span,
.check-field {
  color: #273253;
  font-size: 13px;
  font-weight: 900;
}

.form-field input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfe5f2;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.form-field input::placeholder {
  color: #9aa3b7;
  font-weight: 700;
}

.form-field input:focus {
  border-color: rgba(128, 89, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(128, 89, 255, 0.12);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 56px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #66708c;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--violet);
  background: rgba(128, 89, 255, 0.1);
  outline: 0;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-closed {
  display: none;
}

.password-toggle.is-visible .eye-open {
  display: none;
}

.password-toggle.is-visible .eye-closed {
  display: block;
}

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

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--violet);
  flex: 0 0 auto;
}

.legal-check a,
.auth-link,
.auth-switch a {
  color: var(--violet);
  font-weight: 900;
}

.auth-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border-radius: 16px;
  background: linear-gradient(90deg, #8059ff, #ee4aa2 58%, #ff8b42);
  box-shadow: 0 18px 35px rgba(128, 89, 255, 0.24);
}

.auth-card .auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100% - 32px, 720px);
    padding: 28px 0;
  }

  .auth-visual {
    min-height: auto;
    padding: 28px;
  }

  .auth-brand {
    display: none;
  }

  .auth-mobile-logo {
    display: inline-flex;
  }

  .auth-visual h1 {
    font-size: clamp(36px, 8vw, 52px);
  }

  .auth-benefits {
    margin-top: 34px;
  }
}

@media (max-width: 620px) {
  .auth-shell {
    width: min(100% - 24px, 720px);
  }

  .auth-visual {
    display: none;
  }

  .auth-card {
    padding: 26px;
    border-radius: 24px;
  }

  .form-grid,
  .auth-preview-grid,
  .auth-benefits {
    grid-template-columns: 1fr;
  }

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

  .solo-auth {
    min-height: 100vh;
  }
}

/* ===== Inner content pages ===== */
.inner-page {
  background:
    radial-gradient(circle at 85% 8%, rgba(128, 89, 255, 0.12), transparent 30%),
    radial-gradient(circle at 9% 16%, rgba(255, 139, 66, 0.09), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.page-hero,
.article-hero {
  padding: 96px 0 56px;
  text-align: center;
  max-width: 920px;
}

.page-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 auto 18px;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--violet);
  background: rgba(128, 89, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1,
.article-hero h1 {
  margin: 0 auto 20px;
  max-width: 860px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.page-hero p,
.article-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.story-card,
.legal-card,
.contact-form,
.blog-featured-card,
.workflow-band,
.page-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.story-card {
  padding: 38px;
}

.story-card h2,
.workflow-band h2,
.page-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
}

.story-card p,
.workflow-band p {
  color: var(--muted);
  line-height: 1.75;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric-grid article,
.info-card,
.feature-tile,
.post-card,
.contact-side article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
}

.metric-grid article {
  padding: 26px;
  display: grid;
  align-content: center;
}

.metric-grid strong {
  font-size: 42px;
  letter-spacing: -0.06em;
}

.metric-grid span,
.feature-tile p,
.info-card p,
.post-card p,
.contact-side p {
  color: var(--muted);
  line-height: 1.65;
}

.value-section {
  padding-top: 84px;
}

.info-grid,
.feature-page-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.feature-tile,
.post-card {
  padding: 28px;
}

.info-card > span,
.feature-tile > span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #8059ff, #ee4aa2 58%, #ff8b42);
  font-weight: 900;
  margin-bottom: 22px;
}

.info-card h3,
.feature-tile h3,
.post-card h3,
.contact-side h3 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.page-cta,
.workflow-band {
  margin-top: 70px;
  margin-bottom: 70px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-cta {
  color: #fff;
  background: linear-gradient(105deg, #7859ff, #ef4ba1 58%, #ff9142);
}

.page-cta h2 {
  color: #fff;
  margin: 0;
}

.page-cta .btn {
  background: #fff;
  color: var(--ink);
  flex: 0 0 auto;
}

.feature-page-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-band {
  background:
    radial-gradient(circle at 10% 10%, rgba(128, 89, 255, 0.12), transparent 30%),
    #fff;
}

.contact-form {
  padding: 34px;
}

.form-field textarea {
  width: 100%;
  border: 1px solid #dfe5f2;
  border-radius: 16px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: 0;
  resize: vertical;
  min-height: 160px;
}

.form-field textarea::placeholder {
  color: #9aa3b7;
}

.form-field textarea:focus {
  border-color: rgba(128, 89, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(128, 89, 255, 0.12);
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-side article {
  padding: 28px;
}

.contact-side article > span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: rgba(128, 89, 255, 0.1);
  font-weight: 900;
  margin-bottom: 18px;
}

.legal-hero {
  max-width: 880px;
}

.legal-layout {
  max-width: 900px;
  padding-bottom: 80px;
}

.legal-card {
  padding: 42px;
}

.legal-card h2 {
  margin: 32px 0 10px;
  font-size: 24px;
}

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

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.legal-card a {
  color: var(--violet);
  font-weight: 900;
}

.blog-featured {
  padding-top: 0;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  padding: 26px;
  align-items: center;
}

.blog-art,
.article-cover {
  min-height: 300px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.08em;
  background:
    radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.24), transparent 30%),
    linear-gradient(135deg, #07143d, #8059ff 52%, #ee4aa2);
}

.blog-featured-card small,
.post-card small {
  color: var(--violet);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-featured-card h2 {
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 46px);
}

.blog-featured-card p {
  color: var(--muted);
  line-height: 1.75;
}

.blog-featured-card span {
  color: var(--violet);
  font-weight: 900;
}

.post-card {
  min-height: 220px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(28, 48, 98, 0.14);
}

.article-hero {
  height: auto;
  display: block;
  align-items: initial;
  justify-content: initial;
  text-align: left;
}

.article-hero .page-kicker {
  margin-left: 0;
}

.article-hero h1,
.article-hero p {
  margin-left: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--violet);
  font-weight: 900;
}

.article-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.article-cover {
  margin-bottom: 48px;
}

.article-body {
  max-width: 800px;
}

.article-body p {
  color: #3e4965;
  font-size: 18px;
  line-height: 1.85;
}

.article-body h2 {
  margin: 38px 0 10px;
  font-size: 30px;
}

.inner-footer {
  padding-top: 0;
}

.inner-footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
  .feature-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .page-hero,
  .article-hero {
    padding: 66px 0 38px;
    text-align: left;
  }

  .page-kicker,
  .page-hero h1,
  .page-hero p {
    margin-left: 0;
  }

  .split-section,
  .contact-layout,
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .info-grid,
  .feature-page-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-cta,
  .workflow-band {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 28px;
  }

  .page-cta .btn,
  .workflow-band .btn {
    width: 100%;
  }

  .story-card,
  .legal-card,
  .contact-form {
    padding: 26px;
  }

  .blog-art,
  .article-cover {
    min-height: 220px;
  }
}

/* ===== QR generator ===== */
.generator-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(128, 89, 255, 0.13), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(25, 200, 160, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.generator-hero {
  padding: 72px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 34px;
  align-items: end;
}

.generator-hero .page-kicker {
  margin-left: 0;
}

.generator-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.generator-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.generator-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(28, 48, 98, 0.08);
}

.generator-steps button {
  border: 0;
  border-radius: 16px;
  min-height: 58px;
  background: transparent;
  color: #5d6680;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.generator-steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2fb;
  color: var(--ink);
}

.generator-steps button.active {
  color: #fff;
  background: linear-gradient(90deg, #8059ff, #ee4aa2 58%, #ff8b42);
  box-shadow: 0 14px 30px rgba(128, 89, 255, 0.2);
}

.generator-steps button.active span {
  color: var(--violet);
  background: #fff;
}

.generator-workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  padding-bottom: 76px;
}

.generator-sidebar,
.generator-main,
.generator-preview-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.generator-sidebar,
.generator-preview-panel {
  position: sticky;
  top: 96px;
}

.generator-sidebar {
  padding: 18px;
}

.generator-main {
  min-height: 680px;
  padding: 28px;
}

.generator-preview-panel {
  padding: 22px;
}

.generator-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.generator-panel-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.generator-panel-head p,
.generator-panel-head span {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.generator-type-list {
  display: grid;
  gap: 9px;
}

.generator-type-list button {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 10px;
  background: transparent;
  color: #273253;
  font: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.generator-type-list button span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: rgba(128, 89, 255, 0.1);
  font-weight: 900;
}

.generator-type-list button strong {
  font-size: 13px;
}

.generator-type-list button:hover,
.generator-type-list button.active {
  border-color: rgba(128, 89, 255, 0.22);
  background: #f8f6ff;
}

.generator-step-panel {
  display: none;
}

.generator-step-panel.active {
  display: block;
}

.selected-type-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 8% 12%, rgba(128, 89, 255, 0.12), transparent 32%),
    #fff;
}

.selected-type-icon {
  width: 86px;
  height: 86px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #8059ff, #ee4aa2 58%, #ff8b42);
  font-size: 34px;
  box-shadow: 0 18px 35px rgba(128, 89, 255, 0.22);
}

.selected-type-card .page-kicker {
  margin: 0 0 10px;
}

.selected-type-card h3 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.selected-type-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.generator-form {
  display: grid;
  gap: 18px;
}

.generator-form select,
.generator-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfe5f2;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: 0;
}

.generator-form select:focus,
.generator-input:focus {
  border-color: rgba(128, 89, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(128, 89, 255, 0.12);
}

.generator-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.generator-actions.between {
  justify-content: space-between;
}

.download-actions {
  display: flex;
  gap: 12px;
}

.customizer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.customizer-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: #fff;
}

.customizer-section h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.color-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.color-row label {
  display: grid;
  gap: 8px;
  color: #273253;
  font-size: 12px;
  font-weight: 900;
}

.color-row input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  background: #fff;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #273253;
  font-size: 13px;
  font-weight: 900;
}

.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--violet);
}

.segmented-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.segmented-options button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #5d6680;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.segmented-options button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #8059ff, #ee4aa2);
}

.upload-drop {
  position: relative;
  min-height: 98px;
  border: 1px dashed rgba(128, 89, 255, 0.42);
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  color: var(--violet);
  background: #fbfaff;
  cursor: pointer;
}

.upload-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-drop span,
.upload-drop small {
  display: block;
}

.upload-drop span {
  font-weight: 900;
}

.upload-drop small {
  color: var(--muted);
  font-weight: 800;
}

.range-line {
  display: grid;
  gap: 12px;
  color: #273253;
  font-size: 13px;
  font-weight: 900;
}

.range-line input {
  accent-color: var(--violet);
}

.preview-stage {
  --qr-bg: #ffffff;
  min-height: 440px;
  border-radius: 26px;
  padding: 26px;
  display: grid;
  place-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 12% 10%, rgba(128, 89, 255, 0.1), transparent 32%),
    var(--qr-bg);
  border: 1px solid var(--line);
}

.preview-frame-label {
  align-self: end;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(90deg, #8059ff, #ee4aa2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.preview-qr {
  --qr-color: #8059ff;
  --qr-accent: #ee4aa2;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 28px;
  position: relative;
  padding: 34px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(28, 48, 98, 0.14);
}

.preview-dots {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 5px;
}

.preview-dots i {
  border-radius: 7px;
  background: linear-gradient(135deg, var(--qr-color), var(--qr-accent));
}

.preview-qr.no-gradient .preview-dots i {
  background: var(--qr-color);
}

.preview-dots i.is-hidden {
  opacity: 0;
}

.preview-qr[data-pattern="square"] .preview-dots i {
  border-radius: 2px;
}

.preview-qr[data-pattern="dots"] .preview-dots i {
  border-radius: 50%;
}

.preview-eye {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 8px solid var(--qr-color);
  border-radius: 18px;
  background: #fff;
  z-index: 2;
}

.preview-eye::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  background: var(--qr-accent);
}

.preview-eye.tl {
  top: 34px;
  left: 34px;
}

.preview-eye.tr {
  top: 34px;
  right: 34px;
}

.preview-eye.bl {
  left: 34px;
  bottom: 34px;
}

.preview-qr[data-eye="sharp"] .preview-eye,
.preview-qr[data-eye="sharp"] .preview-eye::after {
  border-radius: 3px;
}

.preview-qr[data-eye="circle"] .preview-eye,
.preview-qr[data-eye="circle"] .preview-eye::after {
  border-radius: 50%;
}

.preview-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 14px 28px rgba(28, 48, 98, 0.16);
}

.preview-logo .cube {
  width: 38px;
  height: 38px;
}

.preview-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.preview-meta span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #273253;
  font-size: 13px;
  font-weight: 900;
}

.preview-meta span::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(25, 200, 160, 0.12);
}

@media (max-width: 1180px) {
  .generator-hero,
  .generator-workspace {
    grid-template-columns: 1fr;
  }

  .generator-sidebar,
  .generator-preview-panel {
    position: static;
  }

  .generator-type-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .generator-hero {
    padding: 54px 0 28px;
  }

  .generator-steps {
    grid-template-columns: 1fr;
  }

  .generator-type-list,
  .customizer-grid {
    grid-template-columns: 1fr;
  }

  .generator-main,
  .generator-sidebar,
  .generator-preview-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .selected-type-card,
  .color-row {
    grid-template-columns: 1fr;
  }

  .generator-actions,
  .generator-actions.between,
  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .generator-actions .btn,
  .download-actions .btn {
    width: 100%;
  }

  .preview-stage {
    min-height: 360px;
  }
}


/* Select wrapper with custom arrow */
.select-wrap {
    position: relative;
}
.select-wrap::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    pointer-events: none;
    opacity: 0.5;
}
.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
}

/* Stripe card fields container */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dfe5f2;
    border-radius: 16px;
}
.card-section-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--your-muted-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stripe iframe mount targets — must have a fixed height */
.stripe-input {
    height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border: 1px solid #dfe5f2;
    border-radius: 16px;
}
.alert {
	color: red;
	text-transform: uppercase;
}