/* style.css */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* Home page */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}

.brand-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid #4b5563;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.btn:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border: none;
  color: #0b1120;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid #374151;
}

.hero-card {
  background: radial-gradient(circle at top left, #1d2433, #020617);
  border: 1px solid #1f2937;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hero-card-title {
  font-size: 16px;
  font-weight: 600;
}

.hero-card-pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.8);
}

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.hero-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #334155;
  font-size: 13px;
}

.hero-link-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-footer-text {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 12px;
}

/* Login section */
.login-section {
  margin-top: 60px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #1f2937;
  max-width: 420px;
}

.login-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 14px;
}

label {
  font-size: 13px;
  color: #d1d5db;
  display: block;
  margin-bottom: 4px;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="color"],
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  padding: 8px 10px;
  font-size: 13px;
}

textarea {
  min-height: 70px;
  resize: vertical;
}

.helper-text {
  font-size: 11px;
  color: #9ca3af;
}

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #1f2937;
}

.admin-main {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #1f2937;
}

.admin-nav-item {
  display: block;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.admin-nav-item.active,
.admin-nav-item:hover {
  background: rgba(55, 65, 81, 0.9);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 8px 6px;
  border-bottom: 1px solid #111827;
}

.badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.9);
}

/* Bio page */
.bio-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.bio-card {
  width: 100%;
  max-width: 420px;
  border-radius: 26px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  margin: 0 auto 14px;
}

.bio-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bio-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.bio-description {
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 20px;
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: #22c55e;
  color: #022c22;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  text-decoration: none;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

.bio-footer {
  margin-top: 16px;
  font-size: 11px;
  color: #9ca3af;
}
