:root {
  --navy: #0b1628;
  --blue: #1457c8;
  --blue2: #1e78ff;
  --accent: #00d4ff;
  --white: #ffffff;
  --gray1: #f4f7ff;
  --gray2: #e2e8f0;
  --gray3: #94a3b8;
  --text: #1a2540;
  --green: #00c48c;
  --red: #ff4d4d;
}

.rg-page,
.rg-page * {
  box-sizing: border-box;
}

.rg-page {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: var(--text);
}

.rg-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 60%, var(--blue2) 100%);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.rg-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 196, 140, 0.25) 50%, transparent 100%);
  animation: rgBannerShimmer 3s infinite;
}

@keyframes rgBannerShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.rg-banner strong {
  color: var(--accent);
}

.rg-banner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.rg-countdown-wrap {
  background: transparent;
  padding: 52px 20px;
  text-align: center;
  position: relative;
  margin: 40px 0;
}

.rg-countdown-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 75% 85% at 50% 50%, var(--navy) 0%, var(--navy) 40%, rgba(11, 22, 40, 0.85) 58%, rgba(11, 22, 40, 0.4) 72%, rgba(255, 255, 255, 0) 88%, #ffffff 100%);
  pointer-events: none;
  z-index: 0;
}

.rg-countdown-wrap > * {
  position: relative;
  z-index: 1;
}

.rg-countdown-wrap h3,
.rg-step h2,
.rg-success h3,
.rg-faq-title {
  font-family: 'Syne', sans-serif;
}

.rg-countdown-wrap h3 {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.rg-cd-grid {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.rg-cd-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 72px;
  position: relative;
  overflow: hidden;
}

.rg-cd-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.rg-cd-num {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}

.rg-cd-lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: 4px;
  display: block;
}

.rg-cd-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 18px;
}

.rg-form-wrap,
.rg-faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.rg-form-wrap {
  padding-top: 40px;
}

.rg-progress-wrap {
  margin-bottom: 28px;
}

.rg-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.rg-progress-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray3);
  transition: color 0.3s;
}

.rg-progress-label.active {
  color: var(--blue);
}

.rg-progress-label.done {
  color: var(--green);
}

.rg-progress-bar-bg {
  height: 4px;
  background: var(--gray2);
  border-radius: 4px;
  overflow: hidden;
}

.rg-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.rg-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(20, 87, 200, 0.1);
  border: 1px solid rgba(20, 87, 200, 0.08);
}

.rg-step {
  display: none;
}

.rg-step.active {
  display: block;
  animation: rgFadeInUp 0.3s ease;
}

@keyframes rgFadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rg-step h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.2;
}

.rg-step-subtitle,
.rg-success p,
.rg-faq-sub {
  font-size: 13px;
  color: var(--gray3);
  line-height: 1.6;
}

.rg-step-subtitle {
  margin: 0 0 24px;
}

.rg-bilingual {
  display: block;
  font-size: 12px;
  color: var(--blue);
  font-style: italic;
  margin-top: 2px;
}

.rg-bilingual-inline {
  text-transform: none;
}

.rg-field {
  margin-bottom: 16px;
}

.rg-field-lg {
  margin-bottom: 18px;
}

.rg-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #475569;
  margin-bottom: 6px;
}

.rg-field label .req {
  color: var(--red);
  margin-left: 2px;
}

.rg-field input[type='text'],
.rg-field input[type='email'],
.rg-field input[type='tel'] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray2);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--gray1);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.rg-field input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.rg-row-2,
.rg-cb-grid,
.rg-choices.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rg-choices {
  display: grid;
  gap: 10px;
}

.rg-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--gray2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s;
  background: var(--gray1);
  user-select: none;
  position: relative;
}

.rg-choice input {
  position: absolute;
  opacity: 0;
}

.rg-choice-text {
  flex: 1;
}

.rg-choice-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.rg-choice-text span {
  font-size: 11px;
  color: var(--gray3);
}

.rg-choice-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gray2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  font-size: 8px;
  font-weight: 700;
}

.rg-choice:hover,
.rg-cb-item:hover,
.rg-terms:hover {
  border-color: var(--blue2);
  background: #eff6ff;
}

.rg-choice.selected {
  border-color: var(--blue);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(20, 87, 200, 0.08);
}

.rg-choice.selected .rg-choice-check {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.rg-choice.selected .rg-choice-text strong,
.rg-cb-item.is-checked span {
  color: var(--blue);
}

.rg-cb-grid {
  gap: 8px;
}

.rg-cb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1.5px solid var(--gray2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--gray1);
  font-size: 13px;
  color: var(--text);
  user-select: none;
}

.rg-cb-item input[type='checkbox'],
.rg-terms input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

.rg-cb-item.is-checked,
.rg-terms.is-checked {
  border-color: var(--blue);
  background: #eff6ff;
}

.rg-cb-item.is-checked span {
  font-weight: 600;
}

.rg-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid var(--gray2);
  border-radius: 10px;
  background: var(--gray1);
  cursor: pointer;
  margin-bottom: 20px;
  transition: border-color 0.15s;
}

.rg-terms-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.rg-terms-text a {
  color: var(--blue);
  text-decoration: underline;
}

.rg-summary {
  background: var(--gray1);
  border: 1px solid var(--gray2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 13px;
}

.rg-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray2);
  gap: 8px;
}

.rg-summary-row:last-child {
  border-bottom: none;
}

.rg-summary-label {
  color: var(--gray3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rg-summary-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.rg-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.rg-btn-back,
.rg-btn-next,
.rg-share-btn {
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}

.rg-btn-back {
  padding: 12px 20px;
  background: var(--gray1);
  border: 1.5px solid var(--gray2);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray3);
  transition: all 0.18s;
  flex-shrink: 0;
}

.rg-btn-back:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #ffffff;
}

.rg-btn-next {
  flex: 1;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  color: var(--white);
  border: none;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(20, 87, 200, 0.3);
}

.rg-btn-next:hover {
  opacity: 0.92;
}

.rg-btn-next:active {
  transform: scale(0.99);
}

.rg-btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rg-btn-note {
  font-size: 12px;
  opacity: 0.8;
}

.rg-err {
  display: none;
  background: #fff0f0;
  border: 1px solid #ffcdd2;
  color: #c62828;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 14px;
}

.rg-err.is-visible {
  display: block;
}

.rg-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: rgFadeInUp 0.4s ease;
}

.rg-success.is-visible {
  display: block;
}

.rg-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #00c48c, #00e5a6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
  color: #ffffff;
}

.rg-success-icon-muted {
  background: linear-gradient(135deg, #64748b, #94a3b8);
}

.rg-success h3 {
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 8px;
}

.rg-waitlist-num {
  display: inline-block;
  background: #ffffff;
  color: #0b1628;
  border: 2px solid #e2e8f0;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 14px;
  margin: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rg-success-note,
.rg-share-label {
  font-size: 12px;
  color: var(--gray3);
}

.rg-share-label {
  margin: 16px 0 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rg-share-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.rg-share-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s;
}

.rg-share-btn:hover {
  opacity: 0.85;
}

.rg-share-ig { background: #e2e8f0; color: #475569; }
.rg-share-fb { background: #1877f2; color: #ffffff; }
.rg-share-wa { background: #25d366; color: #ffffff; }

.rg-faq-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin: 0 0 6px;
}

.rg-faq-sub {
  text-align: center;
  margin: 0 0 20px;
}

.rg-faq-item {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.rg-faq-item:hover {
  box-shadow: 0 4px 20px rgba(20, 87, 200, 0.08);
}

.rg-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.rg-faq-arrow {
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.rg-faq-item.open .rg-faq-arrow {
  transform: rotate(180deg);
}

.rg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  padding: 0 20px;
}

.rg-faq-item.open .rg-faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

.rg-faq-bilingual {
  display: block;
  font-size: 12px;
  color: var(--blue);
  font-style: italic;
  margin-top: 6px;
}

.rg-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .rg-card {
    padding: 24px 18px;
  }
}

@media (max-width: 440px) {
  .rg-row-2,
  .rg-cb-grid,
  .rg-choices.cols-2,
  .rg-nav {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .rg-progress-labels {
    font-size: 9px;
  }
}
