/* =====================================
   🌙 DenteSing Dark Premium Global v2
   ===================================== */

/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif;
  background-color: #0b0c10;
  color: #f3f3f3;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #61dafb;
  text-decoration: none;
}

a:hover {
  color: #7f9cf5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ---------- Header ---------- */
header.top-bar {
  background: rgba(12, 13, 17, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .logo {
  height: 40px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #ffffff;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #6b8afd, #3a5bdc);
  color: #fff;
  box-shadow: 0 0 12px rgba(100, 140, 255, 0.3);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #7fa2ff, #4b6aff);
}

.btn.ghost {
  background: transparent;
  border: 1px solid #3a3f47;
  color: #f3f3f3;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at top left, #101218, #0b0c10);
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero p {
  color: #a8b2c1;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 20px;
  background: #0b0c10;
}

.section.highlight {
  background: #101218;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.section-subtitle {
  color: #9aa0a6;
  text-align: center;
  margin-bottom: 2rem;
}

/* ---------- Cards ---------- */
.feature-card, .dash-card, .cloud-card, .pricing-card, .profile-card, .post-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.dash-card:hover,
.profile-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ---------- Grid Layouts ---------- */
.dashboard-grid,
.feature-grid,
.profile-grid,
.marketplace-grid,
.cloud-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.profile-posts, .post-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- Cloud ---------- */
.cloud-card input[type="file"] {
  width: 100%;
  background: #16181d;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #30333a;
  color: #ccc;
}

/* ---------- Dashboard ---------- */
.status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.status.in-progress { background: #0f63ff22; color: #0f63ff; }
.status.done { background: #28a74522; color: #28a745; }
.status.review { background: #ffc10722; color: #ffc107; }

/* ---------- Discover ---------- */
.post-create {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.post-create textarea {
  width: 100%;
  background: #16181d;
  color: #eee;
  border: 1px solid #2b2e36;
  border-radius: 8px;
  padding: 1rem;
  resize: vertical;
  min-height: 100px;
}

.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.post-card header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.post-card p {
  color: #ccc;
  margin-bottom: 0.8rem;
}

.post-actions {
  display: flex;
  gap: 1rem;
}

.post-actions button {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.post-actions button:hover {
  color: #fff;
}

/* ---------- Forms ---------- */
.register-form input,
.register-form textarea {
  width: 100%;
  background: #16181d;
  color: #eee;
  border: 1px solid #2b2e36;
  border-radius: 8px;
  padding: 0.8rem;
}

.register-form input:focus,
.register-form textarea:focus {
  outline: none;
  border-color: #6b8afd;
  box-shadow: 0 0 5px rgba(107,138,253,0.4);
}

.register-form button {
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #090a0d;
  color: #888;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer a {
  color: #61dafb;
}

.footer a:hover {
  color: #9dd6ff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-grid,
  .feature-grid,
  .cloud-dashboard {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
  }
}

/* ---------- Debug Label ---------- */
body::after {
  content: "DenteSing Dark Premium ✅";
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: #16181d;
  color: #61dafb;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  opacity: 0.7;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #0b1220, #05080f);
  color: #fff;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn.primary {
  background: #0f63ff;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  transition: 0.3s;
}

.btn.primary:hover {
  background: #0041d9;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #888;
  color: #ccc;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  transition: 0.3s;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.skills-grid label {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.skills-grid label:hover {
  background: rgba(255,255,255,0.15);
}
.skills-grid input[type="checkbox"] {
  accent-color: #0f63ff;
  transform: scale(1.2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.services-grid label {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.services-grid label:hover {
  background: rgba(255,255,255,0.15);
}
.services-grid input[type="checkbox"] {
  accent-color: #0f63ff;
  transform: scale(1.2);
}
