:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #13162a;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.16);
  --accent-strong: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.7);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 40%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #a855f7, #4f46e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.contact-nav .btn {
  font-size: 13px;
}

.hero {
  padding: 32px 0 18px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.hero-subtitle {
  margin: 0 0 16px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-bullets {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-bullets li {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #d1d5db;
}

.filters {
  padding: 8px 0 24px;
}

.filters-inner {
  background: linear-gradient(
      135deg,
      rgba(79, 70, 229, 0.16),
      rgba(8, 47, 73, 0.1)
    ),
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: rgba(209, 213, 219, 0.9);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

input[type="search"],
select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 9px 13px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease;
}

input[type="search"] {
  padding-left: 32px;
}

input[type="search"]::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

input[type="search"]:focus,
select:focus {
  border-color: rgba(94, 234, 212, 0.8);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.7);
  background: rgba(15, 23, 42, 1);
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 16px) 11px, calc(100% - 11px) 11px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.domains {
  padding: 10px 0 40px;
}

.domains-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.domains-header h2 {
  margin: 0 0 4px;
  font-size: 19px;
}

.domains-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.domains-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 12px;
}

#domain-count {
  font-weight: 600;
  color: #f9fafb;
}

.domains-meta-label {
  color: var(--muted);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.domain-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 11px 12px 10px;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    border-color 0.14s ease, background 0.14s ease;
  overflow: hidden;
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.domain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.7);
  background: radial-gradient(
    circle at top left,
    rgba(15, 23, 42, 1),
    #020617
  );
}

.domain-card:hover::before {
  opacity: 1;
}

.domain-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.domain-name {
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 14px;
}

.domain-tag {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.5);
  color: #bbf7d0;
  white-space: nowrap;
}

.domain-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.domain-price {
  font-weight: 600;
  color: #e5e7eb;
}

.domain-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 6px;
  font-size: 11px;
}

.pill {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.96);
}

.pill-quiet {
  border-style: dashed;
  color: #9ca3af;
}

.domains-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.domains-note a {
  color: #a5b4fc;
  text-decoration: none;
}

.domains-note a:hover {
  text-decoration: underline;
}

.contact {
  padding: 26px 0 36px;
}

.contact-inner {
  max-width: 720px;
}

.contact-card {
  background: radial-gradient(circle at top, #020617, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contact-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
}

.contact-line {
  min-width: 220px;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(156, 163, 175, 0.95);
}

.contact-line a,
.contact-line span:last-child {
  font-size: 13px;
}

.contact-line a {
  color: #38bdf8;
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  padding: 12px 0 16px;
  background: radial-gradient(circle at top, #020617, #020617);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.9);
}

.footer-note {
  color: rgba(107, 114, 128, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.12s ease, box-shadow 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 14px 35px rgba(21, 128, 61, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.6);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
}

.btn-outline:hover {
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.85);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.7);
  color: #bbf7d0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  background: radial-gradient(circle at top, #020617, #020617);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  padding: 20px 20px 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 2px 4px;
}

.modal-close:hover {
  color: #e5e7eb;
}

.modal-dialog h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.modal-subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.modal-form .form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: rgba(209, 213, 219, 0.9);
}

.modal-form .form-group input,
.modal-form .form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  resize: vertical;
}

.modal-form .form-group input[readonly] {
  background: rgba(15, 23, 42, 0.8);
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
  border-color: rgba(94, 234, 212, 0.8);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.7);
}

.modal-form .form-group + .form-group {
  margin-top: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 160px;
}

/* Keep fields in the same row aligned vertically */
.form-row .form-group + .form-group {
  margin-top: 0;
}

.modal-actions {
  margin-top: 14px;
  text-align: right;
}

@media (max-width: 768px) {
  .filters-inner {
    padding: 14px 14px 12px;
  }

  .domains-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-card {
    padding: 18px 16px 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 20px;
  }

  .filters-inner {
    border-radius: 16px;
  }

  .domain-card {
    border-radius: 14px;
  }
}


