:root {
  --ink: #24123f;
  --muted: #6f5f85;
  --purple: #57228c;
  --purple-dark: #2b0c4e;
  --purple-mid: #7332aa;
  --violet: #b991db;
  --lavender: #f5edfb;
  --cream: #fff8ef;
  --gold: #d79b2f;
  --gold-light: #f5c96b;
  --white: #fff;
  --card: rgba(255,255,255,.64);
  --border: rgba(87,34,140,.16);
  --shadow: 0 22px 70px rgba(53, 23, 83, .18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(216, 173, 255, .5), transparent 33%),
    radial-gradient(circle at bottom right, rgba(255, 222, 166, .32), transparent 34%),
    #f9f2ff;
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/basserli/images/bg1.png") center / 760px repeat;
  opacity: .34;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.76) 58%, rgba(83,30,126,.12));
  pointer-events: none;
  z-index: -1;
}

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

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

.page-shell {
  width: min(1320px, calc(100% - 44px));
  margin: 22px auto 34px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  min-height: 74px;
  padding: 10px 18px 10px 20px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(72, 30, 110, .12);
  backdrop-filter: blur(18px);
}

.brand { justify-self: end; }
.brand img { width: 146px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  color: #2d1c43;
  font-size: 16px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 10px 2px;
  opacity: .88;
}

.main-nav a:hover,
.main-nav a.active { color: var(--purple); opacity: 1; }

.main-nav a.active::after {
  content: "✦";
  position: absolute;
  inset-inline: 0;
  bottom: -9px;
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.header-actions { display: flex; align-items: center; gap: 12px; justify-self: start; }

.btn,
.buy-btn {
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover,
.buy-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }

.btn-primary,
.buy-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  box-shadow: 0 16px 34px rgba(83, 25, 132, .28), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-primary span,
.buy-btn span { color: var(--gold-light); }

.btn-soft {
  min-width: 146px;
  height: 48px;
  color: #2c1b41;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(90, 43, 123, .13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.btn-small { min-width: 132px; height: 48px; }

.menu-toggle { display: none; }

.hero-section {
  position: relative;
  margin-top: 16px;
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.74) 52%, rgba(247, 236, 255, .88)),
    radial-gradient(circle at 14% 24%, rgba(86, 26, 137, .48), transparent 35%),
    linear-gradient(135deg, rgba(52,16,91,.92), rgba(182,143,217,.33));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/basserli/images/bg1.png") center / cover;
  opacity: .46;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 118px;
  background: linear-gradient(0deg, rgba(255,255,255,.78), transparent);
  pointer-events: none;
}

.hero-art,
.hero-content { position: relative; z-index: 1; }

.hero-art {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-art img {
  width: min(660px, 106%);
  margin-inline-start: -40px;
  margin-bottom: -8px;
  filter: drop-shadow(0 22px 34px rgba(43,12,78,.18));
}

.hero-content {
  padding: 56px 66px 58px 46px;
  max-width: 560px;
  justify-self: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-dark);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 500;
}

.hero-content h1::before,
.hero-content h1::after {
  content: "✦";
  color: var(--gold);
  font-size: .36em;
  vertical-align: middle;
  margin: 0 14px;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 480px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.9;
  color: #4e3e65;
  font-weight: 500;
}

.trust-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.pill {
  min-height: 76px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: #37204f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(87,34,140,.13);
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
}

.pill-icon { display: none; }

.pricing-section,
.steps-section { padding-top: 54px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 500;
}

.section-heading.compact h2 { font-size: clamp(25px, 2.6vw, 34px); }

.decor-line {
  width: min(150px, 18vw);
  height: 1px;
  position: relative;
  background: linear-gradient(90deg, transparent, rgba(215,155,47,.85), transparent);
}

.decor-line::after {
  content: "✦";
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  color: var(--gold);
  font-size: 14px;
}

.section-subtitle {
  margin: 10px auto 28px;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.price-card {
  position: relative;
  min-height: 520px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,248,255,.54)),
    radial-gradient(circle at 50% 10%, rgba(219, 190, 255, .42), transparent 50%);
  border: 1px solid rgba(87,34,140,.18);
  box-shadow: 0 18px 54px rgba(50,18,86,.12), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
}

.price-card.featured {
  border-color: rgba(215,155,47,.62);
  box-shadow: 0 24px 78px rgba(80, 28, 127, .18), 0 0 0 2px rgba(245,201,107,.34) inset;
  transform: translateY(-10px);
}

.card-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(245,201,107,.32), transparent 60%);
  pointer-events: none;
}

.ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 34px 12px;
  border-radius: 0 0 18px 18px;
  color: #fff;
  background: linear-gradient(135deg, #d5942e, #b36d1b);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(163, 99, 23, .22);
  z-index: 2;
}

.ribbon-purple { background: linear-gradient(135deg, var(--purple-mid), var(--purple)); }

.package-art {
  width: min(250px, 78%);
  height: 210px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 18px 24px rgba(73,25,115,.14));
}

.package-art-large { width: min(278px, 84%); }
.package-art img { width: 100%; height: 100%; object-fit: contain; }

.price-card h3 {
  margin: 6px 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 500;
}

.coins-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #3c2456;
  font-size: 21px;
  font-weight: 500;
}

.coins-row::after {
  content: "";
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff5ba, #e4a536 38%, #9f5b12 100%);
  border: 2px solid rgba(255,238,165,.8);
  box-shadow: 0 4px 10px rgba(146, 84, 18, .22);
}

.price {
  margin: 12px 0 0;
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1;
  color: var(--purple-dark);
  font-weight: 500;
}

.divider {
  width: 72%;
  margin: 19px 0 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,155,47,.55), transparent);
  position: relative;
}

.divider span {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  padding: 0 8px;
  color: var(--gold);
  background: rgba(255,250,255,.88);
  font-size: 13px;
}

.card-copy {
  min-height: 56px;
  margin: 0 0 22px;
  color: #6a587f;
  font-size: 17px;
  line-height: 1.65;
}

.buy-btn {
  width: min(245px, 100%);
  min-height: 54px;
  margin-top: auto;
  font-size: 18px;
  border-radius: 18px;
}

.steps-section { margin-top: 12px; }

.steps-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.step-card {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 22px 18px 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(87,34,140,.13);
  box-shadow: 0 16px 40px rgba(50,18,86,.1), inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter: blur(12px);
}

.step-card::after {
  content: "•••";
  position: absolute;
  inset-inline-end: calc(100% + 3px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(87,34,140,.5);
  letter-spacing: 5px;
  font-size: 18px;
}

.step-card:first-child::after { display: none; }

.step-number {
  position: absolute;
  top: 16px;
  inset-inline-end: 18px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  font-weight: 500;
  box-shadow: 0 10px 18px rgba(53, 16, 91, .22);
}

.step-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(73,25,115,.11));
}

.step-card h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.use-section {
  margin: 38px 0 30px;
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 50%, rgba(245,201,107,.28), transparent 28%),
    linear-gradient(135deg, rgba(62,16,103,.95), rgba(102,38,153,.88));
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 56px rgba(54, 16, 91, .22);
}

.use-section .eyebrow { color: var(--gold-light); }
.use-section h2 { margin: 0 0 10px; font-size: clamp(26px, 2.5vw, 36px); color: #fff; }
.use-section p { margin: 0; max-width: 780px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.8; }
.use-section .btn-primary { min-height: 54px; padding: 0 24px; background: linear-gradient(135deg, #f1b94f, #c78022); color: #2b0c4e; }
.use-section .btn-primary span { color: #fff; }

.site-footer {
  margin-top: 14px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  color: rgba(255,255,255,.86);
  background: linear-gradient(135deg, #250745, #3a0d68 58%, #21043e);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(43,12,78,.22);
}

.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-brand p { margin: 0; font-size: 16px; line-height: 1.8; max-width: 230px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links h3 {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 17px;
}

.footer-links a {
  display: block;
  margin: 9px 0;
  color: rgba(255,255,255,.74);
  font-size: 15px;
}

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 150px 1fr; }
  .brand img { width: 132px; }
  .header-actions { display: none; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-art { min-height: 330px; justify-content: center; }
  .hero-art img { width: min(720px, 108%); margin: 0; }
  .hero-content { padding: 28px 42px 46px; justify-self: center; text-align: center; }
  .pricing-grid { gap: 18px; }
  .price-card { padding-inline: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::after { display: none; }
}

@media (max-width: 820px) {
  .page-shell { width: min(100% - 24px, 620px); margin-top: 12px; }
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 10px 14px;
    border-radius: 22px;
  }
  .brand { justify-self: end; }
  .main-nav { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
    font-size: 22px;
  }
  .hero-section { border-radius: 28px; min-height: auto; }
  .hero-art { min-height: 265px; }
  .hero-art img { width: min(600px, 122%); margin-bottom: -14px; }
  .hero-content { padding: 18px 22px 34px; }
  .hero-content h1 { font-size: 36px; }
  .hero-content h1::before, .hero-content h1::after { margin: 0 8px; }
  .hero-text { font-size: 17px; line-height: 1.75; }
  .trust-pills { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .pill { min-height: 58px; }
  .pricing-section, .steps-section { padding-top: 38px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 29px; }
  .decor-line { width: 52px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; border-radius: 28px; }
  .price-card.featured { transform: none; }
  .package-art { height: 190px; }
  .step-card { grid-template-columns: 82px 1fr; padding: 16px 18px 16px 14px; border-radius: 24px; }
  .step-card img { width: 82px; height: 82px; }
  .use-section { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .use-section .btn { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding: 26px 24px; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand img { width: 120px; }
  .hero-art { min-height: 230px; }
  .price { font-size: 34px; }
  .coins-row { font-size: 19px; }
}
