/* ── KamZour Profile / Dashboard ── */

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0010;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Nav ── */
.pf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 64px;
  background: rgba(10, 0, 16, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pf-nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #ff2e95, #c473f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.pf-nav-auth { display: flex; align-items: center; gap: 10px; }

/* ── Main layout ── */
.pf-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 60px) 80px;
}

/* ── Hero ── */
.pf-hero {
  margin-bottom: 52px;
}
.pf-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff2e95;
  font-weight: 700;
  margin-bottom: 10px;
}
.pf-greeting {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pf-archetype {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ── Cards grid ── */
.pf-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 680px) {
  .pf-cards { grid-template-columns: 1fr; }
}

/* ── Card base ── */
.pf-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: block;
  min-height: 240px;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  cursor: pointer;
}
.pf-card:hover {
  transform: translateY(-6px) scale(1.012);
}

/* Animated glow orb */
.pf-card-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  top: -40px; right: -40px;
}
.pf-card:hover .pf-card-glow { opacity: 0.55; }

.pf-card-inner {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pf-card-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.pf-card-text { flex: 1; }
.pf-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.pf-card-hook {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.6;
}
.pf-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.72;
  max-width: 340px;
}
.pf-card-arrow {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  align-self: flex-end;
}
.pf-card:hover .pf-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Card themes ── */
.pf-card--imagine {
  background: linear-gradient(135deg, #1a0030 0%, #3d0a6e 60%, #7e24dd 100%);
  box-shadow: 0 16px 60px rgba(126,36,221,0.3);
}
.pf-card--imagine:hover {
  box-shadow: 0 24px 80px rgba(126,36,221,0.5);
}
.pf-card--imagine .pf-card-glow { background: #c473f3; }

.pf-card--prompts {
  background: linear-gradient(135deg, #300010 0%, #7a0038 60%, #ff2e95 100%);
  box-shadow: 0 16px 60px rgba(255,46,149,0.25);
}
.pf-card--prompts:hover {
  box-shadow: 0 24px 80px rgba(255,46,149,0.45);
}
.pf-card--prompts .pf-card-glow { background: #ff2e95; }

.pf-card--library {
  background: linear-gradient(135deg, #001020 0%, #003060 60%, #0078c8 100%);
  box-shadow: 0 16px 60px rgba(0,120,200,0.22);
}
.pf-card--library:hover {
  box-shadow: 0 24px 80px rgba(0,120,200,0.42);
}
.pf-card--library .pf-card-glow { background: #00aaff; }

.pf-card--buy {
  background: linear-gradient(135deg, #1a1000 0%, #5a3800 60%, #c87800 100%);
  box-shadow: 0 16px 60px rgba(200,120,0,0.22);
}
.pf-card--buy:hover {
  box-shadow: 0 24px 80px rgba(200,120,0,0.42);
}
.pf-card--buy .pf-card-glow { background: #ffb830; }

/* ── Nav auth shared elements (reuse from landing) ── */
.nav-user-wrap { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 6px 14px 6px 8px;
  cursor: pointer; color: #fff;
  font-size: 0.85rem; font-family: 'Inter', sans-serif;
  transition: background 0.18s;
}
.nav-user-btn:hover { background: rgba(255,255,255,0.12); }
.nav-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e95, #7e24dd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}
.nav-user-caret { opacity: 0.5; font-size: 0.7rem; }
.nav-user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(18,4,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 8px;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 600;
}
.nav-user-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nud-head {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 12px;
}
.nud-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #ff2e95, #7e24dd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 700;
}
.nud-email { font-size: 0.82rem; font-weight: 600; }
.nud-archetype { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.nud-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0; }
.nud-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 0.86rem; color: rgba(255,255,255,0.8);
  border-radius: 10px;
  text-decoration: none;
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.14s, color 0.14s;
}
.nud-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nud-signout { color: rgba(255,100,100,0.75); }
.nud-signout:hover { color: #ff6464; background: rgba(255,80,80,0.08); }
