/* ═══════════════════════════════════════════════════════════════════════════════
   6. HOMEPAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.gps-homepage-hero {
  background: var(--gps-bg-dark);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gps-homepage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 197, 94, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.3) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.02;
  pointer-events: none;
}

.gps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--gps-green);
  font-size: 14px;
  font-weight: 500;
}

.gps-hero-badge svg {
  width: 16px;
  height: 16px;
}

.gps-homepage-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.gps-homepage-hero h1 .gradient-text {
  background: linear-gradient(90deg, #4ade80, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gps-hero-tagline {
  font-size: 1.25rem;
  color: var(--gps-text);
  margin-bottom: 8px;
}

.gps-hero-tagline strong {
  color: #fff;
}

.gps-hero-subtext {
  color: var(--gps-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.gps-value-props {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin: 32px 0;
}

.gps-value-prop {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gps-text);
  font-size: 14px;
}

.gps-value-prop svg,
.gps-value-prop i {
  color: var(--gps-green);
  width: 20px;
  height: 20px;
}

.gps-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.gps-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gps-green);
  color: #000 !important;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.gps-btn-primary:hover {
  background: var(--gps-green-light);
  transform: translateY(-1px);
}

.gps-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--gps-border);
  color: #fff !important;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.gps-btn-secondary:hover {
  border-color: rgba(34, 197, 94, 0.5);
}

.gps-categories-section {
  background: var(--gps-bg-dark);
  padding: 60px 20px;
}

.gps-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}

.gps-section-title .highlight {
  color: var(--gps-green);
}

.gps-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gps-category-card {
  position: relative;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gps-border);
  background: var(--gps-bg-card);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.gps-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.5);
}

.gps-category-card.feminized:hover { border-color: rgba(96, 165, 250, 0.5); }
.gps-category-card.autoflower:hover { border-color: rgba(34, 211, 238, 0.5); }
.gps-category-card.regular:hover { border-color: rgba(74, 222, 128, 0.5); }

.gps-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gps-category-card.feminized::before {
  background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.15), transparent 70%);
}
.gps-category-card.autoflower::before {
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.15), transparent 70%);
}
.gps-category-card.regular::before {
  background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.15), transparent 70%);
}

.gps-category-card:hover::before {
  opacity: 1;
}

.gps-category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.gps-category-card.feminized::after {
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}
.gps-category-card.autoflower::after {
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}
.gps-category-card.regular::after {
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
}

.gps-category-card:hover::after {
  transform: scaleX(1);
}

.gps-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.gps-card-icon {
  width: 48px;
  height: 48px;
  transition: transform 0.3s;
}

.gps-category-card:hover .gps-card-icon {
  transform: scale(1.1);
}

.gps-card-arrow {
  color: var(--gps-text-dim);
  transition: all 0.3s;
}

.gps-category-card:hover .gps-card-arrow {
  color: var(--gps-green);
  transform: translateX(4px);
}

.gps-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.gps-card-tagline {
  color: var(--gps-green);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.gps-card-desc {
  color: var(--gps-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.gps-featured-section {
  background: rgba(15, 23, 42, 0.3);
  padding: 60px 20px;
}

.gps-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.gps-view-all {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gps-green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.gps-view-all:hover {
  color: var(--gps-green-light);
}

.gps-strain-browser-section {
  background: var(--gps-bg-dark);
  padding: 60px 20px;
}

.gps-strain-browser {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--gps-border);
  border-radius: 12px;
  overflow: hidden;
}

.gps-browser-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--gps-border);
}

@media (min-width: 640px) {
  .gps-browser-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.gps-browser-tabs {
  display: flex;
  gap: 4px;
  background: rgba(30, 41, 59, 0.5);
  padding: 4px;
  border-radius: 8px;
}

.gps-browser-tab {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gps-text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.gps-browser-tab:hover {
  color: #fff;
}

.gps-browser-tab.active {
  background: rgba(34, 197, 94, 0.2);
  color: var(--gps-green);
  border-color: rgba(34, 197, 94, 0.3);
}

.gps-browser-search {
  position: relative;
}

.gps-browser-search input {
  width: 100%;
  min-width: 250px;
  padding: 8px 32px 8px 36px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--gps-border);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

.gps-browser-search input::placeholder {
  color: var(--gps-text-dim);
}

.gps-browser-search input:focus {
  outline: none;
  border-color: rgba(34, 197, 94, 0.5);
}

.gps-browser-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gps-text-dim);
}

.gps-browser-search .clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px;
  background: none;
  border: none;
  color: var(--gps-text-dim);
  cursor: pointer;
  display: none;
}

.gps-browser-search .clear-btn.visible {
  display: block;
}

.gps-browser-search .clear-btn:hover {
  color: #fff;
}

.gps-chip-cloud {
  padding: 16px;
  max-height: 256px;
  overflow-y: auto;
}

.gps-chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gps-chip {
  padding: 6px 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--gps-border);
  border-radius: 4px;
  color: var(--gps-text);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.gps-chip:hover {
  border-color: rgba(34, 197, 94, 0.5);
  color: var(--gps-green);
}

.gps-chip mark {
  background: rgba(34, 197, 94, 0.3);
  color: var(--gps-green-light);
  border-radius: 2px;
  padding: 0 2px;
}

.gps-no-results {
  text-align: center;
  padding: 32px;
  color: var(--gps-text-dim);
}

.gps-browser-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--gps-border);
  background: rgba(30, 41, 59, 0.3);
}

.gps-browser-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--gps-text-dim);
}

.gps-trust-section {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.05));
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  padding: 60px 20px;
  text-align: center;
}

.gps-trust-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.gps-trust-title .highlight {
  color: var(--gps-green);
}

.gps-trust-text {
  color: var(--gps-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.gps-stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.gps-stat {
  text-align: center;
}

.gps-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gps-green);
}

.gps-stat-label {
  font-size: 14px;
  color: var(--gps-text-dim);
}

.gps-footer-cta {
  background: var(--gps-bg-dark);
  padding: 80px 20px;
  text-align: center;
}

.gps-footer-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.gps-footer-cta h2 .highlight {
  color: var(--gps-green);
}

.gps-footer-cta p {
  color: var(--gps-text-muted);
  margin-bottom: 32px;
}

.gps-gem-diamond { filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5)); }
.gps-gem-opal { filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.5)); }
.gps-gem-emerald { filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.5)); }

.gps-homepage .page-wrapper {
  background: var(--gps-bg-dark);
}

.gps-homepage .header-wrapper {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
}

.gps-homepage .page-title {
  display: none;
}




/* ═══════════════════════════════════════════════════════════════════════════════
   STRAIN BROWSER - JavaScript Generated Classes
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Tabs */
.strain-tabs {
  display: flex;
  gap: 4px;
  background: rgba(30, 41, 59, 0.5);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.strain-tab {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.strain-tab:hover {
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.4);
}

.strain-tab.active {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

/* Search */
.strain-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.strain-search {
  width: 100%;
  height: 48px;
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1px solid rgba(51, 65, 85, 0.6) !important;
  border-radius: 10px !important;
  padding: 0 44px 0 16px !important;
  color: #f1f5f9 !important;
  font-size: 15px !important;
}

.strain-search:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
  outline: none !important;
}

.strain-search::placeholder {
  color: #64748b !important;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.15);
  border: none;
  border-radius: 6px;
  color: #f87171;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.search-clear:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* Grid */
.strain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 197, 94, 0.3) transparent;
}

.strain-grid::-webkit-scrollbar {
  width: 6px;
}

.strain-grid::-webkit-scrollbar-track {
  background: transparent;
}

.strain-grid::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.3);
  border-radius: 3px;
}

/* Chips */
.strain-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 8px;
  color: #e2e8f0 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.strain-chip:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80 !important;
  transform: translateY(-2px);
}

/* Empty state */
.strain-empty {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 640px) {
  .strain-tabs {
    flex-direction: column;
    gap: 6px;
  }
  
  .strain-tab {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .strain-grid {
    max-height: 260px;
    gap: 8px;
  }
  
  .strain-chip {
    padding: 8px 12px;
    font-size: 12px;
  }
}
