/* ==========================================================================
   PrachaarBazaar - Host Page Styles
   ========================================================================== */

:root {
  /* Brand Colors - Deep Blue */
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;

  /* Neutral Colors */
  --charcoal: #0f172a;
  --charcoal-light: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #16213e 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  background-color: var(--charcoal);
  padding: 1rem 0;
}

/* Text Logo Styles */
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: all var(--transition-base);
}

.logo-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  color: var(--gray-400);
  font-weight: 500;
}

.navbar-brand:hover .logo-text {
  opacity: 0.9;
}

/* Footer Logo */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-text {
  font-size: 1.375rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
}

.navbar .btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  padding: 0.625rem 1.5rem !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  transition: all var(--transition-base);
}

.navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Host Hero Section
   ========================================================================== */

.host-hero {
  background: var(--gradient-hero);
  padding: 6rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.host-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.host-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Income Highlight */
.income-highlight {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.income-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.income-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--success);
}

.income-amount .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--success);
  line-height: 1;
}

.income-amount .period {
  font-size: 1.25rem;
  color: var(--success);
  font-weight: 600;
}

.income-highlight p {
  margin: 0;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.9375rem;
}

.badge-item svg {
  color: var(--success);
}

/* ==========================================================================
   Form Card
   ========================================================================== */

.form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin: 0;
}

.form-label {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-card .btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  transition: all var(--transition-base);
}

.form-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.4);
}

.form-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin: 0;
}

/* ==========================================================================
   Host Process Section
   ========================================================================== */

.host-process {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.process-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all var(--transition-base);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.process-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.process-icon {
  color: var(--success);
  margin-bottom: 1rem;
}

.process-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.process-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================================================
   Host Benefits Section
   ========================================================================== */

.host-benefits {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.benefit-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  background: var(--white);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Ideal Locations Section
   ========================================================================== */

.ideal-locations {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition-base);
}

.location-card:hover {
  border-color: var(--success);
  box-shadow: var(--shadow-md);
}

.location-icon {
  color: var(--success);
  margin-bottom: 0.75rem;
}

.location-card span {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.host-faq {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  padding: 1.25rem 1.5rem;
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  background: var(--gray-50);
  color: var(--gray-900);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gray-200);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

.final-cta {
  padding: 4rem 0;
  background: var(--gray-50);
}

.cta-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: 3.5rem;
  text-align: center;
  color: var(--white);
}

.cta-card h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-card p {
  color: var(--gray-400);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.cta-card .btn-light {
  background: var(--white);
  color: var(--gray-900);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-base);
}

.cta-card .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--charcoal);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

footer h6 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-divider {
  border-color: var(--gray-700);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991.98px) {
  :root {
    --section-padding: 4rem;
  }

  .host-hero {
    padding: 4rem 0;
  }

  .host-hero h1 {
    font-size: 2.25rem;
  }

  .form-card {
    margin-top: 3rem;
  }

  .navbar-collapse {
    background: var(--charcoal-light);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .navbar .btn-primary {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .host-hero h1 {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .income-amount .amount {
    font-size: 2.5rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-card {
    padding: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.625rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 3rem;
  }

  .host-hero {
    padding: 3rem 0;
  }

  .host-hero h1 {
    font-size: 1.625rem;
  }

  .income-highlight {
    padding: 1rem;
  }

  .income-amount .amount {
    font-size: 2rem;
  }
}
