:root {
  --bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --whatsapp: #16a34a;
  --whatsapp-bg: #f0fdf4;
  --whatsapp-border: #bbf7d0;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
}

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

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.domain {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
  word-break: break-all;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.contact-item:hover {
  border-color: var(--border-hover);
  background: var(--surface-subtle);
}

.contact-item.highlight {
  background: var(--whatsapp-bg);
  border-color: var(--whatsapp-border);
}

.contact-item.highlight:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-info .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-item.highlight .contact-info .label {
  color: var(--whatsapp);
}

.contact-info .value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-info .value.link {
  text-decoration: none;
  color: var(--text-main);
}

.contact-info .value.link:hover {
  text-decoration: underline;
}

.action-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--whatsapp);
  flex-shrink: 0;
  margin-left: 12px;
}

.copy-btn {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background: var(--surface);
}

.copy-btn:active {
  transform: scale(0.96);
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

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

@media (max-width: 480px) {
  body {
    padding: 16px;
  }
  .card {
    padding: 24px 20px;
  }
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
}
