/* ==========================================================================
   Become a Host Page Styles
   ========================================================================== */

/* ==========================================================================
   Host Page Hero
   ========================================================================== */

.host-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.host-hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.host-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.host-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.host-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-medium);
  color: var(--color-text-inverse);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.host-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.host-hero-cta {
  display: inline-flex;
}

@media (max-width: 768px) {
  .host-hero {
    min-height: 50vh;
  }
  
  .host-hero-content {
    padding: var(--space-10) var(--space-4);
  }
  
  .host-hero-title {
    font-size: var(--text-3xl);
  }
  
  .host-hero-subtitle {
    font-size: var(--text-base);
  }
}

/* ==========================================================================
   Who Can Host Section
   ========================================================================== */

.host-types-section {
  padding: var(--space-20) 0;
  background-color: var(--color-bg);
}

.host-types-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.host-types-header .section-title {
  margin-bottom: var(--space-4);
}

.host-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .host-types-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.host-type-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.host-type-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.host-type-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
}

.host-type-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.host-type-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.host-type-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.host-type-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.host-type-list li:last-child {
  margin-bottom: 0;
}

.host-type-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.host-types-footer {
  text-align: center;
}

.host-types-footer p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .host-types-section {
    padding: var(--space-12) 0;
  }
  
  .host-type-card {
    padding: var(--space-6);
  }
  
  .host-type-title {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   Why Host Section
   ========================================================================== */

.host-why-section {
  padding: var(--space-20) 0;
  background-color: var(--color-bg);
}

.host-why-container {
  background: var(--color-accent-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.host-why-container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.host-why-container::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}

@media (max-width: 768px) {
  .host-why-container {
    padding: var(--space-10) var(--space-6);
    border-radius: var(--radius-xl);
  }
}

.host-why-header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 1;
}

.host-why-header .section-title {
  margin-bottom: var(--space-4);
}

.host-why-header .section-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.host-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .host-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .host-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .host-why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.host-value-card {
  text-align: center;
  padding: var(--space-6);
}

.host-value-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.host-value-card:hover .host-value-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.host-value-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.host-value-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.host-value-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .host-why-section {
    padding: var(--space-12) 0;
  }
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.host-steps-section {
  padding: var(--space-20) 0;
  background-color: var(--color-bg-card);
}

.host-steps-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.host-steps-header .section-title {
  margin-bottom: var(--space-4);
}

.host-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

/* Connecting line */
.host-steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--color-accent) 0%,
    var(--color-primary-light) 50%,
    var(--color-accent) 100%
  );
  z-index: 0;
}

@media (max-width: 1024px) {
  .host-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
  
  .host-steps-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .host-steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.host-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.host-step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  background: var(--color-bg);
  border: 3px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.host-step:hover .host-step-number {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.host-step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.host-step-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .host-steps-section {
    padding: var(--space-12) 0;
  }
  
  .host-step-number {
    width: 64px;
    height: 64px;
    font-size: var(--text-xl);
  }
  
  .host-step-title {
    font-size: var(--text-lg);
  }
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.host-trust-section {
  padding: var(--space-16) 0;
  background-color: var(--color-bg);
}

.host-trust-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.host-trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: 0;
}

.host-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.host-trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .host-trust-section {
    padding: var(--space-12) 0;
  }
  
  .host-trust-item {
    font-size: var(--text-base);
    text-align: left;
    justify-content: flex-start;
  }
  
  .host-trust-list {
    gap: var(--space-4);
  }
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.host-cta-section {
  padding: var(--space-20) 0;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Decorative pattern */
.host-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.host-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.host-cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.host-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-medium);
  color: var(--color-text-inverse);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-8);
}

.host-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-10);
  background: var(--color-bg-card);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.host-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--color-bg);
}

.host-cta-button:active {
  transform: translateY(0);
}

.host-cta-reassurance {
  margin-top: var(--space-6);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .host-cta-section {
    padding: var(--space-12) 0;
  }
  
  .host-cta-title {
    font-size: var(--text-2xl);
  }
  
  .host-cta-button {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
  }
}

/* ==========================================================================
   Host Page Specific Header Adjustments
   ========================================================================== */

.host-page .header-full {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
