/* Premium domain-search experience: page-local enhancements only. */
.domain-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 7%, rgba(244, 248, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 62% 24%, rgba(27, 188, 255, 0.13), transparent 38rem),
    radial-gradient(circle at 16% 28%, rgba(100, 133, 180, 0.09), transparent 32rem),
    #030507;
}

.domain-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.domain-hero,
.domain-search-section,
.domain-section,
.domain-checkout-teaser {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 56px));
}

.domain-hero {
  min-height: min(720px, calc(100vh - var(--header-height) + 74px));
  padding: clamp(84px, 13vh, 154px) 0 170px;
  align-items: flex-start;
}

.domain-hero-inner {
  max-width: 940px;
}

.domain-hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -85px;
  left: 50%;
  width: min(720px, 92vw);
  height: 380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.18), rgba(178, 223, 255, 0.07) 40%, transparent 72%);
  filter: blur(10px);
}

.domain-hero .section-eyebrow {
  color: rgba(205, 229, 247, 0.78);
}

.domain-hero h1 {
  display: grid;
  gap: 3px;
  margin-bottom: 24px;
  color: #f8fbff;
  font-size: clamp(3.45rem, 7.7vw, 7.1rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.domain-hero-title-static,
.domain-hero-rotator {
  display: block;
}

.domain-hero-rotator {
  position: relative;
  height: 1.05em;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
}

.domain-hero-rotator > span {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(86%);
  animation: domain-rotating-line 15s cubic-bezier(.22, .7, .22, 1) infinite both;
  animation-delay: calc(var(--domain-word-index) * 3s);
}

@keyframes domain-rotating-line {
  0%, 4% { opacity: 0; filter: blur(7px); transform: translateY(86%); }
  8%, 17% { opacity: 1; filter: blur(0); transform: translateY(0); }
  20%, 100% { opacity: 0; filter: blur(5px); transform: translateY(-76%); }
}

.domain-hero p:not(.section-eyebrow) {
  max-width: 590px;
  color: rgba(234, 241, 249, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.7;
}

.domain-hero-actions {
  margin-top: 30px;
}

.domain-search-section {
  margin-top: -138px;
  padding-bottom: clamp(72px, 10vw, 132px);
}

.domain-search-panel {
  padding: clamp(26px, 4.5vw, 48px);
  border: 1px solid rgba(234, 243, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.025)),
    rgba(7, 11, 16, 0.8);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.domain-search-copy {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.domain-search-copy h2,
.domain-results-heading h2,
.domain-perspective h2 {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.domain-search-copy p:not(.section-eyebrow) {
  margin: 12px auto 0;
  max-width: 590px;
  color: rgba(229, 238, 248, 0.62);
  font-size: 0.98rem;
  line-height: 1.65;
}

.domain-search-form {
  width: min(812px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.domain-search-input-wrap {
  position: relative;
  min-width: 0;
}

.domain-search-icon {
  position: absolute;
  top: 50%;
  left: 21px;
  width: 21px;
  height: 21px;
  transform: translateY(-50%);
  fill: rgba(240, 247, 255, 0.7);
  pointer-events: none;
}

.domain-search-form input {
  min-height: 67px;
  padding: 0 20px 0 56px;
  border-color: rgba(245, 249, 255, 0.18);
  border-radius: 15px;
  background: rgba(1, 5, 9, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  font-size: 1.02rem;
}

.domain-search-form input::placeholder {
  color: rgba(228, 238, 248, 0.42);
}

.domain-search-form input:focus {
  border-color: rgba(205, 229, 248, 0.62);
  background: rgba(1, 5, 9, 0.78);
  box-shadow: 0 0 0 4px rgba(27, 188, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.domain-search-form .btn {
  min-width: 118px;
  min-height: 67px;
  border-radius: 15px;
}

.domain-extension-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 17px 0 13px;
}

.domain-extension-pills button,
.domain-strength-tags span {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(237, 245, 253, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.domain-extension-pills button:hover,
.domain-extension-pills button:focus-visible,
.domain-extension-pills button.is-selected {
  border-color: rgba(222, 237, 250, 0.52);
  color: #fff;
  background: rgba(218, 235, 250, 0.12);
  outline: 0;
}

.domain-extension-pills button:hover { transform: translateY(-1px); }

.domain-search-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  color: rgba(229, 239, 249, 0.53);
  font-size: 0.79rem;
  line-height: 1.5;
}

.domain-search-trust span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.domain-search-message {
  margin: 15px auto 0;
  max-width: 680px;
  text-align: center;
}

.domain-results-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 348px);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(34px, 6vw, 54px);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.domain-results-workspace[hidden] { display: none; }

.domain-results-workspace.is-visible { animation: domain-workspace-in 260ms ease both; }

@keyframes domain-workspace-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.domain-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.domain-results-heading > p {
  max-width: 230px;
  color: rgba(228, 238, 248, 0.52);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: right;
}

.domain-results-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  margin-top: 0;
}

.domain-empty-state,
.domain-result-card {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 18px 50px rgba(0, 0, 0, 0.14);
}

.domain-result-card {
  gap: 13px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.domain-result-card::before { display: none; }

.domain-result-card:hover {
  border-color: rgba(229, 239, 249, 0.25);
  background: rgba(255, 255, 255, 0.052);
  transform: translateY(-1px);
}

.domain-result-card.is-selected {
  border-color: rgba(231, 241, 250, 0.64);
  background: linear-gradient(135deg, rgba(234, 244, 252, 0.11), rgba(27, 188, 255, 0.055));
  box-shadow: 0 0 0 1px rgba(221, 238, 250, 0.08), 0 22px 70px rgba(11, 99, 143, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.domain-result-card:focus-visible {
  outline: 3px solid rgba(27, 188, 255, 0.48);
  outline-offset: 3px;
}

.domain-extension-badge {
  min-height: 25px;
  margin-bottom: 9px;
  padding: 0 8px;
  border-color: rgba(187, 215, 238, 0.21);
  color: rgba(204, 230, 251, 0.86);
  background: rgba(176, 216, 248, 0.08);
  font-size: 0.69rem;
}

.domain-result-card h3 {
  font-size: clamp(1.23rem, 2.1vw, 1.55rem);
  letter-spacing: -0.035em;
}

.domain-result-card p { color: rgba(224, 235, 246, 0.6); }

.domain-status-row { display: flex; align-items: center; }

.domain-status-row span {
  min-height: 27px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.domain-strength-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.domain-strength-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  color: rgba(224, 239, 251, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
}

.domain-card-tags { margin-top: -4px; }

.domain-price-grid { max-width: 440px; gap: 8px; }

.domain-price-grid div {
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.15);
}

.domain-price-grid strong { font-size: 1rem; }

.domain-result-card .domain-price-note { color: rgba(224, 235, 246, 0.45); }

.domain-card-actions { margin-top: 2px; }

.domain-card-actions .btn {
  min-height: 37px;
  border-radius: 10px;
}

.domain-perspective {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  min-height: 410px;
  padding: 22px;
  border: 1px solid rgba(217, 232, 244, 0.17);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(237, 246, 253, 0.1), rgba(255, 255, 255, 0.026) 42%),
    rgba(4, 10, 16, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.domain-perspective h2 { margin-top: 5px; font-size: 1.64rem; }

.domain-perspective-empty { margin-top: 32px; color: rgba(226, 237, 248, 0.61); line-height: 1.65; }
.domain-perspective-empty strong { display: block; margin-bottom: 7px; color: rgba(255, 255, 255, 0.9); }
.domain-perspective-empty.is-error strong { color: #ffd38a; }

.domain-perspective-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.domain-perspective-score {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(224, 240, 253, 0.18);
  border-radius: 10px;
  background: rgba(238, 248, 255, 0.08);
}

.domain-perspective-score strong { font-size: 1.24rem; }
.domain-perspective-score small { color: rgba(225, 238, 249, 0.56); font-size: 0.68rem; }

.domain-perspective-rating {
  margin-top: 11px;
  color: rgba(191, 229, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 800;
}

.domain-perspective-copy,
.domain-perspective-note {
  margin-top: 10px;
  color: rgba(226, 237, 248, 0.63);
  font-size: 0.86rem;
  line-height: 1.62;
}

.domain-perspective .domain-strength-tags { margin-top: 16px; }

.domain-perspective-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.domain-perspective-list div {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.domain-perspective-list dt {
  color: rgba(208, 225, 240, 0.5);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.domain-perspective-list dd {
  margin-top: 5px;
  color: rgba(238, 246, 253, 0.79);
  font-size: 0.82rem;
  line-height: 1.5;
}

.domain-perspective-note { color: rgba(210, 225, 237, 0.5); font-size: 0.74rem; }

.domain-perspective-actions {
  display: grid;
  gap: 9px;
  margin-top: 19px;
}

.domain-perspective-actions .btn {
  min-height: 44px;
  border-radius: 11px;
  font-size: 0.79rem;
  text-align: center;
}

.domain-result-skeleton {
  display: grid;
  gap: 12px;
  min-height: 192px;
  padding: 20px;
  border: 1px solid rgba(202, 224, 242, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.domain-result-skeleton span,
.domain-perspective-skeleton span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.045), rgba(226, 242, 255, 0.12), rgba(255, 255, 255, 0.045));
  background-size: 200% 100%;
  animation: domain-skeleton-shimmer 1.45s ease-in-out infinite;
}

.domain-result-skeleton span:nth-child(1) { width: 30%; height: 14px; }
.domain-result-skeleton span:nth-child(2) { width: 58%; height: 24px; }
.domain-result-skeleton span:nth-child(3) { width: 86%; height: 13px; }
.domain-result-skeleton span:nth-child(4) { width: 42%; height: 34px; margin-top: auto; }

.domain-perspective-skeleton { display: grid; gap: 15px; margin-top: 28px; }
.domain-perspective-skeleton span:nth-child(1) { width: 60%; height: 20px; }
.domain-perspective-skeleton span:nth-child(2) { width: 100%; height: 70px; }
.domain-perspective-skeleton span:nth-child(3) { width: 78%; height: 14px; }
.domain-perspective-skeleton span:nth-child(4) { width: 100%; height: 96px; }

@keyframes domain-skeleton-shimmer { to { background-position: -200% 0; } }

@media (max-width: 940px) {
  .domain-results-workspace { grid-template-columns: 1fr; }
  .domain-perspective { position: static; min-height: 0; }
  .domain-results-heading { align-items: start; flex-direction: column; }
  .domain-results-heading > p { max-width: 540px; text-align: left; }
}

@media (max-width: 900px) {
  .domain-hero { min-height: 590px; padding: 96px 0 158px; text-align: center; }
  .domain-hero-inner { margin: 0 auto; }
  .domain-hero p:not(.section-eyebrow) { margin: 0 auto; }
  .domain-hero-actions { justify-content: center; }
  .domain-search-section { margin-top: -118px; }
}

@media (max-width: 620px) {
  .domain-hero,
  .domain-search-section,
  .domain-section,
  .domain-checkout-teaser { width: min(100% - 28px, 1240px); }
  .domain-hero { min-height: 540px; padding-top: 80px; }
  .domain-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .domain-search-section { margin-top: -94px; }
  .domain-search-panel { padding: 20px; border-radius: 18px; }
  .domain-search-form { grid-template-columns: 1fr; }
  .domain-search-form .btn { width: 100%; min-height: 56px; }
  .domain-search-form input { min-height: 58px; }
  .domain-extension-pills { justify-content: flex-start; }
  .domain-search-trust { justify-content: flex-start; font-size: 0.74rem; }
  .domain-search-trust span + span::before { margin-left: 7px; margin-right: 7px; }
  .domain-results-heading h2 { font-size: 2rem; }
  .domain-result-card { padding: 17px; }
  .domain-perspective { padding: 19px; border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .domain-hero-rotator > span { animation: none; opacity: 0; transform: none; filter: none; }
  .domain-hero-rotator > span:first-child { opacity: 1; }
  .domain-results-workspace.is-visible,
  .domain-result-skeleton span,
  .domain-perspective-skeleton span { animation: none; }
  .domain-result-card,
  .domain-extension-pills button { transition: none; }
}
