/* ============================================
   GrapoliX Domains Page Styles
   ============================================ */

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 3px 3px;
  z-index: 9999;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
}

/* ── Section Base ── */
.section {
  padding: var(--xxl) 0;
}

.section--dark {
  background: var(--surface);
}

.section__eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid rgba(232, 213, 163, 0.25);
  border-radius: 2px;
}

.section__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 700px;
}

.section__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── Hero Domain Search ── */
.domain-search-hero {
  max-width: 720px;
  margin-top: 40px;
}

.domain-search-hero__bar {
  display: flex;
  gap: 0;
}

.domain-search-hero__input {
  flex: 1;
  font-size: 16px;
  border-radius: 3px 0 0 3px;
  border-right: none;
}

.domain-search-hero__tld {
  width: 120px;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background: var(--surface);
  font-size: 13px;
}

.domain-search-hero__bar .btn {
  border-radius: 0 3px 3px 0;
  padding: 14px 32px;
  flex-shrink: 0;
}

.domain-search-hero__results {
  margin-top: 16px;
  min-height: 48px;
  font-size: 14px;
  color: var(--muted);
}

/* ── TLD Pricing Table ── */
.tld-table {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.tld-table__header {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr 120px;
  gap: 0;
  padding: 14px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.tld-table__row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr 120px;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
  color: var(--text);
  transition: background 200ms ease;
}

.tld-table__row:last-child {
  border-bottom: none;
}

.tld-table__row:hover {
  background: var(--surface);
}

.tld-table__ext {
  font-weight: 700;
}

/* ── How It Works Steps ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
}

.step {
  flex: 1;
  padding: 32px;
}

.step__number {
  font-size: 48px;
  font-weight: 900;
  color: var(--garnet);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.step__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.step__connector {
  width: 1px;
  height: 120px;
  background: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ── Transfer Band ── */
.transfer-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--garnet);
  border-radius: 4px;
}

.transfer-band__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.transfer-band__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.transfer-band__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.transfer-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transfer-feature p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tld-table__header,
  .tld-table__row {
    grid-template-columns: 120px 1fr 1fr 100px;
  }

  .tld-table__header div:nth-child(4),
  .tld-table__row div:nth-child(4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }

  .step__connector {
    width: 40px;
    height: 1px;
    margin: 0 32px;
  }

  .transfer-band {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .tld-table__header,
  .tld-table__row {
    grid-template-columns: 1fr 1fr 100px;
  }

  .tld-table__header div:nth-child(3),
  .tld-table__row div:nth-child(3) {
    display: none;
  }
}

@media (max-width: 600px) {
  .domain-search-hero__bar {
    flex-direction: column;
  }

  .domain-search-hero__input {
    border-right: 1px solid var(--border);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
  }

  .domain-search-hero__tld {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
  }

  .domain-search-hero__bar .btn {
    border-radius: 0 0 3px 3px;
    width: 100%;
  }
}
