/* Ultra-Pro Registration Landing Page Styles - RealtyDhaba Theme */

:root {
  --rd-navy: #151247;
  --rd-navy-dark: #0e0b34;
  --rd-navy-light: #1e1962;
  --rd-purple-gradient: linear-gradient(135deg, #151247 0%, #1f196a 50%, #2b238d 100%);
  --rd-orange: #bd4a3c;
  --rd-orange-gradient: linear-gradient(135deg, #bd4a3c 0%, #d9534f 100%);
  --rd-orange-hover: #a33e31;
  --rd-yellow: #f59e0b;
  --rd-bg-light: #f4f7fa;
  --rd-text-dark: #151247;
  --rd-text-muted: #64748b;
  --rd-border: #e2e8f0;
}

body.register-page {
  background-color: var(--rd-bg-light);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--rd-text-dark);
}

.register-landing-container {
  width: 100%;
  overflow-x: clip;
}

/* Sticky Header Bar on Scroll - White Background Matching Homepage */
.register-navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.register-hero-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Crisp Brand Logo matching Homepage */
.register-brand-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  border: none;
  box-shadow: none;
}

.register-brand-capsule:hover {
  transform: none;
  box-shadow: none;
}

.register-brand-capsule img {
  height: 44px;
  width: auto;
  display: block;
}

.register-brand-text {
  font-size: 23px;
  font-weight: 900;
  color: var(--rd-navy);
  letter-spacing: -0.5px;
}

/* Top Login Button on White Header */
.login-pill-btn {
  border: 1px solid var(--rd-navy);
  background: var(--rd-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-pill-btn:hover {
  background: var(--rd-orange);
  color: #ffffff;
  border-color: var(--rd-orange);
  box-shadow: 0 4px 14px rgba(189, 74, 60, 0.3);
}


/* Top Hero Section with Deep Curved Navy Background */
.register-hero-wrapper {
  background: var(--rd-purple-gradient);
  color: #ffffff;
  padding: 90px 20px 110px 20px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  position: relative;
  box-shadow: 0 10px 30px rgba(21, 18, 71, 0.2);
}

/* Hero Content Grid */
.register-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 44px;
  align-items: flex-start;
}

.register-hero-left {
  padding-top: 10px;
}

/* Hero Title & Pill Highlight */
.hero-main-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-highlight-pill {
  background: var(--rd-orange);
  color: #ffffff;
  padding: 2px 14px;
  border-radius: 8px;
  display: inline-block;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(189, 74, 60, 0.4);
}

/* Hero Checkmark Badges */
.hero-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}

.hero-feature-item i {
  color: var(--rd-yellow);
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Social Proof Testimonials */
.hero-testimonials-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.testimonial-card-pro {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease;
  position: relative;
}

.testimonial-card-pro:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.testimonial-stars {
  color: var(--rd-yellow);
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}

.testimonial-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rd-orange);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-user-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.testimonial-user-badge {
  font-size: 11px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-user-badge i {
  color: #38bdf8;
}

.testimonial-quote {
  font-size: 13px;
  line-height: 1.5;
  color: #f8fafc;
  margin: 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Floating Registration Form Card */
.register-floating-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  padding: 32px 28px;
  color: var(--rd-navy);
  position: relative;
  z-index: 10;
  margin-bottom: -80px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Segmented 3 Role Tabs */
.role-tabs-pro {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 22px;
  gap: 4px;
}

.role-tab-item {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--rd-text-muted);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.role-tab-item i {
  font-size: 14px;
}

.role-tab-item.active {
  background: var(--rd-orange-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(189, 74, 60, 0.35);
}

.form-header-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--rd-navy);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.form-header-sub {
  font-size: 13px;
  color: var(--rd-orange);
  background: rgba(189, 74, 60, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
}

/* Property Type Pills (Residential / Commercial) */
.property-type-wrapper {
  margin-bottom: 16px;
}

.property-type-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rd-navy);
  margin-bottom: 8px;
  display: block;
}

.property-type-pills {
  display: flex;
  gap: 12px;
}

.prop-type-pill {
  flex: 1;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: var(--rd-navy);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.prop-type-pill .check-icon {
  font-size: 15px;
  margin-right: 6px;
  color: #6346f3;
  display: inline-block;
}

.prop-type-pill:not(.active) .check-icon {
  display: none;
}

.prop-type-pill:hover {
  border-color: #cbd5e1;
}

.prop-type-pill.active {
  background: #ece8fe;
  border-color: #6346f3;
  color: #6346f3;
  box-shadow: 0 2px 8px rgba(99, 70, 243, 0.12);
  font-weight: 800;
}

/* Floating Input Group with Left Icon Badge */
.form-input-group {
  position: relative;
  margin-bottom: 14px;
}

.form-input-group i.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  z-index: 5;
  transition: color 0.2s ease;
}

.form-input-group .form-control {
  padding-left: 44px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  color: var(--rd-navy);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group .form-control:focus {
  border-color: var(--rd-orange);
  box-shadow: 0 0 0 3px rgba(189, 74, 60, 0.15);
  background: #ffffff;
}

.form-input-group .form-control:focus ~ i.input-icon {
  color: var(--rd-orange);
}

.submit-btn-pro {
  background: var(--rd-orange-gradient);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  width: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(189, 74, 60, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn-pro:hover {
  background: linear-gradient(135deg, #a33e31 0%, #bd4a3c 100%);
  box-shadow: 0 8px 22px rgba(189, 74, 60, 0.45);
  transform: none;
}

.already-member-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--rd-text-muted);
  font-weight: 600;
}

.already-member-link a {
  color: var(--rd-orange);
  font-weight: 800;
  text-decoration: none;
}

.already-member-link a:hover {
  text-decoration: underline;
}

/* Main Content Wrapper */
.register-main-sections {
  max-width: 1200px;
  margin: 120px auto 60px auto;
  padding: 0 20px;
}

.section-block {
  margin-bottom: 80px;
}

.section-title-center {
  font-size: 32px;
  font-weight: 900;
  color: var(--rd-navy);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* Why Should You List Grid (Clean 2x2 Layout, No Hover Transform) */
.why-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card-item {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  padding: 32px 28px;
  transition: none;
}

.why-card-item:hover {
  transform: none !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.why-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(21, 18, 71, 0.06);
  color: var(--rd-navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0;
  box-shadow: none;
}

.why-badge {
  background: rgba(189, 74, 60, 0.08);
  color: var(--rd-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.why-card-item h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--rd-navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.why-card-item p {
  font-size: 14px;
  color: var(--rd-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* How It Works Grid Layout (3 Column Process Flow) */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.how-step-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  padding: 32px 26px;
  position: relative;
  transition: none;
}

.how-step-card:hover {
  transform: none !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.how-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.how-step-icon {
  width: 52px;
  height: 52px;
  background: rgba(21, 18, 71, 0.06);
  color: var(--rd-navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.how-step-number {
  font-size: 30px;
  font-weight: 900;
  color: #cbd5e1;
  letter-spacing: -1px;
}

.how-step-badge {
  background: rgba(189, 74, 60, 0.08);
  color: var(--rd-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.how-step-card h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--rd-navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.how-step-card p {
  font-size: 14px;
  color: var(--rd-text-muted);
  margin: 0;
  line-height: 1.6;
}

.step-content-text p {
  font-size: 14px;
  color: var(--rd-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* FAQs Accordion */
.faq-container-pro {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-pro {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--rd-border);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.faq-card-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: #ffffff;
  transition: background 0.2s ease;
}

.faq-card-header:hover {
  background: #f8fafc;
}

.faq-question-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--rd-navy);
  margin: 0;
}

.faq-chevron-icon {
  font-size: 15px;
  color: var(--rd-navy);
  transition: transform 0.3s ease;
}

.faq-card-body {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--rd-text-muted);
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
}

/* Footer */
.register-landing-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--rd-border);
  font-size: 13px;
  color: var(--rd-text-muted);
  background: #ffffff;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .register-hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .register-hero-left {
    padding-right: 0;
    text-align: center;
  }
  .hero-main-title {
    font-size: 32px;
  }
  .hero-feature-list {
    align-items: center;
  }
  .hero-testimonials-row {
    max-width: 600px;
    margin: 0 auto;
  }
  .register-floating-card {
    max-width: 500px;
    margin: 0 auto -80px auto;
  }
  .why-card-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .register-hero-wrapper {
    padding: 20px 15px 90px 15px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  .hero-main-title {
    font-size: 26px;
  }
  .hero-testimonials-row {
    grid-template-columns: 1fr;
  }
  .why-list-grid {
    grid-template-columns: 1fr;
  }
  .step-card-pro {
    padding: 18px;
    gap: 16px;
  }
}
