/**
 * Domains Page Styles
 */

.hero-flash-text {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1b1b1b;
  background: rgb(67 134 245 / 12%);
  border: 1px solid rgb(67 134 245);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-content {
  text-align: center;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-domain-toggle {
  display: inline-flex;
  background-image: linear-gradient(
    to left,
    rgb(66, 133, 244) 25%,
    rgb(52, 168, 83) 75%
  );
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 32px;
}

.toggle-pill {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.toggle-pill.active {
  background: #fff;
  color: #111;
}

.toggle-pill:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.coming-soon {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* Domain Search Container */
.domain-search-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.domain-search-box {
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  border: 1px solid #d4d4d8;
  margin-bottom: 32px;
  min-height: 58px;
}

.domain-search-form {
  display: flex;
  width: 100%;
}

.search-input-wrapper {
  display: flex;
  width: 100%;
  gap: 8px;
}

.domain-search-input {
  flex: 1;
  border: none;
  padding: 5px 16px;
  font-size: 1.05rem;
  border-radius: 999px;
  outline: none;
  background: transparent;
  transition: background 0.2s;
}

.search-icon {
  width: 40px;
  height: 40px;
  background: #f4f4f7;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7a7a;
  font-size: 1rem;
}

.domain-search-btn {
  background: linear-gradient(135deg, #0071f3e6, #005ff2);
  color: #fff;
  border: none;
  padding: 8px 25px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.domain-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* AI Domain Results */
.ai-domain-results {
  animation: fadeIn 0.3s ease-in;
  margin-top: 4rem;
}

.ai-domains-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 750px;
  margin: auto;
}

.ai-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s;
  gap: 20px;
}

.ai-domain-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.ai-domain-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ai-domain-info .fa-star {
  color: #ffd700;
  font-size: 14px;
  flex-shrink: 0;
}

.ai-domain-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-domain-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 180px;
}

.ai-discount-badge {
  background: #ec4899;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.ai-original-price {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

.ai-current-price {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.ai-domain-action {
  flex-shrink: 0;
}

.ai-domain-action .btn-secondary {
  background: #000;
  border: 1px solid #fff;
  padding: 8px 16px;
  font-size: 1rem;
  color: #fff;
}

/* Hero TLD Deals */
.hero-tld-deals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.tld-deal-card {
  background: #267bf4;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: auto;
  min-width: 120px;
  max-width: 125px;
  text-align: center;
}

.tld-type {
  font-size: 1.15rem;
  font-weight: 600;
}

.tld-pricing {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  margin-top: 50px;
}

.hero-tld-deals .tld-pricing {
  margin-top: 0;
}

.tld-old {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.tld-new {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Domain Results */
.domain-results {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-header {
  text-align: center;
  margin-bottom: 24px;
}

.results-header h3 {
  font-size: 2rem;
  font-weight: 600;
}

.results-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.domain-result-card {
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
}

.domain-result-card.available {
  border-color: #10b981;
  background: #f0fdf4;
}

.domain-result-card.unavailable {
  border-color: #ef4444;
  background: #fef2f2;
}

.result-domain {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.result-domain i {
  font-size: 24px;
}

.domain-result-card.available .result-domain i {
  color: #10b981;
}

.domain-result-card.unavailable .result-domain i {
  color: #ef4444;
}

.domain-name {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  flex: 1;
}

.domain-status {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.domain-result-card.available .domain-status {
  background: #10b981;
  color: #fff;
}

.domain-result-card.unavailable .domain-status {
  background: #ef4444;
  color: #fff;
}

.result-pricing {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
}

.price-value {
  font-size: 24px;
  font-weight: 700;
  color: #0070f3;
}

.price-value.renewal {
  font-size: 18px;
  color: #666;
}

.result-actions {
  margin-top: 20px;
}

.btn-add-cart {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.result-message {
  color: #666;
  line-height: 1.6;
}

.suggested-tlds {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.suggested-tlds p {
  margin-bottom: 12px;
  font-weight: 500;
  color: #111;
}

.alt-tld-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.alt-tld-btn {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.alt-tld-btn:hover {
  background: #0070f3;
  color: #fff;
  border-color: #0070f3;
}

.result-loading,
.result-error {
  text-align: center;
  padding: 40px 20px;
}

.result-loading i,
.result-error i {
  font-size: 48px;
  color: #0070f3;
  margin-bottom: 16px;
}

.result-error i {
  color: #ef4444;
}

/* Alternatives UI - Matching Reference Image */
.alternatives-info-banner {
  background: #fef2f2;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-size: 15px;
}

.alternatives-info-banner i {
  color: #666;
  font-size: 18px;
}

.alternatives-loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.alternatives-loading i {
  font-size: 32px;
  margin-bottom: 16px;
  color: #0070f3;
}

.more-options-loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.more-options-loading i {
  font-size: 16px;
  color: #0070f3;
}

.alternatives-load-more {
  margin-top: 20px;
  text-align: center;
}

.btn-load-more {
  min-width: 180px;
}

/* Top Offers Section */
.top-offers-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* Exact Match Section */
.exact-match-section {
  position: relative;
  margin-bottom: 32px;
}

.exact-match-tag {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #10b981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}

.exact-match-card {
  background: #2279f408;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 25px;
  display: grid;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  max-width: 585px;
}

.exact-match-content {
  flex: 1;
}

.exact-match-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.exact-match-domain {
  font-size: 2.25rem;
  font-weight: 600;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.domain-info-icon {
  color: #9ca3af;
  font-size: 14px;
  cursor: help;
}

.exact-match-discount {
  background: #f73896;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.exact-match-pricing {
  margin-top: 20px;
  margin-left: 20px;
}

.exact-match-features {
  margin-bottom: 20px;
}

.exact-match-features .feature-item,
.exact-match-features .feature-item span {
  color: #1b1b1b;
}

.exact-match-action {
  flex-shrink: 0;
  margin-top: 0;
}

.exact-match-action .btn {
  background: #2278f4;
  border: 1px solid #2278f4;
}

/* Bundle Section */
.bundle-section {
  position: relative;
}

.bundle-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #a78bfa;
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.bundle-card {
  background: #fff;
  border: 2px solid #e9d5ff;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
  position: relative;
  height: 100%;
}

.bundle-content {
  flex: 1;
}

.bundle-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bundle-domains {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.bundle-discount {
  background: #ec4899;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bundle-pricing {
  margin-bottom: 20px;
}

.bundle-features {
  margin-top: 20px;
}

.bundle-action {
  flex-shrink: 0;
}

.bundle-original-price {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 12px;
}

.bundle-current-price {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
}

.btn-bundle {
  background: #fff;
  color: #7c3aed;
  border: 2px solid #7c3aed;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-bundle:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Great Alternative Section */
.great-alternative-section {
  display: grid;
  position: relative;
  gap: 24px;
  margin: 4rem 0;
  grid-template-columns: repeat(2, 1fr);
}

.great-alternative-tag {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #10b981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}

.great-alternative-card {
  background: #f8399600;
  border: 1px solid #9da3af;
  border-radius: 8px;
  padding: 25px;
  display: grid;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.great-alternative-content {
  flex: 1;
}

.great-alternative-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.great-alternative-domain {
  font-size: 2.25rem;
  font-weight: 600;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.great-alternative-discount {
  background: #f73896;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.great-alternative-features {
  margin-bottom: 20px;
}

.great-alternative-features .feature-item,
.great-alternative-features .feature-item span {
  color: #1b1b1b;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i.fa-check {
  color: #10b981;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-info {
  color: #9ca3af;
  font-size: 11px;
  margin-left: 4px;
  cursor: help;
  flex-shrink: 0;
}

.great-alternative-pricing {
  margin-top: 20px;
  margin-left: 20px;
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 8px;
}

.pricing-note i {
  font-size: 14px;
}

.pricing-amounts {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.original-price {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
}

.great-alternative-action {
  flex-shrink: 0;
  margin-top: 0;
}

.great-alternative-action .btn {
  background: #2278f4;
  border: 1px solid #2278f4;
}

.great-original-price {
  font-size: 1.25rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 10px;
}

.current-price,
.great-current-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111;
}

/* More Options Section */
.more-options-section {
  margin-top: 40px;
}

.more-options-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
}

.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.category-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.category-filter-btn i {
  font-size: 12px;
}

.category-filter-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: #faf5ff;
}

.category-filter-btn.active {
  background: #fff;
  border-color: #2279f4;
  color: #2279f4;
  font-weight: 600;
}

.no-alternatives-message {
  padding: 28px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: #f9fafb;
  font-size: 15px;
}

.no-alternatives-message i {
  color: #7c3aed;
  font-size: 18px;
}

/* Alternatives List */
.alternatives-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alternative-domain-row {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s;
}

.alternative-domain-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.alternative-domain-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.alternative-domain-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.free-email-tag {
  background: #000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.free-email-tag i {
  font-size: 9px;
}

.alternative-discount-tag {
  background: #ec4899;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.alternative-domain-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 140px;
}

.alternative-original-price {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

.alternative-current-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}

.alternative-domain-action {
  flex-shrink: 0;
}

/* Available Domain Result */
.domain-available-result {
  padding: 20px 0;
}

.available-domain-card {
  background: #f0fdf4;
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 32px;
}

.available-domain-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.available-domain-header i {
  color: #10b981;
  font-size: 28px;
}

.available-domain-name {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  flex: 1;
}

.available-badge {
  background: #10b981;
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.available-domain-pricing {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

.available-domain-actions {
  text-align: center;
}

/* Promotional Domains Section */
.promo-domains-section {
  padding: 80px 0;
}

.promo-domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.promo-domain-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.promo-domain-card:hover {
  border-color: #0070f3;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 112, 243, 0.15);
}

.promo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff6b6b;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.promo-tld {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin: 20px 0;
}

.promo-pricing {
  margin: 24px 0;
}

.promo-price-current {
  font-size: 36px;
  font-weight: 700;
  color: #0070f3;
  margin-bottom: 8px;
}

.promo-price-original {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 8px;
}

.promo-discount {
  color: #10b981;
  font-weight: 600;
  font-size: 14px;
}

.promo-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px 24px;
}

.loading-domains {
  text-align: center;
  padding: 40px;
  color: #666;
  grid-column: 1 / -1;
}

.loading-domains i {
  font-size: 24px;
  margin-right: 12px;
}

.tlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Popular TLDs Section */
.popular-tlds-section {
  padding: 80px 0;
  background: #fafafa;
}

.popular-tlds-section .tlds-grid .tld-card:nth-child(1) {
  content: "";
  border: 2px solid #01abff;
  box-shadow: 0px 0px 31px 0px rgb(0 0 0 / 4%);
  padding: 18px 22px;
  border-top-left-radius: 0;
}
.popular-tlds-section .tlds-grid .tld-card:nth-child(1)::before {
  content: "Most Popular";
  background: #01abff;
  color: #fff;
  font-weight: 600;
  box-shadow: 0px 0px 31px 0px rgb(0 0 0 / 4%);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 5px 15px 3px 15px;
  position: absolute;
  top: -30px;
  left: -2px;
}

.popular-tlds-section .tlds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tld-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 25px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tld-offer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff6b9d;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.tld-card-header {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.tld-icon {
  max-height: 45px;
  max-width: 125px;
  object-fit: contain;
}

.tld-icon-text {
  font-size: 32px;
  font-weight: 700;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(1)
  .tld-card-header
  .tld-icon-text {
  color: #01abff;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(2)
  .tld-card-header
  .tld-icon-text {
  color: #004fd3;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(3)
  .tld-card-header
  .tld-icon-text {
  color: #1d067b;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(4)
  .tld-card-header
  .tld-icon-text {
  color: #ed615c;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(5)
  .tld-card-header
  .tld-icon-text {
  color: #35c0b0;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(6)
  .tld-card-header
  .tld-icon-text {
  color: #8d6bfa;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(7)
  .tld-card-header
  .tld-icon-text {
  color: #f09c49;
}

.popular-tlds-section
  .tlds-grid
  .tld-card:nth-child(8)
  .tld-card-header
  .tld-icon-text {
  color: #30b429;
}

.tld-name {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin: 0;
}

.tld-description {
  font-size: 14px;
  color: #666;
  line-height: 1.25;
  margin: 15px 0 30px;
  display: flex;
  text-align: left;
}

.tld-price-original {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  position: absolute;
  width: 100%;
  margin-top: -30px;
  right: 0;
}

.tld-price-original .currency {
  font-size: 1rem;
  color: #575757;
}

.tld-price-original .amount {
  text-decoration: line-through;
  font-size: 1.15rem;
  font-weight: 500;
  color: #575757;
}

.tld-discount-badge {
  position: absolute;
  display: inline-block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.02rem;
  top: -5px;
  left: 70px;
  background: rgb(139 195 74 / 25%);
  color: #3f7609;
}

.tld-price-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.tld-price-current .currency {
  font-size: 18px;
  font-weight: 600;
}

.tld-price-current .amount {
  font-size: 28px;
}

.tld-price-current .period {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin-left: 4px;
}

.promo-effective-first-year {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin-top: 4px;
}

.effective-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.effective-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: #6c7280;
}

.tld-price-original .period-text {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}

.tld-price {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 20px;
  font-weight: 700;
  color: #0070f3;
}

.price-period {
  font-size: 14px;
  color: #666;
  margin-left: 4px;
}

.tld-renewal {
  font-size: 12px;
  color: #999;
}

.tld-select-btn {
  width: 100%;
  padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 16px;
  }

  .hero-domain-toggle {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px;
  }

  .toggle-pill {
    padding: 8px 16px;
    font-size: 13px;
    gap: 6px;
  }

  .domain-search-container {
    padding: 0 16px;
  }

  .domain-search-box {
    padding: 4px;
    border-radius: 12px;
  }

  .great-alternative-section {
    grid-template-columns: repeat(1, 1fr);
  }

  .results-content {
    padding: 0;
  }

  .search-input-wrapper {
    flex-direction: row;
    gap: 4px;
    align-items: center;
  }

  .search-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .domain-search-input {
    padding: 12px 16px;
    font-size: 1rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .domain-search-btn {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .ai-description-input {
    padding-left: 16px !important;
  }

  .result-pricing {
    flex-direction: column;
    gap: 16px;
  }

  .promo-domains-grid,
  .tlds-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .tld-card {
    padding: 24px 16px;
  }

  .tld-icon {
    width: 48px;
    height: 48px;
  }

  .tld-name {
    font-size: 18px;
  }

  .tld-price-current {
    font-size: 20px;
  }

  .tld-price-current .amount {
    font-size: 24px;
  }

  .tld-card {
    padding: 24px 16px;
  }

  .tld-icon {
    width: 48px;
    height: 48px;
  }

  .tld-name {
    font-size: 18px;
  }

  .tld-price-current {
    font-size: 20px;
  }

  .tld-price-current .amount {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .faq-question h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-domain-toggle {
    gap: 3px;
    padding: 3px;
  }

  .toggle-pill {
    padding: 7px 12px;
    font-size: 12px;
    gap: 4px;
  }

  .toggle-pill i {
    font-size: 12px;
  }

  .domain-search-container {
    padding: 0 12px;
  }

  .domain-search-box {
    padding: 3px;
    border-radius: 10px;
  }

  .search-input-wrapper {
    gap: 3px;
  }

  .search-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    display: none; /* Hide icon on very small screens to save space */
  }

  .domain-search-input {
    padding: 10px 14px;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .domain-search-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .ai-generate-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .domain-name {
    font-size: 18px;
  }

  .promo-tld {
    font-size: 28px;
  }

  .promo-price-current {
    font-size: 28px;
  }

  /* Alternatives Responsive */
  .top-offers-section {
    grid-template-columns: 1fr;
  }

  .exact-match-card,
  .bundle-card,
  .great-alternative-card {
    flex-direction: column;
    padding: 20px;
  }

  .exact-match-domain,
  .bundle-domains,
  .great-alternative-domain {
    font-size: 18px;
  }

  .exact-match-action,
  .bundle-action,
  .great-alternative-action {
    width: 100%;
    margin-top: 16px;
  }

  .btn-make-yours,
  .btn-bundle {
    width: 100%;
  }

  .alternative-domain-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .alternative-domain-pricing {
    align-items: flex-start;
    width: 100%;
  }

  .alternative-domain-action {
    width: 100%;
  }

  .btn-buy-now {
    width: 100%;
  }

  .alternative-domain-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .alternative-domain-pricing {
    align-items: flex-start;
    width: 100%;
  }

  .alternative-domain-action {
    width: 100%;
  }

  .btn-buy-now {
    width: 100%;
  }

  .category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }

  .category-filter-btn {
    flex-shrink: 0;
  }

  .ai-domain-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ai-domain-info {
    width: 100%;
  }

  .ai-domain-pricing {
    width: 100%;
    align-items: flex-start;
  }

  .ai-domain-action {
    width: 100%;
  }

  .btn-buy-now {
    width: 100%;
    text-align: center;
  }
}
