/* ============================================================
   ELLOHOST — hero.css
   Hero section, homepage-specific sections
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px;
  overflow: hidden;
  background: var(--noir);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,62,138,0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,93,255,0.1) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255,62,138,0.1);
  border: 1px solid rgba(255,62,138,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--rose) 0%, #c020ff 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--grey);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stat-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 500;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero visual (optional right column) */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  pointer-events: none;
  z-index: 1;
}

.hero-visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- TYPEWRITER (gradient text rotating) ---- */
.gradient-text.typewriter {
  display: inline-block;
  position: relative;
  min-width: 2ch;
}
.gradient-text.typewriter::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--rose);
  color: var(--rose);
  animation: caret-blink 0.9s step-end infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---- ANCHOR OFFSET (compense le header sticky lors du scroll vers ancre) ---- */
.anchor-offset {
  display: block;
  position: relative;
  top: -72px;
  visibility: hidden;
  pointer-events: none;
}

/* ---- SERVICE PICKER (CTA hero) ---- */
.service-picker {
  position: relative;
}
.service-picker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.service-picker-chevron {
  transition: transform 0.25s ease;
}
.service-picker[data-open="true"] .service-picker-chevron {
  transform: rotate(180deg);
}

.service-picker-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr;
  width: min(360px, calc(100vw - 3rem));
  padding: 0.5rem;
  background: rgba(13, 15, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.service-picker[data-open="true"] .service-picker-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.service-picker-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}
.service-picker-item:hover {
  background: rgba(255, 62, 138, 0.08);
  transform: translateX(2px);
}
.service-picker-item.service-picker-item-featured {
  background: linear-gradient(135deg, rgba(255, 62, 138, 0.12), rgba(155, 93, 255, 0.08));
  border: 1px solid var(--border-rose);
  margin-top: 0.25rem;
}
.service-picker-item .spi-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: color-mix(in srgb, var(--c, #FF3E8A) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #FF3E8A) 30%, transparent);
  flex-shrink: 0;
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .service-picker-item .spi-icon { background: rgba(255,62,138,0.12); border-color: rgba(255,62,138,0.3); }
}
.service-picker-item span:not(.spi-icon) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.service-picker-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.service-picker-item em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 0.1rem;
}

/* ---- HERO SCROLL becomes a real link ---- */
a.hero-scroll {
  text-decoration: none;
  cursor: pointer;
}
a.hero-scroll:hover { color: var(--rose); }

/* ---- HERO AGENTS ROW ---- */
.hero-agents-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-agents-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

.hero-agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--ab, rgba(255,62,138,0.1));
  border: 1px solid color-mix(in srgb, var(--ac, #FF3E8A) 30%, transparent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ac, #FF3E8A);
  transition: all var(--transition);
}
/* Fallback pour navigateurs sans color-mix */
.hero-agent-pill { border-color: rgba(255,255,255,0.1); }
.hero-agent-pill:hover { transform: translateY(-2px); filter: brightness(1.15); }

.hero-pill-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ac, #FF3E8A);
  color: var(--noir);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ---- VIDEO SECTION ---- */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--grey);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-light);
  border: 2px solid var(--border-rose);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- SCROLL INDICATOR ---- */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
  animation: bounce 2.5s ease infinite;
}

.hero-scroll svg { color: var(--rose); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- LOGOS / TRUST STRIP ---- */
.trust-strip {
  background: var(--noir2);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.trust-item svg, .trust-item span.icon { color: var(--rose); font-size: 1.1rem; }

/* ---- PRICING TOGGLE ---- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey2);
}

.pricing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}
.pricing-toggle.yearly { background: var(--rose); border-color: var(--rose); }
.pricing-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.3s ease;
}
.pricing-toggle.yearly .pricing-toggle-thumb { transform: translateX(24px); }

.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--vert);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Pricing labels switch */
.price-monthly { display: block; }
.price-yearly  { display: none; }
.yearly-mode .price-monthly { display: none; }
.yearly-mode .price-yearly  { display: block; }

/* ---- DOMAIN SEARCH ---- */
.domain-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 580px;
  margin: 2rem auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.domain-search-form:focus-within { border-color: var(--rose); }

.domain-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}
.domain-search-input::placeholder { color: var(--grey); }

.domain-search-btn {
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--rose), var(--rose2));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.domain-search-btn:hover { opacity: 0.9; }

.domain-results {
  max-width: 580px;
  margin: 1rem auto 0;
}
.domain-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.domain-result-item.available { border-color: rgba(34,197,94,0.3); }
.domain-result-item.taken { border-color: rgba(255,107,53,0.3); opacity: 0.6; }
.domain-result-ext { font-weight: 700; color: var(--white); }
.domain-result-price { color: var(--vert); font-weight: 700; }
.domain-result-status-taken { color: var(--orange); font-weight: 600; font-size: 0.82rem; }

/* ---- ALL-IN-ONE HIGHLIGHT SECTION ---- */
.allinone-card {
  background: linear-gradient(135deg, rgba(255,62,138,0.1) 0%, rgba(155,93,255,0.1) 100%);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.allinone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255,62,138,0.12), transparent);
  pointer-events: none;
}
.allinone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.allinone-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.allinone-price {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.allinone-price-detail {
  font-size: 1rem;
  color: var(--grey);
}
.allinone-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--grey2);
}
.allinone-features span { display: flex; align-items: center; gap: 0.4rem; }
.allinone-features span::before { content: '✓'; color: var(--vert); font-weight: 700; }
