@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg-1: #f5efe7;
  --bg-2: #fdf8f3;
  --ink: #1f1a17;
  --muted: #6d5d53;
  --accent: #c45a2a;
  --accent-2: #0f5d5d;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(31, 26, 23, 0.12);
  --shadow: 0 24px 60px rgba(31, 26, 23, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #ffe7d1 0%, transparent 45%),
    radial-gradient(circle at 20% 70%, #d9f2e2 0%, transparent 50%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
  z-index: 0;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(196, 90, 42, 0.25), transparent 70%);
  top: -120px;
  right: -60px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(15, 93, 93, 0.2), transparent 70%);
  bottom: -180px;
  left: -120px;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6vw 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(196, 90, 42, 0.15);
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
}

.lang-link {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
}

.lang-link.active {
  color: var(--ink);
  border-color: var(--ink);
}

.main {
  position: relative;
  z-index: 1;
  padding: 1rem 6vw 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 1.4rem;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 1.05rem;
}

.availability-note {
  font-size: 0.95rem;
}

.status-line {
  margin: 1rem 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-pill.available {
  background: rgba(15, 93, 93, 0.12);
  color: var(--accent-2);
}

.status-pill.sold,
.status-pill.blocked {
  background: rgba(196, 90, 42, 0.15);
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(196, 90, 42, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(31, 26, 23, 0.25);
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.card-header strong {
  font-size: 1.6rem;
  color: var(--ink);
}

.card-body ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading p {
  max-width: 560px;
}

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

.domains {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.domain-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 26, 23, 0.1);
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(31, 26, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(31, 26, 23, 0.12);
}

.domain-name {
  font-weight: 600;
}

.domain-price {
  color: var(--muted);
  font-size: 0.9rem;
}

.domain-empty {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(31, 26, 23, 0.08);
  color: var(--muted);
}

.feature-card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(31, 26, 23, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 24px rgba(31, 26, 23, 0.08);
}

.offer {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}

.offer-header {
  margin-bottom: 1rem;
}

.offer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 23, 0.2);
  background: #fff;
}

select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 23, 0.2);
  background: #fff;
}

input[disabled] {
  background: rgba(31, 26, 23, 0.05);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.consent input {
  margin-top: 0.3rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.alert.success {
  background: rgba(15, 93, 93, 0.12);
  color: var(--accent-2);
}

.alert.error {
  background: rgba(196, 90, 42, 0.12);
  color: var(--accent);
}

.alert.neutral {
  background: rgba(31, 26, 23, 0.08);
  color: var(--ink);
}

.privacy {
  padding: 1.5rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 26, 23, 0.1);
}

.privacy-page {
  align-items: center;
}

.privacy-card {
  max-width: 680px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  padding: 2rem 6vw;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.admin-page .main {
  padding-top: 2rem;
}

.admin-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid rgba(31, 26, 23, 0.12);
  margin-bottom: 1.5rem;
}

.domain-admin-grid {
  display: grid;
  gap: 1.5rem;
}

.domain-admin-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 26, 23, 0.1);
  box-shadow: 0 12px 24px rgba(31, 26, 23, 0.08);
}

.domain-admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.domain-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn.ghost.danger {
  border-color: rgba(196, 90, 42, 0.5);
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(31, 26, 23, 0.1);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}
