:root {
  --primary-orange: #FF6319;
  --primary-dark: #02070E;
  --primary-white: #FFF;
  --primary-orangeish: #FFF3E7;
  --primary-gray: #4D4F53;
  --primary-stroke: #C7C7C7;
  --secondary-orange-border: #FDE5C9;
  --danger-red: #FF1919;
  --placeholder-gray: #7E7E7E;
  --background-light: #F5F5F5;
  --background-gray: #FAFAFA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--primary-dark);
  background: var(--primary-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container-custom {
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.text-orange {
  color: var(--primary-orange);
}

.required {
  color: var(--danger-red);
}

.header-menu {
  background: var(--primary-white);
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.03);
  border-radius: 0 0 30px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

.header-menu .navbar {
  padding: 12px 0;
  flex-wrap: nowrap;
}

.header-menu .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 60px;
}

.logo {
  height: 56px;
  width: auto;
  display: block;
}

.navbar-nav {
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  color: var(--primary-gray);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.btn-primary-orange {
  background: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  border-radius: 0 1000px 1000px 0;
  color: var(--primary-white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
}

.btn-primary-orange:hover {
  background: #e55512;
  border-color: #e55512;
  color: var(--primary-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 99, 25, 0.3);
}

.btn-primary-orange:disabled {
  background: #c9c9c9;
  border-color: #c9c9c9;
  color: var(--primary-white);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.btn-primary-orange:disabled:hover {
  background: #c9c9c9;
  border-color: #c9c9c9;
  transform: none;
  box-shadow: none;
}

.btn-secondary-orange {
  background: var(--primary-orangeish);
  border: 1px solid var(--primary-orange);
  border-radius: 0 1000px 1000px 0;
  color: var(--primary-orange);
  font-weight: 400;
  font-size: 14px;
  padding: 12px 32px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-orange:hover {
  background: var(--primary-orange);
  color: var(--primary-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 12px 32px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-orange.btn-lg {
  font-size: 20px;
  font-weight: 700;
}

.btn-secondary-orange.btn-lg {
  font-size: 20px;
  font-weight: 400;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 29px;
  border: 1px solid #F4F4F4;
  background: var(--background-gray);
  font-size: 15px;
  color: var(--primary-gray);
  flex-shrink: 0;
}

.flag-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

.hero-section {
  margin-top: -20px;
  background: linear-gradient(121deg, var(--primary-orangeish) 6.51%, #FFFEFE 71.95%, var(--primary-white) 104.27%);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}

.gradient-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 161px;
  background: linear-gradient(0deg, var(--primary-white) -10.25%, rgba(255, 255, 255, 0.00) 100%);
  pointer-events: none;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.hero-left-content {
  max-width: 580px;
}

.hero-right-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-title {
  font-size: 158px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFadeIn 1s ease forwards;
}

.hero-description {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 48px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFadeIn 1s ease 0.3s forwards;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFadeIn 1s ease 0.5s forwards;
}

.hero-buttons .btn {
  width: 100%;
}

.hero-image {
  width: 500px;
  height: auto;
  display: block;
  margin-bottom: -250px;
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  animation: slideInScale 1.2s ease 0.4s forwards;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.section-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.67;
  margin-bottom: 40px;
  max-width: 640px;
}

.who-we-are-section {
  padding: 70px 0;
}

.platform-preview {
  position: relative;
  margin-top: -30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.platform-label {
  position: absolute;
  top: -80px;
  right: 10%;
  color: var(--primary-orange);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.arrow-decoration {
  position: absolute;
  top: -50px;
  right: 1.4%;
  width: 13%;
  max-width: 182px;
  height: auto;
  z-index: 1;
}

.platform-image {
  width: 100%;
  max-width: 1400px;
  height: auto;
  border-radius: 30px;
  box-shadow: 10px 14px 64px 20px rgba(0, 0, 0, 0.08);
}

.for-who-section {
  background: var(--primary-orangeish);
  padding: 52px 0;
}

.feature-card {
  background: var(--primary-white);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
}

.info-card {
  background: var(--primary-white);
  border-radius: 20px;
  padding: 40px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.17;
  text-align: left;
}

.how-it-works-section {
  padding: 70px 0;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  background: var(--background-gray);
  border: 1px solid #D8D8D8;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: all 0.3s;
  position: relative;
  min-height: 184px;
}

.step-card:hover {
  background: var(--primary-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateX(10px);
}

.step-badge {
  background: var(--primary-white);
  border-radius: 100px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-dark);
  white-space: nowrap;
  position: absolute;
  left: 40px;
  top: 40px;
  line-height: 28px;
}

.step-content {
  margin-left: 678px;
  max-width: 570px;
}

.step-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 12px;
}

.step-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--primary-gray);
  margin: 0;
}

.reward-model-section {
  background: var(--primary-orangeish);
  padding: 52px 0;
}

.reward-card {
  background: var(--primary-white);
  border: 1px solid var(--primary-orangeish);
  border-radius: 20px;
  box-shadow: 2px 4px 8px var(--primary-orangeish);
  padding: 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: transform 0.3s;
}

.reward-card:hover {
  transform: scale(1.05);
}

.reward-percentage {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.13;
  color: var(--primary-orange);
}

.reward-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 12px;
}

.reward-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.56;
  color: var(--primary-gray);
  margin: 0;
}

.reward-explanation {
  background: var(--primary-white);
  border-radius: 20px;
  box-shadow: 2px 4px 8px var(--primary-orangeish);
  padding: 40px 88px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: var(--primary-gray);
}

.calculation-section {
  padding: 70px 0;
}

.calculation-chart {
  background: var(--primary-white);
  border: 1px solid var(--primary-stroke);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
}

.chart-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.56;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

.chart-wrapper {
  margin-bottom: 40px;
}

.chart-container {
  display: flex;
  gap: 4px;
  width: 100%;
}

.chart-y-axis {
  display: none;
}

.y-label {
  position: absolute;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  line-height: 28px;
  font-family: 'Montserrat', sans-serif;
  left: -45px;
  width: 35px;
}

.chart-grid .grid-line:nth-child(1) {
  position: relative;
}

.chart-grid .grid-line:nth-child(1)::after {
  content: '600';
  position: absolute;
  right: 100%;
  margin-right: 4px;
  top: -14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.chart-grid .grid-line:nth-child(2)::after {
  content: '450';
  position: absolute;
  right: 100%;
  margin-right: 4px;
  top: -14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.chart-grid .grid-line:nth-child(3)::after {
  content: '300';
  position: absolute;
  right: 100%;
  margin-right: 4px;
  top: -14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.chart-grid .grid-line:nth-child(4)::after {
  content: '150';
  position: absolute;
  right: 100%;
  margin-right: 4px;
  top: -14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.chart-grid .grid-line:nth-child(5)::after {
  content: '0';
  position: absolute;
  right: 100%;
  margin-right: 4px;
  top: -14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.chart-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 400px;
  padding-bottom: 27px;
}

.chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  width: 100%;
  padding-left: 0;
}

.grid-line {
  position: relative;
  border-top: none;
}

.grid-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 0;
  border-top: 1px solid var(--primary-gray);
}

.grid-line.bottom-line {
  border-top: 1px solid var(--primary-gray);
}

.grid-line.bottom-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 10px;
  height: 0;
  border-top: 1px solid var(--primary-gray);
}

.chart-bars-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  height: 100%;
  padding: 0 30px;
  gap: 80px;
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 0;
  border-left: 1px solid var(--primary-gray);
  z-index: 10;
}

.bar-group {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex: 1;
  max-width: 220px;
  justify-content: center;
  height: 100%;
}

.bar {
  flex: 1;
  max-width: 100px;
  border-radius: 20px 20px 0 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 4px;
}

.bar.agent-income {
  background: var(--secondary-orange-border);
  border: 1px solid var(--primary-orange);
  border-bottom: none; /* убираем нижнюю линию */
  top: -2px;
  box-sizing: border-box;
}

.bar.recruiter-income {
  background: var(--primary-stroke);
  top: -2px;
}

.bar.agent-income[data-value="360"] {
  height: calc(360 / 600 * 100%);
}

.bar.agent-income[data-value="477"] {
  height: calc(477 / 600 * 100%);
}

.bar.recruiter-income[data-value="87"] {
  height: calc(87 / 600 * 100%);
}

.bar.recruiter-income[data-value="110"] {
  height: calc(110 / 600 * 100%);
}

.bar:hover {
  transform: scaleY(1.03);
  transform-origin: bottom;
  filter: brightness(1.05);
}

.chart-legend {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-marker.agent-marker {
  background: var(--secondary-orange-border);
  border: 1px solid var(--primary-orange);
}

.legend-marker.recruiter-marker {
  background: var(--primary-stroke);
}

.legend-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-gray);
  line-height: 28px;
  font-family: 'Montserrat', sans-serif;
}

.calculation-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calculation-item {
  background: var(--primary-white);
  border: 1px solid var(--primary-stroke);
  border-radius: 20px;
  padding: 24px;
}

.calculation-item.highlight {
  background: var(--primary-orangeish);
  border-color: var(--primary-orangeish);
}

.calculation-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-gray);
  margin-bottom: 12px;
}

.calculation-amount {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.69;
  color: var(--primary-orange);
  margin: 0;
}

.calculation-amount.primary {
  font-size: 32px;
}

.calculation-amount-small {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.27;
  color: var(--primary-dark);
  margin: 0;
}

.calculation-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.56;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.calculation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calculation-row:last-child {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--primary-stroke);
  margin: 24px 0;
}

.onboarding-section {
  padding: 70px 0;
}

.advantages-section {
  background: var(--primary-orangeish);
  padding: 52px 0;
}

.advantage-card {
  background: var(--primary-white);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
}

.advantage-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.23;
  margin: 0;
}

.advantage-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.78;
  color: var(--primary-gray);
  margin: 0;
}

.faqs-section {
  padding: 70px 0;
  position: relative;
}

.faqs-section::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 694px;
  height: 685px;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjk0IiBoZWlnaHQ9IjY4NSIgdmlld0JveD0iMCAwIDY5NCA2ODUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgb3BhY2l0eT0iMC4yIj48cGF0aCBkPSJNMzQ2Ljg3NiA2ODVIMEwwIDAgMzQ2Ljg3NiAwQzUzOC4xMjYgMCA2OTMuNzUxIDE1My42OTQgNjkzLjc1MSAzNDIuNTcxQzY5My43NTEgNTMxLjQ0OCA1MzguMTI2IDY4NSAzNDYuODc2IDY4NVpNMTAwLjgxOCA1ODUuNDM0SDM0Ni44NzZDNDgyLjU5NyA1ODUuNDM0IDU5Mi45MzQgNDc2LjQ2NiA1OTIuOTM0IDM0Mi40MjlDNTkyLjkzNCAyMDguMzkyIDQ4Mi41OTcgOTkuNDI0IDM0Ni44NzYgOTkuNDI0IDEwMC44MTggOTkuNDI0IDEwMC44MTggNTg1LjQzNFoiIGZpbGw9IndoaXRlIi8+PHBhdGggZD0iTTM3Mi42NjcgNTM4LjQyOUMyNDguODE0IDUzOC40MjkgMTQ3Ljk4NCA0NDcuOTc5IDE0Ny45ODQgMzM2Ljg3NUgyNTguOTc2QzI1OC45NzYgMzkzLjEzOSAzMDkuOTQ3IDQzOC44NjMgMzcyLjY2NyA0MzguODYzQzQzNS4zODggNDM4Ljg2MyA0ODYuMzU4IDM5My4xMzkgNDg2LjM1OCAzMzYuODc1IDU5Ny4zNSAzMzYuODc1QzU5Ny4zNSA0NDcuOTc5IDQ5Ni41MjEgNTM4LjQyOSAzNzIuNjY3IDUzOC40MjlaIiBmaWxsPSJ3aGl0ZSIvPjwvZz48L3N2Zz4=') no-repeat center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.faqs-header {
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.faqs-accordion {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faqs-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.faqs-accordion .accordion-button {
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 24px;
  box-shadow: none;
}

.faqs-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--primary-orange);
}

.faqs-accordion .accordion-button::after {
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIxNC41IiBmaWxsPSIjRjVGNkY4IiBzdHJva2U9IiNGMUYxRjEiLz48cGF0aCBkPSJNMTAgMTNMMTUgMThMMjAgMTMiIHN0cm9rZT0iIzU3NTc1NyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

.faqs-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.faqs-accordion .accordion-body {
  padding: 0 24px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-gray);
  line-height: 1.75;
}

.registration-section {
  padding: 70px 0;
}

.registration-wrapper {
  background: var(--primary-orangeish);
  border-radius: 20px;
  padding: 40px;
  margin-top: 52px;
  position: relative; /* allow illustration to overlap */
  overflow: visible;
  padding-right: 260px; /* room for illustration inside the form */
}

.registration-form {
  background: transparent;
  position: relative;
  z-index: 2; /* ensure form fields sit above illustration when overlapping */
}

.form-group {
  margin-bottom: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-gray);
  margin-bottom: 8px;
}

.form-label svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form-control,
.form-select {
  border-radius: 8px;
  border: none;
  background: var(--primary-white);
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-gray);
  height: 52px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 99, 25, 0.25);
}

.form-select {
  appearance: none;
  padding-right: 40px;
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper .select-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.select-wrapper .select-indicator svg {
  width: 16px;
  height: 16px;
}

.select-wrapper.open .select-indicator {
  transform: translateY(-50%) rotate(180deg);
}

.input-with-icon .form-select {
  padding-left: 48px;
  padding-right: 40px;
}

.form-check-input {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid var(--placeholder-gray);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.form-check-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-gray);
  margin-left: 8px;
}

.form-check-label a {
  color: var(--primary-orange);
  text-decoration: underline;
}

.form-illustration {
  position: absolute; /* place inside the form container */
  right: 20px;
  bottom: 0;
  top: auto;
  width: 480px;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 1; /* sit behind form fields but inside wrapper */
  background: transparent; /* remove any background behind image */
}

/* Ensure no pseudo-element background shows behind the image */
.form-illustration::before,
.form-illustration::after {
  display: none !important;
}

/* Illustration image styling when placed inside form */
.illustration-image {
  width: 100%;
  max-width: none;
  display: block;
  transform: translateY(0) scale(1.12); /* align image bottom with wrapper bottom */
  background: transparent; /* ensure image background is transparent in CSS */
  box-shadow: none;
  mix-blend-mode: multiply; /* blend white pixels into form background to hide white canvas */
  transition: transform 0.25s ease, right 0.25s ease;
  border-radius: 0; /* avoid any rounded white card */
  margin-bottom: 0;
}

/* When hovering form, lift slightly more */
.registration-wrapper:hover .illustration-image {
  transform: translateY(-6px) scale(1.12);
}

@media (max-width: 991px) {
  .registration-wrapper {
    padding-right: 140px;
  }

  .form-illustration {
    right: 10px;
    width: 380px;
    transform: translateY(-50%);
  }

  .illustration-image {
    transform: translateY(0) scale(1.06);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  }
}

@media (max-width: 767px) {
  .registration-wrapper {
    padding-right: 20px;
  }

  .form-illustration {
    position: relative;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 20px;
    z-index: 0;
  }

  .illustration-image {
    transform: none;
    box-shadow: none;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Slight hover lift on large screens to emphasize pop */
.registration-wrapper:hover .illustration-image {
  transform: translateY(-6px) scale(1.12);
}

@media (max-width: 991px) {
  .illustration-image {
    right: -30px;
    max-width: 420px;
    transform: scale(1.05);
  }
}

@media (max-width: 767px) {
  .illustration-image {
    position: relative;
    right: 0;
    transform: scale(1);
    max-width: 320px;
    box-shadow: none;
  }
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.7;
}

.input-with-icon .form-control,
.input-with-icon .form-select {
  padding-left: 48px;
  border: none;
  background: var(--primary-white);
  height: 52px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-gray);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.input-with-icon .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 99, 25, 0.25);
}

.input-with-icon {
  position: relative;
}

.required-asterisk {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--danger-red);
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.required-asterisk.hidden {
  opacity: 0;
}

.form-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.illustration-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  transform: scale(1.1);
  animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0) scale(1.1);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
}

@media (max-width: 991px) {
  .illustration-image {
    max-width: 350px;
    transform: scale(1);
  }

  @keyframes floatAnimation {
    0%, 100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-10px) scale(1);
    }
  }
}

@media (max-width: 576px) {
  .illustration-image {
    max-width: 280px;
  }

  .form-illustration {
    padding: 10px 0;
  }
}

.footer {
  background: var(--background-light);
  padding: 15px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 60px;
}

.footer-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-gray);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: #707070;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

@media (min-width: 1920px) {
  .container-custom {
    max-width: 1800px;
    padding: 0 80px;
  }

  .header-menu .container-custom {
    max-width: 1800px;
    padding: 0 80px;
  }

  .footer-content {
    max-width: 1800px;
    padding: 0 80px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 180px;
  }

  .hero-description {
    font-size: 28px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-description {
    font-size: 20px;
  }

  .platform-preview {
    max-width: 1600px;
  }

  .platform-label {
    font-size: 18px;
    top: -90px;
  }

  .arrow-decoration {
    top: -60px;
  }
}

@media (max-width: 1919px) and (min-width: 1440px) {
  .container-custom {
    padding: 0 60px;
  }

  .header-menu .container-custom {
    padding: 0 60px;
  }

  .footer-content {
    padding: 0 60px;
  }

  .hero-title {
    font-size: 158px;
  }

  .hero-description {
    font-size: 24px;
  }

  .platform-preview {
    max-width: 1400px;
  }

  .platform-label {
    font-size: 17px;
    top: -85px;
  }

  .arrow-decoration {
    top: -55px;
  }
}

@media (max-width: 1439px) and (min-width: 1200px) {
  .container-custom {
    padding: 0 50px;
  }

  .header-menu .container-custom {
    padding: 0 50px;
  }

  .footer-content {
    padding: 0 50px;
  }

  .hero-title {
    font-size: 120px;
  }

  .hero-description {
    font-size: 22px;
    margin-bottom: 120px;
  }

  .hero-content-wrapper {
    gap: 30px;
  }

  .hero-image {
    width: 500px;
  }

  .section-title {
    font-size: 30px;
  }

  .platform-preview {
    max-width: 1300px;
  }

  .platform-label {
    font-size: 16px;
    top: -80px;
  }

  .arrow-decoration {
    top: -50px;
  }

  .step-content {
    margin-left: 550px;
    max-width: 520px;
  }

  .step-title {
    font-size: 25px;
  }

  .step-description {
    font-size: 17px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .container-custom {
    padding: 0 40px;
  }

  .header-menu .container-custom {
    padding: 0 40px;
  }

  .footer-content {
    padding: 0 40px;
  }

  .hero-title {
    font-size: 96px;
  }

  .hero-description {
    font-size: 20px;
    margin-bottom: 100px;
  }

  .hero-section {
    padding: 180px 0 80px;
  }

  .hero-content-wrapper {
    gap: 20px;
  }

  .hero-image {
    width: 450px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 17px;
  }

  .platform-image {
    max-width: 100%;
  }

  .step-badge {
    left: 32px;
    top: 32px;
  }

  .step-content {
    margin-left: 350px;
    max-width: 500px;
  }

  .step-title {
    font-size: 24px;
  }

  .step-description {
    font-size: 16px;
  }
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInScale {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-image:hover {
  animation: float 3s ease-in-out infinite;
}





html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}





.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--primary-gray) !important;
  opacity: 0.7;
}

/* Language dropdown pill to match existing style */
.language-dropdown .language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 29px;
  border: 1px solid #F4F4F4;
  background: var(--background-gray);
  color: var(--primary-gray);
  font-size: 15px;
  line-height: 1;
}

.language-dropdown .language-toggle .fi {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary-white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background-size: cover;
  background-position: center;
}

.language-menu {
  min-width: 200px;
  border-radius: 12px;
  border: 1px solid var(--primary-stroke);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.language-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--primary-dark);
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:active {
  background: var(--primary-orangeish);
  color: var(--primary-dark);
}

/* Header horizontal scroll with pretty scrollbar when items overflow */
.header-menu .navbar-nav.custom-scrollbar {
  scrollbar-color: var(--primary-orange) var(--background-gray);
}

@media (max-width: 1399px) {
  .header-menu .navbar-nav.custom-scrollbar {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  
  .mobile-drawer { pointer-events: none; }
  .mobile-drawer.open .mobile-drawer-overlay { opacity: 1; }
  .mobile-drawer.open .mobile-drawer-panel { transform: translateY(0); opacity: 1; }
  .mobile-drawer-panel { position: fixed; top: calc(var(--header-height, 64px) - 20px); left: 0; right: 0; margin: 0; background: var(--primary-white); border-radius: 0 0 20px 20px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); transform: translateY(-100%); opacity: 0; transition: transform .25s ease, opacity .25s ease; z-index: 999; padding: 16px; overflow: visible; }
  .mobile-drawer-overlay { position: fixed; top: var(--header-height, 64px); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.25); opacity: 0; transition: opacity .25s ease; z-index: 998; }
}

.custom-scrollbar::-webkit-scrollbar { height: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--background-gray); border-radius: 8px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--primary-orange); border-radius: 8px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #e55512; }

/* Enhanced open state for registration selects */
.select-wrapper.open .form-select { box-shadow: 0 0 0 2px rgba(255, 99, 25, 0.25); background: var(--primary-white); }
.select-wrapper.open::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -8px; height: 8px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0)); pointer-events: none; }
.form-select option { color: var(--primary-dark); }

/* Header responsiveness tweaks */
@media (max-width: 1199px) {
  .header-menu .navbar { padding: 10px 0; }
  .header-menu .container-custom { padding: 0 20px; }
  .nav-link { font-size: 14px; }
}

@media (max-width: 991px) {
  .header-menu .navbar-collapse {
    background: var(--primary-white);
    border-radius: 0 0 20px 20px;
    padding: 10px 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  }
  .navbar-nav.custom-scrollbar { overflow: visible; }
  .language-dropdown { margin-top: 8px; }
  /* reduce logo on smaller screens to keep layout */
  .logo { height: 44px; }
}

/* Responsive enhancements across breakpoints: desktop, laptop, tablet, mobile, small mobile, and landscape */

/* Tablet and below (<= 1199px) */
@media (max-width: 1199px) {
  
  .login-section .registration-wrapper {
    padding-right: 40px;
  }
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .hero-image, .platform-image { transform: none !important; }
  .container-custom { padding: 0 24px; }
  .header-menu .container-custom { padding: 0 24px; }
  .header-menu .navbar-collapse { background: var(--primary-white); border-radius: 0 0 20px 20px; padding: 10px 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
  .navbar-nav.custom-scrollbar { overflow: visible; }
  .language-dropdown { margin-top: 8px; }
  .logo { height: 44px; }
  .footer-content { padding: 0 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }

  .hero-content-wrapper { grid-template-columns: 1fr 0.7fr; gap: 16px; align-items: center; }
  .hero-right-content { justify-content: flex-end; }
  .hero-image { width: 280px; margin-bottom: 0; }
  .hero-title { font-size: 56px; white-space: normal; }
  .hero-description { font-size: 16px; max-width: 100%; }

  .section-title { font-size: 26px; }
  .section-description { font-size: 16px; max-width: 100%; }

  .platform-preview { margin-top: 0; }
  .platform-label { display: none; }
  .arrow-decoration { display: none; }

  .steps-container { gap: 12px; }
  .step-card { align-items: flex-start; min-height: auto; padding-top: 64px; }
  .step-badge { left: 24px; top: 24px; }
  .step-content { margin-left: 0; max-width: 100%; padding-top: 0; }

  .calculation-section { padding: 100px 0; }
  .calculation-chart { margin-bottom: 24px; }
  .calculation-details { margin-top: 20px; }
  .chart-area { min-height: 320px; }
  .chart-bars-container { gap: 40px; padding: 0 20px; left: 8px; }
  .bar-group { max-width: 160px; }
  .chart-title { margin-bottom: 28px; }

  .reward-explanation { padding: 32px; font-size: 20px; }
  .footer-content { gap: 16px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; width: 100%; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; }

  /* Offcanvas mobile menu */
  /* Under-header slide-down mobile drawer */
  body.no-scroll { overflow: hidden; }
  .mobile-drawer.open { pointer-events: auto; }
  .mobile-drawer .navbar-nav { gap: 12px; margin-top: 10px; flex-direction: column; align-items: center; width: 100%; }
  .mobile-drawer .nav-item { width: 100%; }
  .mobile-drawer .nav-link { font-size: 16px; padding: 10px 0; color: var(--primary-dark); text-align: center; display: block; width: 100%; }
  .mobile-drawer .language-toggle { justify-content: center; align-items: center; width: 100%; }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
   .login-section .registration-wrapper {
    padding: 12px;
  }
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .container-custom { padding: 0 16px; }
  .header-menu .container-custom { padding: 0 16px; }
  .footer-content { padding: 0 16px; }

  .hero-section { padding: 154px 0 60px; }
  .hero-title { font-size: 48px; }
  .hero-description { font-size: 16px; margin-bottom: 32px; }
  .hero-buttons { max-width: 100%; }
  .hero-content-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .hero-right-content { justify-content: center; }
  .hero-image { width: 100%; margin-bottom: 0; }

  .platform-image { border-radius: 20px; }

  .who-we-are-section,
  .how-it-works-section,
  .calculation-section,
  .onboarding-section,
  .faqs-section,
  .registration-section { padding: 80px 0; }

  .feature-card, .advantage-card, .reward-card { padding: 24px; gap: 24px; }
  .reward-percentage { font-size: 56px; }
  .reward-title { font-size: 26px; }

  .chart-title { font-size: 16px; margin-bottom: 24px; }
  .calculation-chart { margin-bottom: 24px; }
  .calculation-details { margin-top: 24px; }
  .chart-area { min-height: 260px; }
  .chart-bars-container { gap: 24px; padding: 0 12px; left: 6px; }
  .bar-group { max-width: 120px; }

  .calculation-details { margin-top: 24px; }
  .step-card { padding: 24px; gap: 20px; padding-top: 64px; }

  .footer-content { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-links { flex-direction: column; gap: 8px; align-items: center; }
}

/* Small mobile (<= 576px) */
@media (max-width: 576px) {
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .hero-title { font-size: 36px; }
  .hero-description { font-size: 15px; }

  .btn-lg { height: 56px; padding: 12px 24px; }
  .btn-primary-orange.btn-lg,
  .btn-secondary-orange.btn-lg { font-size: 18px; }

  .section-title { font-size: 24px; }
  .info-card { font-size: 20px; padding: 24px; }
  .reward-explanation { padding: 20px; font-size: 18px; }

  .chart-area { min-height: 220px; }
  .chart-bars-container { gap: 16px; padding: 0 8px; left: 4px; }
  .bar-group { max-width: 100px; }

  .step-badge { left: 16px; top: 16px; font-size: 14px; }

  .footer-content { gap: 10px; justify-content: center; align-items: center; text-align: center; }
  .footer-links { gap: 6px; align-items: center; justify-content: center; }
}

/* Desktop from 1200px onwards - bind platform elements together */
@media (min-width: 1200px) {
  .platform-preview {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .platform-label {
    display: block;
    font-size: clamp(16px, 1.2vw, 20px);
    top: clamp(-80px, -6vw, -100px);
    right: 10%;
  }

  .arrow-decoration {
    display: block;
    top: clamp(-50px, -4vw, -70px);
    right: 1.4%;
  }
}

/* Landscape handling for small heights */
@media (orientation: landscape) and (max-height: 480px) {
  .hero-section { padding: 40px 0 20px; }
  .hero-title { font-size: 42px; margin-bottom: 8px; }
  .hero-description { margin-bottom: 20px; }
  .gradient-blur { display: none; }
  .hero-image { width: 50vw; margin-bottom: 0; animation: none; transform: none !important; }

  .header-menu .navbar { padding: 8px 0; }
  .step-card { min-height: auto; }
}

/* 2K desktop (>=2560px) */
@media (min-width: 2560px) {
  .container-custom { max-width: 2200px; padding: 0 100px; margin: 0 auto; }
  .header-menu .container-custom { max-width: 2200px; padding: 0 100px; }
  .footer-content { max-width: 2200px; padding: 0 100px; margin: 0 auto; }

  .logo { height: 64px; }

  .hero-title { font-size: 220px; }
  .hero-description { font-size: 32px; }
  .hero-image { width: 600px; }

  .section-title { font-size: 48px; }
  .section-description { font-size: 22px; }

  .platform-preview { max-width: 1800px; }
  .platform-image { max-width: 1800px; }

  .platform-label {
    font-size: 20px;
    top: -100px;
  }

  .arrow-decoration {
    top: -70px;
    max-width: 220px;
  }

  .btn-lg { height: 72px; }
  .btn-primary-orange.btn-lg,
  .btn-secondary-orange.btn-lg { font-size: 22px; }

  .reward-percentage { font-size: 72px; }
  .reward-title { font-size: 36px; }

  .chart-title { font-size: 20px; }
  .chart-area { min-height: 480px; }

  .calculation-amount.primary { font-size: 36px; }
  .calculation-amount { font-size: 28px; }

  .footer-text { font-size: 14px; }
  .footer-links a { font-size: 14px; }
}

/* 4K desktop (>=3840px) */
@media (min-width: 3840px) {
  .container-custom { max-width: 3200px; padding: 0 120px; margin: 0 auto; }
  .header-menu .container-custom { max-width: 3200px; padding: 0 120px; }
  .footer-content { max-width: 3200px; padding: 0 120px; margin: 0 auto; }

  .logo { height: 72px; }

  .hero-title { font-size: 280px; }
  .hero-description { font-size: 36px; }
  .hero-image { width: 720px; }

  .section-title { font-size: 56px; }
  .section-description { font-size: 24px; }

  .platform-preview { max-width: 2400px; }
  .platform-image { max-width: 2400px; }

  .platform-label {
    font-size: 24px;
    top: -120px;
  }

  .arrow-decoration {
    top: -80px;
    max-width: 280px;
  }

  .btn-lg { height: 80px; }
  .btn-primary-orange.btn-lg,
  .btn-secondary-orange.btn-lg { font-size: 24px; }

  .reward-percentage { font-size: 84px; }
  .reward-title { font-size: 40px; }

  .chart-title { font-size: 22px; }
  .chart-area { min-height: 560px; }

  .calculation-amount.primary { font-size: 40px; }
  .calculation-amount { font-size: 30px; }

  .footer-text { font-size: 16px; }
  .footer-links a { font-size: 16px; }
}


#dbdc-id-input {
  display: none;
}

.swal2-title, .swal2-html-container {
  display: block !important;
}

.trp-shortcode-switcher {
    padding: 4px 12px !important;
    border-radius: 29px !important;
    border: 1px solid #F4F4F4 !important;
    background: var(--background-gray) !important;
    color: var(--primary-gray) !important;
    font-size: 15px;
    line-height: 1;
    /* width: 100%; */
    text-align: center;
    align-items: center;
}
.trp-shortcode-overlay {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.trp-shortcode-switcher__wrapper {
  display: inline-flex;
  justify-content: center;
}

.grecaptcha-badge {
    display: none;
}
.wpcf7-response-output {
    display: none;
}
.cky-revisit-bottom-left {
    display: none !important;
}

.login-section {
    height: 100vh;
    display: flex;
    align-items: center;
}