@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/crimson-pro-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/crimson-pro-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/crimson-pro-300-italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-200.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-900-italic.ttf') format('truetype');
}

:root {
  --bg: #fffaf5;
  --text: #24221d;
  --brand-blue: #002ffc;
  --paper: #fdfbf5;
  --overlay: rgba(0, 0, 0, 0.45);
  --paper-light: #f4f1ec;
  --ai-grad-start: #0fdbff;
  --ai-grad-end: #5c00fc;
  --ai-grad-end-2: #7d52ff;
  --button-bg: #040505;
  --get-copy-blue: #dcf2f6;
  --modal-bg: #fdfaf5;
  --shadow-purple: 34, 6, 147;
  --paper-light: #fbf9f3;
  --gain-bg: #2bc0dd;
  --grey-btn: #2c2e2f;
  --yellow-btn: #ffc43a;
  --placeholder-color: #a3a099;
  --input-border: #e2dfd5;
}

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

body {
  margin: 0;
  font-family:
    'Hanken Grotesk',
    system-ui,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

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

h1,
h2,
p {
  margin: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 44px;
}

header .site-logo {
  width: 176px;
  height: 36px;
}

section {
  margin: 0 auto;
  margin-bottom: 100px;
}

main {
  margin: 0 auto;
  padding: 24px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  outline: none;
}

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

button:disabled {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 640px) {
  header {
    margin: 20px;
  }

  header .site-logo {
    width: 118px;
    height: 24px;
  }

  main {
    padding: 16px;
  }

  section {
    margin-bottom: 64px;
  }
}

.link {
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.02em;
  opacity: 0.8;
  text-decoration: none;
  color: var(--text);
}

/* Book cover section */
.book {
  display: flex;
  align-items: flex-start;
  gap: 88px;
  max-width: 1200px;
}

.ai-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px;

  position: absolute;
  top: 24px;
  left: 24px;
  background: linear-gradient(
    90.4deg,
    var(--ai-grad-start) 0%,
    var(--ai-grad-end) 20%,
    var(--ai-grad-start) 40%,
    var(--ai-grad-end) 60%,
    var(--ai-grad-start) 80%,
    var(--ai-grad-end) 100%
  );
  background-size: 400%;
  animation: ai-gradient 26s linear infinite;
  box-shadow:
    0px 77px 22px rgba(var(--shadow-purple), 0.01),
    0px 50px 20px rgba(var(--shadow-purple), 0.06),
    0px 28px 17px rgba(var(--shadow-purple), 0.19),
    0px 12px 12px rgba(var(--shadow-purple), 0.33),
    0px 3px 7px rgba(var(--shadow-purple), 0.38),
    inset 0px 0px 9px rgba(255, 255, 255, 0.25);

  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12);
  font-size: 18px;
  line-height: 19px;
  letter-spacing: -0.02em;
  font-style: italic;
  font-weight: 700;
  color: white;
  z-index: 2;
  overflow: hidden;
}

.ai-badge::after {
  content: '';
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}

.ai-badge-ellipse {
  position: absolute;
  width: 35px;
  height: 150px;
  right: -10px;
  top: -20px;
  background: linear-gradient(90.4deg, var(--ai-grad-start) 3.19%, var(--ai-grad-end) 99.11%);
  mix-blend-mode: plus-lighter;
  filter: blur(8.2px);
  transform: rotate(-90deg);
  border-radius: 50%;
}

.ai-badge-ellipse.left {
  left: 0px;
}

.book-image {
  width: 356px;
  height: 533px;
  position: relative;
  flex-shrink: 0;
  border-radius: 6px;
}

.book-cover {
  width: 356px;
  height: 533px;
  border-radius: 6px;
}

.main-shadow {
  position: absolute;
  left: -35px;
  top: -20px;
  z-index: -1;
  max-width: none;
  opacity: 0.7;
}

.book-shadow {
  position: absolute;
  width: 356px;
  height: 533px;
  border-radius: 6px;
  left: 0px;
  top: 0px;
}

.highlight {
  opacity: 0.6;
}

.multiply-shadow {
  mix-blend-mode: multiply;
}

.bottom-shadow {
  mix-blend-mode: soft-light;
}

@keyframes ai-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  .book {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 40px;
  }

  .book-image,
  .book-cover {
    width: 220px;
    height: 324px;
  }

  .ai-badge {
    top: 15px;
    left: 15px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 15px;
  }

  .ai-badge svg {
    width: 15px;
    height: 16px;
  }

  .main-shadow {
    width: 260px;
    height: 370px;
    left: -20px;
    top: -12px;
  }

  .multiply-shadow {
    mix-blend-mode: multiply;
  }

  .book-shadow {
    width: 220px;
    height: 324px;
  }

  .bottom-shadow {
    mix-blend-mode: soft-light;
  }
}

/* Book content section */
.book-content {
  display: flex;
  flex-direction: column;
  padding: 24px 0px;
  gap: 20px;
}

.book-title {
  font-weight: 500;
  font-size: 52px;
  line-height: 54px;
  letter-spacing: -0.04em;
}

.book-description {
  font-size: 16px;
  line-height: 21px;
}

.book-cta {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  gap: 16px;
}

.buy-title {
  font-size: 18px;
  line-height: 23px;
}

.buy-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.buy-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  gap: 4px;
  background: var(--button-bg);
  box-shadow: inset 0px 0px 9px 4px rgba(1, 1, 1, 0.32);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 99px;
}

.book-cta.ai .buy-btn {
  flex-direction: row;
  align-items: flex-start;
  padding: 12px 24px 12px 16px;
}

.buy-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.buy-btn-title {
  font-size: 14px;
  line-height: 15px;
  opacity: 0.85;
  color: var(--paper-light);
}

.buy-btn-price {
  font-weight: 600;
  font-size: 20px;
  line-height: 21px;
  letter-spacing: 0.02em;
  color: white;
}

.ai-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
  gap: 1px;

  position: absolute;
  width: 38px;
  height: 22px;
  right: -8px;
  top: -5px;

  background:
    linear-gradient(90.4deg, var(--ai-grad-start) 3.19%, var(--ai-grad-end) 99.11%),
    linear-gradient(90.4deg, var(--ai-grad-start) 3.19%, var(--brand-blue) 99.11%), var(--paper);
  border-radius: 8px;
  box-shadow:
    0px 3.16057px 8.21747px -1.89634px rgba(0, 16, 89, 0.35),
    inset 0px 0px 5.69417px rgba(255, 255, 255, 0.25);

  z-index: 2;
  transform: rotate(12.79deg);
}

.ai-tag::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1.6px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.ai-tag .tagline {
  font-style: italic;
  font-weight: 900;
  font-size: 13px;
  line-height: 14px;
  letter-spacing: -0.03em;
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12);
}

.ai-tag svg {
  width: 10px;
  height: 11px;
}

.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 12px;
}

.glow {
  position: absolute;
  width: 52px;
  height: 108px;
  right: -8px;
  top: -42px;
  background:
    linear-gradient(90.4deg, var(--ai-grad-start) 3.19%, var(--ai-grad-end) 99.11%), #d9d9d9;
  mix-blend-mode: normal;
  opacity: 0.6;
  filter: blur(20px);
  transform: rotate(-90deg);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .book-cta {
    width: 100%;
    margin-top: 0;
    gap: 32px;
    padding: 0 32px;
    order: 4;
  }

  .book-cta.ai .buy-btn {
    justify-content: center;
    align-items: center;
    padding: 8px 24px 8px 16px;
  }

  .buy-btn-text {
    align-items: center;
    text-align: center;
  }

  .ai-tag {
    transform: rotate(0deg);
    right: 8px;
    top: 8px;
  }

  .glow {
    right: -2px;
    top: -45px;
  }

  .buy-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .buy-btn {
    padding: 8px 14px;
  }

  .book-content {
    align-items: center;
    padding: 0;
    gap: 32px;
  }

  .book-title {
    order: 1;
    font-size: 39px;
    line-height: 40px;
  }

  .book-description {
    order: 5;
    text-align: start;
  }
}

/* Features section */
.features {
  max-width: 1200px;
  gap: 20px;
  display: flex;
  align-items: center;
}

.features-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 51px;
}

.features-container h2 {
  font-weight: 500;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(
    94.02deg,
    var(--text) 2.6%,
    var(--ai-grad-start) 20%,
    var(--ai-grad-end-2) 70%,
    var(--text) 120%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 0;
  margin: 0;
}

.features-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 0px;
  gap: 16px;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: black;
}

.features-item svg {
  flex-shrink: 0;
}

/* Phone image styles */
.phone-container {
  position: relative;
  width: 564px;
  height: 537px;
}

.phone-image {
  position: absolute;
  width: 564px;
  height: 537px;
  left: 0px;
  top: 0px;
}

.author-container {
  position: absolute;
  width: 67px;
  left: 150px;
  top: 160px;
}

.author-image {
  position: absolute;
  width: 67px;
  left: 0px;
  top: 0px;
  object-fit: cover;
}

.author-fade-mask {
  position: absolute;
  width: 67px;
  height: 67px;
  left: 0px;
  top: 0px;
  background: radial-gradient(
    ellipse 35px 40px at center 40%,
    transparent 0%,
    transparent 70%,
    rgba(254, 251, 246, 0.4) 75%,
    var(--bg) 95%
  );
  z-index: 2;
}

.echo-text-overlay {
  position: absolute;
  width: 190px;
  left: 220px;
  top: 160px;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  line-height: 17px;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 11;
  line-clamp: 11;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  overflow: hidden;
}

.chat-area-overlay {
  position: absolute;
  left: 160px;
  top: 392px;
  z-index: 2;
  font-size: 13px;
  line-height: 17px;
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .features-container {
    align-items: center;
    text-align: center;
  }

  .features-container h2 {
    max-width: 700px;
  }

  .features-item {
    text-align: start;
  }

  .features-list {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .features {
    gap: 24px;
  }

  .features-container {
    gap: 24px;
  }

  .features-container h2 {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: -0.02em;
  }

  .phone-container {
    width: 341px;
    height: 325px;
  }

  .phone-image {
    width: 341px;
    height: 325px;
  }

  .author-container {
    width: 40px;
    left: 90px;
    top: 100px;
  }

  .author-fade-mask {
    width: 40px;
    height: 40px;
    background: radial-gradient(
      ellipse 25px 25px at center 40%,
      transparent 0%,
      transparent 70%,
      rgba(254, 251, 246, 0.3) 75%,
      var(--bg) 95%
    );
  }

  .echo-text-overlay {
    width: 116px;
    left: 135px;
    top: 100px;
    font-size: 9px;
    line-height: 11px;
    -webkit-line-clamp: 10;
    line-clamp: 10;
  }

  .gradient-text {
    background: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--text);
    background-clip: text;
  }

  .chat-area-overlay {
    left: 96px;
    top: 236px;
    font-size: 8px;
    line-height: 10px;
  }
}

/* Main quote section */
.main-quote {
  padding: 0 24px;
}

.quote-card {
  background: var(--get-copy-blue);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 56px;
  border-radius: 55px;
}

.quote-text {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 300;
  line-height: 50px;
  letter-spacing: -0.02em;
  font-size: 48px;
}

.quote-source {
  margin-top: -24px;
  font-family: 'Crimson Pro';
  font-size: 21px;
  line-height: 21px;
  font-style: italic;
  letter-spacing: -0.015em;
  margin-bottom: 50px;
}

@media (max-width: 640px) {
  .quote-card {
    padding: 52px 32px;
  }

  .quote-text {
    font-size: 28px;
    line-height: 29px;
    margin: 0 0 32px 0;
  }

  .quote-source {
    margin: 0;
    font-weight: 300;
    font-size: 20px;
  }
}

/* Book gains section */
.book-gains {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

.gains-title {
  font-weight: 500;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.04em;
  max-width: 100%;
  word-wrap: break-word;
}

.gains-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
  justify-items: start;
  align-items: flex-start;
}

.gain-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gain-index {
  width: 37px;
  height: 37px;
  border-radius: 9999px;
  background: var(--gain-bg);
  color: var(--paper-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 21px;
  line-height: 49px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.gain-text {
  font-size: 25px;
  line-height: 49px;
}

@media (max-width: 640px) {
  .book-gains {
    gap: 32px;
    align-items: center;
  }
  .gains-title {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: -0.02em;
    text-align: center;
  }
  .gain-text {
    font-size: 20px;
    line-height: 26px;
  }
}

/*Get copy section*/

.get-copy {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  padding: 55px 90px 33px;
  gap: 48px;
  background: var(--get-copy-blue);
  border-radius: 55px;
  margin-bottom: 44px;
}

.get-copy-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.get-copy-cta h2 {
  font-weight: 600;
  font-size: 44px;
  line-height: 45px;
  letter-spacing: -0.04em;
}

.product-garantee {
  display: flex;
  justify-content: center;
  gap: 39px;
}

.garantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  padding: 8px 0;
  line-height: 1.2;
}

.garantee-separator {
  opacity: 0.4;
  font-size: 33px;
  font-weight: 200;
}

@media (max-width: 640px) {
  .get-copy {
    padding: 32px 20px;
    gap: 32px;
    margin-bottom: 24px;
  }
  .get-copy-cta {
    width: 100%;
  }
  .get-copy-cta h2 {
    font-weight: 500;
    font-size: 26px;
    line-height: 27px;
  }
  .garantee-separator {
    display: none;
  }
  .product-garantee {
    width: 100%;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
}

footer {
  display: flex;
  align-items: center;
  padding: 32px 44px;
  margin-top: 32px;
}

footer .site-logo {
  width: 176px;
  height: 36px;
  flex-shrink: 0;
}

footer .copyright,
.footer-right a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: 'Hanken Grotesk', serif;
  opacity: 0.8;
}

footer .copyright {
  margin-left: 24px;
}

footer .footer-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-right a {
  text-decoration: none;
  white-space: nowrap;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-right .separator {
  font-size: 14px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin: 24px 0;
  }

  footer .site-logo {
    width: 118px;
    height: 24px;
  }

  footer .copyright {
    margin-left: 0;
  }

  footer .footer-right {
    margin-left: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Book Inspiring Section */
.book-inspiring {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem; /* Reduced gap slightly */
  max-width: 1200px;
}

.inspiring-text {
  flex: 1 1 400px; /* Allow flex-grow, flex-shrink, with a basis of 400px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  font-size: 2.2rem; /* Slightly smaller font for better adaptability */
  font-weight: 500;
  line-height: 1.2;
}

.inspiring-image {
  flex: 1 1 500px; /* Allow flex-grow, flex-shrink, with a basis of 500px */
  max-width: 585px; /* Keep the max-width from before */
  min-width: 200px;
  height: auto; /* Let aspect-ratio handle the height */
  aspect-ratio: 39/29;
  border-radius: 1rem;
  background-color: lightgray;
  background-position: center; /* Center the background image */
  background-size: cover; /* Use cover for better scaling */
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .book-inspiring {
    gap: 2rem;
  }
  .inspiring-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .book-inspiring {
    flex-direction: column;
    margin: 64px auto;
  }

  .inspiring-text {
    width: 100%;
    order: 2;
    font-size: 26px;
    line-height: 27px;
    text-align: center;
    align-items: center;
    flex: none;
  }

  .inspiring-image {
    width: calc(100% - 48px);
    order: 1;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  z-index: 100;
}

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

.modal-dialog {
  background: white;
  width: 100%;
  max-width: 630px;
  border-radius: 12px;
  padding: 32px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--modal-bg);
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
}

.modal-dialog.payment-step {
  max-width: 670px;
}

.modal-dialog.email-step {
  max-width: 456px;
}

#buy-dialog {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: black;
}

.buy-dialog-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialog-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.01em;
}

.dialog-description {
  font-size: 16px;
  line-height: 21px;
  opacity: 0.6;
}

.total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.total hr {
  width: 100%;
  opacity: 0.1;
  border: 1px solid black;
  margin: 0;
}

.total-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 8px;
  width: 100%;
}

.total-content p {
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
}

.total-content .price {
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.04em;
}

.payment-methods {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.pay-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 16px;
  gap: 10px;
  height: 48px;
  background: black;
  border: 1px solid black;
  border-radius: 1920px;
  flex: 1;
  cursor: pointer;
}

.grey-btn {
  background: var(--grey-btn);
  border: 1px solid var(--grey-btn);
}

.yellow-btn {
  background: var(--yellow-btn);
  border: 1px solid var(--yellow-btn);
}

.pay-btn p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: white;
  text-align: center;
  text-wrap: nowrap;
}

#email-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.email-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: black;
}

.email-input {
  display: flex;
  flex-direction: column;
}

.email-input label {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  margin-bottom: 8px;
}

.email-input input {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  background-color: var(--modal-bg);
  border: 1px solid var(--input-border);
}

.email-input input::placeholder {
  color: var(--placeholder-color);
}

.send-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--button-bg);
  font-family: 'Crimson Pro';
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: white;
  align-self: flex-end;
  cursor: pointer;
  border: none;
  height: 40px;
}

@media (max-width: 640px) {
  .modal-dialog {
    position: fixed;
    max-width: 95vw !important;
  }
  .payment-methods {
    flex-direction: column;
  }
  .pay-btn {
    flex: 0 0 46px;
  }
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}

.loading-overlay .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
