/* ==========================================================================
   Homepage — Mon7up Marketplace Gaming Premium
   Prefix: hp-   |   BEM-lite naming
   ========================================================================== */

/* ---- Design Tokens ---- */
:root {
  --hp-bg-primary: #ffffff;
  --hp-bg-secondary: #f8fafc;
  --hp-bg-dark: #0F172A;
  --hp-accent: #2563EB;
  --hp-accent-hover: #1d4ed8;
  --hp-accent-light: rgba(37,99,235,0.08);
  --hp-text-primary: #0f172a;
  --hp-text-secondary: #64748b;
  --hp-text-muted: #94a3b8;
  --hp-radius: 16px;
  --hp-radius-sm: 12px;
  --hp-radius-xs: 8px;
  --hp-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --hp-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --hp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --hp-transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --hp-border: #e2e8f0;
}

body[data-theme="dark"] {
  --hp-bg-primary: #0F172A;
  --hp-bg-secondary: #1E293B;
  --hp-text-primary: #f1f5f9;
  --hp-text-secondary: #94a3b8;
  --hp-text-muted: #64748b;
  --hp-border: #334155;
  --hp-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --hp-shadow-md: 0 4px 6px rgba(0,0,0,0.3);
  --hp-shadow-lg: 0 10px 15px rgba(0,0,0,0.4);
  --hp-accent-light: rgba(37,99,235,0.15);
}

/* ---- Global section spacing ---- */
.hp-section {
  padding: 80px 0;
}
.hp-section--alt {
  background: var(--hp-bg-secondary);
}
.hp-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--hp-text-primary);
  text-align: center;
  margin-bottom: 12px;
}
.hp-section-subtitle {
  color: var(--hp-text-secondary);
  text-align: center;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */
.hp-hero {
  position: relative;
  background: var(--hp-bg-dark);
  overflow-x: clip;
  overflow-y: visible;
  padding: 140px 0 80px;
  text-align: center;
}
.hp-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: hp-orb-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hp-orb-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.hp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  position: relative;
  line-height: 1.15;
}
.hp-hero__title span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-hero__subtitle {
  color: #94a3b8;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}
.hp-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
}
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--hp-transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.hp-btn--primary {
  background: var(--hp-accent);
  color: #fff;
  border-color: var(--hp-accent);
}
.hp-btn--primary:hover {
  background: var(--hp-accent-hover);
  border-color: var(--hp-accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.hp-btn--outline {
  background: transparent;
  color: #f1f5f9;
  border-color: rgba(241,245,249,0.3);
}
.hp-btn--outline:hover {
  background: rgba(241,245,249,0.1);
  color: #fff;
  text-decoration: none;
  border-color: rgba(241,245,249,0.5);
}

/* Bouton IA avec effet gradient anime */
.hp-btn--ai {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa, #6366f1);
  background-size: 300% 300%;
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
  animation: hp-ai-gradient 4s ease infinite;
}
.hp-btn--ai::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #c084fc, #6366f1);
  background-size: 300% 300%;
  border-radius: 50px;
  z-index: -1;
  animation: hp-ai-gradient 4s ease infinite;
  filter: blur(8px);
  opacity: 0.5;
}
.hp-btn--ai:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.5), 0 0 40px rgba(139,92,246,0.2);
}
.hp-btn--ai i {
  animation: hp-ai-sparkle 2s ease-in-out infinite;
}
@keyframes hp-ai-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes hp-ai-sparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.15); }
  75% { transform: rotate(10deg) scale(1.05); }
}

/* Hero search bar */
.hp-hero__search {
  max-width: 780px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 100;
}
.hp-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  overflow: visible;
  padding: 6px;
  position: relative;
}
.hp-search-bar input[type="text"] {
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 0.95rem;
  outline: none;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}
.hp-search-bar input[type="text"]::placeholder { color: #94a3b8; }

/* Custom category select (cselect style) */
.hp-cselect-wrap {
  position: relative;
  flex-shrink: 0;
}
.hp-cselect-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  transition: all var(--hp-transition);
  border-radius: 10px;
}
.hp-cselect-trigger:hover {
  color: #6366f1;
}
.hp-cselect-wrap.hp-cselect-open .hp-cselect-trigger {
  color: #6366f1;
}
.hp-cselect-trigger-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-cselect-trigger-text.placeholder {
  color: #9ca3af;
}
.hp-cselect-trigger-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.2s;
}
.hp-cselect-wrap.hp-cselect-open .hp-cselect-trigger-arrow {
  transform: rotate(180deg);
}
.hp-cselect-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.25);
  border: 1px solid #e2e8f0;
  display: none;
  z-index: 9999;
  overflow: hidden;
  animation: hp-cselect-drop 0.15s ease;
}
@keyframes hp-cselect-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.hp-cselect-wrap.hp-cselect-open .hp-cselect-dropdown {
  display: block;
}
.hp-cselect-search {
  padding: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.hp-cselect-search input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
  color: #334155;
  background: #f8fafc;
  transition: border-color 0.2s;
}
.hp-cselect-search input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.1);
}
.hp-cselect-options {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
}
.hp-cselect-options::-webkit-scrollbar {
  width: 5px;
}
.hp-cselect-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.hp-cselect-option {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #334155;
  border-radius: 8px;
  transition: all 0.15s;
}
.hp-cselect-option:hover {
  background: #ede9fe;
  color: #6366f1;
}
.hp-cselect-option.selected {
  background: #ede9fe;
  color: #6366f1;
  font-weight: 600;
}
.hp-cselect-option.hp-cselect-hidden {
  display: none;
}
/* Dark mode */
body[data-theme="dark"] .hp-cselect-dropdown {
  background: #1e293b;
  border-color: #334155;
}
body[data-theme="dark"] .hp-cselect-search input {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}
body[data-theme="dark"] .hp-cselect-option {
  color: #cbd5e1;
}
body[data-theme="dark"] .hp-cselect-option:hover,
body[data-theme="dark"] .hp-cselect-option.selected {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
}
body[data-theme="dark"] .hp-cselect-trigger {
  color: #f1f5f9;
}
body[data-theme="dark"] .hp-cselect-trigger-text.placeholder {
  color: #64748b;
}

/* Separator */
.hp-search-bar__sep {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* Location */
.hp-search-bar__loc {
  display: flex;
  align-items: center;
  flex: 1;
}
.hp-search-bar__loc-icon {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-left: 12px;
  flex-shrink: 0;
}
.hp-search-bar__loc input {
  border: none;
  background: transparent;
  padding: 14px 12px;
  font-size: 0.95rem;
  outline: none;
  color: #0f172a;
  min-width: 140px;
}
.hp-search-bar__loc input::placeholder { color: #94a3b8; }

/* Submit button */
.hp-search-bar__btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--hp-transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hp-search-bar__btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}

/* Location results dropdown */
.hp-search-bar__loc-results {
  position: absolute;
  top: calc(100% + 4px);
  right: 6px;
  left: auto;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.25);
  list-style: none;
  padding: 6px;
  margin: 0;
  display: none;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
}
.hp-search-bar__loc-results.is-visible { display: block; }
.hp-search-bar__loc-results li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #334155;
  border-radius: 8px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-search-bar__loc-results li i {
  color: #94a3b8;
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}
.hp-search-bar__loc-results li:hover {
  background: #f1f5f9;
  color: var(--hp-accent);
}
.hp-loc-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-left: auto;
}

/* Chips */
.hp-hero__chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--hp-transition);
}
.hp-chip i {
  font-size: 0.7rem;
  opacity: 0.6;
}
.hp-chip:hover {
  background: rgba(99,102,241,0.2);
  color: #fff;
  text-decoration: none;
  border-color: rgba(99,102,241,0.4);
}

/* Notification banner */
.hp-notif {
  max-width: 500px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--hp-radius-sm);
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.hp-notif__close {
  background: none;
  border: none;
  color: #86efac;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  line-height: 1;
}

/* ==========================================================================
   Section 2 — Comment ca marche
   ========================================================================== */
.hp-steps {
  background: var(--hp-bg-primary);
}
.hp-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.hp-steps__card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--hp-radius);
  background: var(--hp-bg-secondary);
  border: 1px solid var(--hp-border);
  transition: all var(--hp-transition);
}
.hp-steps__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
}
.hp-steps__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: var(--hp-accent-light);
  color: var(--hp-accent);
}
.hp-steps__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hp-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.hp-steps__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin-bottom: 8px;
}
.hp-steps__card-desc {
  font-size: 0.9rem;
  color: var(--hp-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Section 3 — Categories
   ========================================================================== */
.hp-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-cats__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  text-decoration: none;
  color: var(--hp-text-primary);
  transition: all var(--hp-transition);
}
.hp-cats__card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--hp-text-primary);
  box-shadow: var(--hp-shadow-md);
}
.hp-cats__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: #fff;
}
.hp-cats__card--pc .hp-cats__icon-wrap     { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.hp-cats__card--gpu .hp-cats__icon-wrap    { background: linear-gradient(135deg, #059669, #34d399); }
.hp-cats__card--cpu .hp-cats__icon-wrap    { background: linear-gradient(135deg, #e11d48, #f472b6); }
.hp-cats__card--ram .hp-cats__icon-wrap    { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.hp-cats__card--screen .hp-cats__icon-wrap { background: linear-gradient(135deg, #d946ef, #fb923c); }
.hp-cats__card:hover .hp-cats__icon-wrap {
  transform: scale(1.1);
  transition: transform var(--hp-transition);
}
.hp-cats__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hp-cats__name {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}
.hp-cats__count {
  font-size: 0.78rem;
  color: var(--hp-text-secondary);
  margin-top: 2px;
}
.hp-cats__arrow {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--hp-text-secondary);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--hp-transition);
}
.hp-cats__card:hover .hp-cats__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Section 4 — Produits populaires
   ========================================================================== */
.hp-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-products__card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--hp-text-primary);
  display: block;
  position: relative;
}
.hp-products__card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--hp-text-primary);
}
.hp-products__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f1f5f9;
}
body[data-theme="dark"] .hp-products__img-wrap {
  background: #1e293b;
}
.hp-products__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hp-products__card:hover .hp-products__img-wrap img {
  transform: scale(1.05);
}
.hp-products__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.hp-products__badge--neuf {
  background: var(--hp-accent);
  color: #fff;
}
.hp-products__badge--occasion {
  background: #f59e0b;
  color: #fff;
}
.hp-products__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  pointer-events: auto;
  transition: all 0.2s;
  color: #94a3b8;
  font-size: 1rem;
  padding: 0;
}
.hp-products__fav:hover {
  background: #fff;
  transform: scale(1.1);
}
.hp-products__fav.is-active {
  color: #ef4444;
}
.hp-products__fav.is-active i::before {
  font-weight: 900;
}
.hp-products__info {
  padding: 14px 16px 16px;
}
.hp-products__title {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--hp-text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-products__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hp-products__price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #4f46e5;
}
body[data-theme="dark"] .hp-products__price {
  color: #818cf8;
}
.hp-products__loc {
  font-size: 0.78rem;
  color: var(--hp-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hp-products__views {
  font-size: 0.75rem;
  color: var(--hp-text-muted);
  margin-top: 6px;
}

/* Skeleton */
.hp-skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: hp-skeleton-shimmer 1.5s infinite;
}
body[data-theme="dark"] .hp-skeleton {
  background: linear-gradient(90deg, #334155 25%, #475569 50%, #334155 75%);
  background-size: 200% 100%;
}
@keyframes hp-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hp-skeleton--loaded {
  background: none;
  animation: none;
}

/* ==========================================================================
   Section — Estimateur IA
   ========================================================================== */
.hp-estimator {
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 32px;
}
.hp-estimator__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hp-estimator__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hp-estimator__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
}
.hp-estimator__desc {
  font-size: 0.9rem;
  color: var(--hp-text-secondary);
  margin: 2px 0 0;
}

/* Form */
.hp-estimator__form {
  margin-bottom: 24px;
}
.hp-estimator__input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.hp-estimator__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-size: 0.95rem;
  background: var(--hp-bg-secondary);
  color: var(--hp-text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hp-estimator__input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.hp-estimator__submit {
  width: 46px;
  height: 46px;
  border-radius: var(--hp-radius-sm);
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-estimator__submit:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}

/* Condition pills */
.hp-estimator__conditions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hp-estimator__cond-label {
  font-size: 0.85rem;
  color: var(--hp-text-secondary);
  font-weight: 500;
}
.hp-estimator__cond {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--hp-border);
  background: var(--hp-bg-secondary);
  color: var(--hp-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.hp-estimator__cond:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,.2);
  border-color: #6366f1;
}
.hp-estimator__cond:hover {
  border-color: #6366f1;
  color: #6366f1;
}
.hp-estimator__cond.is-active {
  background: #6366f1;
  color: #fff;
  border-color: #6366f1;
}

/* Result */
.hp-estimator__result {
  animation: hp-est-fadein 0.4s ease;
}
@keyframes hp-est-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hp-estimator__result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hp-estimator__result-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hp-text-primary);
}
.hp-estimator__result-demand {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 10px;
  text-transform: uppercase;
}
.hp-estimator__result-demand[data-level="forte"] {
  background: rgba(34,197,94,0.12);
  color: #16a34a;
}
.hp-estimator__result-demand[data-level="normale"] {
  background: rgba(245,158,11,0.12);
  color: #d97706;
}
.hp-estimator__result-demand[data-level="faible"] {
  background: rgba(239,68,68,0.12);
  color: #dc2626;
}

/* Price bar */
.hp-estimator__price-bar-wrap {
  margin-bottom: 20px;
}
.hp-estimator__price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hp-text-secondary);
  margin-bottom: 8px;
}
.hp-estimator__price-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
  position: relative;
}
.hp-estimator__price-bar-fill {
  display: none;
}
.hp-estimator__price-cursor {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #6366f1;
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
  transform: translate(-50%, -50%);
  transition: left 0.6s cubic-bezier(0.16,1,0.3,1);
}
.hp-estimator__price-cursor-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}
.hp-estimator__price-cursor-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
}
body[data-theme="dark"] .hp-estimator__price-cursor-label {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="dark"] .hp-estimator__price-cursor-label::after {
  border-top-color: #f1f5f9;
}
.hp-estimator__price-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--hp-text-muted);
  margin-top: 6px;
}

/* Details */
.hp-estimator__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hp-estimator__detail {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--hp-text-secondary);
  padding: 10px 14px;
  background: var(--hp-bg-secondary);
  border-radius: var(--hp-radius-xs);
}
.hp-estimator__detail i {
  color: #6366f1;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hp-estimator__detail strong {
  color: var(--hp-text-primary);
}
.hp-estimator__tip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(99,102,241,0.08);
  border-radius: var(--hp-radius-xs);
  font-size: 0.85rem;
  color: #6366f1;
  font-weight: 500;
}

/* CTA post-estimation */
.hp-estimator__cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.hp-estimator__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
}
.hp-estimator__cta i {
  margin-right: 6px;
}

/* Loading */
.hp-estimator__loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  color: var(--hp-text-secondary);
  font-size: 0.9rem;
}
.hp-estimator__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--hp-border);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: hp-spin 0.7s linear infinite;
}
@keyframes hp-spin {
  to { transform: rotate(360deg); }
}

/* Error */
.hp-estimator__error {
  padding: 12px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--hp-radius-xs);
  color: #dc2626;
  font-size: 0.9rem;
}

/* Feature cards */
.hp-estimator__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-estimator__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  transition: all var(--hp-transition);
}
.hp-estimator__feature:hover {
  box-shadow: var(--hp-shadow-md);
  transform: translateY(-2px);
}
.hp-estimator__feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-estimator__feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hp-text-primary);
  margin: 0 0 4px;
}
.hp-estimator__feature p {
  font-size: 0.82rem;
  color: var(--hp-text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Responsive — Estimator */
@media (max-width: 768px) {
  .hp-estimator {
    padding: 20px;
  }
  .hp-estimator__detail {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Section 5 — Pourquoi Mon7up (feature cards)
   ========================================================================== */
.hp-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-why__card {
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 32px 24px;
  transition: all var(--hp-transition);
  position: relative;
  overflow: hidden;
}
.hp-why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--_card-accent, #6366f1);
  opacity: 0;
  transition: opacity 0.25s;
}
.hp-why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
}
.hp-why__card:hover::before {
  opacity: 1;
}
.hp-why__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.hp-why__icon--indigo {
  background: rgba(99,102,241,0.1);
  color: #6366f1;
  --_card-accent: #6366f1;
}
.hp-why__icon--emerald {
  background: rgba(16,185,129,0.1);
  color: #10b981;
  --_card-accent: #10b981;
}
.hp-why__icon--sky {
  background: rgba(14,165,233,0.1);
  color: #0ea5e9;
  --_card-accent: #0ea5e9;
}
.hp-why__icon--amber {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
  --_card-accent: #f59e0b;
}
.hp-why__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0 0 8px;
}
.hp-why__card-desc {
  font-size: 0.88rem;
  color: var(--hp-text-secondary);
  line-height: 1.55;
  margin: 0;
}
/* Propagate accent color to card pseudo-element */
.hp-why__card:has(.hp-why__icon--indigo) { --_card-accent: #6366f1; }
.hp-why__card:has(.hp-why__icon--emerald) { --_card-accent: #10b981; }
.hp-why__card:has(.hp-why__icon--sky) { --_card-accent: #0ea5e9; }
.hp-why__card:has(.hp-why__icon--amber) { --_card-accent: #f59e0b; }

@media (max-width: 992px) {
  .hp-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .hp-why__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section 6 — Compteurs (preuves sociales)
   ========================================================================== */
/* Compteurs integres dans CTA sell */
.hp-cta-sell__counters {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}
.hp-cta-sell__stat {
  text-align: center;
}
.hp-cta-sell__stat-number {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hp-cta-sell__stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 4px;
}
.hp-cta-sell__stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(148,163,184,0.25);
}

/* ==========================================================================
   Section 6b — Createurs (videos + infos)
   ========================================================================== */
.hp-creators__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.hp-creator {
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  transition: all var(--hp-transition);
  position: relative;
}
.hp-creator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9146ff, #ff0000, #6366f1);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.hp-creator:hover {
  box-shadow: 0 12px 32px rgba(99,102,241,0.15);
  transform: translateY(-4px);
}
.hp-creator:hover::before {
  opacity: 1;
}
.hp-creator__video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.hp-creator__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-creator__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: none;
}
.hp-creator__play-overlay i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.hp-creator:hover .hp-creator__play-overlay {
  opacity: 0;
}
.hp-creator__body {
  padding: 20px 24px;
}
.hp-creator__avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.hp-creator__avatar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-creator__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin-bottom: 0;
}
.hp-creator__role {
  font-size: 0.8rem;
  color: var(--hp-text-muted);
  margin-top: 2px;
}
.hp-creator__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hp-creator__links a {
  font-size: 0.85rem;
  color: var(--hp-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  background: var(--hp-bg-secondary);
  border: 1px solid var(--hp-border);
  transition: all 0.2s;
}
.hp-creator__links a:hover {
  border-color: #6366f1;
  color: #6366f1;
  text-decoration: none;
  transform: translateY(-1px);
}
.hp-creator__links .fa-twitch { color: #9146ff; }
.hp-creator__links .fa-youtube { color: #ff0000; }
.hp-creator__links .fa-x-twitter { color: var(--hp-text-secondary); }

/* ==========================================================================
   Section 7 — CTA Vendeur
   ========================================================================== */
.hp-cta-sell {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 50%, #6366f1 100%);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.hp-cta-sell::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
.hp-cta-sell__title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
  position: relative;
}
.hp-cta-sell__subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}
.hp-cta-sell__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.hp-cta-sell__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.1);
}

/* ==========================================================================
   Section 8 — FAQ
   ========================================================================== */
.hp-faq {
  max-width: 700px;
  margin: 0 auto;
}
.hp-faq__item {
  border-bottom: 1px solid var(--hp-border);
}
.hp-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hp-text-primary);
  cursor: pointer;
  transition: color 0.2s;
}
.hp-faq__btn:hover,
.hp-faq__btn:focus {
  color: var(--hp-accent);
  text-decoration: none;
  outline: none;
}
.hp-faq__chevron {
  transition: transform 0.3s;
  font-size: 0.9rem;
  color: var(--hp-text-muted);
  flex-shrink: 0;
  margin-left: 16px;
}
.hp-faq__btn[aria-expanded="true"] .hp-faq__chevron {
  transform: rotate(180deg);
}
.hp-faq__body {
  padding: 0 0 20px;
  color: var(--hp-text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   Blog section
   ========================================================================== */
.hp-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hp-blog__card {
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--hp-bg-primary);
  border: 1px solid var(--hp-border);
  text-decoration: none;
  color: var(--hp-text-primary);
  transition: all var(--hp-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hp-blog__card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.hp-blog__card:hover {
  box-shadow: 0 12px 32px rgba(99,102,241,0.15);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--hp-text-primary);
}
.hp-blog__card:hover::before {
  opacity: 1;
}
.hp-blog__card:hover .hp-blog__img {
  transform: scale(1.05);
}
.hp-blog__card:hover .hp-blog__read-more {
  color: #6366f1;
  gap: 8px;
}
.hp-blog__img-wrap {
  position: relative;
  overflow: hidden;
}
.hp-blog__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hp-blog__date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hp-blog__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hp-blog__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hp-blog__card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-blog__read-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hp-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--hp-transition);
}

/* ==========================================================================
   FAB mobile
   ========================================================================== */
.hp-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hp-accent);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
  cursor: pointer;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  transition: all var(--hp-transition);
  text-decoration: none;
}
.hp-fab:hover {
  background: var(--hp-accent-hover);
  transform: scale(1.08);
  color: #fff;
  text-decoration: none;
}
.hp-fab.is-visible {
  display: flex;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hp-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablette */
@media (max-width: 992px) {
  .hp-steps__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .hp-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hp-creators__list {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .hp-cats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .hp-cats__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hp-section {
    padding: 56px 0;
  }
  .hp-hero {
    padding: 120px 0 60px;
  }
  .hp-hero__ctas {
    flex-direction: column;
    align-items: center;
  }
  .hp-search-bar {
    flex-direction: column;
    border-radius: 14px;
    gap: 0;
    padding: 4px;
  }
  .hp-search-bar__sep { display: none; }
  .hp-cselect-wrap {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
  }
  .hp-cselect-trigger {
    width: 100%;
    padding: 12px 14px;
  }
  .hp-cselect-dropdown {
    position: static;
    box-shadow: none;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
    border: none;
    max-height: 200px;
  }
  .hp-search-bar input[type="text"] {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
  }
  .hp-search-bar__loc {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
  }
  .hp-search-bar__loc input {
    width: 100%;
  }
  .hp-search-bar__loc-results {
    width: 100%;
    left: 0;
    right: 0;
  }
  .hp-search-bar__btn {
    width: 100%;
    border-radius: 0 0 10px 10px;
    justify-content: center;
    padding: 14px;
  }
  .hp-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hp-blog__grid {
    grid-template-columns: 1fr;
  }
  .hp-cta-sell__counters {
    gap: 28px;
    margin-bottom: 28px;
  }
  .hp-cta-sell__stat-sep {
    height: 36px;
  }
  .hp-creator {
    border-radius: 12px;
  }
  .hp-creator__body {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .hp-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hp-products__info {
    padding: 10px;
  }
  .hp-products__title {
    font-size: 0.82rem;
  }
  .hp-products__price {
    font-size: 0.95rem;
  }
}

/* ---- SEO Text Block ---- */
.hp-seo-text {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}
.hp-seo-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(37,99,235,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hp-seo-text .container {
  position: relative;
  z-index: 1;
}
.hp-seo-text__inner {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hp-radius);
  padding: 2.5rem 2rem;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.hp-seo-text .hp-section-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}
.hp-seo-text .hp-section-title .hp-seo-text__accent {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-seo-text p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}
.hp-seo-text a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.hp-seo-text a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}
.hp-seo-text__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.hp-seo-text__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 50px;
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.hp-seo-text__tag:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.4);
  color: #c7d2fe;
  text-decoration: none;
}
.hp-seo-text__tag i {
  font-size: 0.7rem;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .hp-seo-text {
    padding: 2.5rem 0 2rem;
  }
  .hp-seo-text__inner {
    padding: 1.75rem 1.25rem;
  }
  .hp-seo-text .hp-section-title {
    font-size: 1.05rem;
  }
}
