* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Product Sans', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #202124;
  color: #e8eaed;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #1a1a1a;
  border-bottom: 1px solid #3c4043;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18));
  transition: transform 0.2s;
}

.logo-img:hover {
  transform: scale(1.04);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #e8eaed;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #4285F4;
}

.get-listed-btn {
  background: #34A853;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-listed-btn:hover {
  background: #2d9248;
  transform: translateY(-1px);
}

.search-icon-btn,
.menu-toggle {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.search-icon-btn:hover,
.menu-toggle:hover {
  background: #292a2d;
}

.menu-toggle {
  display: none;
}

/* Main Content */
.main-content {
  padding: 40px 0;
}

.breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
}

.breadcrumb-link {
  color: #4285F4;
  text-decoration: none;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: #9aa0a6;
}

.breadcrumb-current {
  color: #9aa0a6;
}

.signup-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Progress Indicator Styles */
.progress-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: #3c4043;
  z-index: 1;
}

.progress-step.active:not(:last-child)::after {
  background: #34A853;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3c4043;
  color: #9aa0a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: #34A853;
  color: white;
}

.progress-step.completed .step-number {
  background: #34A853;
  color: white;
}

.progress-step.completed .step-number::after {
  content: "✓";
  font-size: 12px;
}

.step-label {
  font-size: 12px;
  color: #9aa0a6;
  text-align: center;
  font-weight: 500;
}

.progress-step.active .step-label {
  color: #34A853;
  font-weight: 600;
}

/* Form Section */
.signup-form-section {
  background: #292a2d;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-header {
  margin-bottom: 40px;
  text-align: center;
}

.form-title {
  font-size: 32px;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 10px;
}

.form-subtitle {
  color: #9aa0a6;
  font-size: 16px;
  line-height: 1.5;
}

/* Account Type Selection */
.account-type-selection {
  margin-bottom: 40px;
}

.account-type-selection h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #e8eaed;
}

.account-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.account-type {
  border: 2px solid #3c4043;
  border-radius: 12px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #202124;
}

.account-type::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: all 0.3s ease;
}

.account-type:hover {
  border-color: #4285F4;
  background: rgba(66, 133, 244, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.account-type.active {
  border-color: #34A853;
  background: rgba(52, 168, 83, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 168, 83, 0.2);
}

.account-type.active::before {
  background: #34A853;
}

.type-icon {
  font-size: 32px;
  color: #4285F4;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.account-type.active .type-icon {
  color: #34A853;
  transform: scale(1.1);
}

.type-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #e8eaed;
  font-weight: 600;
}

.type-info p {
  font-size: 14px;
  color: #9aa0a6;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Form Sections */
.form-section {
  margin-bottom: 35px;
}

.section-title {
  font-size: 18px;
  color: #e8eaed;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3c4043;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #e8eaed;
}

.required {
  color: #EA4335;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #3c4043;
  border-radius: 6px;
  font-size: 15px;
  background: #202124;
  color: #e8eaed;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: #4285F4;
  background: #292a2d;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.field-hint {
  font-size: 12px;
  color: #9aa0a6;
  margin-top: 5px;
}

/* Password Input */
.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #9aa0a6;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9aa0a6;
  margin-bottom: 5px;
}

.feature-list i {
  color: #34A853;
  font-size: 10px;
}

/* Validation Styles */
.validation-message {
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
  transition: all 0.3s ease;
}

.validation-message.error {
  color: #EA4335;
}

.validation-message.success {
  color: #34A853;
}

.form-input.error,
.form-select.error {
  border-color: #EA4335;
  background: rgba(234, 67, 53, 0.1);
}

.form-input.success,
.form-select.success {
  border-color: #34A853;
  background: rgba(52, 168, 83, 0.1);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  width: 100%;
  height: 4px;
  background: #3c4043;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-fill.weak {
  width: 25%;
  background: #EA4335;
}

.strength-fill.fair {
  width: 50%;
  background: #FBBC04;
}

.strength-fill.good {
  width: 75%;
  background: #4285F4;
}

.strength-fill.strong {
  width: 100%;
  background: #34A853;
}

.strength-text {
  font-size: 11px;
  color: #9aa0a6;
}

/* Step Actions */
.step-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #3c4043;
}

.btn-secondary {
  background: #5f6368;
  color: white;
  flex: 1;
}

.btn-secondary:hover {
  background: #4a4d51;
}

.btn-primary {
  flex: 2;
}

/* Subsection Styling */
.subsection-title {
  font-size: 16px;
  color: #e8eaed;
  margin: 25px 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #3c4043;
}

.business-section,
.preferences-section,
.verification-section,
.terms-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #3c4043;
}

/* Enhanced Form Step Management */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.benefits-content h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.benefit-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.benefit-text p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 15px;
}

.stats-highlight {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  text-align: center;
}

.stats-highlight h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: #171717;
  border-top: 1px solid #3c4043;
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #9aa0a6;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #4285F4;
}

.support-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #3c4043;
}

.support-section p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #9aa0a6;
}

.btn-support {
  background: #4285F4;
  color: white;
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 12px;
}

.btn-support:hover {
  background: #3367d6;
}

.footer-brand .footer-logo {
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  color: #9aa0a6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  background: #292a2d;
  color: white;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: #4285F4;
}

.footer-stats {
  border-top: 1px solid #3c4043;
  padding-top: 30px;
  margin-bottom: 30px;
}

.footer-stats h4 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #4285F4;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #9aa0a6;
}

.footer-bottom {
  border-top: 1px solid #3c4043;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #9aa0a6;
  line-height: 1.5;
}

.footer-bottom a {
  color: #4285F4;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .signup-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-section {
    position: static;
    order: -1;
  }

  .account-types {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .progress-indicator {
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .step-label {
    font-size: 10px;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .progress-step:not(:last-child)::after {
    left: 55%;
    right: -45%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .nav-menu {
    gap: 15px;
  }

  .get-listed-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .search-icon-btn,
  .menu-toggle {
    display: block;
  }

  .nav-link {
    display: none;
  }

  .main-content {
    padding: 20px 0;
  }

  .signup-form-section {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 28px;
  }

  .form-subtitle {
    font-size: 15px;
  }

  .account-type {
    padding: 20px 15px;
  }

  .type-icon {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .type-info h4 {
    font-size: 16px;
  }

  .feature-list li {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .header {
    padding: 15px 0;
  }

  .logo-text {
    font-size: 14px;
    padding: 6px 12px;
  }

  .nav-menu {
    gap: 10px;
  }

  .get-listed-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .signup-form-section {
    padding: 20px 15px;
    margin: 10px 0;
  }

  .form-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .form-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .form-input,
  .form-select {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .benefits-section {
    padding: 20px 15px;
  }

  .benefits-content h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .benefit-item {
    margin-bottom: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .social-links {
    justify-content: center;
  }

  .step-actions {
    flex-direction: column;
  }

  .btn-secondary,
  .btn-primary {
    flex: none;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .account-type:hover {
    border-color: #e1e8ed;
    background: white;
  }

  .account-type:active {
    border-color: #27ae60;
    background: #f8fff8;
  }

  .btn-primary:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
  }

  .form-input:focus,
  .form-select:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
  }

  .password-toggle {
    padding: 8px;
    min-width: 32px;
    min-height: 32px;
  }
}

/* Business-only elements visibility */
.business-only {
  display: none;
}

.account-type[data-type="business"].active ~ .signup-form .business-only {
  display: block;
}
