/* --- HERO SECTION LAYOUT --- */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- LEFT: HERO CONTENT --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: var(--brand-light);
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(204, 0, 0, 0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-highlight {
  color: var(--brand-red) !important;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

/* --- HERO FEATURES (Stacked Text) --- */
.hero-features {
  display: flex;
  gap: 32px;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i.icon-red {
  font-size: 24px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.feature-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.feature-text span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* --- RIGHT: FORM CARD --- */
.form-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.form-header {
  margin-bottom: 24px;
}
.form-header h2 {
  font-size: 22px;
  font-weight: 700;
}
.form-header p {
  font-size: 14px;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

/* --- STANDARD INPUTS (No Shadow, Just Border) --- */
.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
  background: #f8fafc; /* Slight gray bg for unselected state */
}

.form-group input:focus {
  background: white;
  border-color: var(--brand-red);
  box-shadow: none; /* Flat design */
}

/* --- MOBILE INPUT GROUP (Redesigned) --- */
.mobile-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  overflow: hidden;
}

/* Focus State: Border Only */
.mobile-input-group:focus-within {
  background-color: white;
  border-color: var(--brand-red);
  box-shadow: none;
}

/* Clean Dropdown Wrapper */
.country-select-wrapper {
  position: relative;
  width: 100px;
  background-color: transparent;
  border-right: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.country-select-wrapper:hover {
  background-color: #f1f5f9;
}

.country-select-wrapper select {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 8px 0 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  outline: none;
  appearance: none;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

.country-select-wrapper i {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #94a3b8;
  z-index: 1;
  pointer-events: none;
}

.mobile-input-group input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  background: transparent;
}

.mobile-input-group input::placeholder {
  color: #cbd5e1;
}

/* --- SLIDING TOGGLE STYLES (Light Version) --- */
.toggle-container {
  position: relative;
  display: flex;
  background-color: #f8fafc; /* Light Grey Track */
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-top: 8px;
  height: 48px; /* Slightly taller for better touch target */
}

.toggle-btn {
  flex: 1;
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b; /* Inactive Gray Text */
  transition: color 0.3s ease;
}

/* Active Text: Now Red (instead of White) */
.toggle-btn.active {
  color: white;
  font-weight: 700;
}

/* The Sliding Pill: Now White (instead of Red) */
.slider-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);

  background-color: #000; /* Clean White */

  border-radius: 6px;
  z-index: 1;

  /* Subtle Shadow to make it pop */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;

  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-container.slide-right .slider-pill {
  transform: translateX(100%);
}

.form-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Form Footer */
.form-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}
.form-footer a {
  color: var(--brand-red);
  font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: left;
  }

  .feature-item {
    width: 100%;
    justify-content: center;
  }

  .badge {
    margin: 0 auto 24px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
}
