/* ============================================
   Register Page Styles
   register.css
   ============================================ */

.register-page {
  background-color: #040b3e;
  background-image: url('images/data_particles.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  min-height: 100vh;
  color: #fff;
  font-family: 'Barlow', Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

#register-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.register-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,11,62,1) 0%, rgba(4,11,62,0.92) 65%, rgba(4,11,62,0.45) 100%);
  pointer-events: none;
  z-index: 0;
}

.register-page > * {
  position: relative;
  z-index: 1;
}

.register-page > .skip-to-main {
  position: absolute;
  top: -100%;
  z-index: 10000;
}

.register-page > .skip-to-main:focus {
  top: 0;
}

/* Restore fixed positioning for floating UI elements that must stay viewport-fixed */
body.register-page > .email-fab,
body.register-page > .return-to-top,
body.register-page > #returnToTop {
  position: fixed;
  z-index: 10000;
}

/* ---- White Nav Override ---- */
.register-page .site-header.leads-nav {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

body.register-page .site-header.leads-nav .logo img {
  width: 200px;
  height: auto;
  filter: none;
}

.register-page .site-header.leads-nav .main-nav > ul > li > a {
  color: #fff;
}

.register-page .site-header.leads-nav .main-nav > ul > li > a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.register-page .site-header.leads-nav .main-nav > ul > li > a::after {
  background: #fff;
}

.register-page .site-header.leads-nav .nav-toggle {
  color: #fff;
}

.register-page .site-header.leads-nav .lang-dropdown__toggle {
  color: #fff;
}

.register-page .site-header.leads-nav .lang-dropdown__label {
  color: #fff;
}

.register-page .site-header.leads-nav .btn-outline {
  border-color: #fff;
  color: #fff !important;
}

.register-page .site-header.leads-nav .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---- Hero Text ---- */
.register-hero {
  text-align: center;
  padding: 48px 24px 32px;
}

.register-title {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1;
}

.register-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* ---- Logo above cards ---- */
.register-logo-header {
  display: flex;
  justify-content: center;
  padding: 48px 24px 0;
}

.register-logo-header img {
  height: 42px;
  width: auto;
  display: block;
}

/* ---- Card Grid ---- */
.register-cards {
  padding: 48px 24px 0;
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

/* ---- Individual Cards ---- */
.reg-card {
  border-radius: 8px;
  padding: 28px 24px 22px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  min-height: 200px;
}

.reg-card--dark {
  background: rgba(0, 73, 179, 0.25);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reg-card--bright {
  background: rgba(0, 114, 235, 0.25);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reg-card:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 32px 8px rgba(100, 180, 255, 0.35);
}

.reg-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* ---- Card Icon ---- */
.reg-card__icon {
  margin-bottom: 14px;
  color: #fff;
  flex-shrink: 0;
}

/* ---- Card Text ---- */
.register-page .reg-card__title {
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.45;
}

.reg-card__desc {
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.45;
}

.reg-card__services-label {
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  margin: 0 auto 14px;
  line-height: 1.45;
}

/* ---- Divider ---- */
.reg-card__divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 0 18px;
}

/* ---- Card Bottom Logos / CTA ---- */
.reg-card__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: auto;
}

.reg-cta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* ---- Reset leadsonline p overrides ---- */
.register-page.leadsonline p {
  max-width: none;
  text-align: center;
  margin: 0 auto;
}

.register-page.leadsonline .register-disclaimer {
  max-width: 680px;
  margin-top: 72px;
}

.register-page.leadsonline .register-tagline {
  max-width: 680px;
}

/* ---- Disclaimer ---- */
.register-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 400px;
  margin: 72px auto 0;
  padding: 0 24px;
}

.register-disclaimer a {
  color: #fff;
  text-decoration: underline;
}

.register-disclaimer a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Tagline ---- */
.register-tagline {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 52px auto 0;
  padding: 0 24px 60px;
  max-width: 400px;
}


/* ---- Certification Badges ---- */
.register-page .register-badges {
  margin-top: 56px;
}

.register-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 56px auto 0;
  padding: 0 24px;
  list-style: none;
}

.register-badges img {
  height: 70px;
  width: auto;
}

/* ---- Country Picker ---- */
.country-picker {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
  padding: 0 24px;
}

.country-picker__dropdown {
  position: relative;
}

.country-picker__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 73, 179, 0.25);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.country-picker__toggle:hover {
  background: rgba(0, 73, 179, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.country-picker__flag {
  font-size: 1.2rem;
  line-height: 1;
}

.country-picker__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 100%;
  background: rgba(4, 11, 62, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 100;
}

.country-picker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}

.country-picker__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.country-picker__item.active {
  color: #fff;
  font-weight: 700;
}

.country-picker__item-flag {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .register-grid {
    grid-template-columns: 1fr;
  }

  .register-title {
    font-size: 2.2rem;
  }

  .reg-card {
    min-height: auto;
  }

  .register-badges img {
    height: 80px;
  }
}

@media (max-width: 400px) {
  .register-title {
    font-size: 1.8rem;
  }
}
