:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --pink-light: #f9a8d4;
  --rose: #be185d;
  --purple: #a855f7;

  /* Light surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fdf2f8;
  --border: #f0dce8;

  /* Neutrals */
  --ink: #1c1917;
  --muted: #6b6470;
  --white: #ffffff;
  --bg-soft: #fdf8fb;

  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;

  --radius: 14px;
  --shadow: 0 4px 20px rgba(190, 24, 93, 0.06);
  --gradient: linear-gradient(135deg, #ec4899, #a855f7);
}

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

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.brand img { height: 36px; width: 36px; }
.brand span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--pink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 700; cursor: pointer; text-align: center;
  background: var(--gradient); color: #fff; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--pink); border: 2px solid var(--pink); }
.btn-outline:hover { background: rgba(236, 72, 153, 0.1); box-shadow: none; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-success { background: var(--success); }
.btn-danger { background: var(--danger); }
.btn-warning { background: var(--warning); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 100%);
  color: var(--ink);
  padding: 96px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; bottom: -60px; left: 0; right: 0; height: 120px;
  background: var(--bg); border-radius: 50% 50% 0 0;
}
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero p { font-size: 1.25rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero .btn { background: var(--gradient); color: #fff; }
.hero .btn:hover { box-shadow: 0 6px 24px rgba(236, 72, 153, 0.35); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section h2 { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section .subtitle { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.section-light { background: var(--surface-alt); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .icon { font-size: 1.8rem; margin-bottom: 12px; }

/* ---------- Pricing ---------- */
.pricing-card { text-align: center; }
.pricing-card .price { font-size: 3rem; font-weight: 800; color: var(--pink); }
.pricing-card .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pricing-card ul { list-style: none; margin: 20px 0 24px; text-align: left; }
.pricing-card li { padding: 6px 0; color: var(--muted); font-size: 0.95rem; }
.pricing-card li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.pricing-featured { border: 2px solid var(--pink); position: relative; }
.pricing-featured::before {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 0.05em;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9d8f9a; padding: 40px 0; text-align: center; font-size: 0.9rem; }
.footer .brand { justify-content: center; margin-bottom: 12px; color: #fff; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: var(--surface); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}
.form-container { max-width: 560px; margin: 0 auto; }

/* ---------- Alerts / info cards ---------- */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: rgba(52, 211, 153, 0.15); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.4); }
.alert-error { background: rgba(248, 113, 113, 0.15); color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.4); }
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px;
}

/* ---------- Tenant site (light pink beauty variant) ---------- */
body.tenant-theme {
  background: #fdf8fb;
  color: var(--ink);
}
body.tenant-theme .navbar {
  background: rgba(253, 248, 251, 0.92);
  border-bottom: 1px solid #f0dce8;
}
body.tenant-theme .brand { color: var(--ink); }
body.tenant-theme .nav-links a { color: #8a6a7c; }
body.tenant-theme .nav-links a:hover { color: var(--pink); }
body.tenant-theme .tenant-hero {
  background: var(--gradient); color: #fff; text-align: center; padding: 72px 0;
}
body.tenant-theme .tenant-hero h1 { font-size: 2.4rem; font-weight: 800; }
body.tenant-theme .tenant-hero p { opacity: 0.92; font-size: 1.15rem; margin-top: 8px; }
body.tenant-theme .section-light { background: #f7eef4; }
body.tenant-theme .card {
  background: #fff; border-color: #f0dce8; box-shadow: 0 4px 20px rgba(190, 24, 93, 0.06);
}
body.tenant-theme .card h3 { color: var(--ink); }
body.tenant-theme .card p { color: #6b6470; }
body.tenant-theme .info-card { background: #fff; border-color: #f0dce8; box-shadow: 0 4px 20px rgba(190, 24, 93, 0.06); }
body.tenant-theme .form-group input, body.tenant-theme .form-group select, body.tenant-theme .form-group textarea {
  background: #fff; color: var(--ink); border-color: #e5d5e0;
}
body.tenant-theme .footer { background: var(--ink); color: #9d8f9a; }
body.tenant-theme .footer a { color: var(--pink-light); }
body.tenant-theme h2 { color: var(--ink); }
body.tenant-theme .about-placeholder {
  border-color: #e5d5e0; color: #8a6a7c;
}
body.tenant-theme .gallery-caption { color: #6b6470; }
body.tenant-theme .service-card {
  background: #fff; border-color: #f0dce8; box-shadow: 0 4px 20px rgba(190, 24, 93, 0.06);
}
body.tenant-theme .service-card h3 { color: var(--ink); }
body.tenant-theme .service-card .desc { color: #6b6470; }
body.tenant-theme .service-card .price { color: var(--pink-dark); }
body.tenant-theme .service-card .duration { color: #8a6a7c; }
body.tenant-theme .hours-list li { border-bottom-color: #f0dce8; }
body.tenant-theme .open { color: var(--success); }
body.tenant-theme .closed { color: var(--danger); }

/* ---------- Admin dashboard ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--pink); }
.stat-card .label { color: var(--muted); font-size: 0.9rem; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { background: var(--surface-alt); font-weight: 700; }
.badge { padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }
.badge-pending { background: rgba(251, 191, 36, 0.15); color: var(--warning); }
.badge-confirmed { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.badge-cancelled { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.badge-active { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.badge-trial { background: rgba(236, 72, 153, 0.15); color: var(--pink); }
.badge-past_due { background: rgba(248, 113, 113, 0.15); color: var(--danger); }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .nav-links { gap: 12px; }
  .about-table, .about-table tbody, .about-table tr, .about-table td { display: block; width: 100%; }
  .about-image-cell { width: 100%; text-align: center; }
}
