/* ============================================================
   Domain Search v5.0 — Front-end Styles
   Multi-registrar comparison + improved design
   ============================================================ */

:root {
	--htd-accent: #0066ff;
	--htd-accent-hover: #0052cc;
	--htd-success: #00b67a;
	--htd-success-light: #e6f9f1;
	--htd-danger: #dc3545;
	--htd-danger-light: #fde8ea;
	--htd-warn: #f59e0b;
	--htd-text: #1a1a2e;
	--htd-text-muted: #6b7280;
	--htd-border: #e5e7eb;
	--htd-bg: #f8fafc;
	--htd-card: #ffffff;
	--htd-radius: 14px;
	--htd-radius-sm: 8px;
	--htd-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
	--htd-shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
	--htd-namecheap: #de5833;
	--htd-godaddy: #00a4a6;
}

/* ── Hero ── */
.htd-hero {
	position: relative;
	padding: 56px 24px 44px;
	margin: -20px -15px 0;
	overflow: hidden;
	text-align: center;
}
.htd-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #0a1628 0%, #0f2847 35%, #122d52 60%, #0d1f3c 100%);
	z-index: 0;
}
.htd-hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.4;
}
.htd-hero-orb--1 {
	top: -20%;
	left: -10%;
	width: 50%;
	height: 100%;
	background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 70%);
}
.htd-hero-orb--2 {
	bottom: -30%;
	right: -15%;
	width: 45%;
	height: 90%;
	background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
}
.htd-hero-orb--3 {
	top: 10%;
	right: 20%;
	width: 25%;
	height: 50%;
	background: radial-gradient(circle, rgba(0,180,160,0.2), transparent 70%);
}
.htd-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}
.htd-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 50px;
	font-weight: 600;
	color: rgba(255,255,255,0.75);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 16px;
	backdrop-filter: blur(8px);
}
.htd-hero-title {
	color: #ffffff;
	margin: 0 0 10px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.htd-hero-desc {
	color: rgba(255,255,255,0.65);
	margin: 0 0 32px;
	line-height: 1.5;
}

.htd-rich-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	margin: 0 0 18px;
	border-radius: 999px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	color: rgba(255,255,255,0.95);
	font-weight: 600;
	backdrop-filter: blur(6px);
}

.htd-rich-rating-stars {
	color: #fbbf24;
	letter-spacing: 1px;
	font-size: 15px;
	line-height: 1;
}

.htd-rich-rating-value {
	font-size: 14px;
	line-height: 1;
}

.htd-rich-rating-count {
	font-size: 13px;
	line-height: 1;
	color: rgba(255,255,255,0.78);
}

/* ── Search Box ── */
.htd-search-box {
	max-width: 720px;
	margin: 0 auto 24px;
}

/* Namecheap widget visual refresh */
#ir_wrapper {
	padding: 18px 18px 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
	border: 1px solid rgba(255,255,255,0.16);
	box-shadow: 0 20px 48px rgba(2, 8, 23, 0.35);
	backdrop-filter: blur(7px);
}

#ir_wrapper h4 {
	margin: 0 0 10px !important;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #ffffff !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

#ir_wrapper .nc-search {
	padding: 0 !important;
	gap: 0;
	background: rgba(8, 25, 48, 0.72);
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.2);
	overflow: hidden;
}

#ir_domain {
	background: transparent !important;
	color: #f8fafc !important;
	border: none !important;
	font-size: 18px !important;
	padding: 0 14px !important;
	border-radius: 0 !important;
}

#ir_domain::placeholder {
	color: rgba(248, 250, 252, 0.55);
}

#ir_domain:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.45);
}

#ir_form input[type='submit'] {
	border: none !important;
	background: linear-gradient(135deg, #ff7a1a 0%, #de3723 100%) !important;
	text-shadow: none !important;
	font-weight: 700 !important;
	letter-spacing: 0.2px;
	transition: transform 0.14s ease, filter 0.18s ease;
}

#ir_form input[type='submit']:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

#ir_wrapper .powerby p {
	margin-top: 10px !important;
	font-size: 12px !important;
	color: rgba(255, 255, 255, 0.72) !important;
}

#ir_wrapper .powerby a {
	color: #ff8e45 !important;
}

.htd-lite-results {
	max-width: 900px;
	margin: 20px auto 0;
	padding: 18px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,255,255,0.16);
	text-align: left;
}

.htd-lite-results-head h3 {
	margin: 0 0 4px;
	font-size: 20px;
	color: #fff;
}

.htd-lite-results-head p {
	margin: 0 0 12px;
	color: rgba(255,255,255,0.72);
	font-size: 13px;
}

.htd-lite-results-list {
	display: grid;
	gap: 10px;
}

.htd-lite-row {
	display: grid;
	grid-template-columns: 1.2fr 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border-radius: 10px;
	background: rgba(8, 25, 48, 0.72);
	border: 1px solid rgba(255,255,255,0.14);
}

.htd-lite-domain {
	font-weight: 700;
	color: #fff;
	font-size: 16px;
}

.htd-lite-prices {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255,255,255,0.86);
}

.htd-lite-actions {
	display: flex;
	gap: 8px;
}

.htd-lite-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 11px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.14s ease, filter 0.2s ease;
}

.htd-lite-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
}

.htd-lite-btn--namecheap {
	background: #de5833;
}

.htd-lite-btn--godaddy {
	background: #00a4a6;
}

@media (max-width: 768px) {
	#ir_wrapper {
		padding: 14px;
	}

	#ir_wrapper h4 {
		font-size: 23px;
	}

	#ir_form input[type='submit'] {
		min-width: 88px !important;
		width: 88px !important;
	}

	.htd-lite-row {
		grid-template-columns: 1fr;
	}

	.htd-lite-actions {
		flex-wrap: wrap;
	}

	.htd-lite-btn {
		width: 100%;
	}
}
.htd-search-input-wrap {
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid transparent;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
	overflow: hidden;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.htd-search-input-wrap:focus-within {
	border-color: var(--htd-accent);
	box-shadow: 0 8px 32px rgba(0,102,255,0.15), 0 0 0 1px rgba(0,102,255,0.3);
}
.htd-search-icon-left {
	display: flex;
	align-items: center;
	padding: 0 0 0 18px;
	color: #9ca3af;
}
.htd-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	padding: 18px 16px !important;
	color: #1a1a2e;
	background: transparent !important;
	min-width: 0;
	box-shadow: none !important;
	height: auto !important;
	line-height: 1.4 !important;
}
.htd-search-input::placeholder {
	color: #b0b8c4;
}
.htd-search-clear {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	padding: 0 10px;
	line-height: 1;
	display: none;
	transition: color 0.2s;
}
.htd-search-clear:hover {
	color: var(--htd-danger);
}
.htd-search-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	margin: 6px;
	background: var(--htd-accent);
	color: #fff !important;
	border: none;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, transform 0.1s;
	border-radius: 12px;
}
.htd-search-btn:hover {
	background: var(--htd-accent-hover);
	transform: translateY(-1px);
}
.htd-search-btn.htd-searching {
	opacity: 0.7;
	pointer-events: none;
}
.htd-search-btn svg {
	flex-shrink: 0;
}

/* ── TLD Chips ── */
.htd-tld-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}
.htd-tld-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}
.htd-tld-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 14px;
	background: rgba(255,255,255,0.06);
	border: 1.5px solid rgba(255,255,255,0.15);
	border-radius: 8px;
	color: rgba(255,255,255,0.7);
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
	backdrop-filter: blur(4px);
}
.htd-tld-chip input {
	accent-color: var(--htd-accent);
	margin: 0;
	cursor: pointer;
}
.htd-tld-chip:has(input:checked) {
	border-color: var(--htd-accent);
	background: rgba(0,102,255,0.15);
	color: #fff;
}
.htd-tld-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 16px;
	background: rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.8) !important;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}
.htd-tld-more:hover {
	background: rgba(255,255,255,0.15);
}
.htd-tld-more--open svg {
	transform: rotate(180deg);
}
.htd-tld-extra {
	display: none;
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 10px;
}
.htd-tld-select-all {
	padding: 5px 14px;
	background: rgba(255,255,255,0.05);
	border: 1px dashed rgba(255,255,255,0.2);
	border-radius: 8px;
	color: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: all 0.2s;
}
.htd-tld-select-all:hover {
	background: rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.8);
}

/* ── Hero Stats ── */
.htd-hero-stats {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	margin-top: 24px;
	padding: 10px 24px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 50px;
	backdrop-filter: blur(8px);
}
.htd-hero-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.htd-hero-stat strong {
	font-weight: 700;
	color: #fff;
}
.htd-hero-stat span {
	color: rgba(255,255,255,0.45);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.htd-hero-stat-sep {
	width: 1px;
	height: 28px;
	background: rgba(255,255,255,0.1);
}

/* ── Loading ── */
.htd-loading {
	padding: 48px 20px;
}
.htd-loading-inner {
	text-align: center;
	max-width: 400px;
	margin: 0 auto;
}
.htd-spinner {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 3px solid var(--htd-border);
	border-top-color: var(--htd-accent);
	border-radius: 50%;
	animation: htd-spin 0.7s linear infinite;
	margin-bottom: 16px;
}
@keyframes htd-spin {
	to { transform: rotate(360deg); }
}
.htd-loading-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 20px;
}
.htd-loading-text strong {
	color: var(--htd-text);
}
.htd-loading-text span {
	color: var(--htd-text-muted);
}
.htd-loading-progress {
	height: 4px;
	background: var(--htd-border);
	border-radius: 4px;
	overflow: hidden;
}
.htd-loading-bar {
	height: 100%;
	width: 30%;
	background: var(--htd-accent);
	border-radius: 4px;
	animation: htd-progress 1.5s ease-in-out infinite;
}
@keyframes htd-progress {
	0% { transform: translateX(-100%); width: 30%; }
	50% { width: 60%; }
	100% { transform: translateX(400%); width: 30%; }
}

/* ── Result Banner ── */
.htd-result-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 32px;
	margin: 28px 0;
	border-radius: var(--htd-radius);
	gap: 20px;
}
.htd-banner--success {
	background: linear-gradient(135deg, #059669, #10b981, #06b6d4);
	color: #fff;
}
.htd-banner--taken {
	background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
	color: #fff;
}
.htd-banner--warn {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fcd34d;
}
.htd-banner--error {
	background: var(--htd-danger-light);
	color: var(--htd-danger);
	border: 1px solid #fca5a5;
}
.htd-banner-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.htd-banner-msg {
	opacity: 0.85;
}
.htd-banner-domain {
	font-weight: 800;
	letter-spacing: -0.01em;
}
.htd-banner-cta {
	display: inline-flex;
	align-items: center;
	padding: 12px 32px;
	background: #fff;
	color: #059669 !important;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none !important;
	transition: transform 0.15s, box-shadow 0.15s;
	white-space: nowrap;
}
.htd-banner-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.htd-banner-whois {
	display: inline-flex;
	align-items: center;
	padding: 10px 24px;
	background: rgba(255,255,255,0.12);
	color: #fff !important;
	border: 2px solid rgba(255,255,255,0.3);
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background 0.2s;
	white-space: nowrap;
}
.htd-banner-whois:hover {
	background: rgba(255,255,255,0.2);
}

/* ── Registrar Tabs ── */
.htd-registrar-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 20px;
	padding: 4px;
	background: var(--htd-bg);
	border-radius: 12px;
	border: 1px solid var(--htd-border);
	overflow-x: auto;
}
.htd-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background: transparent;
	border: none;
	border-radius: var(--htd-radius-sm);
	font-weight: 600;
	color: var(--htd-text-muted);
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}
.htd-tab:hover {
	color: var(--htd-text);
	background: rgba(0,0,0,0.03);
}
.htd-tab--active {
	background: var(--htd-card) !important;
	color: var(--htd-text) !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.htd-tab-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

/* ── Results Grid ── */
.htd-results {
	margin: 0 0 48px;
}
.htd-results-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
}
.htd-results-col {
	background: var(--htd-card);
	border: 1px solid var(--htd-border);
	border-radius: var(--htd-radius);
}
.htd-results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--htd-border);
	background: var(--htd-bg);
	border-radius: var(--htd-radius) var(--htd-radius) 0 0;
}
.htd-results-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--htd-text);
}
.htd-results-title svg {
	color: var(--htd-accent);
}
.htd-results-count {
	font-weight: 600;
	color: var(--htd-text-muted);
	padding: 3px 10px;
	background: rgba(0,0,0,0.04);
	border-radius: 20px;
}

/* ── Extension Rows ── */
.htd-extensions-list,
.htd-suggestions-list {
	padding: 8px;
}
.htd-ext-row {
	display: flex;
	align-items: center;
	padding: 14px 16px;
	margin-bottom: 6px;
	border-radius: 10px;
	gap: 14px;
	transition: background 0.2s, box-shadow 0.2s;
	border: 1px solid transparent;
}
.htd-ext-row:last-child {
	margin-bottom: 0;
}
.htd-ext-row:hover {
	background: var(--htd-bg);
}
.htd-ext--available {
	background: rgba(0, 182, 122, 0.03);
	border-color: rgba(0, 182, 122, 0.1);
}
.htd-ext--available:hover {
	background: rgba(0, 182, 122, 0.06);
	box-shadow: 0 2px 8px rgba(0, 182, 122, 0.08);
}
.htd-ext--taken {
	opacity: 0.6;
}
.htd-ext--taken:hover {
	opacity: 0.8;
	background: rgba(0,0,0,0.02);
}
.htd-ext-info {
	flex: 1;
	min-width: 0;
}
.htd-ext-domain {
	display: block;
	font-weight: 700;
	font-size: 1.05em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.htd-ext-domain .htd-ext-tld {
	color: var(--htd-accent);
	font-weight: 800;
}
.htd-ext--available .htd-ext-domain {
	color: var(--htd-text);
}
.htd-ext--taken .htd-ext-domain {
	color: #9ca3af;
}
.htd-ext-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 3px;
	padding: 2px 8px;
	border-radius: 4px;
}
.htd-ext--available .htd-ext-status {
	color: var(--htd-success);
	background: var(--htd-success-light);
}
.htd-ext--taken .htd-ext-status {
	color: #9ca3af;
	background: #f3f4f6;
}
.htd-ext-price {
	font-weight: 800;
	color: var(--htd-text);
	white-space: nowrap;
	font-size: 1.05em;
	padding: 6px 12px;
	background: rgba(0, 102, 255, 0.06);
	border-radius: 8px;
}
.htd-ext-price .htd-price-period {
	font-weight: 500;
	font-size: 0.8em;
	color: var(--htd-text-muted);
}
.htd-ext-registrar-links {
	display: flex;
	gap: 5px;
}

/* ── Suggestion Rows ── */
.htd-sug-row {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	margin-bottom: 6px;
	border-radius: 10px;
	gap: 12px;
	transition: background 0.2s, box-shadow 0.2s;
	border: 1px solid var(--htd-border);
	background: var(--htd-card);
}
.htd-sug-row:last-child {
	margin-bottom: 0;
}
.htd-sug-row:hover {
	background: var(--htd-bg);
	border-color: var(--htd-accent);
	box-shadow: 0 2px 8px rgba(0, 102, 255, 0.06);
}
.htd-sug-domain {
	flex: 1;
	font-weight: 600;
	color: var(--htd-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.htd-sug-domain .htd-ext-tld {
	color: var(--htd-accent);
	font-weight: 700;
}
.htd-sug-row .htd-ext-registrar-links {
	gap: 4px;
	flex-shrink: 0;
}

/* ── Registrar Buttons ── */
.htd-reg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 7px 14px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.82em;
	text-decoration: none !important;
	transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
	white-space: nowrap;
	letter-spacing: 0.3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.htd-reg-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.htd-reg-btn:active {
	transform: translateY(0);
}
.htd-reg-btn--namecheap {
	background: linear-gradient(135deg, #f06b4e, var(--htd-namecheap));
	color: #fff !important;
}
.htd-reg-btn--godaddy {
	background: linear-gradient(135deg, #00c4c6, var(--htd-godaddy));
	color: #fff !important;
}
.htd-reg-btn--whois {
	background: #f3f4f6;
	color: #6b7280 !important;
	border: 1px solid var(--htd-border);
	box-shadow: none;
}
.htd-reg-btn--whois:hover {
	background: #e5e7eb;
	box-shadow: none;
}

/* Namecheap primary CTA — larger on main results */
.htd-ext--available .htd-reg-btn--namecheap {
	padding: 7px 18px;
	font-size: 0.85em;
}

/* ── Registrar Comparison Section ── */
.htd-registrars {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-section-title {
	text-align: center;
	color: var(--htd-text);
	margin: 0 0 8px;
	letter-spacing: -0.02em;
}
.htd-section-desc {
	text-align: center;
	color: var(--htd-text-muted);
	margin: 0 0 36px;
}
.htd-registrars-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	max-width: 700px;
	margin: 0 auto;
}
.htd-registrar-card {
	text-align: center;
	padding: 32px 24px;
	background: var(--htd-card);
	border: 1px solid var(--htd-border);
	border-radius: var(--htd-radius);
	transition: box-shadow 0.25s, transform 0.2s;
}
.htd-registrar-card:hover {
	box-shadow: var(--htd-shadow-lg);
	transform: translateY(-4px);
}
.htd-registrar-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	margin-bottom: 16px;
}
.htd-registrar-logo--namecheap {
	background: #fef2ef;
	color: var(--htd-namecheap);
}
.htd-registrar-logo--godaddy {
	background: #e6f7f7;
	color: var(--htd-godaddy);
}
.htd-registrar-card h3 {
	color: var(--htd-text);
	margin: 0 0 8px;
}
.htd-registrar-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--htd-text-muted);
	margin-bottom: 16px;
}
.htd-stars {
	color: #f59e0b;
	letter-spacing: 1px;
}
.htd-registrar-features {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	text-align: left;
}
.htd-registrar-features li {
	padding: 6px 0;
	color: var(--htd-text-muted);
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
.htd-registrar-features li::before {
	content: '✓ ';
	color: var(--htd-success);
	font-weight: 700;
}
.htd-registrar-features li:last-child {
	border-bottom: none;
}
.htd-registrar-price {
	color: var(--htd-text-muted);
}
.htd-registrar-price strong {
	color: var(--htd-text);
}

/* ── How It Works ── */
.htd-howto {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-howto-steps {
	display: flex;
	align-items: flex-start;
	gap: 0;
	max-width: 900px;
	margin: 0 auto;
}
.htd-howto-step {
	flex: 1;
	text-align: center;
	padding: 0 20px;
}
.htd-howto-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--htd-accent);
	color: #fff;
	font-weight: 800;
	border-radius: 50%;
	margin-bottom: 16px;
}
.htd-howto-step h3 {
	color: var(--htd-text);
	margin: 0 0 8px;
}
.htd-howto-step p {
	color: var(--htd-text-muted);
	line-height: 1.6;
	margin: 0;
}
.htd-howto-connector {
	width: 60px;
	height: 2px;
	background: var(--htd-border);
	flex-shrink: 0;
	margin-top: 24px;
	position: relative;
}
.htd-howto-connector::after {
	content: '';
	position: absolute;
	right: -4px;
	top: -3px;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--htd-border);
	border-right: 2px solid var(--htd-border);
	transform: rotate(45deg);
}

/* ── Features ── */
.htd-features {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.htd-feature-card {
	padding: 28px 20px;
	background: var(--htd-card);
	border: 1px solid var(--htd-border);
	border-radius: var(--htd-radius);
	transition: box-shadow 0.2s, transform 0.15s;
}
.htd-feature-card:hover {
	box-shadow: var(--htd-shadow-lg);
	transform: translateY(-3px);
}
.htd-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	margin-bottom: 16px;
}
.htd-feature-icon--blue { background: #eff6ff; color: #3b82f6; }
.htd-feature-icon--green { background: #ecfdf5; color: #10b981; }
.htd-feature-icon--purple { background: #f5f3ff; color: #8b5cf6; }
.htd-feature-icon--orange { background: #fff7ed; color: #f97316; }
.htd-feature-icon--teal { background: #f0fdfa; color: #14b8a6; }
.htd-feature-icon--pink { background: #fdf2f8; color: #ec4899; }
.htd-feature-card h3 {
	color: var(--htd-text);
	margin: 0 0 8px;
}
.htd-feature-card p {
	color: var(--htd-text-muted);
	line-height: 1.6;
	margin: 0;
}

/* ── TLD Info ── */
.htd-tld-info {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-tld-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.htd-tld-info-card {
	padding: 20px;
	background: var(--htd-bg);
	border-radius: 12px;
	border: 1px solid var(--htd-border);
	transition: border-color 0.2s;
}
.htd-tld-info-card:hover {
	border-color: var(--htd-accent);
}
.htd-tld-info-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.htd-tld-badge {
	display: inline-block;
	padding: 4px 14px;
	background: var(--htd-accent);
	color: #fff;
	font-weight: 700;
	border-radius: 20px;
}
.htd-tld-cat {
	color: var(--htd-text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.htd-tld-info-card p {
	color: var(--htd-text-muted);
	line-height: 1.6;
	margin: 0;
}

/* ── FAQ ── */
.htd-faq {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-faq-list {
	max-width: 800px;
	margin: 32px auto 0;
}
.htd-faq-item {
	border: 1px solid var(--htd-border);
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color 0.2s;
}
.htd-faq-item:hover {
	border-color: #c7d2fe;
}
.htd-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 20px;
	background: var(--htd-card);
	border: none;
	font-weight: 600;
	color: var(--htd-text);
	cursor: pointer;
	text-align: left;
	transition: background 0.2s;
}
.htd-faq-q:hover {
	background: var(--htd-bg);
}
.htd-faq-q svg {
	flex-shrink: 0;
	color: var(--htd-text-muted);
	transition: transform 0.3s;
}
.htd-faq-item.htd-faq--open .htd-faq-q svg {
	transform: rotate(180deg);
}
.htd-faq-a {
	display: none;
	padding: 0 20px 18px;
	background: var(--htd-card);
}
.htd-faq-item.htd-faq--open .htd-faq-a {
	display: block;
}
.htd-faq-a p {
	color: var(--htd-text-muted);
	line-height: 1.7;
	margin: 0;
}

/* ── Crosslinks ── */
.htd-crosslinks {
	padding: 56px 0;
	border-top: 1px solid var(--htd-border);
}
.htd-crosslinks-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.htd-crosslink-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 24px;
	background: var(--htd-card);
	border: 1px solid var(--htd-border);
	border-radius: 12px;
	text-decoration: none !important;
	color: var(--htd-text);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.htd-crosslink-card:hover {
	border-color: var(--htd-accent);
	box-shadow: 0 4px 16px rgba(0,102,255,0.08);
	transform: translateY(-2px);
}
.htd-crosslink-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #eff6ff;
	border-radius: 12px;
	color: var(--htd-accent);
	flex-shrink: 0;
}
.htd-crosslink-text {
	flex: 1;
}
.htd-crosslink-text h3 {
	margin: 0 0 2px;
	color: var(--htd-text);
}
.htd-crosslink-text p {
	color: var(--htd-text-muted);
	margin: 0;
}
.htd-crosslink-arrow {
	color: #d1d5db;
	flex-shrink: 0;
	transition: color 0.2s, transform 0.2s;
}
.htd-crosslink-card:hover .htd-crosslink-arrow {
	color: var(--htd-accent);
	transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.htd-results-grid { grid-template-columns: 1fr; }
	.htd-features-grid { grid-template-columns: repeat(2, 1fr); }
	.htd-registrars-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
	.htd-hero { padding: 36px 16px 28px; }
	.htd-search-input { padding: 14px 12px !important; }
	.htd-search-btn { padding: 12px 18px; }
	.htd-search-btn span { display: none; }
	.htd-result-banner { flex-direction: column; text-align: center; padding: 20px; }
	.htd-howto-steps { flex-direction: column; gap: 20px; }
	.htd-howto-connector { width: 2px; height: 30px; margin: 0 auto; }
	.htd-howto-connector::after { display: none; }
	.htd-crosslinks-grid { grid-template-columns: 1fr; }
	.htd-hero-stats { gap: 14px; padding: 8px 18px; }
	.htd-registrar-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
	.htd-features-grid { grid-template-columns: 1fr; }
	.htd-tld-info-grid { grid-template-columns: 1fr; }
	.htd-ext-row { padding: 12px; flex-wrap: wrap; }
	.htd-sug-row { padding: 10px 12px; flex-wrap: wrap; }
	.htd-ext-registrar-links { width: 100%; margin-top: 8px; justify-content: stretch; }
	.htd-ext-registrar-links .htd-reg-btn { flex: 1; text-align: center; padding: 8px 6px; font-size: 0.78em; }
	.htd-sug-row .htd-ext-registrar-links { width: 100%; margin-top: 6px; }
	.htd-sug-row .htd-ext-registrar-links .htd-reg-btn { flex: 1; font-size: 0.76em; padding: 6px 4px; }
	.htd-ext-price { font-size: 0.95em; padding: 4px 8px; }
	.htd-crosslink-card { padding: 14px 16px; }
	.htd-hero-stats { flex-wrap: wrap; border-radius: 16px; }
}
