/* ============================================================
   DOMAINTICO — DOMAINS PAGE POLISH
   /en/domains hero + results + CTA overlay
   Load AFTER domaintico-hero-hybrid.css
   ============================================================ */

/* ====== ANIMATIONS ====== */
@keyframes dm-fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dm-cardSlide {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dm-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* ====== PAGE HERO — Split Layout ====== */
.dm-page-hero {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #DBEAFE 100%);
  padding: clamp(48px, 5vw, 72px) 0 clamp(40px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.dm-page-hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}
.dm-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 3vw, 48px);
  align-items: center;
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.dm-hero-copy  { animation: dm-fadeInUp .5s ease-out; }
.dm-hero-card-wrap { animation: dm-fadeInUp .6s ease-out .15s both; }

.dm-kicker {
  color: var(--dm-primary, #2563EB);
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-weight: 900;
  font-size: clamp(11px, 0.9vw, 12px);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dm-kicker::before {
  content: '';
  width: 22px;
  height: 2.5px;
  background: var(--dm-primary, #2563EB);
  border-radius: 2px;
}
.dm-hero-title {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  color: var(--dm-text, #0F172A);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.dm-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dm-hero-lead {
  color: var(--dm-muted, #475569);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 24px;
}

/* TLD Pills */
.dm-hero-tlds { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.dm-tld {
  padding: 5px 12px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  font-size: 12px;
  color: var(--dm-muted, #475569);
  font-weight: 600;
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .2s;
}
.dm-tld:hover {
  border-color: var(--dm-border-hover, rgba(15,23,42,0.14));
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dm-tld__price { color: var(--dm-accent, #059669); font-size: 11px; font-weight: 700; }

/* Trust */
.dm-hero-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.dm-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(12px, 0.9vw, 13px);
  color: var(--dm-muted, #475569);
  font-weight: 500;
}
.dm-trust__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dm-accent, #059669);
  flex-shrink: 0;
}

/* ====== SEARCH CARD ====== */
.dm-search-card {
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  box-shadow: 0 12px 40px rgba(15,23,42,0.06);
  border-radius: 20px;
  background: #fff;
  padding: clamp(24px, 2vw, 32px);
}
.dm-search-card__head {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 800;
  color: var(--dm-text, #0F172A);
  margin-bottom: 16px;
}
.dm-searchbar {
  display: flex;
  border: 1.5px solid rgba(37,99,235,0.12);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  transition: all .3s;
  box-shadow: 0 4px 24px rgba(37,99,235,0.06);
}
.dm-searchbar:focus-within {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 4px 32px rgba(37,99,235,0.12), 0 0 0 4px rgba(37,99,235,0.06);
}
.dm-searchbar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--dm-text, #0F172A);
  font-family: var(--body, "Inter", system-ui, sans-serif);
  background: transparent;
}
.dm-searchbar input::placeholder { color: var(--dm-light, #94A3B8); }
.dm-searchbar__btn {
  background: var(--dm-primary, #2563EB);
  border: none;
  color: white;
  padding: 10px 24px;
  margin: 5px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all .2s;
}
.dm-searchbar__btn:hover {
  background: var(--dm-primary-dark, #1D4ED8);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.28);
}
.dm-searchbar__btn svg { width: 15px; height: 15px; }

/* Meta */
.dm-meta { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.dm-meta__row { display: flex; gap: 8px; font-size: 12px; line-height: 1.4; }
.dm-meta__label { color: var(--dm-light, #94A3B8); min-width: 120px; font-weight: 600; }
.dm-meta__value { color: var(--dm-muted, #475569); font-weight: 700; }

/* Mini preview */
.dm-mini-results { margin-top: 16px; border-top: 1px solid var(--dm-border, rgba(15,23,42,0.08)); padding-top: 14px; }
.dm-mini-results__label { font-size: 10px; font-weight: 800; color: var(--dm-light, #94A3B8); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.dm-mini-result { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.03); font-size: 12px; }
.dm-mini-result:last-child { border-bottom: none; }
.dm-mini-result__name { font-family: var(--heading, "Manrope", "Inter", sans-serif); font-weight: 800; color: var(--dm-text, #0F172A); }
.dm-mini-result__name span { color: var(--dm-primary, #2563EB); }
.dm-mini-result__right { display: flex; align-items: center; gap: 8px; }
.dm-mini-result__price { font-weight: 700; color: var(--dm-text, #0F172A); font-size: 12px; }
.dm-mini-result__badge { font-size: 8px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.dm-mini-result__badge--ok { background: #ECFDF5; color: var(--dm-accent, #059669); }
.dm-mini-result__badge--no { background: #FEF2F2; color: #DC2626; }

/* Card action row */
.dm-card-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ====== RESULTS SECTION ====== */
.dm-results {
  padding: clamp(32px, 3.5vw, 48px) 0;
  background: var(--dm-surface-2, #F8FAFC);
}
.dm-results-card {
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  box-shadow: 0 12px 30px rgba(15,23,42,0.04);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: clamp(24px, 2.5vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
}
.dm-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dm-results-title {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
}
.dm-results-count { font-size: 13px; color: var(--dm-muted, #475569); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dm-results-count__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dm-accent, #059669); }
.dm-divider { height: 1px; background: var(--dm-border, rgba(15,23,42,0.08)); }

/* Result grid */
.dm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }

/* Result card */
.dm-result {
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  border-radius: 16px;
  padding: 18px 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all .25s;
  animation: dm-cardSlide .35s ease-out both;
}
.dm-result:nth-child(1) { animation-delay: 0s; }
.dm-result:nth-child(2) { animation-delay: .05s; }
.dm-result:nth-child(3) { animation-delay: .1s; }
.dm-result:nth-child(4) { animation-delay: .15s; }
.dm-result:nth-child(5) { animation-delay: .2s; }
.dm-result:nth-child(6) { animation-delay: .25s; }
.dm-result:nth-child(7) { animation-delay: .3s; }
.dm-result:nth-child(8) { animation-delay: .35s; }
.dm-result:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: var(--dm-border-hover, rgba(15,23,42,0.14));
}
.dm-result--ok  { border-left: 3px solid var(--dm-accent, #059669); }
.dm-result--no  { border-left: 3px solid #DC2626; opacity: .6; }
.dm-result--best {
  border-left: 3px solid var(--dm-primary, #2563EB);
  box-shadow: 0 4px 20px rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.12);
}
.dm-result__info  { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dm-result__top   { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dm-result__domain {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-weight: 800;
  font-size: 16px;
  color: var(--dm-text, #0F172A);
}
.dm-result__tld { color: var(--dm-primary, #2563EB); }
.dm-result__status { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dm-result__status--ok { color: var(--dm-accent, #059669); }
.dm-result__status--no { color: #DC2626; }
.dm-result__pricing { display: flex; align-items: baseline; gap: 6px; }
.dm-result__price { font-size: 15px; font-weight: 800; color: var(--dm-text, #0F172A); }
.dm-result__renew { font-size: 11px; color: var(--dm-light, #94A3B8); font-weight: 500; }
.dm-result__transfer {
  font-size: 11px;
  color: var(--dm-primary, #2563EB);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: pointer;
}

/* Badge */
.dm-badge { font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 6px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.dm-badge--best    { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: var(--dm-primary, #2563EB); }
.dm-badge--popular { background: #FEF3C7; color: #92400E; }
.dm-badge--new     { background: #ECFDF5; color: var(--dm-accent, #059669); }

/* Result button */
.dm-result__btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dm-result__btn--add {
  background: var(--dm-primary, #2563EB);
  color: white;
  border-color: var(--dm-primary, #2563EB);
}
.dm-result__btn--add:hover {
  background: var(--dm-primary-dark, #1D4ED8);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.dm-result__btn--no {
  background: transparent;
  color: var(--dm-light, #94A3B8);
  border-color: var(--dm-border, rgba(15,23,42,0.08));
  cursor: default;
}

/* Skeleton loading */
.dm-skeleton-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.dm-skeleton-card {
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  border-radius: 16px;
  padding: 20px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dm-skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 400px 12px;
  animation: dm-shimmer 1.8s linear infinite;
}
.dm-skeleton-line--w60 { width: 60%; }
.dm-skeleton-line--w40 { width: 40%; }
.dm-skeleton-line--w30 { width: 30%; height: 10px; margin-top: 8px; }
.dm-skeleton-btn {
  width: 90px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 400px 36px;
  animation: dm-shimmer 1.8s linear infinite;
}

/* Domain ideas */
.dm-ideas {
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,0.03);
  border-radius: 18px;
  padding: 24px 28px;
  margin-top: 24px;
  animation: dm-fadeInUp .5s ease-out .3s both;
}
.dm-ideas__title {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--dm-text, #0F172A);
  margin-bottom: 4px;
}
.dm-ideas__sub { font-size: 13px; color: var(--dm-muted, #475569); margin-bottom: 16px; }
.dm-ideas__group { margin-bottom: 12px; }
.dm-ideas__group:last-child { margin-bottom: 0; }
.dm-ideas__group-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--dm-light, #94A3B8);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.dm-ideas__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-idea-chip {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--dm-border, rgba(15,23,42,0.08));
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--dm-text, #0F172A);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}
.dm-idea-chip:hover {
  border-color: rgba(37,99,235,0.2);
  background: #eaf2ff;
  color: var(--dm-primary, #2563EB);
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* More button */
.dm-more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 24px; }
.dm-more__hint { font-size: 12px; color: var(--dm-light, #94A3B8); }

/* ====== CTA ====== */
.dm-cta-section { padding: clamp(40px, 4vw, 56px) 0; }
.dm-cta {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B82F6 100%);
  border-radius: 20px;
  padding: clamp(36px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.dm-cta::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.dm-cta::after  { content: ''; position: absolute; bottom: -60px; left: -30px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,0.03); }
.dm-cta__content { position: relative; z-index: 1; }
.dm-cta__title {
  font-family: var(--heading, "Manrope", "Inter", sans-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.dm-cta__sub { font-size: clamp(14px, 1.1vw, 16px); color: rgba(255,255,255,0.7); line-height: 1.55; }
.dm-cta__actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .dm-hero-split { grid-template-columns: 1fr; text-align: center; }
  .dm-hero-lead  { margin-left: auto; margin-right: auto; }
  .dm-kicker       { justify-content: center; }
  .dm-hero-tlds    { justify-content: center; }
  .dm-hero-trust   { justify-content: center; }
  .dm-grid,
  .dm-skeleton-grid { grid-template-columns: 1fr; }
  .dm-cta { flex-direction: column; text-align: center; }
  .dm-cta__actions { justify-content: center; }
}
@media (max-width: 640px) {
  .dm-hero-split { padding: 0 16px; }
  .dm-searchbar  { flex-direction: column; }
  .dm-searchbar__btn { margin: 4px; justify-content: center; }
  .dm-card-actions   { flex-direction: column; }
  .dm-card-actions .btn { width: 100%; justify-content: center; }
  .dm-meta__row { flex-direction: column; gap: 2px; }
  .dm-cta { padding: 28px 20px; }
  .dm-hero-tlds { gap: 6px; }
  .dm-tld { padding: 4px 10px; font-size: 11px; }
}
