/* Home Page CSS */
.home {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 100%;
}

.hero-subtitle {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 25px;
  margin-bottom: 28px;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 19px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
}

.search-form {
  background: rgba(15, 23, 42, 0.95);
  padding: 28px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(96, 165, 250, 0.2);
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.search-input {
  width: 100%;
  padding: 18px 18px 18px 52px;
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
  background: rgba(30, 41, 59, 1);
}

.search-input::placeholder {
  color: #64748b;
}

.search-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.hero-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
}

.feature-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
  font-size: 18px;
  font-weight: 700;
}

/* Stats Card */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats-card {
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-radius: 20px;
  border: 2px solid rgba(96, 165, 250, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-item {
  text-align: center;
  padding: 15px 10px;
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
  margin: 5px 0;
}

.trust-badge {
  padding: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  text-align: center;
}

.trust-stars {
  font-size: 24px;
  margin-bottom: 8px;
}

.trust-text {
  color: #10b981;
  font-size: 14px;
  font-weight: 700;
}

/* Sections */
.categories-section {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.section-description {
  font-size: 19px;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.category-card {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(100, 116, 139, 0.2);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: rgba(96, 165, 250, 0.5);
}

.category-icon-wrapper {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.5);
  position: relative;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image {
  transform: scale(1.1);
}

.category-icon {
  font-size: 48px;
}

.category-name {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: rgba(15, 23, 42, 0.8);
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(96, 165, 250, 0.2);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.step-icon {
  font-size: 52px;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.step-description {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 32px;
  color: #60a5fa;
  font-weight: 700;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.3);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: rgba(30, 41, 59, 0.6);
  padding: 35px 30px;
  border-radius: 20px;
  border: 2px solid rgba(100, 116, 139, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.benefit-text {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

/* Buttons */
.btn-outline:hover {
  background: #60a5fa;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .search-inputs {
    grid-template-columns: 1fr;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
