:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #ffffff;
  --text: #172033;
  --muted: #5f6c84;
  --line: rgba(23, 32, 51, 0.08);
  --primary: #4d7dff;
  --primary-dark: #3055d4;
  --accent: #79c8ff;
  --shadow: 0 18px 60px rgba(25, 45, 86, 0.10);
  --shadow-soft: 0 12px 30px rgba(25, 45, 86, 0.07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(121, 200, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(77, 125, 255, 0.12), transparent 24%),
    var(--bg);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.72);
  border-bottom: 1px solid rgba(23, 32, 51, 0.05);
}

.nav-wrap {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(190px, 16vw, 260px);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav a,
.nav-link {
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav a:hover,
.nav a:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #6b9bff);
  box-shadow: 0 12px 26px rgba(77, 125, 255, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.button--light {
  color: var(--text);
  background: #ffffff;
  border: 2px solid #000000;
}

.button--light:hover,
.button--light:focus-visible {
  color: #ffffff;
  background: #000000;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.button--small {
  min-height: 46px;
  padding-inline: 1rem;
}

.button--full {
  width: 100%;
}

.hero {
  padding: clamp(3rem, 6vw, 6rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(77, 125, 255, 0.10);
  margin-bottom: 1.25rem;
}

.hero h1,
.section-head h2,
.pricing-copy h2,
.cta-card h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 12ch;
}

.hero h1 span {
  color: var(--primary);
}

.hero-text,
.section-head p,
.feature-card p,
.step-card p,
.pricing-copy p,
.cta-card p,
.highlight-card p,
.pricing-card ul,
.footer-wrap p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.trust-list li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 32, 51, 0.06);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
}

.hero-card__glow {
  position: absolute;
  inset: 6% 10% auto;
  height: 75%;
  background: radial-gradient(circle, rgba(121, 200, 255, 0.33), transparent 70%);
  filter: blur(22px);
  z-index: 0;
}

.mockup-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow);
}

.mockup-window__top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.mockup-window__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(23, 32, 51, 0.16);
}

.mockup-content {
  padding: 1.5rem;
}

.mini-profile,
.price-card,
.highlight-card,
.feature-card,
.step-card,
.pricing-card {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.mini-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
}

.mini-profile__avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.mini-profile__info {
  display: grid;
  gap: 0.25rem;
}

.mini-profile__info span,
.price-card span,
.pricing-label,
.pricing-subtitle {
  color: var(--muted);
}

.mini-lines {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0;
}

.mini-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 125, 255, 0.16), rgba(121, 200, 255, 0.28));
}

.w-100 { width: 100%; }
.w-90 { width: 90%; }
.w-70 { width: 70%; }
.w-65 { width: 65%; }

.price-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem;
  border-radius: 22px;
}

.price-card p,
.price-card strong,
.pricing-card p,
.pricing-card li {
  margin: 0;
}

.price-card strong {
  font-size: 2rem;
}

.highlights,
.section,
.cta-section {
  padding: 1.2rem 0 5rem;
}

.highlight-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 1.25rem;
}

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

.highlight-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.highlight-card h2,
.feature-card h3,
.step-card h3,
.pricing-card strong,
.cta-card h2 {
  margin: 0 0 0.7rem;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4rem;
}

.section-head--left {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.pricing-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.feature-card,
.step-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.icon-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 1rem;
}

.section--soft {
  background: rgba(255, 255, 255, 0.45);
}

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

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  padding: 2rem;
  border-radius: 28px;
}

.pricing-value {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 1rem 0 0.25rem;
}

.pricing-value .currency {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.55rem;
}

.pricing-value strong {
  font-size: 4.5rem;
  line-height: 0.95;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.8rem;
}

.pricing-card li {
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: 30px;
  background: linear-gradient(135deg, #3f65e9, #79c8ff);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-card .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
}

body.modal-open {
  overflow: hidden;
}

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

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.about-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 51, 0.42);
  backdrop-filter: blur(10px);
}

.about-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 2rem));
  overflow-y: auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(121, 200, 255, 0.2), transparent 34%),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 90px rgba(23, 32, 51, 0.22);
  padding: clamp(1.2rem, 3vw, 2rem);
  outline: none;
}

.about-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.about-modal__head {
  max-width: 720px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.about-modal__head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-modal__head p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-info-card {
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(244, 247, 251, 0.74);
  border: 1px solid rgba(23, 32, 51, 0.07);
}

.about-info-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.about-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-info-card a {
  color: var(--primary-dark);
  font-weight: 700;
}

.about-info-card--brand {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.about-brand-logo {
  width: min(100%, 260px);
  max-height: 86px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.about-modal__grid--questions {
  align-items: stretch;
}

.about-info-card--wide {
  grid-column: 1 / -1;
}

.footer {
  padding: 0 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-wrap a {
  color: var(--primary-dark);
  font-weight: 700;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.site-version {
  color: rgba(96, 112, 137, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 960px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

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

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

  .nav-wrap > .button--small {
    display: none;
  }

  .hero-grid,
  .pricing-wrap,
  .cta-card,
  .highlight-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .cta-card {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .about-modal {
    align-items: end;
    padding: 0.7rem;
  }

  .about-modal__panel {
    max-height: calc(100vh - 1.4rem);
    border-radius: 26px;
  }

  .about-modal__grid {
    grid-template-columns: 1fr;
  }

  :root {
    --header-height: 78px;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding-top: 2rem;
  }

  .button,
  .trust-list li {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .footer-meta {
    justify-content: flex-start;
  }
}

/* Homepage CV template showcase */
.hero-card--templates {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
}

.template-showcase {
  position: relative;
  width: min(100%, 550px);
  height: 455px;
  perspective: 1200px;
}

.template-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(200px, 20vw, 255px);
  aspect-ratio: 794 / 1122;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 7px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 64px rgba(25, 45, 86, 0.17);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.template-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  image-rendering: auto;
  transform: translateZ(0);
}

.template-card--front {
  z-index: 2;
  transform: translate(-58%, -50%) rotate(-4deg) rotateY(8deg);
}

.template-card--back {
  z-index: 1;
  transform: translate(1%, -46%) rotate(5deg) rotateY(-10deg) scale(0.96);
}

.hero-card--templates:hover .template-card--front {
  transform: translate(-61%, -51%) rotate(-6deg) rotateY(10deg) translateY(-4px);
  box-shadow: 0 30px 80px rgba(25, 45, 86, 0.22);
}

.hero-card--templates:hover .template-card--back {
  transform: translate(4%, -47%) rotate(7deg) rotateY(-12deg) scale(0.96) translateY(-2px);
}

.template-note {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  z-index: 3;
  margin: 0;
  transform: translateX(-50%) rotate(-2deg);
  color: var(--primary);
  font-size: clamp(1.15rem, 1.9vw, 1.48rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  text-shadow: 0 10px 25px rgba(77, 125, 255, 0.18);
}

.template-note::before {
  content: "↗";
  display: inline-block;
  margin-right: 0.4rem;
  transform: rotate(-55deg);
}

@media (max-width: 1100px) {
  .hero-card--templates {
    min-height: 500px;
  }

  .template-showcase {
    height: 420px;
  }

  .template-card {
    width: clamp(185px, 23vw, 238px);
  }
}

@media (max-width: 960px) {
  .hero-card--templates {
    min-height: 520px;
  }

  .template-showcase {
    width: min(100%, 620px);
  }

  .template-card {
    width: clamp(198px, 31vw, 255px);
  }
}

@media (max-width: 640px) {
  .hero-card--templates {
    min-height: 420px;
    margin-top: 1.5rem;
  }

  .template-showcase {
    height: 360px;
  }

  .template-card {
    width: clamp(150px, 43vw, 198px);
    border-width: 6px;
    border-radius: 14px;
  }

  .template-card--front {
    transform: translate(-60%, -50%) rotate(-4deg) rotateY(6deg);
  }

  .template-card--back {
    transform: translate(1%, -46%) rotate(5deg) rotateY(-8deg) scale(0.95);
  }

  .template-note {
    bottom: 0;
    width: 90%;
  }
}

/* Homepage conversion updates */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(77, 125, 255, 0.32);
  box-shadow: 0 18px 50px rgba(77, 125, 255, 0.16);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(77, 125, 255, 0.10);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (min-width: 961px) {
  .pricing-wrap {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .hero-grid {
    grid-template-columns: 0.98fr 1.02fr;
  }

  .hero-card--templates {
    min-height: 575px;
  }

  .template-showcase {
    width: min(100%, 620px);
    height: 500px;
  }

  .template-card {
    width: clamp(230px, 23vw, 295px);
  }
}

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


/* Pricing cards: align call-to-action buttons cleanly at the same height */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .button--full {
  margin-top: auto;
}

/* ================================
   Mobile friendly polish — homepage
   Keeps layout light and prevents horizontal overflow.
   ================================ */
html,
body {
  overflow-x: hidden;
}

.button,
.menu-toggle,
.template-card,
.pricing-card,
.highlight-card,
.feature-card,
.step-card {
  touch-action: manipulation;
}

@media (max-width: 960px) {
  .header {
    background: rgba(244, 247, 251, 0.92);
  }

  .nav-wrap {
    gap: 0.65rem;
  }

  .brand-logo {
    width: clamp(142px, 36vw, 210px);
  }

  .nav {
    z-index: 80;
  }

  .hero {
    padding: 2.2rem 0 3.2rem;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 4rem);
    line-height: 1.03;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-card--templates {
    width: 100%;
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .pricing-wrap {
    gap: 1.4rem;
  }

  .pricing-card {
    padding: 1.45rem;
  }

  .pricing-badge {
    position: static;
    width: fit-content;
    margin-bottom: 0.75rem;
  }

  .pricing-value strong {
    font-size: 3.8rem;
  }

  .cta-card {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .about-modal {
    align-items: end;
    padding: 0.7rem;
  }

  .about-modal__panel {
    max-height: calc(100vh - 1.4rem);
    border-radius: 26px;
  }

  .about-modal__grid {
    grid-template-columns: 1fr;
  }

  :root {
    --header-height: 70px;
  }

  .nav-wrap {
    min-height: var(--header-height);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-logo {
    width: clamp(132px, 44vw, 178px);
  }

  .menu-toggle {
    justify-self: end;
  }

  .nav {
    left: 0.6rem;
    right: 0.6rem;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .hero h1,
  .section-head h2,
  .pricing-copy h2,
  .cta-card h2 {
    letter-spacing: -0.035em;
  }

  .hero-card--templates {
    min-height: 390px;
    margin-top: 0.6rem;
  }

  .template-showcase {
    width: min(100%, 360px);
    height: 330px;
  }

  .template-card {
    width: clamp(132px, 42vw, 176px);
    border-width: 5px;
    border-radius: 13px;
  }

  .template-card--front {
    transform: translate(-61%, -52%) rotate(-4deg) rotateY(4deg);
  }

  .template-card--back {
    transform: translate(2%, -47%) rotate(5deg) rotateY(-6deg) scale(0.94);
  }

  .template-note {
    bottom: 0.15rem;
    font-size: 1rem;
  }

  .highlights,
  .section,
  .cta-section {
    padding-bottom: 3.2rem;
  }

  .highlight-card,
  .feature-card,
  .step-card,
  .pricing-card,
  .cta-card {
    border-radius: 20px;
    padding: 1.2rem;
  }

  .pricing-value strong {
    font-size: 3.35rem;
  }

  .cta-card .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .template-showcase {
    height: 305px;
  }

  .template-card {
    width: 138px;
  }

  .hero-card--templates {
    min-height: 365px;
  }
}

/* Conversion copy additions */
.hero-price-note {
  margin: 1rem 0 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.section--compact {
  padding: 0 0 2.5rem;
}

.trust-proof-card,
.motivation-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.trust-proof-card h2,
.motivation-teaser h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.proof-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.35rem;
  border-radius: 18px;
  background: rgba(77, 125, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.proof-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--primary-dark);
  font-weight: 900;
}

.motivation-teaser p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

.coming-soon-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.3rem;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(77, 125, 255, 0.10);
  border: 1px solid rgba(77, 125, 255, 0.16);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 820px) {
  .trust-proof-card,
  .motivation-teaser {
    grid-template-columns: 1fr;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .coming-soon-pill {
    justify-self: start;
  }
}


/* Homepage voorbeeld-CV update — 2026-05-06
   Alleen pagina 1 van de aangeleverde PDF's wordt als afbeelding getoond.
   Kaarten zijn 20px groter dan de vorige showcase, zonder HTML/PDF-flow te raken. */
.template-card {
  width: calc(clamp(200px, 20vw, 255px) + 20px);
}

@media (min-width: 961px) {
  .template-card {
    width: calc(clamp(230px, 23vw, 295px) + 20px);
  }
}

@media (max-width: 1100px) {
  .template-card {
    width: calc(clamp(185px, 23vw, 238px) + 20px);
  }
}

@media (max-width: 960px) {
  .template-card {
    width: calc(clamp(198px, 31vw, 255px) + 20px);
  }
}

@media (max-width: 640px) {
  .template-card {
    width: calc(clamp(150px, 43vw, 198px) + 20px);
  }
}

@media (max-width: 380px) {
  .template-card {
    width: 158px;
  }
}

/* Homepage voorbeeld-CV update — 2026-05-17
   Verwijdert de blauwe tekst/pijl, vergroot de voorbeeld-CV's 25% en zet ze hoger.
   Alleen de homepage showcase wordt geraakt; builder, preview en PDF blijven ongemoeid. */
.template-note {
  display: none !important;
}

.hero-card--templates .template-showcase {
  transform: translateY(-100px);
}

.template-card {
  width: calc((clamp(200px, 20vw, 255px) + 20px) * 1.25);
}

@media (min-width: 961px) {
  .template-card {
    width: calc((clamp(230px, 23vw, 295px) + 20px) * 1.25);
  }
}

@media (max-width: 1100px) {
  .template-card {
    width: calc((clamp(185px, 23vw, 238px) + 20px) * 1.25);
  }
}

@media (max-width: 960px) {
  .template-card {
    width: calc((clamp(198px, 31vw, 255px) + 20px) * 1.25);
  }
}

@media (max-width: 640px) {
  .hero-card--templates .template-showcase {
    transform: translateY(-60px);
  }

  .template-card {
    width: calc((clamp(150px, 43vw, 198px) + 20px) * 1.25);
  }
}

@media (max-width: 380px) {
  .template-card {
    width: calc(158px * 1.25);
  }
}

/* Mobile hero finetune — 2026-05-17
   Voor mobile: resultaat eerder tonen, CV's rustiger plaatsen en de eyebrow compact houden.
   Desktop, builder, preview en PDF blijven ongemoeid. */
@media (max-width: 640px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > .eyebrow {
    order: 1;
    width: fit-content !important;
    max-width: max-content;
    justify-self: start;
    align-self: flex-start;
    white-space: nowrap;
    padding-inline: 0.78rem;
  }

  .hero-copy > h1 {
    order: 2;
  }

  .hero-copy > .hero-text {
    order: 3;
  }

  .hero-copy > .hero-actions {
    order: 5;
  }

  .hero {
    padding-top: 0.85rem;
  }

  .hero-copy > .hero-text {
    margin-top: 0.75rem;
  }

  .hero-copy > .hero-actions {
    margin-top: 0.9rem;
  }

  .hero-card--templates {
    order: 4;
    min-height: 350px;
    margin-top: 0.9rem;
    margin-bottom: 0.65rem;
  }

  .hero-card--templates .template-showcase {
    width: min(115%, 390px);
    height: 315px;
    transform: translateX(-10%) !important;
  }

  .hero-card--templates .template-card {
    width: clamp(168px, 50vw, 205px);
  }
}

@media (max-width: 380px) {
  .hero-card--templates {
    min-height: 330px;
  }

  .hero-card--templates .template-showcase {
    height: 300px;
  }

  .hero-card--templates .template-card {
    width: clamp(158px, 49vw, 188px);
  }
}


/* Mobile horizontaal: voorbeeld-CV's iets lager zodat ze niet over de bulletpoints vallen. */
@media screen and (max-width: 950px) and (orientation: landscape) and (max-height: 560px) {
  .hero-card--templates {
    margin-top: 2.25rem;
    min-height: 430px;
  }

  .hero-card--templates .template-showcase {
    transform: translateY(-18px) !important;
  }

  .trust-list {
    margin-top: 1.4rem;
  }
}

/* Hero showcase height fix — 2026-05-25
   Alleen de homepage voorbeeld-CV's iets terug omlaag op desktop/tablet.
   Mobile blijft de bewuste volgorde: tekst → knoppen → voorbeeld-CV's. */
@media (min-width: 641px) {
  .hero-card--templates .template-showcase {
    transform: translateY(-40px);
  }
}


/* Pricing upgrade: centered copy + 4 clean packs */
.pricing-wrap--centered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

.pricing-wrap--centered .pricing-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pricing-wrap--centered .pricing-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.pricing-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-cards--three .pricing-card {
  min-width: 0;
}

.pricing-card--gold {
  border-color: rgba(205, 153, 45, 0.48);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(248, 216, 116, 0.9), rgba(177, 120, 28, 0.62)) border-box;
  box-shadow:
    0 28px 76px rgba(178, 121, 31, 0.26),
    0 0 46px rgba(248, 216, 116, 0.18),
    0 0 0 1px rgba(248, 216, 116, 0.20) inset;
}

.pricing-badge--gold {
  color: #8a5b00;
  background: linear-gradient(135deg, rgba(255, 239, 168, 0.95), rgba(232, 183, 69, 0.35));
  border: 1px solid rgba(196, 139, 28, 0.28);
}

.button--gold {
  color: #281900;
  background: linear-gradient(135deg, #ffe28a, #d99b24 56%, #b97710);
  box-shadow: 0 14px 30px rgba(185, 119, 16, 0.28);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: linear-gradient(135deg, #ffd75e, #c98716 58%, #a86609);
}

.pricing-card--gold .pricing-value .currency {
  color: var(--text);
}

.pricing-card--gold .pricing-label {
  color: var(--text);
}

.pricing-card--gold li::before {
  background: linear-gradient(135deg, #ffe28a, #d99b24);
}

@media (min-width: 961px) {
  .pricing-wrap--centered {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 760px) {
  .pricing-wrap--centered {
    gap: 1.35rem;
  }

  .pricing-wrap--centered .pricing-copy {
    text-align: left;
  }

  .pricing-wrap--centered .pricing-copy .eyebrow {
    margin-left: 0;
    margin-right: 0;
  }

  .pricing-cards--three {
    grid-template-columns: 1fr;
  }
}


/* Motivation teaser button polish: desktop button follows its content instead of stretching too wide */
@media (min-width: 761px) {
  .motivation-teaser .motivation-button {
    width: fit-content;
    min-width: 300px;
    max-width: 380px;
    justify-self: end;
    padding-inline: 2rem;
  }
}


/* Mobile modal/nav stability fix — Over ons */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.modal-open {
  width: 100%;
}

.about-modal {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  touch-action: none;
}

.about-modal__backdrop {
  touch-action: none;
}

.about-modal__panel {
  max-height: calc(100dvh - max(2rem, env(safe-area-inset-top)) - max(2rem, env(safe-area-inset-bottom)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-gutter: stable;
}

@media (max-width: 960px) {
  .nav a,
  .nav-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 1rem;
  }

  .nav-link {
    appearance: none;
    -webkit-appearance: none;
  }
}

@media (max-width: 640px) {
  .about-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
      max(0.65rem, env(safe-area-inset-top))
      max(0.65rem, env(safe-area-inset-right))
      max(0.65rem, env(safe-area-inset-bottom))
      max(0.65rem, env(safe-area-inset-left));
  }

  .about-modal__panel {
    width: 100%;
    max-height: calc(100dvh - max(1.3rem, env(safe-area-inset-top)) - max(1.3rem, env(safe-area-inset-bottom)));
    border-radius: 24px;
    padding: 1.25rem;
  }

  .about-modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .about-modal__head {
    margin-top: -0.25rem;
  }

  .about-modal__head h2 {
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }

  .about-modal__head p {
    font-size: 0.95rem;
  }

  .about-info-card {
    padding: 1rem;
  }
}

/* FAQ sections inside the Vragen modal */
.question-section-title {
  grid-column: 1 / -1;
  margin: 0.65rem 0 0.1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.12);
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.question-section-title:first-child {
  margin-top: 0;
}


/* Profile update: grotere pricing cards + XP beloning beter zichtbaar */
.pricing-cards--three {
  gap: 1.25rem;
}

.pricing-cards--three .pricing-card {
  min-height: 520px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.pricing-cards--three .pricing-card ul {
  flex: 1;
}

.pricing-cards--three .pricing-card li strong {
  color: var(--primary-dark);
}

.pricing-card--gold li strong {
  color: #8a5b00;
}

@media (min-width: 1100px) {
  .pricing-wrap--centered {
    width: min(100%, 1280px);
  }

  .pricing-cards--three {
    grid-template-columns: repeat(3, minmax(270px, 1fr));
  }
}

@media (max-width: 760px) {
  .pricing-cards--three .pricing-card {
    min-height: 500px;
    padding: 2.1rem 1.55rem;
  }
}
/* ==========================================================
   GoedkoopCV SCROLLBAR LOCK — V1.0.0.1
   Eén vaste lichtblauwe scrollbar-stijl, overal hetzelfde.
   Visueel-only: geen invloed op A4, preview, PDF, data of pagination.
   ========================================================== */
html,
body,
body * {
  scrollbar-width: thin !important;
  scrollbar-color: #4d9cff rgba(77, 156, 255, 0.16) !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
body *::-webkit-scrollbar-track {
  background: rgba(77, 156, 255, 0.16) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb {
  min-height: 56px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7cc7ff 0%, #4d9cff 100%) !important;
  box-shadow: none !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
body *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #66b9ff 0%, #2f86ff 100%) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
body *::-webkit-scrollbar-corner {
  background: rgba(77, 156, 255, 0.16) !important;
}

/* Juridische downloadlinks in Over ons */
.about-info-card a[href$=".pdf"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: var(--primary-dark);
  font-weight: 800;
}
.about-info-card a[href$=".pdf"]::before {
  content: "📄";
}

/* Homepage Profile teaser — 2026-06-02
   Nieuwe homepage-sectie met badge kaartspel-effect. Alleen index/style geraakt. */
.profile-home-section {
  padding-top: 0;
}

.profile-home-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid rgba(226, 235, 252, 0.95);
  box-shadow: 0 30px 90px rgba(25, 45, 86, 0.12);
}

.profile-home-copy {
  position: relative;
  z-index: 2;
}

.profile-home-copy h2 {
  margin: 0;
  max-width: 12.5ch;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.profile-home-copy p {
  max-width: 62ch;
  margin: 1.05rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.profile-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.profile-badge-showcase {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1100px;
}


.rank-card {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 15vw, 205px);
  min-height: 245px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(214, 226, 255, 0.95);
  box-shadow:
    0 26px 54px rgba(25, 45, 86, 0.18),
    0 10px 24px rgba(25, 45, 86, 0.10);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-card img {
  width: min(100%, 136px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(25, 45, 86, 0.16));
}

.rank-card span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.rank-card--bronze {
  transform: translate(-74%, 8%) rotate(-10deg) rotateY(12deg) scale(0.94);
  background: linear-gradient(180deg, #fffaf4 0%, #fff2e2 100%);
  border-color: rgba(220, 150, 84, 0.24);
  box-shadow:
    0 24px 48px rgba(93, 63, 37, 0.16),
    0 10px 22px rgba(220, 150, 84, 0.16);
}

.rank-card--silver {
  z-index: 3;
  transform: translate(0, -4%) rotate(1deg) translateZ(36px);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border-color: rgba(156, 178, 218, 0.30);
  box-shadow:
    0 34px 68px rgba(25, 45, 86, 0.20),
    0 14px 30px rgba(77, 125, 255, 0.14);
}

.rank-card--gold {
  z-index: 2;
  transform: translate(74%, 10%) rotate(10deg) rotateY(-12deg) scale(0.94);
  background: linear-gradient(180deg, #fffdf2 0%, #fff7d6 100%);
  border-color: rgba(222, 174, 57, 0.28);
  box-shadow:
    0 24px 48px rgba(104, 78, 20, 0.15),
    0 10px 22px rgba(222, 174, 57, 0.15);
}

.profile-badge-showcase:hover .rank-card--bronze {
  transform: translate(-80%, 6%) rotate(-13deg) rotateY(14deg) scale(0.95) translateY(-4px);
}

.profile-badge-showcase:hover .rank-card--silver {
  transform: translate(0, -9%) rotate(0deg) translateZ(46px) translateY(-6px);
  box-shadow:
    0 38px 74px rgba(25, 45, 86, 0.22),
    0 16px 34px rgba(77, 125, 255, 0.16);
}

.profile-badge-showcase:hover .rank-card--gold {
  transform: translate(80%, 8%) rotate(13deg) rotateY(-14deg) scale(0.95) translateY(-4px);
}

@media (max-width: 960px) {
  .profile-home-card {
    grid-template-columns: 1fr;
  }

  .profile-home-copy h2 {
    max-width: 100%;
  }

  .profile-badge-showcase {
    min-height: 340px;
  }

  .rank-card {
    width: clamp(142px, 24vw, 190px);
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .profile-home-section {
    padding-bottom: 3.2rem;
  }

  .profile-home-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .profile-home-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .profile-home-actions .button {
    width: 100%;
  }

  .profile-badge-showcase {
    min-height: 285px;
    margin-top: 0.2rem;
  }

  .rank-card {
    width: clamp(104px, 33vw, 136px);
    min-height: 174px;
    padding: 0.85rem 0.65rem;
    border-radius: 20px;
  }

  .rank-card img {
    width: min(100%, 88px);
  }

  .rank-card span {
    font-size: 0.84rem;
  }

  .rank-card--bronze {
    transform: translate(-66%, 7%) rotate(-10deg) rotateY(8deg) scale(0.94);
  }

  .rank-card--silver {
    transform: translate(0, -5%) rotate(1deg) translateZ(20px);
  }

  .rank-card--gold {
    transform: translate(66%, 8%) rotate(10deg) rotateY(-8deg) scale(0.94);
  }
}

/* Admin request: pricing cards smaller in width, a bit taller and less blocky */
.pricing-wrap--centered {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}

.pricing-cards--three {
  justify-content: center;
  align-items: stretch;
  gap: 1.15rem;
}

.pricing-cards--three .pricing-card {
  width: 100%;
  max-width: 310px;
  min-height: 560px;
  justify-self: center;
  padding: 2.35rem 1.65rem;
  border-radius: 34px;
}

.pricing-cards--three .pricing-card ul {
  gap: 0.9rem;
  margin-bottom: 2rem;
}

@media (min-width: 1100px) {
  .pricing-cards--three {
    grid-template-columns: repeat(3, minmax(240px, 310px));
  }
}

@media (max-width: 1099px) and (min-width: 761px) {
  .pricing-cards--three {
    grid-template-columns: repeat(3, minmax(220px, 300px));
  }

  .pricing-cards--three .pricing-card {
    max-width: 300px;
    padding-inline: 1.45rem;
  }

  .pricing-value strong {
    font-size: 4rem;
  }
}

@media (max-width: 760px) {
  .pricing-cards--three .pricing-card {
    max-width: 420px;
    min-height: 520px;
    padding: 2.15rem 1.55rem;
  }
}


/* Pricing spacing refinement: keep card height, pull bullet groups closer without moving the first bullet down */
.pricing-cards--three .pricing-card--starter ul,
.pricing-cards--three .pricing-card--bundle ul {
  flex: 0 0 auto;
  align-content: start;
}

.pricing-cards--three .pricing-card--starter ul {
  gap: 0.55rem;
}

.pricing-cards--three .pricing-card--bundle ul {
  gap: 0.7rem;
}

.pricing-cards--three .pricing-card--starter .button--full,
.pricing-cards--three .pricing-card--bundle .button--full {
  margin-top: auto;
}


/* Mobile badge showcase stability fix */
.rank-card{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  will-change:transform;
}

@media (max-width: 640px){
  .profile-badge-showcase{
    min-height:300px;
  }
  .rank-card{
    width:170px;
  }
  .rank-card--bronze,
  .rank-card--silver,
  .rank-card--gold{
    opacity:1;
  }
}


/* Mobile pricing title fix: voorkom dat de titel boven pricing buiten beeld valt */
@media (max-width: 430px) {
  .pricing-wrap--centered .pricing-copy h2 {
    font-size: clamp(2rem, 10.4vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
    max-width: 10.8ch;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }
}

@media (max-width: 360px) {
  .pricing-wrap--centered .pricing-copy h2 {
    font-size: clamp(1.85rem, 9.7vw, 2.35rem);
    max-width: 11.5ch;
  }
}


/* Mobile refinement: preload-stable badge cards + slightly smaller mobile cards */
.profile-badge-showcase .rank-card img {
  display: block;
}

@media (max-width: 640px) and (orientation: portrait) {
  .profile-badge-showcase {
    min-height: 278px;
    overflow: hidden;
  }

  .rank-card {
    width: 157px;
    min-height: 161px;
    padding: 0.78rem 0.6rem;
    border-radius: 19px;
  }

  .rank-card img {
    width: min(100%, 81px);
  }

  .rank-card span {
    font-size: 0.78rem;
  }

  .rank-card--bronze {
    transform: translate(-62%, 7%) rotate(-10deg) rotateY(8deg) scale(0.94);
  }

  .rank-card--silver {
    transform: translate(0, -5%) rotate(1deg) translateZ(20px);
  }

  .rank-card--gold {
    transform: translate(62%, 8%) rotate(10deg) rotateY(-8deg) scale(0.94);
  }

  .pricing-cards--three {
    padding-inline: 0.7rem;
  }

  .pricing-cards--three .pricing-card {
    width: 95%;
    max-width: 399px;
    min-height: 494px;
    padding: 2.04rem 1.47rem;
    border-radius: 32px;
  }
}

@media (max-width: 380px) and (orientation: portrait) {
  .rank-card {
    width: 150px;
  }

  .pricing-cards--three {
    padding-inline: 0.55rem;
  }
}
