@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
}

body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(to bottom right, #CCDBFF, #fff);
  color: #222;
  font-family: "Raleway", sans-serif;
}

main {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 20px auto 32px auto;
  max-width: 700px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
  padding: 32px 24px;
  transition: opacity 0.7s, transform 0.7s;
  opacity: 1;
  transform: translateY(0);
}

.cta-section.esconder {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

.cta-content h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.2;
}

.highlight {
  color: #4f6cff;
  font-weight: 900;
  text-shadow: 0 2px 8px #e0eaff;
}

#check-availability,
#gain-access {
  display: block;
  margin: 24px auto 0 auto;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  background: #6c7cff;
  color: #fff;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 12px #e0eaff;
  transition: background 0.2s;
}

#check-availability:hover,
#gain-access:hover {
  background: #4f6cff;
}

.slots-block {
  margin-top: 32px;
  text-align: center;
  animation: fadeIn 0.7s;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slots-row {
  display: grid;
  grid-template-columns: repeat(5, 48px);
  grid-template-rows: repeat(2, 48px);
  gap: 12px 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  min-width: 260px;
  min-height: 108px;
}

.spot {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  --tw-border-opacity: .5;
  border-color: rgb(10 6 1 / var(--tw-border-opacity));
  --tw-bg-opacity: .5;
  background-color: rgb(10 6 1 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

.spot-taken {
  border-color: #ef4444;
  background: #ef4444;
  color: #fff;
}

.spot-free {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}

.spot .slot-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.spot-label {
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

.slots-message {
  font-size: 1.2rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 18px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.1em;
  text-align: center;
}

.slots-message .pulse {
  animation: slots-pulse 1.2s infinite;
}

@keyframes slots-pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.slots-message .hurry {
  font-weight: 900;
  margin-right: 0.3em;
}

.slots-message .pulse-number {
  color: #4f6cff;
  font-weight: 900;
  font-size: 1.2em;
  margin: 0 0.2em;
  animation: pulse 1.5s infinite;
  display: inline-block;
  vertical-align: middle;
}

.slots-message .spots-available {
  font-weight: 400;
  margin-left: 0.2em;
}

.slots-message .uppercase {
  text-transform: uppercase;
}

.slots-message .font-bold {
  font-weight: 700;
}

@keyframes pulse {
  0% {
    color: #222;
  }

  50% {
    color: #4f6cff;
  }

  100% {
    color: #222;
  }
}

.slots-message .error {
  color: #e53935;
  font-weight: 700;
}

footer {
  flex-shrink: 0;
  width: 100%;
  background: none;
  text-align: center;
  padding: 32px 8px 16px 8px;
  font-size: 1rem;
  color: #444;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #4f6cff;
  margin: 0 16px;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.footer-contact address {
  font-style: normal;
  color: #222;
  margin-top: 8px;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 50, 80, 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
}

.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 540px;
  width: 90vw;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.13);
  text-align: left;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2em;
}

.modal-body {
  margin: 18px 0 24px 0;
  color: #222;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  text-align: left;
}

.modal-body strong,
.modal-body b {
  font-weight: 700;
  color: #222;
}

.modal-body a {
  color: #4f6cff;
  text-decoration: underline;
  word-break: break-all;
}

.modal-body p,
.modal-body ul,
.modal-body ol,
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5 {
  margin-bottom: 1em;
}

.modal-body ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.modal-body li {
  margin-bottom: 0.5em;
  list-style: disc inside;
}

.modal-ok {
  background: #6c7cff;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin: 24px auto 0 auto;
  display: block;
}

.modal-ok:hover {
  background: #4f6cff;
}

/* Responsive Design */
@media (max-width: 700px) {
  .cta-section {
    padding: 18px 6px;
    max-width: 80vw;
    border-radius: 12px;
  }

  .cta-content h1 {
    font-size: 1.1rem;
  }

  .slots-row {
    grid-template-columns: repeat(5, 48px);
    grid-template-rows: repeat(2, 48px);
    min-width: 260px;
    min-height: 108px;
  }

  .spot {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 0.7rem;
  }

  .spot .slot-icon {
    width: 22px;
    height: 22px;
  }

  .modal-content {
    padding: 18px 6px;
    border-radius: 10px;
  }
}

@media (min-width: 900px) {
  .slots-row {
    grid-template-columns: repeat(10, 48px);
    grid-template-rows: 1fr;
    min-width: 480px;
    min-height: 48px;
  }
}

/* Remove opacity for all slots */
.spot,
.spot-taken,
.spot-free {
  opacity: 1 !important;
}

/* Remove all mobile/desktop font/size changes for slots */
@media (max-width: 899px) {
  .slots-row {
    grid-template-columns: repeat(5, 48px);
    grid-template-rows: repeat(2, 48px);
    min-width: 260px;
    min-height: 108px;
  }
}

/* Countdown Timer Styles */
.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-message {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.countdown-timer {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  background: #4254f5;
  padding: 8px 32px;
  border-radius: 16px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px 0 rgba(66, 84, 245, 0.10);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  transition: background 0.2s;
}

@media (max-width: 600px) {
  .countdown-timer {
    font-size: 2rem;
    padding: 6px 18px;
  }

  .countdown-section {
    padding: 20px 0 12px 0;
  }
}

/* Adjust spacing for metrics section if needed */
.metrics-section {
  margin-top: 0;
}

/* Metrics Section Styles (refined to match original) */
.metrics {
  margin-top: 40px;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .metrics {
    padding-top: 2rem;
  }
}

@media (min-width: 1024px) {
  .metrics {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .metrics {
    padding-top: 3rem;
  }
}

@media (min-width: 1536px) {
  .metrics {
    padding-top: 3.5rem;
  }
}

@media (min-width: 768px) {
  .metrics__container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    border-radius: 2.5rem;
    background-color: #ffffffb3;
    --tw-shadow: 0px 4px 40px 0px rgba(0, 0, 0, .25);
    --tw-shadow-colored: 0px 4px 40px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-backdrop-blur: blur(16px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur);
    backdrop-filter: var(--tw-backdrop-blur);
    background: none;
    overflow-x: hidden;
  }

  .metrics__container {
    padding: 2rem
  }

  @media (min-width: 1024px) {
    .metrics__container {
      border-radius: 5rem;
      padding: 2.5rem
    }
  }

  @media (min-width: 1280px) {
    .metrics__container {
      padding: 3rem
    }
  }

  @media (min-width: 1536px) {
    .metrics__container {
      padding: 3.5rem
    }
  }
}

.metrics__heading {
  margin-bottom: .75rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .metrics__heading {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    line-height: 2.25rem
  }
}

@media (min-width: 1024px) {
  .metrics__heading {
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    line-height: 2.5rem
  }
}

@media (min-width: 1280px) {
  .metrics__heading {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1
  }
}

@media (min-width: 1536px) {
  .metrics__heading {
    font-size: 3.75rem;
    line-height: 1
  }
}

.metrics__heading span {
  --tw-text-opacity: 1;
  color: rgb(93 95 239 / var(--tw-text-opacity))
}

.metrics__subheading {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-transform: lowercase;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .metrics__subheading {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 2rem
  }
}

@media (min-width: 1024px) {
  .metrics__subheading {
    margin-bottom: 2.5rem;
    font-size: 1.875rem;
    line-height: 2.25rem
  }
}

@media (min-width: 1280px) {
  .metrics__subheading {
    margin-bottom: 3rem;
    font-size: 2.25rem;
    line-height: 2.5rem
  }
}

@media (min-width: 1536px) {
  .metrics__subheading {
    font-size: 3rem;
    line-height: 1
  }
}

.metrics__content {
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: .75rem
}

@media (min-width: 768px) {
  .metrics__content {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr))
  }
}

@media (min-width: 1024px) {
  .metrics__content {
    margin-bottom: 2.5rem;
    gap: 1rem
  }
}

@media (min-width: 1280px) {
  .metrics__content {
    margin-bottom: 3rem;
    gap: 1.25rem
  }
}

@media (min-width: 1536px) {
  .metrics__content {
    gap: 1.5rem
  }
}

.totals-block {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 3px solid #5d5fef;
  border-radius: 16px;
  background: none;
  box-shadow: none;
  padding: 18px 32px;
  min-width: 0;
  min-height: 0;
}

.totals-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 16px;
  background: #5d5fef;
  color: #fff;
  margin: 0;
}

.totals-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.totals-title {
  font-family: 'Montserrat', 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 2px;
}

.metrics__value {
  font-family: 'Montserrat', 'Raleway', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #159947;
  margin: 0;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .metrics__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .totals-block {
    width: 96%;
    max-width: 100%;
    min-width: 0;
    background: #fff;
    margin: 0 auto 12px auto;
    box-sizing: border-box;
    padding: 16px 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

@media (min-width: 901px) {
  .metrics__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .totals-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: none;
    margin: 0;
    box-sizing: border-box;
    padding: 18px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

@keyframes pop2 {
  0%,
  to {
    transform: scale(1)
  }

  40% {
    transform: scale(1.1)
  }
}

.badge-counter {
  animation: pop2 .4s linear;
  white-space: nowrap;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .badge-counter {
    font-size: 1.25rem;
    line-height: 1.75rem
  }
}

@media (min-width: 1024px) {
  .badge-counter {
    font-size: 1.5rem;
    line-height: 2rem
  }
}

@media (min-width: 1280px) {
  .badge-counter {
    font-size: 1.875rem;
    line-height: 2.25rem
  }
}

@media (min-width: 1536px) {
  .badge-counter {
    font-size: 2.25rem;
    line-height: 2.5rem
  }
}

/* Profit Calculator */
.profit-calculator {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

@media (min-width: 768px) {
  .profit-calculator {
    order: 1;
    flex: 1 1 0%
  }
}

.profit-calculator__container {
  width: 100%;
  border-radius: 2.5rem;
  background-color: #ffffffb3;
  padding: 1.5rem;
  --tw-shadow: 0px 4px 40px 0px rgba(0, 0, 0, .25);
  --tw-shadow-colored: 0px 4px 40px 0px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(16px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

@media (min-width: 768px) {
  .profit-calculator__container {
    padding: 2rem
  }
}

@media (min-width: 1024px) {
  .profit-calculator__container {
    border-radius: 5rem;
    padding: 2.5rem
  }
}

@media (min-width: 1280px) {
  .profit-calculator__container {
    padding: 3rem
  }
}

@media (min-width: 1536px) {
  .profit-calculator__container {
    padding: 3.5rem
  }
}

@media (min-width: 768px) {
  .profit-calculator__container {
    border-radius: 0;
    background-color: transparent;
    padding: 0;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-backdrop-blur: blur(0);
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
  }
}

@media (min-width: 1024px) {
  .profit-calculator__container {
    border-radius: 0;
    padding: 0
  }
}

@media (min-width: 1280px) {
  .profit-calculator__container {
    padding: 0
  }
}

@media (min-width: 1536px) {
  .profit-calculator__container {
    padding: 0
  }
}

.profit-calculator__container {
  max-width: 30rem;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center
}

.profit-calculator__heading {
  margin-bottom: .5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .profit-calculator__heading {
    margin-bottom: .75rem;
    font-size: 1.5rem;
    line-height: 2rem
  }
}

@media (min-width: 1024px) {
  .profit-calculator__heading {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    line-height: 2.25rem
  }
}

@media (min-width: 1280px) {
  .profit-calculator__heading {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 2.5rem
  }
}

@media (min-width: 1536px) {
  .profit-calculator__heading {
    font-size: 3rem;
    line-height: 1
  }
}

.profit-calculator__content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center
}

@media (min-width: 768px) {
  .profit-calculator__content {
    padding: 1.5rem
  }
}

@media (min-width: 1024px) {
  .profit-calculator__content {
    padding: 2.5rem
  }
}

.profit-calculator__label {
  text-align: center;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 900;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .profit-calculator__label {
    font-size: 1rem;
    line-height: 1.5rem
  }
}

@media (min-width: 1024px) {
  .profit-calculator__label {
    font-size: 1.125rem;
    line-height: 1.75rem
  }
}

@media (min-width: 1280px) {
  .profit-calculator__label {
    font-size: 1.25rem;
    line-height: 1.75rem
  }
}

@media (min-width: 1536px) {
  .profit-calculator__label {
    font-size: 1.5rem;
    line-height: 2rem
  }
}

.profit-calculator__value {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 900;
  --tw-text-opacity: 1;
  color: rgb(93 95 239 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .profit-calculator__value {
    font-size: 3rem;
    line-height: 1
  }
}

@media (min-width: 1024px) {
  .profit-calculator__value {
    font-size: 3.75rem;
    line-height: 1
  }
}

@media (min-width: 1280px) {
  .profit-calculator__value {
    font-size: 4.5rem;
    line-height: 1
  }
}

@media (min-width: 1536px) {
  .profit-calculator__value {
    font-size: 6rem;
    line-height: 1
  }
}

.profit-calculator__form {
  width: 100%
}

.profit-calculator__form-label {
  margin-bottom: .5rem;
  font-family: Raleway, sans-serif;
  font-size: .75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .profit-calculator__form-label {
    font-size: .875rem;
    line-height: 1.25rem
  }
}

@media (min-width: 1024px) {
  .profit-calculator__form-label {
    margin-bottom: .75rem;
    font-size: 1rem;
    line-height: 1.5rem
  }
}

@media (min-width: 1280px) {
  .profit-calculator__form-label {
    font-size: 1.125rem;
    line-height: 1.75rem
  }
}

@media (min-width: 1536px) {
  .profit-calculator__form-label {
    font-size: 1.25rem;
    line-height: 1.75rem
  }
}

.profit-calculator__form-label span {
  font-weight: 700
}

.profit-calculator__form input {
  margin-right: .75rem;
  height: .5rem;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(10 6 1 / var(--tw-bg-opacity))
}

@media (min-width: 1024px) {
  .profit-calculator__form input {
    margin-right: 1rem
  }
}

.profit-calculator__form input::-webkit-slider-thumb {
  height: 1.5rem;
  width: 1.5rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 9999px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(10 6 1 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 253 244 / var(--tw-bg-opacity));
  --tw-shadow: 0px 0px 6.30137px 0px #555;
  --tw-shadow-colored: 0px 0px 6.30137px 0px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

@media (min-width: 1024px) {
  .profit-calculator__form input::-webkit-slider-thumb {
    height: 2rem;
    width: 2rem
  }
}

.profit-calculator__form input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-style: none;
  background-color: transparent;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .video-section {
    max-width: 100vw;
    padding: 0;
  }

  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }

  .metrics {
    margin-top: 0;
  }
}

/* --- FORM SECTION LAYOUT --- */
.form {
  width: 100%
}

@media (min-width: 768px) {
  .form {
      width:350px
  }
}

@media (min-width: 1024px) {
  .form {
      width:400px
  }
}

@media (min-width: 1280px) {
  .form {
      width:450px
  }
}

.form__title-1 {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(41 30 15 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .form__title-1 {
      font-size:1.5rem;
      line-height: 2rem
  }
}

@media (min-width: 1024px) {
  .form__title-1 {
      font-size:2.25rem;
      line-height: 2.5rem
  }
}

@media (min-width: 1280px) {
  .form__title-1 {
      font-size:3rem;
      line-height: 1
  }
}

@media (min-width: 1536px) {
  .form__title-1 {
      font-size:3.75rem;
      line-height: 1
  }
}

.form__title-2 {
  margin-bottom: .75rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .form__title-2 {
      text-align:left
  }
}

@media (min-width: 1024px) {
  .form__title-2 {
      margin-bottom:1.5rem;
      font-size: 1.875rem;
      line-height: 2.25rem
  }
}

@media (min-width: 1280px) {
  .form__title-2 {
      font-size:2.25rem;
      line-height: 2.5rem
  }
}

@media (min-width: 1536px) {
  .form__title-2 {
      font-size:3rem;
      line-height: 1
  }
}

.form__title-3 {
  margin-bottom: .75rem;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(10 6 1 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .form__title-3 {
      text-align:left;
      font-size: 1.25rem;
      line-height: 1.75rem
  }
}

@media (min-width: 1024px) {
  .form__title-3 {
      margin-bottom:1.5rem;
      font-size: 1.875rem;
      line-height: 2.25rem
  }
}

@media (min-width: 1280px) {
  .form__title-3 {
      font-size:2.25rem;
      line-height: 2.5rem
  }
}

@media (min-width: 1536px) {
  .form__title-3 {
      font-size:3rem;
      line-height: 1
  }
}

.form__accent-text {
  --tw-text-opacity: 1;
  color: rgb(93 95 239 / var(--tw-text-opacity))
}

.form-input {
  margin-bottom: .5rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  -moz-column-gap: .25rem;
  column-gap: .25rem
}

@media (min-width: 768px) {
  .form-input {
      margin-bottom:1rem
  }
}

.form-input input {
  width: 100%;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(93 95 239 / var(--tw-border-opacity));
  padding: .5rem .75rem;
  font-size: .875rem;
  line-height: 1.25rem;
  --tw-numeric-figure: lining-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity))
}

.form-input input::-moz-placeholder {
  font-size: .75rem;
  line-height: 1rem;
  text-transform: uppercase;
  color: #00000080
}

.form-input input::placeholder {
  font-size: .75rem;
  line-height: 1rem;
  text-transform: uppercase;
  color: #00000080
}

.form-input input:focus {
  outline-offset: 1px;
  outline-color: #a5a6f6
}

.group:has(span.form__error) .form-input input {
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity))
}

.group:has(span.form__error) .form-input input:focus {
  outline-color: #dc2626
}

@media (min-width: 1024px) {
  .form-input input {
      padding:.75rem 1.25rem;
      font-size: 1.5rem;
      line-height: 2rem
  }

  .form-input input::-moz-placeholder {
      font-size: 1.25rem;
      line-height: 1.75rem
  }

  .form-input input::placeholder {
      font-size: 1.25rem;
      line-height: 1.75rem
  }
}

.form__errors {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
  padding: 1rem .5rem
}

.form__error {
  display: flex;
  width: 100%;
  align-items: center;
  -moz-column-gap: .5rem;
  column-gap: .5rem;
  font-size: .6rem;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .form__error {
      font-size:.75rem;
      line-height: 1rem
  }
}

@media (min-width: 1024px) {
  .form__error {
      font-size:.875rem;
      line-height: 1.25rem
  }
}

@media (min-width: 1280px) {
  .form__error {
      font-size:1rem;
      line-height: 1.5rem
  }
}

.form-input.error input,.form-checkbox.error input {
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity))
}

.form-input.error input:focus,.form-checkbox.error input:focus {
  outline-color: #dc2626
}

.form-input.error label,.form-checkbox.error label {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity))
}

.form-input.error span.error,.form-checkbox.error span.error {
  display: flex
}

.form-checkbox {
  display: flex;
  -moz-column-gap: .5rem;
  column-gap: .5rem
}

.form-checkbox label {
  flex: 1 1 0%;
  cursor: pointer;
  text-align: left;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(75 64 50 / var(--tw-text-opacity))
}

@media (min-width: 1024px) {
  .form-checkbox label {
      font-size:1.25rem;
      line-height: 1.75rem
  }
}

.form-checkbox input {
  position: relative;
  box-sizing: content-box;
  height: .75rem;
  width: .75rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(93 95 239 / var(--tw-border-opacity))
}

.form-checkbox input:after {
  position: absolute;
  top: .125rem;
  left: .125rem;
  display: none;
  height: .5rem;
  width: .5rem;
  border-radius: 9999px;
  content: var(--tw-content);
  --tw-bg-opacity: 1;
  background-color: rgb(93 95 239 / var(--tw-bg-opacity))
}

.form-checkbox input:checked:after {
  content: var(--tw-content);
  display: flex
}

@media (min-width: 1024px) {
  .form-checkbox input {
      height:1.5rem;
      width: 1.5rem
  }

  .form-checkbox input:after {
      top: .25rem;
      left: .25rem;
      height: 1rem;
      content: var(--tw-content);
      width: 1rem
  }
}

.form__arrows {
  margin-bottom: 1.5rem;
  display: flex;
  height: 5rem;
  width: 100%;
  justify-content: space-around;
  gap: 1.5rem
}

@media (min-width: 768px) {
  .form__arrows {
      justify-content:space-between
  }
}

@media (min-width: 1024px) {
  .form__arrows {
      height:7rem
  }
}

.form__arrow-right {
  display: none;
  fill: #5d5fef;
  width: 4rem
}

@media (min-width: 1024px) {
  .form__arrow-right {
      width:7rem
  }
}

@media (min-width: 1280px) {
  .form__arrow-right {
      width:8rem
  }
}

@media (min-width: 1536px) {
  .form__arrow-right {
      width:9rem
  }
}

.form__arrow-right:nth-child(1) {
  animation: arrow-horizontal 3s ease-in-out infinite
}

.form__arrow-right:nth-child(2) {
  animation: arrow-horizontal 3s ease-in-out infinite .5s
}

.form__arrow-right:nth-child(3) {
  animation: arrow-horizontal 3s ease-in-out infinite 1s
}

@media (min-width: 768px) {
  .form__arrow-right {
      display:flex
  }
}

.form__arrow-down {
  display: flex;
  fill: #5d5fef;
  width: 5rem
}

.form__arrow-down {
  animation: arrow-vertical 3s ease-in-out infinite
}

@media (min-width: 1024px) {
  .form__arrow-down {
      width:7rem
  }
}

@media (min-width: 1280px) {
  .form__arrow-down {
      width:8rem
  }
}

@media (min-width: 1536px) {
  .form__arrow-down {
      width:9rem
  }
}

@media (min-width: 768px) {
  .form__arrow-down {
      display:none
  }
}

.form-input__flag {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  -o-object-fit: cover;
  object-fit: cover
}

@media (min-width: 768px) {
  .form-input__flag {
      height:1.75rem;
      width: 1.75rem
  }
}

@media (min-width: 1024px) {
  .form-input__flag {
      height:2rem;
      width: 2rem
  }
}

@media (min-width: 1280px) {
  .form-input__flag {
      height:2.5rem;
      width: 2.5rem
  }
}

.form__info {
  margin-top: 1rem;
  text-align: center
}

.iti__country-container {
  left: .625rem!important
}

.form-section {
  width: 100%;
  padding: 24px 8px;
  margin: 0 auto;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-out;
}

.form-section.visible {
  opacity: 1;
  animation: fadeIn 0.8s ease-out forwards;
}

.form-card {
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 32px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Desktop Layout */
.form-desktop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.form-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 50%;
}

.form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 450px;
}

.form__title-2 {
  margin-bottom: 16px;
  text-align: left;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
}

.form__accent-text {
  color: #5d5fef;
}

.form__arrows {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
}

.form__arrow-right {
  width: 80px;
  height: auto;
  display: block;
  animation: arrow-horizontal 3s ease-in-out infinite;
}

.form__arrow-right:nth-child(1) {
  animation-delay: 0s;
}

.form__arrow-right:nth-child(2) {
  animation-delay: 0.5s;
}

.form__arrow-right:nth-child(3) {
  animation-delay: 1s;
}

@keyframes arrow-horizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(16px); }
}

/* Mobile Layout */
.form-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.form-mobile-content {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form__arrows-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  margin: 24px 0;
}

.form__arrow-down {
  width: 48px;
  height: auto;
  transform: rotate(90deg);
  animation: arrow-vertical 3s ease-in-out infinite;
}

.form__arrow-down:nth-child(1) {
  animation-delay: 0s;
}

.form__arrow-down:nth-child(2) {
  animation-delay: 0.5s;
}

.form__arrow-down:nth-child(3) {
  animation-delay: 1s;
}

@keyframes arrow-vertical {
  0%, 100% { transform: translateY(0) rotate(90deg); }
  50% { transform: translateY(16px) rotate(90deg); }
}

/* Form Inputs */
.form {
  width: 100%;
}

.form-input {
  position: relative;
  margin-bottom: 16px;
  width: 100%;
}

.form-input input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 9999px;
  border: 1px solid #5d5fef;
  font-size: 16px;
  color: #000;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  box-sizing: border-box;
}

.form-input input::placeholder {
  color: #999;
  text-transform: uppercase;
}

.form-input input:focus {
  outline: none;
  border-color: #5d5fef;
  box-shadow: 0 0 0 2px rgba(93, 95, 239, 0.2);
}

.form-flag {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.form-input input[type="tel"] {
  padding-left: 50px;
}

/* Form Validation Styles */
.form-input.error input {
  border-color: #e53935;
  background-color: rgba(229, 57, 53, 0.05);
}

.form-input.error input:focus {
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2);
}

.error-message {
  display: none;
  position: absolute;
  top: -24px;
  left: 20px;
  background-color: #e53935;
  color: white;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 5;
  white-space: nowrap;
  animation: fadeIn 0.3s ease-in-out;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-message::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 15px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #e53935;
}

.form-input.error .error-message {
  display: block;
}

/* Submit Button */
.form-submit {
  width: 100%;
  padding: 16px 24px;
  border-radius: 9999px;
  background: #5d5fef;
  color: white;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  text-align: center;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  box-sizing: border-box;
}

.form-submit:hover {
  background: #4a4cce;
}

/* Security Icons */
.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.security-img {
  max-width: 100%;
  height: auto;
  max-height: 28px;
}

/* International Telephone Input Styles */
.iti {
  width: 100%;
  display: block;
}

.iti__flag {
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/img/flags.png");
}

.iti--separate-dial-code .iti__selected-flag {
  background: none;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #333;
}


.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0.03);
}

.iti__country-list {
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
}

/* Убираем браузерные стрелки из числовых полей */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .form-card {
    padding: 24px;
    border-radius: 32px;
  }
  
  .form__title-2 {
    font-size: 24px;
  }
  
  .form__arrows {
    margin: 24px 0;
  }
  
  .form__arrow-right {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .form-desktop {
    display: none;
  }
  
  .form-mobile {
    display: flex;
  }
  
  .form-card {
    padding: 24px 16px;
    border-radius: 24px;
    max-width: 480px;
  }
  
  .form__title-2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 8px;
  }
  
  .form-input input {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .form-submit {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .security-img {
    max-height: 24px;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/img/flags@2x.png");
  }
}

/* Form fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

